/* Approved About page styling, matching the Home. */
/* Approved Home CTA buttons. Keep the original colours and honour reduced motion. */

html body.about-page--home :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp){
--mfe-control-radius:12px;min-height:50px!important;height:auto!important;box-sizing:border-box!important;padding:12px 20px!important;border-radius:12px!important;gap:10px!important;align-items:center!important;justify-content:center!important;line-height:1.35!important;transition:transform 180ms ease,box-shadow 180ms ease!important;}
html body.about-page--home :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp) :is(svg,i[data-lucide],span[data-lucide]){width:20px!important;height:20px!important;flex:0 0 20px!important;}
html body.about-page--home :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp):focus-visible{outline:3px solid #293659!important;outline-offset:4px!important;}
@media(hover:hover)and(pointer:fine){html body.about-page--home :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp):hover{transform:translateY(-2px)!important;box-shadow:0 6px 14px #29365926!important;}}
html body.about-page--home :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp):active{transform:translateY(0)!important;}
@media(prefers-reduced-motion:reduce){html body.about-page--home :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp){transition:none!important;transform:none!important;}}

/* Approved Home photographic cards: original images, single gradient and motion only on desktop hover. */

html body.about-page--home :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.about-service-card.mfe-photo-card,.experience-grid>.mfe-photo-card,.resource-card--featured-guide.mfe-photo-card){border-radius:16px!important;overflow:hidden!important;isolation:isolate;}
html body.about-page--home :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.about-service-card.mfe-photo-card,.experience-grid>.mfe-photo-card,.resource-card--featured-guide.mfe-photo-card)::before{background:none!important;}
html body.about-page--home :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.about-service-card.mfe-photo-card,.experience-grid>.mfe-photo-card,.resource-card--featured-guide.mfe-photo-card)::after{content:""!important;position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none!important;background:linear-gradient(180deg,rgba(7,17,38,.24) 0%,rgba(7,17,38,.06) 28%,rgba(7,17,38,.48) 58%,rgba(7,17,38,.94) 100%)!important;}
html body.about-page--home :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.about-service-card.mfe-photo-card,.experience-grid>.mfe-photo-card,.resource-card--featured-guide.mfe-photo-card)>img{transition:transform 320ms ease!important;transform:scale(1)!important;}
html body.about-page--home :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.about-service-card.mfe-photo-card,.experience-grid>.mfe-photo-card,.resource-card--featured-guide.mfe-photo-card) :is(h2,h3,p,.resource-meta,.resource-card__meta){text-shadow:0 1px 3px #07112670;}
html body.about-page--home :is(#mfe-grid-trial#mfe-grid-trial-never#mfe-grid-trial-extra,.audience-grid--path-cards,.about-service-grid,.experience-grid,#guide-panel){gap:24px!important;}
@media(max-width:760px){html body.about-page--home :is(#mfe-grid-trial#mfe-grid-trial-never#mfe-grid-trial-extra,.audience-grid--path-cards,.about-service-grid,.experience-grid,#guide-panel){gap:20px!important;}}
@media(hover:hover)and(pointer:fine){html body.about-page--home :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.about-service-card.mfe-photo-card,.experience-grid>.mfe-photo-card,.resource-card--featured-guide.mfe-photo-card):hover>img{transform:scale(1.025)!important;}}
@media(prefers-reduced-motion:reduce){html body.about-page--home :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.about-service-card.mfe-photo-card,.experience-grid>.mfe-photo-card,.resource-card--featured-guide.mfe-photo-card)>img{transition:none!important;transform:none!important;}}

/* Approved Home tags. Preserve text, dimensions and original palette. */

html body.about-page--home :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.about-why__tags>li){min-height:44px!important;box-sizing:border-box!important;padding:6px 14px!important;gap:8px!important;align-items:center!important;box-shadow:2px 2px 0 rgba(242,236,150,.56)!important;}
html body.about-page--home :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.about-why__tags>li):nth-child(3n+2){box-shadow:2px 2px 0 rgba(109,147,205,.22)!important;}
html body.about-page--home :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.about-why__tags>li):nth-child(3n){box-shadow:2px 2px 0 rgba(239,65,54,.18)!important;}
html body.about-page--home :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.about-why__tags>li)>svg{width:16px!important;height:16px!important;flex:0 0 16px!important;}
html body.about-page--home :is(#mfe-tag-grid#mfe-tag-grid-never#mfe-tag-grid-extra,.about-why__tags){gap:12px!important;}
@media(max-width:760px){html body.about-page--home :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.about-why__tags>li){padding:6px 12px!important;}}

/* Approved once-only Home section entrance. Content stays visible without JavaScript. */
@keyframes mfe-home-section-arrival{from{opacity:.65;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
body.about-page--home main>section>.container.home-section-enter{animation:mfe-home-section-arrival 420ms cubic-bezier(.2,.65,.3,1) both!important;}
@media(prefers-reduced-motion:reduce){body.about-page--home main>section>.container.home-section-enter{animation:none!important;transform:none!important;opacity:1!important;}}

html body.about-page--home :is(#adult-card-trial#adult-card-trial-never#adult-card-trial-extra,.adult-price-card,.segment-choice-card--photo){border-radius:16px!important;overflow:hidden!important;}

/* Keep final CTAs at the approved height inside the existing grid row. */
html body.about-page--home .about-final-cta .button{align-self:center!important;}

/* Let longer English final CTA labels fit naturally on larger screens. */
@media(min-width:761px){
html[lang="en"] body.about-page--home .about-final-cta__actions{display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:center!important;}
html[lang="en"] body.about-page--home .about-final-cta :is(#mfe-final-label#mfe-final-label-never#mfe-final-label-extra,.button){width:max-content!important;max-width:100%!important;flex:0 1 auto!important;white-space:nowrap!important;}
}

/* Give final CTA labels full-width touch targets on phones. */
@media(max-width:760px){
html body.about-page--home :is(#mfe-final-stack#mfe-final-stack-never#mfe-final-stack-extra,.about-final-cta__actions){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;gap:12px!important;}
html body.about-page--home .about-final-cta :is(#mfe-final-label#mfe-final-label-never#mfe-final-label-extra,.button){width:100%!important;max-width:100%!important;min-width:0!important;max-height:none!important;height:auto!important;padding:12px 16px!important;align-self:center!important;}
}

/* About annotations: compact introduction and a clearer history heading gap. */
html body.about-page.about-page--home #presenza .about-mfe-section__intro{gap:8px!important}
html body.about-page.about-page--home #presenza .about-mfe-section__intro p{line-height:1.5!important;margin:0!important}
html body.about-page.about-page--home #storia .about-history-path__head>p{margin-top:20px!important}
html body.about-page.about-page--home #storia :is(#mfe-history-spacing-a#mfe-history-spacing-b,.about-history-path__head)>p{margin-top:20px!important}
