/* Shared mobile-only hero treatment. All rules are below 761px; desktop remains untouched. */
@media (max-width:760px){
 html body.home-page #home .hero__copy>.eyebrow{top:-180px!important;z-index:4}
 html body.home-page[data-mobile-layout] #home.hero--cove-background .hero-cove-background{height:260px!important}
 html body.home-page[data-mobile-layout] #home.hero--cove-background.hero--dark-fade::after{height:261px!important;background:linear-gradient(180deg,transparent 40%,rgba(7,17,38,.25) 68%,#071126 100%)!important}

 html body.segment-page #home .segment-hero__copy>.eyebrow{top:-198px!important;z-index:4}
 html body.segment-page.segment-page--adulti[data-mobile-layout] #home .segment-hero-background{height:260px!important}
 html body.segment-page.segment-page--adulti[data-mobile-layout] #home.segment-hero--home-model::before{height:261px!important;background:linear-gradient(180deg,transparent 40%,rgba(7,17,38,.25) 68%,#071126 100%)!important}
 html body :is(.preventivo-hero__copy>.eyebrow,.about-contact-details>.section-kicker,.guide-index-shell>.section-heading>.section-kicker,.newsletter-content>.section-kicker){top:-16px!important}

 /* Content-sized proof tags wrap naturally into two compact rows. */
 html body.home-page #chi-siamo ul.home-malta-tags.home-mfe-tags{display:flex!important;grid-template-columns:none!important;flex-wrap:wrap!important;width:100%!important;max-width:100%!important;justify-content:center!important;align-items:center!important}
 html body.home-page #chi-siamo :is(#mfe-tag-grid#mfe-tag-grid-never#mfe-tag-grid-extra,ul.home-malta-tags.home-mfe-tags){gap:8px 6px!important}
 html body.home-page #chi-siamo ul.home-malta-tags.home-mfe-tags>.home-malta-tag{flex:0 0 auto!important;width:max-content!important;max-width:100%!important;height:auto!important;margin:0!important;border-radius:999px!important;font-size:clamp(10px,2.85vw,11.5px)!important;font-weight:700!important;justify-content:center!important;white-space:nowrap!important}
 html body.home-page #chi-siamo :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.home-malta-tag){min-height:30px!important;font-size:clamp(10px,2.85vw,11.5px)!important;font-weight:700!important;padding:6px 8px!important;gap:5px!important}
 html body.home-page #chi-siamo :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.home-malta-tag)>svg{width:13px!important;height:13px!important;flex:0 0 13px!important}
 html body.home-page #chi-siamo ul.home-malta-tags.home-mfe-tags>.home-malta-tag>span{font-size:inherit!important;font-weight:inherit!important;min-width:0;white-space:nowrap!important;line-height:1.2!important;text-align:left;overflow-wrap:normal!important}

 html body.home-page #chi-siamo ul.home-malta-tags.home-mfe-tags>.home-malta-tag:nth-child(2){max-width:calc(100% - 112px)!important}
 html body.home-page #chi-siamo ul.home-malta-tags.home-mfe-tags>.home-malta-tag:nth-child(2)>span{white-space:normal!important}

 /* Mobile order: yellow label, four proof tags, heading, introduction, photos. */
 html body.home-page #chi-siamo>.container.split--mfe-stacked{display:grid!important;grid-template-columns:minmax(0,1fr)!important;row-gap:0!important}
 html body.home-page #chi-siamo>.container>.split__copy{display:contents!important}
 html body.home-page #chi-siamo .split__copy>.section-kicker{order:0;justify-self:center;margin:0!important}
 html body.home-page #chi-siamo>.container>ul.home-malta-tags.home-mfe-tags{order:1;margin:18px 0 0!important}
 html body.home-page #chi-siamo .split__copy>h2{order:2;margin:24px auto 0!important}
 html body.home-page #chi-siamo .split__copy>p{order:3;margin:18px auto 0!important}
 html body.home-page #chi-siamo>.container>.team-service-grid{order:4!important}
 html body.home-page #chi-siamo>.container>.split__actions{order:6!important}
 html body.home-page #chi-siamo>.container>.mobile-carousel-dots{order:5!important}

 /* Compact, prominent Team contact action on mobile. */
 html body.home-page #chi-siamo>.container>.split__actions{display:flex!important;justify-content:center!important;width:100%!important}
 html body.home-page #chi-siamo :is(#mfe-team-cta#mfe-team-cta-never#mfe-team-cta-extra,.split__actions>.button){display:inline-flex!important;flex:0 0 auto!important;width:max-content!important;min-width:0!important;max-width:100%!important;min-height:52px!important;padding:14px 24px!important;margin:0 auto!important;background:#c6352f!important;color:#fff!important;border:1px solid #ad2925!important;border-radius:12px!important;box-shadow:0 5px 14px rgba(173,41,37,.2)!important;font-size:16px!important;font-weight:800!important;gap:8px!important}

 /* Shared swipeable reviews; keep every desktop review grid unchanged. */
 html body main#main :is(#mfe-reviews#mfe-reviews-never#mfe-reviews-extra,.review-grid){display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:16px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scroll-padding-inline:2px;padding:4px 2px 18px!important;align-items:stretch!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#c6352f #dce5f2}
 html body main#main :is(#mfe-reviews#mfe-reviews-never#mfe-reviews-extra,.review-grid)>.review-card{flex:0 0 88%!important;align-self:stretch!important;height:auto!important;width:88%!important;min-width:0!important;max-width:none!important;margin:0!important;scroll-snap-align:start;box-sizing:border-box!important}
 /* Content-sized proof tags wrap naturally into two compact rows. */
 html body.home-page #esperienze ul.home-malta-tags{display:flex!important;grid-template-columns:none!important;flex-wrap:wrap!important;width:100%!important;max-width:100%!important;justify-content:center!important;align-items:center!important}
 html body.home-page #esperienze :is(#mfe-tag-grid#mfe-tag-grid-never#mfe-tag-grid-extra,ul.home-malta-tags){gap:8px 6px!important}
 html body.home-page #esperienze ul.home-malta-tags>.home-malta-tag{flex:0 0 auto!important;width:max-content!important;max-width:100%!important;height:auto!important;margin:0!important;border-radius:999px!important;font-size:clamp(10px,2.85vw,11.5px)!important;font-weight:700!important;justify-content:center!important;white-space:nowrap!important}
 html body.home-page #esperienze :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.home-malta-tag){min-height:30px!important;font-size:clamp(10px,2.85vw,11.5px)!important;font-weight:700!important;padding:6px 8px!important;gap:5px!important}
 html body.home-page #esperienze :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.home-malta-tag)>svg{width:13px!important;height:13px!important;flex:0 0 13px!important}
 html body.home-page #esperienze ul.home-malta-tags>.home-malta-tag>span{font-size:inherit!important;font-weight:inherit!important;min-width:0;white-space:nowrap!important;line-height:1.2!important;text-align:left;overflow-wrap:normal!important}


 /* Match the approved compact tag layout in the Why Malta section. */
 html body.home-page #esperienze>.container{display:grid!important;grid-template-columns:minmax(0,1fr)!important;row-gap:0!important}
 html body.home-page #esperienze>.container>.section-heading{display:contents!important}
 html body.home-page #esperienze .section-heading>.section-kicker{order:0;justify-self:center;margin:0!important}
 html body.home-page #esperienze>.container>ul.home-malta-tags{order:1;margin:18px 0 0!important}
 html body.home-page #esperienze .section-heading>h2{order:2;margin:24px auto 0!important;text-align:center}
 html body.home-page #esperienze .section-heading>p{order:3;margin:18px auto 0!important;text-align:center}
 html body.home-page #esperienze>.container>.experience-grid{order:4!important;margin-top:32px!important;width:100%!important;min-width:0!important;justify-self:stretch!important}
 html body.home-page #esperienze>.container>.mobile-carousel-dots{order:5!important}

 /* Keep swipe and next-card previews, hide only the mobile scrollbars. */
 html body main#main .review-grid,html body main#main .home-trust-strip__logos{scrollbar-width:none!important;-ms-overflow-style:none!important}
 html body main#main .review-grid::-webkit-scrollbar,html body main#main .home-trust-strip__logos::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

 /* Larger Why Malta pills, paired by content width. */
 html body.home-page #esperienze :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.home-malta-tag){font-size:clamp(11px,3.2vw,13px)!important;min-height:36px!important;padding:8px 10px!important;gap:6px!important}
 html body.home-page #esperienze ul.home-malta-tags>.home-malta-tag:nth-child(1){order:0}
 html body.home-page #esperienze ul.home-malta-tags>.home-malta-tag:nth-child(2){order:2}
 html body.home-page #esperienze ul.home-malta-tags>.home-malta-tag:nth-child(3){order:3}
 html body.home-page #esperienze ul.home-malta-tags>.home-malta-tag:nth-child(4){order:1}
 html body.home-page #esperienze .home-malta-tag>svg.mfe-mobile-uk-flag{width:18px!important;height:12px!important;flex:0 0 18px!important;stroke:none!important;border-radius:2px}

 /* Shared social reels with the approved 80% width and next-cover preview. */
 html body main#main :is(#mfe-social#mfe-social-never#mfe-social-extra,.media-stories__featured-reels){display:flex!important;flex-wrap:nowrap!important;gap:16px!important;width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scrollbar-width:none!important;padding:0 0 8px!important;justify-content:flex-start!important}
 html body main#main :is(#mfe-social#mfe-social-never#mfe-social-extra,.media-stories__featured-reels)>.media-stories__featured-reel{flex:0 0 80%!important;width:80%!important;min-width:0!important;max-width:none!important;scroll-snap-align:start}
 html body main#main .media-stories__featured-media{width:100%!important;height:auto!important;aspect-ratio:9/16!important}
 html body main#main .media-stories__featured-reels::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
}
