/* Approved Adult page styling, matching the Home. */
/* Approved Home CTA buttons. Keep the original colours and honour reduced motion. */

html body.segment-page--adulti :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.segment-page--adulti :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.segment-page--adulti :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.segment-page--adulti :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.segment-page--adulti :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.segment-page--adulti :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.segment-page--adulti :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.team-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.segment-page--adulti :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.team-service-card.mfe-photo-card,.experience-grid>.mfe-photo-card,.resource-card--featured-guide.mfe-photo-card)::before{background:none!important;}
html body.segment-page--adulti :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.team-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.segment-page--adulti :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.team-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.segment-page--adulti :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.team-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.segment-page--adulti :is(#mfe-grid-trial#mfe-grid-trial-never#mfe-grid-trial-extra,.audience-grid--path-cards,.team-service-grid,.experience-grid,#guide-panel){gap:24px!important;}
@media(max-width:760px){html body.segment-page--adulti :is(#mfe-grid-trial#mfe-grid-trial-never#mfe-grid-trial-extra,.audience-grid--path-cards,.team-service-grid,.experience-grid,#guide-panel){gap:20px!important;}}
@media(hover:hover)and(pointer:fine){html body.segment-page--adulti :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.team-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.segment-page--adulti :is(#mfe-photo-trial#mfe-photo-trial-never#mfe-photo-trial-extra,.audience-card.mfe-photo-card,.team-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.segment-page--adulti :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.home-malta-tag){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.segment-page--adulti :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.home-malta-tag):nth-child(3n+2){box-shadow:2px 2px 0 rgba(109,147,205,.22)!important;}
html body.segment-page--adulti :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.home-malta-tag):nth-child(3n){box-shadow:2px 2px 0 rgba(239,65,54,.18)!important;}
html body.segment-page--adulti :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.home-malta-tag)>svg{width:16px!important;height:16px!important;flex:0 0 16px!important;}
html body.segment-page--adulti :is(#mfe-tag-grid#mfe-tag-grid-never#mfe-tag-grid-extra,.home-malta-tags){gap:12px!important;}
@media(max-width:760px){html body.segment-page--adulti :is(#mfe-tag-trial#mfe-tag-trial-never#mfe-tag-trial-extra,.home-malta-tag){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.segment-page--adulti 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.segment-page--adulti main>section>.container.home-section-enter{animation:none!important;transform:none!important;opacity:1!important;}}

html body.segment-page--adulti :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;}

/* Approved first proposal: lighter right side, unchanged original photograph. */
@media(min-width:761px){html body.segment-page--adulti #home.segment-hero--home-model::before{background:linear-gradient(90deg,rgba(7,17,38,.96) 0%,rgba(7,17,38,.94) 25%,rgba(7,17,38,.83) 39%,rgba(7,17,38,.56) 50%,rgba(7,17,38,.20) 61%,rgba(7,17,38,.04) 73%,rgba(7,17,38,0) 88%),linear-gradient(180deg,transparent 80%,rgba(4,12,28,.06) 100%)!important}}

/* Adult course descriptions: natural word spacing, preserving headings and card layout. */
html body.segment-page--adulti #programma .segment-detail-grid--adult-program>article>p{text-align:left!important;text-align-last:auto!important;word-spacing:normal!important;letter-spacing:normal!important;text-justify:none!important;text-wrap:pretty;hyphens:none;-webkit-hyphens:none;overflow-wrap:break-word}

/* Adult annotations: compact accommodation lead and expandable package inclusions. */
html body.segment-page--adulti #alloggi .segment-section__head>p{max-width:none!important;width:100%!important}
html body.segment-page--adulti #guide .section-heading>p{margin-left:0!important;margin-right:0!important;text-align:left!important}
.adult-inclusions{margin:24px 0 32px;text-align:center}
.adult-inclusions>summary{list-style:none;cursor:pointer;display:inline-flex;gap:14px;align-items:center}
.adult-inclusions>summary::-webkit-details-marker{display:none}
.adult-inclusions__toggle{font-size:22px;line-height:1;transition:transform .15s ease}
.adult-inclusions[open] .adult-inclusions__toggle{transform:rotate(45deg)}
.adult-inclusions__panel{margin-top:20px;padding:24px 20px;border:0;border-radius:0;box-shadow:none;background:transparent}
.adult-inclusions__panel .home-malta-tags{margin:0!important}
@media(max-width:680px){.adult-inclusions__panel{padding:20px 14px}.adult-inclusions>summary{max-width:100%;white-space:normal}}
@media(prefers-reduced-motion:reduce){.adult-inclusions__toggle{transition:none}}

/* Adult annotations: edge-to-edge cover photos and balanced intensive description. */
html body.segment-page--adulti #alloggi .stay-cover>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
@media(min-width:761px){html body.segment-page--adulti #programma .segment-detail-grid--adult-program>article:nth-child(2)>p{text-align:justify!important;text-align-last:left!important;text-wrap:wrap;hyphens:auto;-webkit-hyphens:auto;word-spacing:normal!important}}
