/* /assets/css/site/festa.css */
/* Template Festa: pop a blocchi di colore, titoli maiuscoli enormi allineati a sinistra, scritte a mano. */

.tpl-festa { --pad: clamp(64px, 9vw, 96px); }
.tpl-festa .s-title { font-size: clamp(40px, 7vw, 68px); line-height: 0.98; text-align: left; }
.tpl-festa .center .s-title, .tpl-festa .rsvp-box .s-title, .tpl-festa .v-testo .s-title, .tpl-festa .v-foto_sotto .s-title { text-align: center; }
.tpl-festa .deco { width: 64px; height: 8px; margin: 14px 0 28px; background: var(--c-d1); }
.tpl-festa .center .deco, .tpl-festa .rsvp-box .deco, .tpl-festa .v-testo .deco, .tpl-festa .v-foto_sotto .deco { margin-left: auto; margin-right: auto; }
.tpl-festa .tone-intenso .deco { background: var(--c-hi); }
.tpl-festa .tone-tenue .deco { background: var(--c-strong); }
.tpl-festa .wrap > .s-title + .deco { margin-left: 0; }
.tpl-festa .tone-intenso .s-title { color: var(--c-on-strong); }

/* Copertina */
.tpl-festa .hero-kicker { display: inline-block; padding: 6px 26px; background: #fff; color: var(--c-strong); font-family: var(--f-accent); font-size: calc(26px * var(--accent-scale)); transform: rotate(-2deg); text-shadow: none; }
.tpl-festa .hero-title { font-size: clamp(52px, 11vw, 112px); line-height: 0.92; }
.tpl-festa .hero-phrase { font-family: var(--f-accent); font-size: calc(30px * var(--accent-scale)); }
.tpl-festa .hero-date { font-weight: 700; }
.tpl-festa .deco-hero { display: none; }
.tpl-festa .s-hero.v-cornice .hero-in, .tpl-festa .s-hero.v-divisa .hero-box { background: var(--c-strong); color: var(--c-on-strong); }
.tpl-festa .s-hero.v-cornice .hero-in { border: 0; }
.tpl-festa .s-hero.v-cornice .hero-box { background: var(--c-soft); }
.tpl-festa .s-hero.v-cornice .hero-kicker, .tpl-festa .s-hero.v-divisa .hero-kicker { background: var(--c-hi); }
.tpl-festa .s-hero:not(.v-piena) .sbtn { --btn-bg: var(--c-hi); --btn-ink: var(--c-strong); }

/* Luoghi con icone a mano */
.tpl-festa .place { text-align: left; }
.tpl-festa .place-body { align-items: flex-start; }
.tpl-festa .place-time { font-family: var(--f-accent); font-size: calc(26px * var(--accent-scale)); letter-spacing: 0; text-transform: none; }
.tpl-festa .tone-intenso .place-time { color: var(--c-hi); }
.tpl-festa .place-title { font-size: clamp(32px, 5vw, 48px); text-align: left; }
.tpl-festa .place-actions { justify-content: flex-start; }

/* Testi */
.tpl-festa .s-body p { font-size: 18px; }
.tpl-festa .v-foto_sx .s-body, .tpl-festa .v-foto_dx .s-body { align-items: flex-start; }
.tpl-festa .s-media img { aspect-ratio: 4 / 3; }

/* Programma: orari grandi */
.tpl-festa .prog-t { font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.tpl-festa .tone-intenso .prog-t { color: var(--c-hi); }

/* Schede */
.tpl-festa .scard { background: #fff; color: var(--c-ink); border: 0; box-shadow: 6px 6px 0 var(--c-d1); }
.tpl-festa .tone-intenso .scard { box-shadow: 6px 6px 0 var(--c-hi); }
.tpl-festa .tone-tenue .scard { box-shadow: 6px 6px 0 var(--c-strong); }
.tpl-festa .scard .t-muted { color: var(--c-muted); }
.tpl-festa .paybox { background: #fff; color: var(--c-ink); border: 0; }
.tpl-festa .paybox .t-small { color: var(--c-muted); }

/* Pulsanti */
.tpl-festa .sbtn { font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.tpl-festa .sbtn-line { border-width: 2px; }
.tpl-festa .rsvp-box .s-title { color: inherit; }
.tpl-festa .tone-intenso .rsvp-box .s-title { color: var(--c-hi); }
.tpl-festa .gal img { border: 4px solid #fff; }
