/* Shared graphic system, using the approved Home as the reference. */
:root{--mfe-paper:#fff;--mfe-soft-blue:#edf3fb;--mfe-soft-cream:#fffaf0;--mfe-navy:#293659;--mfe-red:#c63832;--mfe-line:#d9e0ec;--mfe-card-radius:20px;--mfe-control-radius:12px;--mfe-font-title:'Outfit',sans-serif;--mfe-font-copy:'Figtree',sans-serif}
html body main#main>section[data-mfe-section-tone="white"]{background:#fff!important}
html body main#main>section[data-mfe-section-tone="blue"]{background:#edf3fb!important}
html body main#main>section[data-mfe-section-tone="cream"]{background:#fffaf0!important}
html body:not(.home-page) main#main>section[data-mfe-section-tone]{padding-block:clamp(60px,6vw,80px)!important}
html body:is(.segment-page,.about-page):not(.home-page) main#main>section:not(.segment-hero):not(.about-home-hero):not(.segment-final-cta) :is(.segment-section__head,.section-heading,.about-mfe-section__head,.about-home-heading,.about-history-path__head)>h2{font-size:clamp(32px,3.7vw,48px)!important;line-height:1.08!important;letter-spacing:-.02em}
html body:not(.home-page) main#main :is(.segment-section__head,.section-heading,.about-mfe-section__head)>p{margin-top:18px!important;line-height:1.65}
html body:not(.home-page) main#main :is(.segment-info-card,.segment-choice-card,.teacher-program-course-card,.about-person-card){border-radius:var(--mfe-card-radius)!important;border-color:var(--mfe-line);box-shadow:0 8px 26px #29365908}
html body :is(main,dialog) :is(a.button,button.button,.btn,.ft-cta,.ft-open,.guide-all-button){box-sizing:border-box;min-height:50px!important;height:auto;line-height:1.35;gap:10px}
html body:not(.home-page) :is(main,dialog) :is(a.button,button.button,.btn,.ft-cta,.ft-open,.guide-all-button){font-size:15px}
html body :is(main,dialog) :is(.button--primary,.btn-primary){background-color:var(--mfe-red)!important;border-color:var(--mfe-navy)!important;color:#fff!important}
html body :is(main,dialog) .button:focus-visible,html body dialog a:focus-visible{outline:3px solid #4b9bd1!important;outline-offset:3px}
/* Dedicated partner sections keep their original complete collections. */
html body main#main>.mfe-partners-section{padding-block:38px!important}
html body main#main>.mfe-partners-section .home-trust-strip{margin:0!important;padding:0!important;border:0!important;transform:none!important}
html body main#main>.mfe-partners-section .home-trust-strip__title{margin:0 0 24px!important;padding:0!important;font-size:14px!important;line-height:1.5!important;letter-spacing:0!important;font-weight:800!important;text-align:center;text-transform:uppercase;color:var(--mfe-navy)}
html body main#main>.mfe-partners-section .home-trust-strip__title::after{display:none!important}
html body main#main>.mfe-partners-section .home-trust-strip__logos{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%;padding:4px 0 10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-inline:contain}
html body main#main>.mfe-partners-section .home-trust-strip__logo{display:grid;place-items:center;flex:0 1 auto!important;width:auto!important;min-width:0!important;min-height:56px;margin:0!important;padding:0!important;scroll-snap-align:start}
html body main#main>.mfe-partners-section .home-trust-strip__logo>img{display:block;width:auto!important;max-width:100px!important;height:50px!important;max-height:50px!important;object-fit:contain!important}
/* One shell for accommodation, programme, contact and collaboration dialogs. */
html body dialog.mfe-unified-dialog{max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;border:1px solid var(--mfe-line)!important;border-radius:24px!important;background:#fff;color:var(--mfe-navy);box-shadow:0 28px 90px #07152b50!important;overflow:auto}
html body dialog.mfe-unified-dialog::backdrop{background:#0b182fa3!important;backdrop-filter:blur(6px)}
html body dialog.mfe-unified-dialog .mfe-unified-head{position:sticky;top:0;z-index:5;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px 20px!important;background:#fff!important;border-bottom:1px solid #e2e7ef!important}
.mfe-unified-title{min-width:0;flex:1}
html body dialog.mfe-unified-dialog .mfe-dialog-brand{display:block;width:150px;height:38px;margin:0 0 16px;object-fit:contain;object-position:left center}
html body dialog.mfe-unified-dialog .mfe-unified-head h2{margin:0 0 10px!important;font-size:30px!important;line-height:1.15!important;letter-spacing:-.02em;color:var(--mfe-navy)!important}
html body dialog.mfe-unified-dialog .mfe-unified-head :is(.ft-eyebrow,.teen-program-dialog__eyebrow,.agency-plan-dialog__eyebrow){margin:0 0 7px;color:#b7332f!important;font-size:11px!important;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
html body dialog.mfe-unified-dialog .mfe-unified-head :is(.ft-subtitle,p){font-size:14px;line-height:1.6}
html body dialog.mfe-unified-dialog .mfe-unified-close{position:static!important;display:grid;place-items:center;flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid #dce2ed!important;background:#f6f8fc!important;color:var(--mfe-navy)!important;text-decoration:none;box-shadow:none!important;line-height:1;font-size:26px}
html body dialog.mfe-unified-dialog .mfe-unified-close svg{width:20px;height:20px}
html body dialog.mfe-unified-dialog :is(.ft-hero,.teacher-program-day,.teen-program-day){border:1px solid var(--mfe-line)!important;border-radius:16px!important;box-shadow:0 5px 18px #29365905}
html body dialog.mfe-unified-dialog :is(.ft-arrow,.ft-thumb){border-color:var(--mfe-line)}
html body dialog.mfe-unified-dialog .ft-thumb[aria-pressed=true]{border-color:var(--mfe-red)!important}
html body dialog.mfe-unified-dialog .ft-cta{min-height:50px!important;border-radius:12px!important;line-height:1.4;background:var(--mfe-red);border-color:var(--mfe-navy)}
html body dialog.mfe-unified-dialog .ft-cta--francesca{background:#fff;color:var(--mfe-navy)}
html body dialog.mfe-lead-dialog .mfe-unified-head{padding:0 0 18px!important}
html body dialog.mfe-unified-dialog :is(.teacher-program-day__header,.teen-program-day__header){background:#fffdf6}
html body dialog.mfe-unified-dialog :is(.teacher-program-day__lessons,.teen-program-slot){border-color:#e2e7ef}
/* Article templates share one readable width and scale, independently of their original source. */
html body.guide-article-page{background:var(--mfe-soft-cream)!important}
html body.guide-article-page .guide-article{width:min(1080px,100%);max-width:1080px;margin-inline:auto;padding:clamp(22px,3vw,40px);border:1px solid #e1e6ee;border-radius:24px;background:#fff;box-shadow:0 12px 36px #29365906}
html body.guide-article-page .guide-article>h1{font-size:clamp(32px,4.5vw,58px)!important;line-height:1.08!important;letter-spacing:-.025em;color:var(--mfe-navy)}
html body.guide-article-page .guide-article__meta{margin:18px 0 24px;color:#65748e;font-size:14px;line-height:1.6}
html body.guide-article-page .guide-article__image{overflow:hidden;border-radius:18px;margin:0 0 30px}
html body.guide-article-page .guide-article__image img{display:block;width:100%;height:auto}
html body.guide-article-page .guide-article__body{width:100%;max-width:820px;margin-inline:auto;color:#52627e;font-size:17px;line-height:1.8;overflow-wrap:break-word}
html body.guide-article-page .guide-article__body :is(p,li){font-size:17px;line-height:1.8}
html body.guide-article-page .guide-article__body h2{margin:34px 0 16px;font-size:clamp(26px,3vw,34px)!important;line-height:1.2!important;letter-spacing:-.015em;color:var(--mfe-navy)}
html body.guide-article-page .guide-article__body h3{margin:28px 0 14px;font-size:clamp(22px,2.5vw,27px)!important;line-height:1.25!important;color:var(--mfe-navy)}
html body.guide-article-page .guide-article__body h4{font-size:20px;line-height:1.35;color:var(--mfe-navy)}
html body.guide-article-page .guide-article__body blockquote{padding:20px 22px;border-left:4px solid var(--mfe-red);border-radius:0 14px 14px 0;background:var(--mfe-soft-blue)}
html body.guide-article-page .guide-article__body table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:15px}
html body.guide-article-page .guide-article__body :is(th,td){padding:12px 14px;border:1px solid var(--mfe-line)}
html body.guide-article-page .guide-article__body th{background:var(--mfe-soft-blue);color:var(--mfe-navy)}
html body.guide-article-page .guide-article-cta{max-width:1080px;margin:28px auto 0;padding:24px;border:1px solid var(--mfe-line);border-radius:18px;background:#fff}
html body.guide-index-page{background:var(--mfe-soft-cream)!important}
html body.guide-index-page .resource-card--blog{border-radius:20px!important;box-shadow:0 10px 30px #2936590b}
html body.guide-index-page .resource-card--blog h2{font-size:24px!important;line-height:1.2!important}
html body.guide-index-page .guide-index-filters{gap:10px}
html body.guide-index-page :is(input[type="search"],input[type="text"]){min-height:50px;border:1px solid var(--mfe-line);border-radius:12px!important;background:#fff}
@media(max-width:1100px){html body main#main>.mfe-partners-section .home-trust-strip__logos{justify-content:flex-start!important;gap:10px!important}html body main#main>.mfe-partners-section .home-trust-strip__logo{flex:0 0 108px!important;width:108px!important}html body main#main>.mfe-partners-section .home-trust-strip__logo>img{max-width:100px!important;height:48px!important}}
@media(max-width:760px){
 html body:not(.home-page) main#main>section[data-mfe-section-tone]{padding-block:56px!important}
 html body:is(.segment-page,.about-page):not(.home-page) main#main>section:not(.segment-hero):not(.about-home-hero):not(.segment-final-cta) :is(.segment-section__head,.section-heading,.about-mfe-section__head,.about-home-heading,.about-history-path__head)>h2{font-size:clamp(30px,8vw,38px)!important;line-height:1.12!important}
 html body dialog.mfe-unified-dialog{max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;border-radius:18px!important}
 html body dialog.mfe-unified-dialog .mfe-unified-head{padding:18px 17px 16px!important;gap:12px}
 html body dialog.mfe-unified-dialog .mfe-dialog-brand{width:132px;height:32px;margin-bottom:12px}
 html body dialog.mfe-unified-dialog .mfe-unified-head h2{font-size:24px!important}
 html body dialog.mfe-unified-dialog .mfe-unified-close{flex-basis:40px!important;width:40px!important;height:40px!important;min-height:40px!important}
 html body.guide-article-page .guide-article{padding:22px 18px;border-radius:18px}
 html body.guide-article-page .guide-article__body :is(p,li){font-size:16px;line-height:1.75}
 html body.guide-article-page .guide-article-cta{padding:20px 18px;margin-inline:12px}
 html body.guide-article-page .guide-article__meta{font-size:13px}
}
@media(prefers-reduced-motion:reduce){html body dialog.mfe-unified-dialog *{scroll-behavior:auto!important}}

/* Keep article labels and titles clear of the fixed mobile navigation. */
@media(max-width:760px){html body.guide-article-page main.guide-article-shell{padding-top:102px!important}}

html[data-mfe-design] body:not(.home-page) main#main>section[data-mfe-section-tone] h2.mfe-section-title{font-size:clamp(32px,3.7vw,48px)!important;line-height:1.08!important;letter-spacing:-.02em}
@media(max-width:760px){html[data-mfe-design] body:not(.home-page) main#main>section[data-mfe-section-tone] h2.mfe-section-title{font-size:clamp(30px,8vw,38px)!important;line-height:1.12!important}}

/* Partners and editorial coverage are distinct, clearly legible blocks. */
html body main#main>section:is(#partner,.mfe-partners-section){padding-block:42px!important}
html body main#main :is(#partner,#collabora-con-noi) .home-trust-strip__title{margin:0 0 26px!important;font-size:22px!important;font-weight:750!important;line-height:1.3!important;letter-spacing:-.01em!important;text-transform:none!important;text-align:center}
html body main#main :is(#partner,#collabora-con-noi) .home-trust-strip__logos{gap:10px!important;align-items:stretch!important;padding:3px 2px 10px!important;justify-content:space-between!important}
html body main#main :is(#partner,#collabora-con-noi) .home-trust-strip__logo{display:grid!important;place-items:center;flex:1 1 0!important;width:auto!important;min-width:0!important;height:80px!important;margin:0!important;padding:8px!important;background:#fff;border:1px solid #e1e6ef;border-radius:12px;box-shadow:0 3px 10px #29365903}
html body main#main :is(#partner,#collabora-con-noi) .home-trust-strip__logo>img{display:block;width:auto!important;max-width:100%!important;height:46px!important;max-height:46px!important;object-fit:contain!important}
html body main#main>section.mfe-press-section{padding:60px 0!important}
html body main#main>section.mfe-press-section .mfe-press-heading{margin:0 auto 28px!important;max-width:none}
html body main#main>section.mfe-press-section .mfe-press-heading h2{margin:0!important;font-size:clamp(32px,3.7vw,48px)!important;line-height:1.1!important;color:#293659;letter-spacing:-.02em}
html body main#main .mfe-press-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html body main#main .mfe-press-card{position:relative;display:grid!important;grid-template-columns:90px minmax(0,1fr) 20px!important;align-items:center!important;gap:18px!important;min-height:132px!important;width:100%;padding:20px!important;border:1px solid #dce2eb!important;border-radius:16px!important;background:#fff!important;color:#293659!important;box-shadow:0 6px 20px #29365905;text-decoration:none!important;transition:box-shadow .18s,border-color .18s}
html body main#main .mfe-press-card :is(.media-stories__press-thumb,.media-stories__reel-thumb){display:block;width:90px!important;height:76px!important;overflow:hidden;border-radius:10px!important;background:#eff5fc}
html body main#main .mfe-press-card img{display:block;width:100%;height:100%;object-fit:cover}
html body main#main .mfe-press-card :is(.media-stories__press-copy,.media-stories__reel-copy){min-width:0}
html body main#main .mfe-press-card small{display:block;margin:0 0 8px!important;font-size:11px!important;font-weight:750!important;line-height:1.25!important;color:#b7332f!important;text-transform:uppercase;letter-spacing:.02em}
html body main#main .mfe-press-card strong{display:block;font-size:18px!important;line-height:1.3!important;font-weight:750!important;color:#293659!important}
html body main#main .mfe-press-card>svg{width:20px;height:20px;color:#293659}
html body main#main .mfe-press-card:hover{border-color:#9caac2!important;box-shadow:0 8px 24px #29365912}
html body main#main .mfe-press-card:focus-visible{outline:3px solid #4b9bd1;outline-offset:4px}
@media(max-width:1100px){html body main#main :is(#partner,#collabora-con-noi) .home-trust-strip__logos{justify-content:flex-start!important}html body main#main :is(#partner,#collabora-con-noi) .home-trust-strip__logo{flex:0 0 108px!important;width:108px!important}}
@media(max-width:760px){html body main#main>section.mfe-press-section{padding:42px 0!important}html body main#main .mfe-press-grid{grid-template-columns:1fr;gap:12px}html body main#main .mfe-press-card{grid-template-columns:68px minmax(0,1fr) 16px!important;gap:12px!important;padding:16px!important;min-height:112px!important}html body main#main .mfe-press-card :is(.media-stories__press-thumb,.media-stories__reel-thumb){width:68px!important;height:68px!important}html body main#main .mfe-press-card strong{font-size:16px!important}html body main#main .mfe-press-card small{font-size:10px!important;margin-bottom:6px!important}html body main#main :is(#partner,#collabora-con-noi) .home-trust-strip__title{font-size:20px!important;margin-bottom:20px!important}}
@media(prefers-reduced-motion:reduce){html body main#main .mfe-press-card{transition:none}}

/* Final annotated refinements: spacing, collaboration cards and personal contacts. */
html body.about-page #perche-sceglierci .about-why__head{margin-bottom:38px!important}
html body.about-page #perche-sceglierci .about-why__head>p{margin-top:18px!important}
html body.about-page #collabora-con-noi .about-why__grid article::before{display:none!important;content:none!important}
.mfe-person-contact{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px;margin-top:28px;border-radius:20px;background:#293659;color:#fff}
.mfe-person-contact__person{display:flex;align-items:center;gap:20px;min-width:0}
.mfe-person-contact__person img{width:92px;height:112px;object-fit:cover;border-radius:14px;flex:none}
.mfe-person-contact__person span{color:#f5df67;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.mfe-person-contact__person h3{color:#fff!important;font-size:24px;margin:6px 0!important}
.mfe-person-contact__person p{color:#e4eaf7!important;margin:0!important;max-width:440px}
.mfe-person-contact__actions{display:flex;flex-direction:column;gap:12px;flex-shrink:0}
.mfe-person-contact__actions .button{justify-content:center;gap:9px}
.mfe-person-contact__actions .button--outline{color:#fff!important;border-color:#d3dced!important;background:transparent!important}
.mfe-person-contact svg{width:20px;height:20px}
body:not(.home-page) #community .media-stories__featured-reels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:36px}
body:not(.home-page) #community .media-stories__featured-reel{display:block;min-width:0;overflow:hidden;border:1px solid #d6dfef;border-radius:16px;background:#fff;color:#293659;text-decoration:none;box-shadow:0 10px 28px #2936590c;transition:transform .2s}
body:not(.home-page) #community .media-stories__featured-reel:hover{transform:translateY(-5px)}
body:not(.home-page) #community .media-stories__featured-media{display:block;position:relative;aspect-ratio:4/5;overflow:hidden;background:#293659}
body:not(.home-page) #community .media-stories__featured-media img{width:100%;height:100%;object-fit:cover}
body:not(.home-page) #community .media-stories__featured-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border:2px solid #fff;border-radius:50%;background:#293659cc;color:#fff}
body:not(.home-page) #community .media-stories__featured-play svg{width:22px;height:22px}
body:not(.home-page) #community .media-stories__featured-copy{display:flex;flex-direction:column;gap:5px;padding:17px}
body:not(.home-page) #community .media-stories__featured-copy small{color:#6b7791}
body:not(.home-page) #community .media-stories__youtube-heading{position:absolute;top:16px;left:0;right:0;text-align:center;color:#f5df67;font-weight:800;z-index:1}
@media(max-width:760px){.mfe-person-contact{flex-direction:column;align-items:stretch;padding:20px;gap:22px}.mfe-person-contact__person{gap:14px}.mfe-person-contact__person img{width:72px;height:92px}.mfe-person-contact__person h3{font-size:21px}.mfe-person-contact__actions{width:100%}body:not(.home-page) #community .media-stories__featured-reels{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;padding:0 0 16px}body:not(.home-page) #community .media-stories__featured-reel{flex:0 0 78%;scroll-snap-align:start}}

html body dialog.mfe-unified-dialog .mfe-person-contact h3{color:#fff!important}

/* The route chooser needs a spacious desktop layout; programme dialogs retain their own sizing. */
@media(min-width:761px){
 html body dialog#path-dialog{width:min(1040px,calc(100vw - 64px))!important}
 html body dialog#path-dialog>.path-dialog__panel{padding:32px!important}
 html body dialog#path-dialog .path-dialog__options{gap:20px}
 html body dialog#path-dialog .path-dialog-option{min-height:140px;padding:24px;gap:18px}
 html body dialog#path-dialog .path-dialog-option__copy strong{font-size:20px}
 html body dialog#path-dialog .path-dialog-option__copy>span{font-size:16px;line-height:1.5}
 html body dialog#path-dialog .path-dialog__intro{font-size:16px;margin:20px 0 24px}
}

/* Annotated Home refinements, preserving original photographs. */
html body dialog#path-dialog .mfe-dialog-brand{display:none!important}
html body.home-page #chi-siamo .team-service-card>img{opacity:1!important;filter:brightness(1.1) contrast(1.04) saturate(1.04)!important}
html body.home-page #chi-siamo .team-service-card.mfe-photo-card::after{background:linear-gradient(180deg,transparent 0%,transparent 35%,rgba(7,17,38,.25) 56%,rgba(7,17,38,.88) 100%)!important}
@media(min-width:761px){html body.home-page #esperienze .experience-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:24px!important;align-items:stretch!important}html body.home-page #esperienze .experience-grid>article{width:100%!important;min-width:0!important;max-width:none!important;height:360px!important;min-height:360px!important;aspect-ratio:auto!important;margin:0!important;grid-column:auto!important}}
@media(max-width:760px){html body.home-page #esperienze .experience-grid>article{height:380px!important;min-height:380px!important;aspect-ratio:auto!important}}
/* Reference press design: inset blue panel, compact heading and editorial rows. */
html body.home-page main#main>section#dicono-di-noi.mfe-press-section{background:#fff!important}
html body main#main>section#dicono-di-noi.mfe-press-section{padding:32px 0!important}
html body main#main>section#dicono-di-noi>.container{box-sizing:border-box;background:#edf3fb;border-radius:20px;padding:24px!important}
html body main#main>section#dicono-di-noi .mfe-press-heading{margin:0 0 10px!important}
html body main#main>section#dicono-di-noi .mfe-press-heading h2{display:flex;align-items:center;gap:10px;font-size:22px!important;line-height:1.3!important;letter-spacing:0!important}
html body main#main>section#dicono-di-noi .mfe-press-heading h2::after{display:none!important;content:none!important}
html body main#main>section#dicono-di-noi .mfe-press-heading h2>svg{color:#ef4136;flex:none;width:22px;height:22px}
html body main#main>section#dicono-di-noi .mfe-press-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,auto);grid-auto-flow:column;gap:0 64px}
html body main#main>section#dicono-di-noi .mfe-press-card{grid-template-columns:82px minmax(0,1fr) 18px!important;gap:12px!important;min-height:98px!important;padding:18px 0!important;border:0!important;border-top:1px solid #c1cfe3!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body main#main>section#dicono-di-noi .mfe-press-card:nth-child(2n){border-bottom:1px solid #c1cfe3!important}
html body main#main>section#dicono-di-noi .mfe-press-card :is(.media-stories__press-thumb,.media-stories__reel-thumb){width:82px!important;height:62px!important;border-radius:6px!important}
html body main#main>section#dicono-di-noi .mfe-press-card strong{font-size:16px!important;line-height:1.3!important}
html body main#main>section#dicono-di-noi .mfe-press-card small{font-size:11px!important;margin:0 0 5px!important;letter-spacing:0!important}
html body main#main>section#dicono-di-noi .mfe-press-card:hover strong{text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){html body main#main>section#dicono-di-noi>.container{padding:20px!important}html body main#main>section#dicono-di-noi .mfe-press-grid{grid-template-columns:1fr;grid-template-rows:auto;grid-auto-flow:row;gap:0}html body main#main>section#dicono-di-noi .mfe-press-card{grid-template-columns:68px minmax(0,1fr) 16px!important}html body main#main>section#dicono-di-noi .mfe-press-card:nth-child(2n){border-bottom:0!important}html body main#main>section#dicono-di-noi .mfe-press-card:last-child{border-bottom:1px solid #c1cfe3!important}html body main#main>section#dicono-di-noi .mfe-press-card :is(.media-stories__press-thumb,.media-stories__reel-thumb){width:68px!important;height:62px!important}}

html body.home-page #chi-siamo :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.team-service-card.mfe-photo-card)::after{background:linear-gradient(180deg,transparent 0%,transparent 35%,rgba(7,17,38,.25) 56%,rgba(7,17,38,.88) 100%)!important}
@media(min-width:761px){html body.home-page #esperienze .experience-grid>article:nth-child(n){height:360px!important;min-height:360px!important;max-height:360px!important}}
@media(max-width:760px){html body.home-page #esperienze .experience-grid>article:nth-child(n){height:380px!important;min-height:380px!important;max-height:380px!important}}

/* Raise only the central About photograph, retaining a filled frame. */
html body.about-page #presenza .about-service-card__image--presenza{position:absolute!important;left:0!important;bottom:auto!important;top:-38px!important;height:calc(100% + 38px)!important;object-fit:cover!important;object-position:50% 48%!important}

/* Continuous blue across the press section and its inner panel. */
html body main#main>section#dicono-di-noi.mfe-press-section{background:#edf3fb!important}
html body.home-page main#main>section#dicono-di-noi.mfe-press-section{background:#edf3fb!important}

/* Home is the common layout reference for all marketing routes. */
html body:is(.segment-page,.about-page) main#main>section>.container{width:min(1120px,calc(100% - 40px))!important;margin-inline:auto!important}
html body:is(.segment-page,.about-page) #guide .section-heading{max-width:none!important;margin-inline:0!important;text-align:left!important}
html body:is(.segment-page,.about-page) #guide .section-heading h2{max-width:820px}
html body:is(.segment-page,.about-page) #guide .section-heading p{max-width:760px}
@media(min-width:761px){html body.segment-page main#main section[id^="perche-malta-"] .experience-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:24px!important}html body.segment-page main#main section[id^="perche-malta-"] .experience-grid>article:nth-child(n){width:100%!important;min-width:0!important;height:360px!important;min-height:360px!important;max-height:360px!important}}
@media(max-width:760px){html body.segment-page main#main section[id^="perche-malta-"] .experience-grid>article:nth-child(n){height:380px!important;min-height:380px!important;max-height:380px!important}}
html body.about-page main#main>.home-preview-final{padding:72px 0;background:#18306b;color:#fff}
html body.about-page .home-preview-final__inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:40px}
html body.about-page .home-preview-final h2{max-width:740px;margin:20px 0;color:#fff!important;font-size:clamp(32px,4vw,48px)!important;line-height:1.08}
html body.about-page .home-preview-final p{color:#e4eaf7;font-size:17px;line-height:1.65}
html body.about-page .home-preview-final__actions{display:flex;flex-direction:column;gap:14px}
html body.about-page .home-preview-final__consultation{background:#fff!important;color:#293659!important;border:1px solid #293659}
@media(max-width:760px){html body.about-page main#main>.home-preview-final{padding:56px 0}html body.about-page .home-preview-final__inner{grid-template-columns:1fr;gap:24px}html body.about-page .home-preview-final__actions{align-items:stretch}}

/* Portable Home guide cards, including the About route. */
html body:not(.home-page) #guide #guide-panel{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
html body:not(.home-page) #guide #guide-panel>.resource-card.is-hidden{display:none!important}
html body:not(.home-page) #guide #guide-panel>.resource-card{position:relative!important;display:block!important;min-width:0!important;height:412px!important;min-height:412px!important;max-height:412px!important;overflow:hidden!important;padding:0!important;border-radius:16px!important;background:#293659!important;isolation:isolate}
html body:not(.home-page) #guide #guide-panel>.resource-card>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:1!important}
html body:not(.home-page) #guide #guide-panel>.resource-card::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(7,17,38,.24),rgba(7,17,38,.06) 28%,rgba(7,17,38,.48) 58%,rgba(7,17,38,.94))!important;pointer-events:none}
html body:not(.home-page) #guide #guide-panel>.resource-card>div{position:absolute!important;inset:0!important;z-index:2;display:flex!important;flex-direction:column;align-items:flex-start;padding:22px!important}
html body:not(.home-page) #guide .resource-card__category{color:#fff!important;background:transparent!important;font-size:12px!important;font-weight:800;text-transform:uppercase;padding:0!important;margin:0!important}
html body:not(.home-page) #guide #guide-panel>.resource-card h3{color:#fff!important;font-size:24px!important;line-height:1.12!important;margin:auto 0 0!important;text-shadow:0 1px 3px #07112670}
html body:not(.home-page) #guide #guide-panel>.resource-card p{color:#ffffffe0!important;font-size:15px!important;line-height:1.45!important;margin:14px 0 16px!important;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html body:not(.home-page) #guide .resource-card__reading-time{display:flex;align-items:center;gap:6px;color:#ffffffe6!important;font-size:13px!important}
html body:not(.home-page) #guide .resource-card__reading-time svg{width:15px;height:15px}
html body:not(.home-page) #guide #guide-panel>.resource-card a{color:#fff!important;display:flex;align-items:center;gap:8px;font-size:14px!important;margin-top:10px;font-weight:700}
html body:not(.home-page) #guide #guide-panel>.resource-card a svg{width:18px;height:18px}
@media(max-width:760px){html body:not(.home-page) #guide #guide-panel{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:16px;gap:20px!important}html body:not(.home-page) #guide #guide-panel>.resource-card{flex:0 0 88%;scroll-snap-align:start;height:412px!important}html body:not(.home-page) #guide .resource-filter{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}}

html body main#main>section#dicono-di-noi .mfe-press-heading,html body main#main>section#dicono-di-noi .mfe-press-heading h2{text-align:left!important;justify-content:flex-start!important}

html body main#main>section#dicono-di-noi .mfe-press-heading,html body main#main>section#dicono-di-noi .mfe-press-heading h2{width:100%!important;max-width:none!important;margin-inline:0!important;align-self:stretch!important}

html body.about-page #collabora-con-noi .about-why__grid>article>h3{text-align:center!important;width:100%!important}
html body.preventivo-page .quote-answer-cards--age{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html body.preventivo-page .quote-answer-cards--season{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html body.preventivo-page .quote-answer-cards--season .teacher-period-undecided{margin:0!important;max-width:none!important}
@media(max-width:600px){html body.preventivo-page .quote-answer-cards--age,html body.preventivo-page .quote-answer-cards--season{grid-template-columns:1fr}}
