/* Approved comparison and editorial testimony; existing type and imagery retained. */
html body.youth-mode.segment-page #prezzi .adult-pricing-grid.adult-pricing-grid--cards > article.adult-price-card{background:#fff!important;border-color:#d5dbea!important}
.segment-page #prezzi .adult-price-card__price{background:#fffef8!important;color:#293659!important}
.segment-page #prezzi .adult-price-card>p{color:#293659}
html body.youth-mode #recensioni .review-grid.review-grid--authentic > a.review-card.review-card--clickable{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;border-top:2px solid #293659!important;padding:24px 8px!important;}
.home-preview .review-grid--authentic .review-card>p,
.segment-page .review-grid--authentic .review-card>p{color:#293659;line-height:1.7}
.review-grid--authentic .review-card__avatar{display:none}
.review-grid--authentic .review-theme--title{background:transparent;color:#293659;border:0;padding:0;border-radius:0}
.package-conditions-link{margin:16px 0 24px;text-align:center}
.package-conditions-link a{color:#293659;text-decoration:underline;text-underline-offset:4px;display:inline-block;padding:10px 4px}
.package-conditions-link a:focus-visible{outline:2px solid #293659;outline-offset:4px}
.teacher-travel-party{border:0;padding:0;margin:0 0 28px;min-width:0}
.teacher-travel-party legend{font-weight:700;margin-bottom:12px}
.teacher-travel-party .preventivo-program-grid{margin:0}
html body.youth-mode[class] #guide .home-trust-strip .home-trust-strip__logos{display:grid!important;grid-template-columns:repeat(11,minmax(0,1fr))!important;gap:16px!important;align-items:center!important}
html body.youth-mode[class] #guide .home-trust-strip .home-trust-strip__logos>figure.home-trust-strip__logo{width:100%!important;margin:0!important;min-width:0!important;display:flex!important;justify-content:center!important;align-items:center!important;height:66px!important}
html body.youth-mode[class] #guide .home-trust-strip .home-trust-strip__logos>figure.home-trust-strip__logo img{width:100%!important;max-width:110px!important;max-height:58px!important;height:auto!important;object-fit:contain!important;transform:none!important}
@media(max-width:760px){
 html body.youth-mode[class] #guide .home-trust-strip .home-trust-strip__logos{grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:110px!important;gap:18px!important;overflow-x:auto!important;overflow-y:hidden!important;justify-content:start!important;max-width:100%!important;padding:6px 0 12px!important;scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch}
 html body.youth-mode[class] #guide .home-trust-strip .home-trust-strip__logos>figure.home-trust-strip__logo{height:60px!important}
 .teacher-travel-party .preventivo-program-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* Home review cards restored at the owner's request. */
html body.youth-mode.home-page #recensioni .review-grid.review-grid--authentic > a.review-card.review-card--clickable{background:#fff!important;border:1px solid #dadce0!important;border-radius:16px!important;box-shadow:0 1px 2px rgba(60,64,67,.1),0 2px 6px rgba(60,64,67,.08)!important;padding:24px 26px!important;}
html body.youth-mode.home-page #recensioni .review-grid .review-card .review-theme.review-theme--title{display:inline-block!important;width:fit-content!important;max-width:100%!important;box-sizing:border-box!important;padding:4px 9px!important;font-size:14px!important;line-height:1.3!important;font-weight:700!important;border:1px solid rgba(41,54,89,.35)!important;border-radius:999px!important;background:#f2ec96!important;color:#293659!important;}
html body.youth-mode.home-page #recensioni .review-grid .review-card:nth-child(2) .review-theme.review-theme--title{background:#293659!important;color:#fff!important;}
html body.youth-mode.home-page #recensioni .review-grid .review-card:nth-child(3) .review-theme.review-theme--title{background:#e64a42!important;color:#fff!important;}

@media(max-width:760px){html body.youth-mode[class] #guide .home-trust-strip .home-trust-strip__logos>figure.home-trust-strip__logo{scroll-snap-align:start}html body.youth-mode[class] #guide .home-trust-strip .home-trust-strip__logos:focus-visible{outline:2px solid #293659;outline-offset:4px}}

@media(max-width:760px){html body.youth-mode[class] #guide .home-trust-strip .home-trust-strip__logos::-webkit-scrollbar{display:none;width:0;height:0}}

@media(max-width:760px){html body.home-page #community .media-stories__featured-reels{scrollbar-width:none!important;-ms-overflow-style:none!important}html body.home-page #community .media-stories__featured-reels::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}}

/* Keep one divider between the two press groups on mobile. */
@media(max-width:760px){html body.home-page #community .media-stories__press-list>.media-stories__press-item:last-child{border-bottom:1px solid rgba(24,47,107,.18)!important}html body.home-page #community .media-stories__social>.media-stories__reels{border-top:0!important}}

@media(max-width:760px){html body.home-page #community .media-stories__layout{row-gap:0!important}}

@media(max-width:760px){html body.home-page #community .mobile-carousel-dots{display:none!important}}

/* Mobile trial: Why Malta photo cards in one swipeable row. */
@media(max-width:760px){
html body.home-page #esperienze .experience-grid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:min(335px,calc(100% - 44px))!important;gap:20px!important;overflow-x:auto!important;overflow-y:hidden!important;max-width:100%!important;padding-bottom:8px!important;scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch}
html body.home-page #esperienze .experience-grid>.mfe-photo-card{width:100%!important;min-width:0!important;max-width:none!important;scroll-snap-align:start}
html body.home-page #esperienze .experience-grid::-webkit-scrollbar{display:none;width:0;height:0}
html body.home-page #esperienze .experience-grid:focus-visible{outline:2px solid #293659;outline-offset:4px}
}

/* Let Home FAQ answers use the available phone width. */
@media(max-width:760px){html body.home-page #faq .journey-faq details>p{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;padding:12px 12px 24px!important}}

/* Separate Home FAQs from the warm footer surface. */
html body.home-page #faq.faq-section{background:#f6f9fd!important}

/* Full-width About hero with a broad, continuous photo blend. */
@media(min-width:761px){
html body.about-page.about-page--home #home .about-home-hero__copy{width:44%!important}
html body.about-page.about-page--home #home .hero-review-proofs{max-width:480px!important}
html body.about-page.about-page--home #home .about-home-hero-background{inset:0!important;width:100%!important;mask-image:none!important;-webkit-mask-image:none!important;background:#fff}
html body.about-page.about-page--home #home .about-home-hero-background img{position:absolute!important;right:0!important;width:64%!important;height:100%!important;object-fit:contain!important;object-position:right bottom!important;filter:brightness(1.04)!important}
html body.about-page.about-page--home #home.about-home-hero--horizontal::before{background:linear-gradient(90deg,#071126 0%,rgba(7,17,38,.98) 20%,rgba(7,17,38,.92) 30%,rgba(7,17,38,.78) 38%,rgba(7,17,38,.5) 44%,rgba(7,17,38,.2) 50%,rgba(7,17,38,.04) 60%,transparent 75%)!important}
}
@media(max-width:760px){
html body.about-page.about-page--home[data-mobile-layout] #home .about-home-hero-background img{filter:brightness(1.04)!important}
}

/* Match the approved Home photo spacing in the mobile About team. */
@media(max-width:760px){html body.about-page.about-page--home #team .about-team-home__grid{gap:20px!important}}

/* Keep all five About team members on one desktop row. */
@media(min-width:981px){
html body.about-page.about-page--home #team .about-team-home__grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:18px!important;overflow:visible!important}
html body.about-page.about-page--home #team .about-team-home__grid>article{width:100%!important;min-width:0!important;max-width:none!important}
}


/* Approved mobile history: vertical cards with up/down controls. */
html body.about-page.about-page--home #storia .history-trial-controls{display:none}
@media(max-width:760px){
html body.about-page.about-page--home #storia .history-trial-controls{display:flex!important;align-items:center;justify-content:center;gap:16px;margin:24px 0 12px}
html body.about-page.about-page--home #storia .history-trial-controls button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:72px;min-height:44px;padding:8px 12px;border:1px solid #293659;border-radius:999px;background:#fff;color:#293659;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
html body.about-page.about-page--home #storia .history-trial-controls button:disabled{opacity:.4;cursor:default}
html body.about-page.about-page--home #storia .history-trial-controls button:focus-visible{outline:3px solid #e64a42;outline-offset:3px}
html body.about-page.about-page--home #storia .history-trial-controls svg{width:18px;height:18px}
html body.about-page.about-page--home #storia .history-trial-count{min-width:44px;text-align:center;font-size:14px;font-weight:700;color:#293659}
html body.about-page.about-page--home #storia .about-history-path__viewport{width:100%!important;max-width:100%!important;height:min(360px,55vh)!important;min-height:0!important;padding:12px 20px 16px 42px!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain;scroll-snap-type:y proximity;scroll-padding-block:12px;scrollbar-width:none;box-sizing:border-box!important}
html body.about-page.about-page--home #storia .about-history-path__viewport::-webkit-scrollbar{display:none}
html body.about-page.about-page--home #storia .about-history-path__track{display:flex!important;flex-direction:column!important;gap:20px!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;position:relative!important}
html body.about-page.about-page--home #storia .about-history-path__track::before{inset:0 auto 0 -22px!important;width:2px!important;height:100%!important;transform:none!important;background:#293659!important}
html body.about-page.about-page--home #storia .about-history-path__track::after{display:none!important}
html body.about-page.about-page--home #storia .about-history-path__track>li{position:relative!important;display:block!important;flex:0 0 auto!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;scroll-snap-align:start}
html body.about-page.about-page--home #storia .about-history-path__track>li::before,html body.about-page.about-page--home #storia .about-history-path__track>li::after{display:none!important}
html body.about-page.about-page--home #storia .about-history-path__track>li>article{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;height:auto!important;min-height:230px!important;margin:0!important;box-sizing:border-box!important}
html body.about-page.about-page--home #storia .about-history-path__marker{top:22px!important;bottom:auto!important;left:-35px!important;transform:none!important;width:28px!important;height:28px!important}
}

/* Match the Home reel navigation in About on mobile. */
@media(max-width:760px){
html body.about-page.about-page--home #storie-media .media-stories__featured-reels{scrollbar-width:none!important;-ms-overflow-style:none!important}
html body.about-page.about-page--home #storie-media .media-stories__featured-reels::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
html body.about-page.about-page--home #storie-media .mobile-carousel-dots{display:none!important}
}

/* Match About review cards to the approved Home model. */
html body.about-page.about-page--home #recensioni .review-grid.review-grid--authentic > a.review-card.review-card--clickable{background:#fff!important;border:1px solid #dadce0!important;border-radius:16px!important;box-shadow:0 1px 2px rgba(60,64,67,.1),0 2px 6px rgba(60,64,67,.08)!important;padding:24px 26px!important;}
html body.about-page.about-page--home #recensioni .review-grid .review-card .review-theme.review-theme--title{display:inline-block!important;width:fit-content!important;max-width:100%!important;box-sizing:border-box!important;padding:4px 9px!important;font-size:14px!important;line-height:1.3!important;font-weight:700!important;border:1px solid rgba(41,54,89,.35)!important;border-radius:999px!important;background:#f2ec96!important;color:#293659!important;}
html body.about-page.about-page--home #recensioni .review-grid .review-card:nth-child(2) .review-theme.review-theme--title{background:#293659!important;color:#fff!important;}
html body.about-page.about-page--home #recensioni .review-grid .review-card:nth-child(3) .review-theme.review-theme--title{background:#e64a42!important;color:#fff!important;}
html body.about-page.about-page--home #recensioni .review-profile-tag{background:#e64a42!important;color:#fff!important}
html body.about-page.about-page--home #recensioni .review-card:nth-child(2) .review-profile-tag{background:#f2ec96!important;color:#293659!important}
html body.about-page.about-page--home #recensioni .review-card:nth-child(3) .review-profile-tag{background:#293659!important;color:#fff!important}

@media(max-width:760px){
html body.about-page.about-page--home #recensioni .review-grid>.review-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
html body.about-page.about-page--home #recensioni .review-card>.review-button{width:fit-content!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;flex-wrap:wrap!important;justify-content:center!important;white-space:normal!important;gap:6px!important}
html body.about-page.about-page--home #recensioni .review-button .review-platform-score{white-space:normal!important}
}

/* Match About FAQs to the approved Home pale blue surface. */
html body.about-page.about-page--home #faq.faq-section{background:#f6f9fd!important}

/* Keep mobile adult package scrolling inside the cards, not the whole section. */
@media(max-width:760px){
html body.segment-page--adulti section#prezzi .adult-pricing-grid.adult-pricing-grid--cards{overflow-x:auto!important;overflow-y:hidden!important}
}

/* Align adult team cards with their mobile grid tracks and approved photo spacing. */
@media(max-width:760px){
html body.segment-page--adulti #team-locale .team-service-grid{gap:20px!important}
html body.segment-page--adulti #team-locale .team-service-grid>article{width:100%!important;max-width:100%!important;min-width:0!important;justify-self:stretch!important;box-sizing:border-box!important}
}

/* Match Adult review cards to the approved Home and About model. */
html body.segment-page--adulti #recensioni .review-grid.review-grid--authentic > a.review-card.review-card--clickable{background:#fff!important;border:1px solid #dadce0!important;border-radius:16px!important;box-shadow:0 1px 2px rgba(60,64,67,.1),0 2px 6px rgba(60,64,67,.08)!important;padding:24px 26px!important;}
html body.segment-page--adulti #recensioni .review-grid .review-card .review-theme.review-theme--title{display:inline-block!important;width:fit-content!important;max-width:100%!important;box-sizing:border-box!important;padding:4px 9px!important;font-size:14px!important;line-height:1.3!important;font-weight:700!important;border:1px solid rgba(41,54,89,.35)!important;border-radius:999px!important;background:#f2ec96!important;color:#293659!important;}
html body.segment-page--adulti #recensioni .review-grid .review-card:nth-child(2) .review-theme.review-theme--title{background:#293659!important;color:#fff!important;}
html body.segment-page--adulti #recensioni .review-grid .review-card:nth-child(3) .review-theme.review-theme--title{background:#e64a42!important;color:#fff!important;}

@media(max-width:760px){
html body.segment-page--adulti #recensioni .review-grid>.review-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
html body.segment-page--adulti #recensioni .review-card>.review-button{width:fit-content!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;flex-wrap:wrap!important;justify-content:center!important;white-space:normal!important;gap:6px!important}
html body.segment-page--adulti #recensioni .review-button .review-platform-score{white-space:normal!important}
}

/* Keep Adult FAQs distinct from the cream footer, matching the approved Home surface. */
html body.segment-page--adulti main#main>section#dubbi.faq-section{background:#f6f9fd!important}

/* About: align the descriptive paragraphs without splitting words. */
html body.about-page.about-page--home #presenza .about-mfe-section__intro p{
text-align:justify!important;text-align-last:left!important;hyphens:none!important;-webkit-hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important;word-spacing:normal!important;letter-spacing:normal!important;
}
@media(max-width:760px){
html body.about-page.about-page--home #presenza .about-mfe-section__intro p{text-align:left!important}
}
