/* ==========================================================================
   Hanuman — landing page (mobile first)
   Token dal design system Hanuman. Font: Mundial → Figtree come sostituto.
   ========================================================================== */

:root {
	--hn-purple: #5e205e;
	--hn-lilac: #c491c4;
	--hn-lavender: #d5c1e6;
	--hn-cream: #e3e2d8;
	--hn-orange: #e05a2b;
	--hn-lime: #cfe075;
	--hn-olive: #424c33;
	--hn-white: #ffffff;

	--hn-font: "Mundial", "Figtree", system-ui, sans-serif;
	--hn-wrap: 1120px;
	--hn-gutter: 24px;
	--hn-section-y: clamp(64px, 11vw, 120px);
}

/* ---------- Base ---------- */
body.hn-landing { margin: 0; background: var(--hn-white); }
/* Niente menu "salva immagine" con la pressione lunga su iPhone/iPad, né trascinamento */
.hn img, .hn svg { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; }
.hn { font-family: var(--hn-font); color: var(--hn-purple); background: var(--hn-white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.hn *, .hn *::before, .hn *::after { box-sizing: border-box; }
.hn img { max-width: 100%; height: auto; display: block; }
.hn a { color: var(--hn-purple); }
.hn a:hover { color: var(--hn-olive); }
.hn :focus-visible { outline: 2px solid var(--hn-purple); outline-offset: 2px; }
:where(.hn) :where(p, h1, h2, h3, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(.hn) :where(ul, ol) { padding: 0; list-style: none; }

.hn-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--hn-purple); color: var(--hn-cream); padding: 12px 16px; }
.hn-skip:focus { left: 16px; top: 16px; }

.hn-wrap { max-width: var(--hn-wrap); margin: 0 auto; padding-inline: var(--hn-gutter); }
.hn-wrap--bleed { padding-inline: 0; }
.hn-stack { display: flex; flex-direction: column; gap: 20px; }

/* Due colonne che si impilano su telefono */
.hn-split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.hn-split > * { flex: 1 1 320px; min-width: 0; }
.hn-split--reverse { flex-wrap: wrap-reverse; }
.hn-split--top { align-items: flex-start; }
.hn-split--wide-right > :last-child { flex: 2 1 360px; }

/* Riga a scorrimento orizzontale (foto, card, recensioni) */
.hn-scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hn-scroller::-webkit-scrollbar { display: none; }
.hn-scroller > * { scroll-snap-align: start; }

/* ---------- Tipografia ---------- */
.hn-eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em; color: var(--hn-olive); }
.hn-display { font-size: clamp(42px, 10.5vw, 84px); line-height: .95; font-weight: 700; letter-spacing: -.015em; }
.hn-h2 { font-size: clamp(36px, 8vw, 56px); line-height: 1; font-weight: 700; letter-spacing: -.01em; }
.hn-h3 { font-size: clamp(30px, 6.5vw, 44px); line-height: 1.05; font-weight: 700; letter-spacing: -.01em; }
.hn-lead { font-size: 18px; line-height: 28px; color: var(--hn-olive); max-width: 34ch; }
.hn-sub { font-size: 19px; line-height: 28px; font-weight: 500; }
.hn-body { font-size: 16px; line-height: 26px; color: var(--hn-olive); max-width: 60ch; }
.hn-caption { font-size: 13px; line-height: 18px; }
.hn-payoff { font-size: 20px; line-height: 22px; padding-bottom: 32px; }
.hn-note-strong { font-size: 15px; font-weight: 600; }

/* ---------- Pulsanti e link ---------- */
.hn-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; background: var(--hn-purple); color: var(--hn-cream) !important; font-size: 16px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; border-radius: 0; }
.hn-btn:hover { background: var(--hn-olive); }
.hn-btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.hn-btn--outline { background: transparent; color: var(--hn-purple) !important; border-color: var(--hn-purple); }
.hn-btn--outline:hover { background: var(--hn-purple); color: var(--hn-cream) !important; }
.hn-btn--olive { background: var(--hn-olive); }
.hn-btn--olive:hover { background: var(--hn-purple); }
.hn-btn--lime { background: var(--hn-lime); color: var(--hn-olive) !important; }
.hn-btn--lime:hover { background: var(--hn-cream); }
.hn-btn--start { align-self: flex-start; margin-top: 8px; }
.hn-link { font-size: 15px; font-weight: 600; }

/* ---------- Lettere custom (maschere SVG colorate con --c) ---------- */
.lt {
	display: block; aspect-ratio: 1; background: var(--c, var(--hn-purple)); pointer-events: none;
	-webkit-mask-position: center; mask-position: center;
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	transform: rotate(var(--r, 0deg));
}
/* URL scritti direttamente (non in variabili CSS) così si risolvono rispetto a questo file */
.lt-h { -webkit-mask-image: url("../img/lettere/lettera-h.svg"); mask-image: url("../img/lettere/lettera-h.svg"); }
.lt-a { -webkit-mask-image: url("../img/lettere/lettera-a.svg"); mask-image: url("../img/lettere/lettera-a.svg"); }
.lt-n { -webkit-mask-image: url("../img/lettere/lettera-n.svg"); mask-image: url("../img/lettere/lettera-n.svg"); }

.hn-photos__item .lt, .hn-media .lt, .hn-carousel .lt { position: absolute; z-index: 3; }

/* Stesso movimento degli ingranaggi del footer: un quarto di giro a scatti con rimbalzo, poi pausa */
@keyframes lt-rot { 0%{transform:rotate(calc(var(--r,0deg) + 0deg))} 2.381%,25%{transform:rotate(calc(var(--r,0deg) + 90deg))} 27.381%,50%{transform:rotate(calc(var(--r,0deg) + 180deg))} 52.381%,75%{transform:rotate(calc(var(--r,0deg) + 270deg))} 77.381%,100%{transform:rotate(calc(var(--r,0deg) + 360deg))} }
.anim-rot   { animation: lt-rot 16.8s cubic-bezier(.5,0,.2,1.25) infinite; }

/* Ingranaggi del footer: un quarto di giro a turno, pausa di 1s */
@keyframes lt-gear0 { 0%,0%{transform:rotate(0)} 2.381%,25%{transform:rotate(90deg)} 27.381%,50%{transform:rotate(180deg)} 52.381%,75%{transform:rotate(270deg)} 77.381%,100%{transform:rotate(360deg)} }
@keyframes lt-gear1 { 0%,8.333%{transform:rotate(0)} 10.714%,33.333%{transform:rotate(-90deg)} 35.714%,58.333%{transform:rotate(-180deg)} 60.714%,83.333%{transform:rotate(-270deg)} 85.714%,100%{transform:rotate(-360deg)} }
@keyframes lt-gear2 { 0%,16.667%{transform:rotate(0)} 19.048%,41.667%{transform:rotate(-90deg)} 44.048%,66.667%{transform:rotate(-180deg)} 69.048%,91.667%{transform:rotate(-270deg)} 94.048%,100%{transform:rotate(-360deg)} }
.gear-0 { animation: lt-gear0 16.8s cubic-bezier(.5,0,.2,1.25) infinite; }
.gear-1 { animation: lt-gear1 16.8s cubic-bezier(.5,0,.2,1.25) infinite; }
.gear-2 { animation: lt-gear2 16.8s cubic-bezier(.5,0,.2,1.25) infinite; }

@media (prefers-reduced-motion: reduce) {
	.anim-rot, .gear-0, .gear-1, .gear-2 { animation: none; }
	.hn-carousel__track { transition: none !important; }
	.hn .hn-marquee__track { padding-inline: var(--hn-gutter); }
	.hn-photos__item[aria-hidden="true"] { display: none; }
	.hn { scroll-behavior: auto; }
}

/* Forme: disco e mezzo disco */
.hn-disc { position: absolute; aspect-ratio: 1; border-radius: 9999px; background: var(--hn-lime); }
.hn-halfdisc { position: absolute; aspect-ratio: 2 / 1; border-radius: 9999px 9999px 0 0; background: var(--hn-lime); }

/* ---------- Header ---------- */
.hn-header { background: var(--hn-cream); position: relative; z-index: 10; }
.hn-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.hn-header__logo { line-height: 0; }
.hn-header__logo img { width: 116px; height: auto; }
.hn-header__actions { display: flex; align-items: center; gap: 8px; }
.hn-menu-toggle { width: 44px; height: 44px; border: 0; padding: 0; background: transparent; color: var(--hn-purple); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hn-nav { display: none; }
.hn-nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.hn-nav.is-open {
	display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--hn-cream); padding: 8px var(--hn-gutter) 24px; border-top: 1px solid rgba(94,32,94,.15);
}
.hn-nav.is-open a { padding: 14px 0; font-size: 20px; font-weight: 600; border-bottom: 1px solid rgba(94,32,94,.12); }

@media (min-width: 900px) {
	.hn-nav, .hn-nav.is-open { display: flex; flex-direction: row; position: static; gap: 28px; padding: 0; border: 0; background: none; }
	.hn-nav.is-open a { padding: 0; font-size: 15px; font-weight: 500; border: 0; }
	.hn-menu-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hn-hero { background: var(--hn-cream); position: relative; overflow: hidden; }
.hn-hero__inner { padding-block: 24px 64px; gap: 32px 64px; }
.hn-hero__text { gap: 24px; position: relative; z-index: 1; flex: 1.5 1 340px; }
.hn-hero__author { margin-top: -12px; opacity: .75; letter-spacing: .02em; }
.hn-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hn-hero__ctas .hn-btn { flex: 1 1 220px; }
.hn-hero__ctas .hn-btn--outline { flex: 1 1 160px; }
.hn-hero__art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 300px; flex-basis: 300px; }
.hn-hero__art img { position: relative; width: min(100%, 460px); height: auto; }
.hn-hero__disc { right: 4%; top: 6%; width: 38%; }

/* ---------- Foto dello studio ---------- */
/* Scorre da solo (JS) e si può trascinare con il dito o la rotella: è un normale contenitore scorrevole */
.hn-marquee { overflow-x: auto; overflow-y: hidden; padding-block: 48px 64px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.hn-marquee::-webkit-scrollbar { display: none; }
.hn-marquee__track { display: flex; width: max-content; }
/* margine a destra (non gap) così le due metà della traccia hanno la stessa larghezza */
.hn-photos__item { position: relative; flex: 0 0 clamp(220px, 26vw, 380px); margin: 0 12px 0 0; }
.hn-photos__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--hn-lavender); }

/* ---------- Sezioni ---------- */
.hn-section { padding-block: var(--hn-section-y); position: relative; overflow: hidden; }
.hn-section--purple { background: var(--hn-purple); color: var(--hn-cream); }
.hn-section--purple .hn-eyebrow { color: var(--hn-lavender); }
.hn-section--purple .hn-body { color: var(--hn-cream); }
.hn-section--lavender { background: var(--hn-lavender); }
.hn-section--cream { background: var(--hn-cream); }
.hn-section--lime { background: var(--hn-lime); }
.hn-intro { max-width: 640px; }

/* Immagine con lettera sovrapposta */
.hn-media { position: relative; max-width: 460px; }
.hn-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--hn-cream); }
.hn-section:has(.hn-media) { overflow: visible; }

/* Chi siamo */
.hn-timeline-mini { border-top: 1px solid var(--hn-lavender); margin-top: 4px; }
.hn-timeline-mini li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hn-lavender); font-size: 15px; line-height: 22px; color: var(--hn-olive); }
.hn-timeline-mini span { flex: 0 0 84px; font-size: 14px; font-weight: 700; color: var(--hn-purple); font-variant-numeric: tabular-nums; }
.hn-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--hn-lavender); margin-top: 12px; }
.hn-values > div { background: var(--hn-white); padding: 16px 16px 16px 0; }
.hn-values > div:nth-child(even) { padding-left: 16px; }
.hn-values dt { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.hn-values dd { font-size: 14px; line-height: 20px; color: var(--hn-olive); }

/* Yoga */
/* Filigrana dietro il titolo: i contenuti della sezione stanno sopra */
.hn-yoga__mark { position: absolute; right: -60px; top: -40px; width: clamp(160px, 45vw, 240px); z-index: 0; }
#yoga > .hn-wrap { position: relative; z-index: 1; }
.hn-cards { padding: 40px var(--hn-gutter) 8px; }
.hn-card { flex: 1 0 250px; display: flex; flex-direction: column; color: var(--hn-purple); }
.hn-card--cream { background: var(--hn-cream); }
.hn-card--lavender { background: var(--hn-lavender); }
.hn-card--lime { background: var(--hn-lime); }
.hn-card--white { background: var(--hn-white); }
.hn-card__art { height: 220px; display: flex; align-items: center; justify-content: center; padding: 20px 20px 0; }
.hn-card__art img { width: 100%; height: 100%; object-fit: contain; }
.hn-card__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.hn-card__meta { font-size: 12px; font-weight: 600; color: var(--hn-olive); }
.hn-card__title { font-size: 24px; line-height: 1.2; font-weight: 700; }
.hn-card__text { font-size: 15px; line-height: 23px; color: var(--hn-olive); flex-grow: 1; }
.hn-card .hn-link { padding-top: 6px; }

/* "A chi è rivolto" / "incontri settimanali" */
.hn-facts { padding-top: 12px; border-top: 1px solid rgba(94,32,94,.2); display: flex; flex-direction: column; gap: 10px; max-width: 58ch; }
.hn-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.hn-facts dd { font-size: 14px; line-height: 20px; color: var(--hn-olive); }
.hn-section .hn-stack > .hn-facts dd { font-size: 15px; line-height: 22px; }

/* Pilates */
.hn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hn-chips li { font-size: 13px; font-weight: 600; padding: 8px 12px; background: var(--hn-white); }
.hn-media--pilates img { object-position: 50% 60%; }

/* Mindfulness */
#mindfulness { color: var(--hn-olive); }
#mindfulness .hn-h2, #mindfulness .hn-sub, #mindfulness .hn-body, #mindfulness .hn-eyebrow { color: var(--hn-olive); }
#mindfulness a { color: var(--hn-olive); font-weight: 700; }
.hn-mind__art { position: relative; display: flex; justify-content: center; flex-basis: 280px; }
.hn-mind__art img { position: relative; width: min(80%, 380px); height: auto; }
.hn-mind__art .hn-halfdisc { left: 8%; bottom: 0; width: 46%; }
.hn-numlist { border-top: 1px solid #c4c3b5; }
.hn-numlist li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #c4c3b5; font-size: 16px; }
.hn-numlist span { font-weight: 700; min-width: 28px; }

/* Conscio */
#mindfulness.hn-section { overflow: visible; }
.hn-conscio-wrap { padding-top: var(--hn-section-y); }
.hn-conscio { position: relative; background: var(--hn-olive); color: var(--hn-cream); padding: clamp(40px, 7vw, 72px) clamp(24px, 6vw, 72px); display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 48px 72px; }
.hn-conscio > * { flex: 1 1 340px; min-width: 0; }
#mindfulness .hn-conscio .hn-eyebrow { color: var(--hn-lime); }
#mindfulness .hn-conscio .hn-h3, #mindfulness .hn-conscio .hn-body, #mindfulness .hn-conscio .hn-caption { color: var(--hn-cream); }
.hn-conscio__mark { position: absolute; z-index: 3; right: -20px; top: -56px; width: 136px; }
.hn-conscio__device { position: relative; display: flex; justify-content: center; flex-basis: 260px; }
.hn-halfdisc--center { left: 50%; bottom: 8%; width: 80%; transform: translateX(-50%); }
.hn-featlist { border-top: 1px solid #5c6748; }
.hn-featlist li { padding: 12px 0; border-bottom: 1px solid #5c6748; font-size: 15px; line-height: 22px; }
.hn-featlist strong { font-weight: 600; }
.hn-conscio__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 4px; }

/* Carosello nel telefono */
.hn-carousel { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hn-phone { position: relative; width: 264px; aspect-ratio: 390 / 844; border: 10px solid #1d1d1b; border-radius: 40px; background: #f5f1e7; overflow: hidden; box-sizing: content-box; }
.hn-carousel__track { display: flex; height: 100%; transition: transform .8s cubic-bezier(.65,0,.35,1); }
.hn-carousel__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.hn-phone__mark-h { left: calc(50% - 178px); top: 243px; width: 104px; }
.hn-phone__mark-n { left: calc(50% + 96px); top: 380px; width: 84px; }
.hn-carousel__dots { display: flex; gap: 4px; }
.hn-carousel__dots button { width: 44px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hn-carousel__dots button::before { content: ""; display: block; height: 8px; width: 8px; border-radius: 9999px; background: #8a9478; transition: width .4s, background .4s; }
.hn-carousel__dots button[aria-current="true"]::before { width: 28px; background: var(--hn-lime); }

/* Storia */
.hn-letters { display: flex; gap: 8px; padding-top: 12px; }
.hn-letters .lt { width: 56px; height: 56px; }
.hn-timeline { flex: 1 1 360px; border-left: 1.5px solid var(--hn-lavender); }
.hn-timeline li { position: relative; padding: 0 0 32px 28px; }
.hn-timeline li:last-child { padding-bottom: 0; }
.hn-timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 9999px; background: var(--dot); }
.hn-timeline__when { font-size: 13px; font-weight: 600; color: var(--hn-olive); margin-bottom: 4px; }
.hn-timeline__what { font-size: 18px; line-height: 26px; font-weight: 600; }
.hn-timeline__desc { font-size: 15px; line-height: 23px; color: var(--hn-olive); margin-top: 4px; }

/* Recensioni */
.hn-rating { font-size: 16px; font-weight: 600; }
.hn-rating span { letter-spacing: 2px; }
.hn-reviews { padding: 32px var(--hn-gutter) 8px; }
.hn-review { flex: 1 0 280px; background: var(--hn-white); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.hn-review__quote { font-size: 48px; line-height: .6; font-weight: 700; color: var(--hn-orange); }
.hn-review blockquote { font-size: 16px; line-height: 25px; flex-grow: 1; }
.hn-review figcaption { font-size: 13px; font-weight: 600; color: var(--hn-olive); }
.hn-reviews__all { padding-top: 24px; }
.hn-review-cta { position: relative; overflow: hidden; margin-top: 40px; padding: 32px 24px; background: var(--hn-purple); color: var(--hn-cream); display: flex; flex-direction: column; gap: 24px; }
.hn-review-cta__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; max-width: 52ch; }
.hn-review-cta__stars { font-size: 18px; letter-spacing: 3px; color: var(--hn-lime); margin: 0; }
.hn-review-cta__title { font-size: clamp(28px, 6vw, 40px); line-height: 1.05; font-weight: 700; letter-spacing: -.01em; margin: 0; color: var(--hn-cream); }
.hn-review-cta .hn-body { color: var(--hn-cream); margin: 0; }
.hn-review-cta__btn { position: relative; z-index: 1; align-self: stretch; text-align: center; padding-block: 12px; }
.hn-review-cta__mark { position: absolute; z-index: 0; right: -40px; bottom: -48px; width: 160px; opacity: .25; }
.hn .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 900px) {
	.hn-review-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; padding: 48px 56px; }
	.hn-review-cta__btn { align-self: center; flex-shrink: 0; }
	.hn-review-cta__mark { right: auto; left: -40px; width: 180px; }
}

/* Orari */
.hn-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; font-weight: 600; color: var(--hn-olive); }
.hn-legend li { display: inline-flex; align-items: center; gap: 6px; }
.hn-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 9999px; background: var(--dot); }
/* Prenota */
.hn-book__mark { position: absolute; right: -80px; bottom: -80px; width: 320px; }
.hn-book .hn-wrap { position: relative; }
.hn-book__form { flex: 1 1 360px; min-width: 0; } /* il riquadro bianco è quello del modulo SBS */

/* Avviso shortcode mancante (solo amministratori) */
.hn-notice { padding: 16px; border: 1.5px dashed var(--hn-purple); font-size: 14px; }

/* ---------- Footer ---------- */
.hn-footer { background: var(--hn-purple); color: var(--hn-cream); }
.hn-footer a { color: var(--hn-cream); }
.hn-footer__inner { padding-block: 64px 32px; display: flex; flex-direction: column; gap: 48px; }
.hn-footer__top { display: flex; flex-wrap: wrap; gap: 40px 72px; justify-content: space-between; }
.hn-footer__brand { display: flex; flex-direction: column; gap: 12px; font-size: 20px; }
.hn-footer__brand img { width: 160px; height: auto; }
.hn-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.hn-footer__cols > div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 22px; }
.hn-footer__label { font-size: 12px; font-weight: 600; color: var(--hn-lavender); margin-bottom: 4px; }
.hn-footer__accent { color: var(--hn-lime) !important; font-weight: 600; }
.hn-gears { position: relative; width: 120px; height: 120px; }
.hn-gears .lt { position: absolute; inset: 0; width: 120px; height: 120px; }
.hn-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; line-height: 18px; color: var(--hn-lavender); border-top: 1px solid #7a3d7a; padding-top: 24px; }
.hn-footer__legal a { color: var(--hn-lavender); }
.hn-footer__rights { flex-basis: 100%; max-width: 72ch; margin: 0; opacity: .8; }

/* ---------- Salon Booking System ----------
   Lo stile del modulo e del widget settimanale è in assets/css/sbs-hanuman.css
   (caricato su tutte le pagine dal functions.php del tema child). */
.hn-schedule { min-width: 0; }

/* ---------- Finestra "Evento in evidenza" ---------- */
.hn-event { width: min(100% - 32px, 760px); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; background: transparent; color: var(--hn-purple); font-family: var(--hn-font); overflow: visible; }
.hn-event:focus { outline: none; }
.hn-event::backdrop { background: rgba(66, 76, 51, .55); }
.hn-event__box { position: relative; display: grid; background: var(--hn-cream); max-height: calc(100dvh - 32px); overflow: hidden auto; overscroll-behavior: contain; }
.hn-event__media { position: relative; }
.hn-event .hn-event__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--hn-lavender); }
.hn-event__media .lt { position: absolute; z-index: 1; }
.hn-event__mark { left: 20px; bottom: -26px; width: 64px; }
.hn-event__body { display: flex; flex-direction: column; gap: 16px; padding: 44px 24px 24px; }
.hn-event__title { font-size: clamp(28px, 6vw, 38px); text-wrap: balance; }
.hn-event__meta { display: grid; gap: 10px; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(94, 32, 94, .2); }
.hn-event__meta div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: baseline; }
.hn-event__meta dt { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--hn-olive); }
.hn-event__meta dd { margin: 0; font-size: 16px; line-height: 22px; font-weight: 500; }
.hn-event__cta { margin-top: 8px; align-self: stretch; }
.hn-event__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 0; background: var(--hn-purple); color: var(--hn-cream); cursor: pointer; }
.hn-event__close:hover { background: var(--hn-olive); }
.hn-event__close:focus-visible, .hn-event__cta:focus-visible { outline: 2px solid var(--hn-orange); outline-offset: 2px; }
.hn-event__preview { margin: 0; padding: 8px 10px; background: var(--hn-lime); color: var(--hn-olive); }
.hn-event[open] { animation: hn-event-in .35s cubic-bezier(.2, .8, .2, 1); }
.hn-event[open]::backdrop { animation: hn-event-fade .35s ease; }
@keyframes hn-event-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes hn-event-fade { from { opacity: 0; } }
@media (min-width: 760px) {
	.hn-event__box { grid-template-columns: 360px 1fr; }
	.hn-event__media { min-height: 420px; }
	.hn-event__mark { left: auto; bottom: auto; right: -20px; top: 24px; width: 80px; }
	.hn-event .hn-event__img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
	.hn-event__body { padding: 40px 36px 32px; justify-content: center; }
	.hn-event--noimg { width: min(100% - 32px, 520px); }
	.hn-event--noimg .hn-event__box { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.hn-event[open], .hn-event[open]::backdrop { animation: none; }
}
