
/* Layout concept: the 2026/27 social campaign translated to the web. Mint-gradient "poster" panels,
   Market Deco caps with a white outline, Voyage script for names and accents, the logo's scalloped badge
   as the frame motif, and the calendar laid out exactly like the printed timetable.
   Deliberately single-theme: the brand is a light, printed, vintage look. */
:root {
  --pale: #D3FAE5;
  --light: #93C2AE;
  --mid: #439472;
  --dark: #1C5D41;
  --deep: #12402c;
  --cream: #FDFAF1;
  --photo: #82C8AE;
  --coral: #E0835A;
  --text: #1f3a2f;
  --text-soft: #4b6b5d;
  --white: #ffffff;
  --c-l1: #F7CDAB;   /* pesca caldo */
  --c-l2: #B2D6E0;   /* celeste polvere */
  --c-l34: #EFAAAA;  /* corallo rosa */
  --c-solo: #F2D68C; /* giallo senape */
  --c-lab: #D9C1EA;  /* viola lilla */

  --poster: linear-gradient(155deg, #FDFAF1 0%, #E6FBEF 38%, #C2F3DB 72%, #A9EED0 100%);

  --f-deco: "Market Deco", "Josefin Sans", "Futura", "Century Gothic", sans-serif;
  --f-script: "Voyage", "Brush Script MT", cursive;
  --f-orn: "Voyage Ornaments";
  --f-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--f-sans); font-size: 1.04rem; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-deco); font-weight: 400; line-height: 0.95; letter-spacing: 0.02em; text-wrap: balance; color: var(--dark); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.poster-bg { background: var(--poster); }

/* white-outlined deco caps, as on the posters */
:is(.outlined, .is-style-outlined) { text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1.5px 1.5px 0 #fff, -1.5px -1.5px 0 #fff, 1.5px -1.5px 0 #fff, -1.5px 1.5px 0 #fff, 0 8px 18px rgba(28, 93, 65, .22); }
:is(.script, .is-style-script) { font-family: var(--f-script); font-weight: 400; line-height: 1; color: var(--mid); letter-spacing: 0; }
.label { font-family: var(--f-deco); letter-spacing: .12em; font-size: .9rem; color: var(--mid); }
.flourish { font-family: var(--f-orn); color: var(--mid); font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: .6; display: block; height: .6em; overflow: visible; }

.head { display: grid; justify-items: center; text-align: center; gap: 14px; margin-bottom: clamp(36px, 5vw, 60px); }
.head :is(.script, .is-style-script) { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.head h2 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); }
.head p { max-width: 60ch; color: var(--text-soft); }

/* section divider from the printed calendar: a bar with the badge in the middle */
.badge-bar { position: relative; display: grid; place-items: center; width: 100%; height: 96px; }
.badge-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 22px; transform: translateY(-50%);
  background: linear-gradient(90deg, var(--light), var(--mid) 50%, var(--light)); opacity: .9; }
.badge-bar img { position: relative; width: 120px; height: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); }

.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; border: 0;
  font-family: var(--f-deco); font-size: 1.05rem; letter-spacing: .1em; padding: 16px 26px 14px; border-radius: 999px;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.btn svg { width: 18px; height: 18px; flex: none; margin-top: -2px; }
.btn-dark { background: var(--dark); color: var(--pale); box-shadow: 0 4px 0 var(--deep); }
.btn-dark:hover { background: var(--mid); transform: translateY(-2px); box-shadow: 0 6px 0 var(--dark); }
.btn-line { background: transparent; color: var(--dark); box-shadow: inset 0 0 0 2px var(--dark); }
.btn-line:hover { background: var(--dark); color: var(--pale); }
.btn-pale { background: var(--pale); color: var(--dark); box-shadow: 0 4px 0 var(--light); }
.btn-pale:hover { background: #fff; transform: translateY(-2px); }

/* ---------- Top strip + header ---------- */
.topstrip { background: var(--dark); color: var(--pale); font-family: var(--f-sans); font-weight: 700; font-size: .84rem; }
.topstrip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 22px; padding-block: 8px; }
.topstrip .tag { font-family: var(--f-deco); font-weight: 400; letter-spacing: .1em; color: var(--light); }
.topstrip .contacts { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.topstrip a { text-decoration: none; }
.topstrip a:hover { color: #fff; text-decoration: underline; }
.mini-social { display: flex; gap: 8px; }
.mini-social a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mid); color: #fff; }
.mini-social svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .topstrip .tag { display: none; } .topstrip .wrap { justify-content: center; } }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--cream); border-bottom: 3px double var(--light); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { flex: none; display: flex; align-items: center; gap: 12px; text-decoration: none; margin-block: -6px -26px; position: relative; z-index: 2; }
.brand img { width: 108px; height: auto; filter: drop-shadow(0 6px 10px rgba(28,93,65,.22)); transition: transform .3s ease; }
.brand:hover img { transform: rotate(-4deg); }
/* ---------- Hero ---------- */
.hero { background: var(--poster); position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-conic-gradient(from 0deg at 78% 30%, rgba(255,255,255,.55) 0deg 6deg, transparent 6deg 15deg);
  -webkit-mask: radial-gradient(circle at 78% 30%, #000 0, transparent 65%); mask: radial-gradient(circle at 78% 30%, #000 0, transparent 65%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding-block: clamp(70px, 9vw, 110px) clamp(56px, 7vw, 90px); }
.hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero :is(.script, .is-style-script) { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); transform: rotate(-5deg); transform-origin: left bottom; }
.hero h1 { font-size: clamp(3.6rem, 1.6rem + 9vw, 8.6rem); line-height: .86; }
.hero h1 small { display: block; font-size: .44em; letter-spacing: .06em; }
.hero h1 small i { font-style: normal; font-size: .72em; }
.hero-tags { font-family: var(--f-deco); color: var(--mid); font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); letter-spacing: .08em; line-height: 1.15; }
.hero-lead { max-width: 46ch; color: var(--text-soft); }
.hero-places { display: flex; align-items: flex-start; gap: 10px; font-family: var(--f-deco); letter-spacing: .06em; color: var(--dark); font-size: 1.05rem; line-height: 1.3; }
.hero-places svg { width: 22px; height: 22px; flex: none; color: var(--dark); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { position: relative; justify-self: center; width: min(100%, 420px); }
.flyer { background: #fff; padding: 10px; transform: rotate(3deg); box-shadow: 0 2px 0 rgba(0,0,0,.05), 0 24px 50px rgba(28, 93, 65, .3); transition: transform .4s ease; }
.flyer:hover { transform: rotate(1deg) translateY(-4px); }
.flyer img { width: 100%; height: auto; aspect-ratio: 1080 / 1350; object-fit: cover; }
.tape { position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; transform: translateX(-50%) rotate(-4deg); background: rgba(211, 250, 229, .8); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.sticker { position: absolute; left: -46px; bottom: 40px; width: 132px; height: 132px; display: grid; place-items: center; text-align: center;
  background: var(--mid); color: #fff; transform: rotate(-12deg); font-family: var(--f-deco); letter-spacing: .06em; font-size: .92rem; line-height: 1.05; padding: 18px; }
.sticker b { display: block; font-weight: 400; font-size: 1.5rem; color: var(--pale); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { width: min(82%, 360px); margin-top: 10px; }
  .sticker { left: -30px; width: 112px; height: 112px; font-size: .8rem; }
}

/* scalloped edge, as in the logo */
.scallop { clip-path: polygon(100.00% 50.00%, 99.86% 50.87%, 99.47% 51.73%, 98.83% 52.56%, 98.01% 53.36%, 97.04% 54.12%, 96.00% 54.83%, 96.87% 55.75%, 97.66% 56.70%, 98.30% 57.65%, 98.75% 58.60%, 98.96% 59.52%, 98.91% 60.40%, 98.59% 61.22%, 98.03% 61.97%, 97.24% 62.66%, 96.26% 63.27%, 95.16% 63.81%, 93.99% 64.29%, 94.65% 65.37%, 95.22% 66.46%, 95.65% 67.52%, 95.89% 68.54%, 95.91% 69.49%, 95.68% 70.34%, 95.20% 71.08%, 94.49% 71.70%, 93.57% 72.20%, 92.49% 72.59%, 91.30% 72.89%, 90.05% 73.12%, 90.48% 74.32%, 90.81% 75.50%, 91.01% 76.63%, 91.04% 77.68%, 90.85% 78.61%, 90.45% 79.39%, 89.83% 80.01%, 89.00% 80.47%, 88.00% 80.77%, 86.87% 80.93%, 85.64% 80.98%, 84.37% 80.95%, 84.53% 82.20%, 84.62% 83.43%, 84.58% 84.58%, 84.38% 85.61%, 84.01% 86.47%, 83.46% 87.16%, 82.72% 87.64%, 81.82% 87.92%, 80.77% 88.00%, 79.63% 87.92%, 78.42% 87.71%, 77.19% 87.42%, 77.08% 88.68%, 76.91% 89.90%, 76.63% 91.01%, 76.23% 91.98%, 75.69% 92.75%, 75.00% 93.30%, 74.18% 93.62%, 73.24% 93.70%, 72.20% 93.57%, 71.10% 93.25%, 69.96% 92.80%, 68.81% 92.25%, 68.45% 93.47%, 68.03% 94.62%, 67.52% 95.65%, 66.93% 96.51%, 66.24% 97.16%, 65.45% 97.55%, 64.58% 97.69%, 63.64% 97.58%, 62.66% 97.24%, 61.64% 96.70%, 60.62% 96.01%, 59.62% 95.24%, 59.01% 96.35%, 58.36% 97.39%, 57.65% 98.30%, 56.89% 99.02%, 56.08% 99.50%, 55.23% 99.73%, 54.35% 99.68%, 53.45% 99.38%, 52.56% 98.83%, 51.68% 98.10%, 50.82% 97.21%, 50.00% 96.25%, 49.18% 97.21%, 48.32% 98.10%, 47.44% 98.83%, 46.55% 99.38%, 45.65% 99.68%, 44.77% 99.73%, 43.92% 99.50%, 43.11% 99.02%, 42.35% 98.30%, 41.64% 97.39%, 40.99% 96.35%, 40.38% 95.24%, 39.38% 96.01%, 38.36% 96.70%, 37.34% 97.24%, 36.36% 97.58%, 35.42% 97.69%, 34.55% 97.55%, 33.76% 97.16%, 33.07% 96.51%, 32.48% 95.65%, 31.97% 94.62%, 31.55% 93.47%, 31.19% 92.25%, 30.04% 92.80%, 28.90% 93.25%, 27.80% 93.57%, 26.76% 93.70%, 25.82% 93.62%, 25.00% 93.30%, 24.31% 92.75%, 23.77% 91.98%, 23.37% 91.01%, 23.09% 89.90%, 22.92% 88.68%, 22.81% 87.42%, 21.58% 87.71%, 20.37% 87.92%, 19.23% 88.00%, 18.18% 87.92%, 17.28% 87.64%, 16.54% 87.16%, 15.99% 86.47%, 15.62% 85.61%, 15.42% 84.58%, 15.38% 83.43%, 15.47% 82.20%, 15.63% 80.95%, 14.36% 80.98%, 13.13% 80.93%, 12.00% 80.77%, 11.00% 80.47%, 10.17% 80.01%, 9.55% 79.39%, 9.15% 78.61%, 8.96% 77.68%, 8.99% 76.63%, 9.19% 75.50%, 9.52% 74.32%, 9.95% 73.12%, 8.70% 72.89%, 7.51% 72.59%, 6.43% 72.20%, 5.51% 71.70%, 4.80% 71.08%, 4.32% 70.34%, 4.09% 69.49%, 4.11% 68.54%, 4.35% 67.52%, 4.78% 66.46%, 5.35% 65.37%, 6.01% 64.29%, 4.84% 63.81%, 3.74% 63.27%, 2.76% 62.66%, 1.97% 61.97%, 1.41% 61.22%, 1.09% 60.40%, 1.04% 59.52%, 1.25% 58.60%, 1.70% 57.65%, 2.34% 56.70%, 3.13% 55.75%, 4.00% 54.83%, 2.96% 54.12%, 1.99% 53.36%, 1.17% 52.56%, 0.53% 51.73%, 0.14% 50.87%, 0.00% 50.00%, 0.14% 49.13%, 0.53% 48.27%, 1.17% 47.44%, 1.99% 46.64%, 2.96% 45.88%, 4.00% 45.17%, 3.13% 44.25%, 2.34% 43.30%, 1.70% 42.35%, 1.25% 41.40%, 1.04% 40.48%, 1.09% 39.60%, 1.41% 38.78%, 1.97% 38.03%, 2.76% 37.34%, 3.74% 36.73%, 4.84% 36.19%, 6.01% 35.71%, 5.35% 34.63%, 4.78% 33.54%, 4.35% 32.48%, 4.11% 31.46%, 4.09% 30.51%, 4.32% 29.66%, 4.80% 28.92%, 5.51% 28.30%, 6.43% 27.80%, 7.51% 27.41%, 8.70% 27.11%, 9.95% 26.87%, 9.52% 25.68%, 9.19% 24.50%, 8.99% 23.37%, 8.96% 22.32%, 9.15% 21.39%, 9.55% 20.61%, 10.17% 19.99%, 11.00% 19.53%, 12.00% 19.23%, 13.13% 19.07%, 14.36% 19.02%, 15.63% 19.05%, 15.47% 17.80%, 15.38% 16.57%, 15.42% 15.42%, 15.62% 14.39%, 15.99% 13.53%, 16.54% 12.84%, 17.28% 12.36%, 18.18% 12.08%, 19.23% 12.00%, 20.37% 12.08%, 21.58% 12.29%, 22.81% 12.58%, 22.92% 11.32%, 23.09% 10.10%, 23.37% 8.99%, 23.77% 8.02%, 24.31% 7.25%, 25.00% 6.70%, 25.82% 6.38%, 26.76% 6.30%, 27.80% 6.43%, 28.90% 6.75%, 30.04% 7.20%, 31.19% 7.75%, 31.55% 6.53%, 31.97% 5.38%, 32.48% 4.35%, 33.07% 3.49%, 33.76% 2.84%, 34.55% 2.45%, 35.42% 2.31%, 36.36% 2.42%, 37.34% 2.76%, 38.36% 3.30%, 39.38% 3.99%, 40.38% 4.76%, 40.99% 3.65%, 41.64% 2.61%, 42.35% 1.70%, 43.11% 0.98%, 43.92% 0.50%, 44.77% 0.27%, 45.65% 0.32%, 46.55% 0.62%, 47.44% 1.17%, 48.32% 1.90%, 49.18% 2.79%, 50.00% 3.75%, 50.82% 2.79%, 51.68% 1.90%, 52.56% 1.17%, 53.45% 0.62%, 54.35% 0.32%, 55.23% 0.27%, 56.08% 0.50%, 56.89% 0.98%, 57.65% 1.70%, 58.36% 2.61%, 59.01% 3.65%, 59.62% 4.76%, 60.62% 3.99%, 61.64% 3.30%, 62.66% 2.76%, 63.64% 2.42%, 64.58% 2.31%, 65.45% 2.45%, 66.24% 2.84%, 66.93% 3.49%, 67.52% 4.35%, 68.03% 5.38%, 68.45% 6.53%, 68.81% 7.75%, 69.96% 7.20%, 71.10% 6.75%, 72.20% 6.43%, 73.24% 6.30%, 74.18% 6.38%, 75.00% 6.70%, 75.69% 7.25%, 76.23% 8.02%, 76.63% 8.99%, 76.91% 10.10%, 77.08% 11.32%, 77.19% 12.58%, 78.42% 12.29%, 79.63% 12.08%, 80.77% 12.00%, 81.82% 12.08%, 82.72% 12.36%, 83.46% 12.84%, 84.01% 13.53%, 84.38% 14.39%, 84.58% 15.42%, 84.62% 16.57%, 84.53% 17.80%, 84.37% 19.05%, 85.64% 19.02%, 86.87% 19.07%, 88.00% 19.23%, 89.00% 19.53%, 89.83% 19.99%, 90.45% 20.61%, 90.85% 21.39%, 91.04% 22.32%, 91.01% 23.37%, 90.81% 24.50%, 90.48% 25.68%, 90.05% 26.87%, 91.30% 27.11%, 92.49% 27.41%, 93.57% 27.80%, 94.49% 28.30%, 95.20% 28.92%, 95.68% 29.66%, 95.91% 30.51%, 95.89% 31.46%, 95.65% 32.48%, 95.22% 33.54%, 94.65% 34.63%, 93.99% 35.71%, 95.16% 36.19%, 96.26% 36.73%, 97.24% 37.34%, 98.03% 38.03%, 98.59% 38.78%, 98.91% 39.60%, 98.96% 40.48%, 98.75% 41.40%, 98.30% 42.35%, 97.66% 43.30%, 96.87% 44.25%, 96.00% 45.17%, 97.04% 45.88%, 98.01% 46.64%, 98.83% 47.44%, 99.47% 48.27%, 99.86% 49.13%); }

/* ---------- Marquee ---------- */
.marquee { background: var(--dark); color: var(--pale); overflow: hidden; border-block: 4px double var(--light); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--f-deco); font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); letter-spacing: .1em; white-space: nowrap; padding-block: 14px 11px; }
.marquee i { font-style: normal; color: var(--light); padding-inline: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } html { scroll-behavior: auto; } .flyer, .brand img { transition: none; } }

/* ---------- Intro ---------- */
.intro .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.medal { position: relative; width: min(100%, 460px); justify-self: center; aspect-ratio: 1; }
.medal .ring { position: absolute; inset: 0; background: var(--mid); }
.medal .ring2 { position: absolute; inset: 16px; background: var(--cream); border-radius: 50%; }
.medal img { position: absolute; inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); border-radius: 50%; object-fit: cover; }
.medal .ribbon { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%) rotate(-3deg); background: var(--light); color: var(--dark); padding: 10px 28px 6px; font-family: var(--f-script); font-size: 2rem; line-height: 1; white-space: nowrap; box-shadow: 0 6px 0 var(--mid);
  clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); }
.intro-copy { display: grid; gap: 20px; min-width: 0; }
.intro-copy :is(.script, .is-style-script) { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); }
.intro-copy h2 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem); }
.intro-copy p { max-width: 58ch; color: var(--text-soft); }
.intro-copy p.lead { color: var(--text); font-size: 1.15rem; }
@media (max-width: 860px) { .intro .wrap { grid-template-columns: 1fr; } .medal { width: min(100%, 360px); } }

/* ---------- Disciplines ---------- */
.disc { background: var(--cream); border-top: 4px double var(--light); }
.pale-band { background: var(--pale); position: relative; }
.pale-band::before, .pale-band::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: radial-gradient(circle at 7px 0, var(--cream) 6.5px, transparent 7px) 0 0 / 14px 14px repeat-x; }
.pale-band::before { top: 0; }
.pale-band::after { bottom: 0; transform: scaleY(-1); }
.dgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.dcard { background: #fff; border: 1.5px solid var(--light); border-radius: 10px; overflow: hidden; padding: 0 0 22px; box-shadow: 0 10px 26px rgba(28, 93, 65, .08); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.dcard:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(28, 93, 65, .16); }
.dcard > :not(.arch) { margin-inline: 20px; }
.dcard .arch { aspect-ratio: 16 / 10; overflow: hidden; position: relative; border-bottom: 4px solid var(--mid); }
.dcard .arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dcard:hover .arch img { transform: scale(1.05); }
.dcard .kind { position: absolute; left: 12px; top: 12px; background: var(--dark); color: var(--pale); font-family: var(--f-deco); letter-spacing: .12em; font-size: .78rem; padding: 6px 14px 4px; border-radius: 999px; white-space: nowrap; }
.dcard :is(.script, .is-style-script) { font-size: 1.7rem; margin-top: 4px; }
.dcard h3 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); margin-top: -4px; }
.dcard .origin { font-family: var(--f-deco); letter-spacing: .1em; font-size: .82rem; color: var(--mid); }
.dcard p.desc { font-size: .95rem; color: var(--text-soft); line-height: 1.5; }
.tempo { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--light); display: grid; gap: 6px; text-align: left; }
.tempo-label { display: flex; justify-content: space-between; font-family: var(--f-deco); letter-spacing: .1em; font-size: .8rem; color: var(--text-soft); }
.tempo-label b { font-weight: 400; color: var(--dark); font-variant-numeric: tabular-nums; }
.tempo-bar { position: relative; height: 8px; border-radius: 99px; background: var(--pale); box-shadow: inset 0 0 0 1px var(--light); }
.tempo-bar i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--mid); left: calc((var(--lo) - 100) / 220 * 100%); right: calc((320 - var(--hi)) / 220 * 100%); }
.tempo-scale { display: flex; justify-content: space-between; font-size: .68rem; color: var(--text-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 980px) { .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .dgrid { grid-template-columns: 1fr; } }

/* ---------- Calendar (mirrors the printed timetable) ---------- */
.calendar { background: linear-gradient(180deg, #F4FBF7 0%, #DDF1E9 45%, #C8E8DC 100%); }
.cal-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin: -6px 0 34px; }
.cal-info span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px dashed var(--light); font-size: .92rem; color: var(--text); }
.cal-info b { font-family: var(--f-deco); font-weight: 400; letter-spacing: .06em; color: var(--dark); }
.calendar .head h2 { font-size: clamp(2.2rem, 1.3rem + 4vw, 4.6rem); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.chip { font: 400 .92rem/1 var(--f-deco); letter-spacing: .08em; cursor: pointer; padding: 11px 16px 9px; border-radius: 999px; border: 2px solid var(--dark); background: transparent; color: var(--dark); transition: background-color .15s, color .15s; }
.chip:hover { background: var(--pale); }
.chip[aria-pressed="true"] { background: var(--dark); color: var(--pale); }
.days { display: grid; gap: 30px; }
.day h3 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: 10px; }
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
table.tt { border-collapse: separate; border-spacing: 6px; margin-left: -6px; font-family: var(--f-deco); letter-spacing: .05em; }
table.tt th, table.tt td { padding: 12px 16px 9px; text-align: center; font-weight: 400; vertical-align: middle; }
table.tt thead th { font-size: .95rem; letter-spacing: .18em; padding-block: 8px 6px; }
table.tt thead th:first-child { min-width: 110px; }
table.tt tbody th { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-variant-numeric: tabular-nums; min-width: 110px; }
table.tt td { font-size: clamp(1rem, .9rem + .4vw, 1.3rem); min-width: 190px; line-height: 1.05; }
table.tt td small { display: block; font-family: var(--f-sans); font-size: .72rem; letter-spacing: .02em; margin-top: 4px; opacity: .85; }
table.tt td.empty { opacity: .55; }
.day.dark th { background: var(--dark); color: #fff; }
.day.dark thead th { background: #164a33; }
.day.dark tbody th { background: #164a33; }
.day.light th { background: var(--light); color: var(--deep); }
table.tt td { color: #2a2a2a; background: #f3efe4; transition: opacity .2s; }
table.tt td.empty { background: rgba(255,255,255,.35); }
table.tt td.l1 { background: var(--c-l1); }
table.tt td.l2 { background: var(--c-l2); }
table.tt td.l34 { background: var(--c-l34); }
table.tt td.solo { background: var(--c-solo); }
table.tt td.lab { background: var(--c-lab); }
table.tt td.off { opacity: .18; }
.legend-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.filter-title { width: 100%; text-align: center; font-family: var(--f-deco); letter-spacing: .14em; font-size: .85rem; color: var(--mid); margin-bottom: 2px; }
.lchip { display: inline-flex; align-items: center; gap: 8px; font: 400 .92rem/1 var(--f-deco); letter-spacing: .07em; cursor: pointer; padding: 11px 16px 9px; border-radius: 8px; border: 2px solid transparent; color: #2a2a2a; background: var(--c); transition: border-color .15s, transform .15s, opacity .15s; }
.lchip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); margin-top: -2px; }
.lchip:hover { transform: translateY(-2px); }
.lchip[aria-pressed="true"] { border-color: var(--dark); }
.legend-filter.active .lchip[aria-pressed="false"] { opacity: .5; }
.lchip.all { --c: #fff; --dot: var(--dark); border-color: var(--light); }
.lchip.all[aria-pressed="true"] { background: var(--dark); color: var(--pale); border-color: var(--dark); }
.day.light thead th { background: #7fb39d; }
.day.light tbody th { background: #7fb39d; }
.day h3 .count { font-family: var(--f-sans); font-weight: 700; font-size: .9rem; letter-spacing: 0; color: var(--text-soft); margin-left: 12px; }
.col-off { display: none; }
.day[hidden] { display: none; }
.cal-foot { margin-top: 30px; display: grid; gap: 22px; }
.legend { justify-content: center; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--text-soft); }
.legend b { font-family: var(--f-deco); font-weight: 400; color: var(--dark); letter-spacing: .06em; }

.sedi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sede { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 16px; background: rgba(255,255,255,.65); border: 1.5px solid var(--light); border-radius: 10px; }
.sede > svg { width: 22px; height: 22px; color: var(--mid); grid-row: span 3; margin-top: 2px; }
.sede b { font-family: var(--f-deco); font-weight: 400; letter-spacing: .06em; color: var(--dark); font-size: 1.1rem; line-height: 1.1; }
.sede span { font-size: .88rem; color: var(--text-soft); line-height: 1.35; }
.sede .maps { grid-column: 2; justify-self: start; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-deco); letter-spacing: .08em; font-size: .85rem; color: var(--dark); text-decoration: none; padding: 7px 12px 5px; border-radius: 999px; background: var(--pale); border: 1.5px solid var(--light); transition: background-color .15s, color .15s; }
.sede .maps:hover { background: var(--dark); color: var(--pale); }
.sede .maps svg { width: 14px; height: 14px; margin: 0; grid-row: auto; color: currentColor; margin-top: -2px; }
@media (max-width: 900px) { .sedi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sedi { grid-template-columns: 1fr; } }

/* ---------- Team cards (same as the social posts) ---------- */
.team-band { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--pale); }
.team-band > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.team-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 64, 44, .55), rgba(18, 64, 44, .88)); }
.team-band .wrap { padding-block: clamp(40px, 8vw, 110px); }
.team-band .head { margin-bottom: 0; }
.team-band .head h2 { font-size: clamp(3rem, 1.6rem + 6vw, 6.4rem); }
.team-band .head p { color: #e4f5ec; font-size: 1.12rem; }
.team-band .head h2 { color: var(--pale); }
.team-band .head :is(.script, .is-style-script) { color: var(--light); }
.team-band .head p { color: var(--light); }
.tcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tcard { position: relative; background: var(--photo); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; box-shadow: 0 0 0 6px var(--cream); }
.tcard img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; transition: transform .35s ease; transform-origin: bottom center; }
.tcard:hover img { transform: scale(1.04); }
.tcard .tlogo { position: absolute; left: 7%; top: 6%; color: #fff; font-family: var(--f-deco); display: flex; align-items: center; gap: 4px; line-height: .9; z-index: 1; }
.tcard .tlogo b { font-weight: 400; font-size: clamp(1.4rem, 1rem + 1vw, 2rem); letter-spacing: .04em; }
.tcard .tlogo span { font-size: clamp(.5rem, .4rem + .3vw, .7rem); letter-spacing: .06em; }
.tcard .tname { position: absolute; right: 8%; top: 15%; color: #fff; font-family: var(--f-script); font-size: clamp(2rem, 1.3rem + 1.8vw, 3.1rem); transform: rotate(-8deg); z-index: 1; line-height: 1; }
.tcard .trole { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--dark); color: var(--pale); font-family: var(--f-deco); letter-spacing: .12em; font-size: .78rem; padding: 6px 14px 4px; border-radius: 999px; white-space: nowrap; z-index: 1; }
.team-band .more { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 900px) { .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contacts ---------- */
.contact { background: var(--poster); }
.contact .box { background: rgba(255,255,255,.7); border: 2px solid var(--dark); box-shadow: inset 0 0 0 6px rgba(255,255,255,.7), inset 0 0 0 7px var(--light); border-radius: 12px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.contact .box > div { min-width: 0; display: grid; gap: 16px; }
.contact h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
.contact :is(.script, .is-style-script) { font-size: 2.2rem; }
.contact p { color: var(--text-soft); max-width: 44ch; }
.refs { display: grid; gap: 0; }
.ref { display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 14px; align-items: center; padding: 16px 0; border-bottom: 1.5px dashed var(--light); }
.ref:first-child { border-top: 1.5px dashed var(--light); }
.ref .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; }
.ref .ico svg { width: 20px; height: 20px; }
.ref small { display: block; font-family: var(--f-deco); letter-spacing: .12em; color: var(--mid); font-size: .78rem; }
.ref a.v, .ref span.v { font-family: var(--f-sans); font-weight: 700; font-size: clamp(1.05rem, .9rem + .7vw, 1.45rem); color: var(--dark); text-decoration: none; overflow-wrap: anywhere; }
.ref a.v:hover { color: var(--mid); }
.copy { font: 700 .74rem/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; border: 1.5px solid var(--light); background: #fff; color: var(--dark); cursor: pointer; }
.copy:hover { border-color: var(--dark); }
.socials { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.socials a.circle { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: #fff; transition: background-color .15s, transform .15s; }
.socials a.circle:hover { background: var(--mid); transform: translateY(-3px); }
.socials svg { width: 26px; height: 26px; }
.socials .web { font-family: var(--f-deco); letter-spacing: .08em; color: var(--dark); font-size: 1.15rem; margin-left: 6px; text-decoration: none; }
@media (max-width: 860px) { .contact .box { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--pale); border-top: 6px double var(--light); }
.site-footer .wrap { padding-block: 60px 26px; }
.fgrid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr 1fr; gap: 32px; }
.fcsen { justify-items: center; text-align: center; }
.fcsen img { width: 110px; height: auto; background: #fff; border-radius: 50%; padding: 8px; }
.fcsen span { font-family: var(--f-deco); letter-spacing: .1em; font-size: .85rem; opacity: 1; color: var(--pale); }
.fgrid > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.fgrid h4 { margin: 0 0 6px; font-family: var(--f-deco); font-weight: 400; letter-spacing: .14em; color: var(--light); font-size: 1rem; }
.fgrid a, .fgrid span { color: var(--pale); text-decoration: none; font-size: .92rem; opacity: .88; }
.fgrid a:hover { opacity: 1; text-decoration: underline; }
.fgrid .strong { font-weight: 700; opacity: 1; }
.fbrand .logos { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.fbrand .logos img { height: auto; }
.fbrand .logos .hf { width: 140px; }

.fbrand :is(.script, .is-style-script) { color: var(--light); font-size: 1.6rem; }
.csen { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 7px 14px 5px; border: 1.5px solid var(--light); border-radius: 999px; font-family: var(--f-deco); letter-spacing: .1em; font-size: .8rem; color: var(--pale); justify-self: start; }
.fbottom { margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(211, 250, 229, .25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--light); }
@media (max-width: 960px) { .fgrid { grid-template-columns: 1fr 1fr; } .fcsen { justify-items: start; text-align: left; } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }

/* ---------- Team page ---------- */
.team-hero { background: var(--photo); position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.team-hero .wrap { padding-block: clamp(56px, 8vw, 100px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; }
.teamword { display: flex; align-items: center; gap: .08em; font-family: var(--f-deco); line-height: .82; color: #fff; }
.teamword b { font-weight: 400; font-size: clamp(4.4rem, 2rem + 10vw, 10rem); letter-spacing: .02em; }
.teamword span { font-size: clamp(1.6rem, .8rem + 3.3vw, 3.4rem); letter-spacing: .03em; line-height: .95; }
.team-hero p { max-width: 48ch; color: var(--deep); font-size: 1.1rem; margin-top: 18px; }
.team-hero .sparks { width: 120px; color: #fff; }
.team-hero :is(.script, .is-style-script) { color: #fff; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); transform: rotate(-8deg); display: inline-block; }
@media (max-width: 700px) { .team-hero .wrap { grid-template-columns: 1fr; } }

.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 22px; }
.member { display: grid; gap: 12px; justify-items: center; text-align: center; }
.member .ph { width: 100%; aspect-ratio: 1; background: var(--photo); border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--light); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; transform-origin: bottom center; }
.member:hover .ph img { transform: scale(1.05); }
.member :is(.script, .is-style-script) { font-size: 2.3rem; color: var(--dark); margin-top: 6px; }
.member .role { font-family: var(--f-deco); letter-spacing: .14em; font-size: .9rem; color: var(--mid); margin-top: -6px; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 22px; }
.person { display: grid; justify-items: center; text-align: center; gap: 10px; }
.pmedal { position: relative; width: 100%; max-width: 190px; aspect-ratio: 1; }
.pmedal .ring { position: absolute; inset: 0; background: var(--light); transition: background-color .2s; }
.person:hover .pmedal .ring { background: var(--mid); }
.pmedal .in { position: absolute; inset: 10px; border-radius: 50%; overflow: hidden; background: #fff; }
.pmedal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); }
.person :is(.script, .is-style-script) { font-size: 2rem; color: var(--mid); }
.person h3 { font-size: 1.3rem; letter-spacing: .08em; margin-top: -6px; }
.person .role { font-family: var(--f-deco); letter-spacing: .12em; font-size: .78rem; color: var(--text-soft); }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.join { background: var(--dark); color: var(--pale); }
.join .wrap { padding-block: clamp(46px, 7vw, 76px); display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.join h2 { color: var(--pale); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); max-width: 20ch; }
.join :is(.script, .is-style-script) { color: var(--light); font-size: 2rem; display: block; margin-bottom: 6px; }

/* ---------- WordPress ---------- */
.admin-bar .site-header { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 999px; }
.page-hero-simple { background: var(--poster); }
.page-hero-simple .wrap { padding-block: clamp(56px, 8vw, 96px) clamp(36px, 5vw, 56px); text-align: center; display: grid; gap: 12px; justify-items: center; }
.page-hero-simple h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); }
.entry { max-width: 760px; margin-inline: auto; }
.entry > * + * { margin-top: 1.1em; }
.entry h2, .entry h3 { margin-top: 1.6em; }
.entry h2 { font-size: 2rem; }
.entry h3 { font-size: 1.5rem; }
.entry a { color: var(--mid); }
.entry img { height: auto; border-radius: 6px; }
.entry ul, .entry ol { padding-left: 1.3em; }
.empty-note { text-align: center; color: var(--text-soft); padding: 24px; border: 2px dashed var(--light); border-radius: 12px; background: rgba(255,255,255,.6); }

/* ---------- Events ---------- */
.events-band { background: var(--cream); border-top: 4px double var(--light); }
.egrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 290px)); justify-content: center; gap: 26px; }
.ecard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--light); box-shadow: 0 10px 26px rgba(28, 93, 65, .08); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.ecard:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(28, 93, 65, .16); }
.ecard .poster { aspect-ratio: 4 / 5; overflow: hidden; background: var(--pale); }
.ecard .poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ecard:hover .poster img { transform: scale(1.04); }
.date-badge { position: absolute; left: 14px; top: 14px; width: 78px; display: grid; justify-items: center; background: var(--dark); color: #fff; border-radius: 8px; padding: 9px 0 7px; font-family: var(--f-deco); line-height: 1; box-shadow: 0 0 0 4px rgba(255,255,255,.85); }
.date-badge b { font-weight: 400; font-size: 2rem; }
.date-badge span { font-size: .8rem; letter-spacing: .14em; color: var(--light); margin-top: 4px; }
.date-badge small { font-size: .62rem; letter-spacing: .14em; color: var(--pale); margin-bottom: 4px; }
.ecard .ebody { padding: 18px 20px 20px; display: grid; gap: 6px; }
.ecard :is(.script, .is-style-script) { font-size: 1.5rem; }
.ecard h3 { font-size: 1.6rem; line-height: 1.05; }
.emeta { display: grid; gap: 4px; margin-top: 6px; font-size: .9rem; color: var(--text-soft); }
.emeta span { display: flex; gap: 8px; align-items: flex-start; }
.emeta svg { width: 16px; height: 16px; flex: none; color: var(--mid); margin-top: 3px; }
.ecard .more { margin-top: 8px; font-family: var(--f-deco); letter-spacing: .1em; font-size: .88rem; color: var(--mid); }
.events-band .all { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 560px) { .egrid { grid-template-columns: minmax(0, 320px); } }
.ecard .desc { font-size: .9rem; color: var(--text-soft); line-height: 1.45; white-space: pre-line; margin-top: 4px; }
.ecard.past { opacity: .75; }
.ecard.past .date-badge { background: var(--text-soft); }

.ev-list { display: grid; gap: 34px; }
.ev { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; background: #fff; border: 2px solid var(--dark); box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px var(--light); border-radius: 12px; padding: clamp(18px, 3vw, 30px); }
.ev .poster { position: relative; border-radius: 8px; overflow: hidden; background: var(--pale); }
.ev .poster img { width: 100%; height: auto; display: block; }
.ev .info { display: grid; gap: 12px; min-width: 0; }
.ev .when { font-family: var(--f-deco); letter-spacing: .1em; color: var(--mid); font-size: 1.05rem; }
.ev h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.ev :is(.script, .is-style-script) { font-size: 1.9rem; }
.ev p { color: var(--text-soft); max-width: 60ch; white-space: pre-line; }
.ev .emeta { font-size: 1rem; }
.ev .emeta b { color: var(--dark); }
.ev .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ev.past { opacity: .8; }
.past-title { text-align: center; margin: 60px 0 26px; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
@media (max-width: 760px) { .ev { grid-template-columns: 1fr; } .ev .poster { max-width: 360px; } }

/* ---------- La scuola ---------- */
.story .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.story .side { position: sticky; top: 130px; display: grid; gap: 26px; justify-items: center; }
.story .entry { max-width: none; margin: 0; }
.story .entry h2 { font-family: var(--f-script); color: var(--mid); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); letter-spacing: 0; line-height: 1.1; }
.story .entry h2:first-child { margin-top: 0; }
.story .entry p { font-size: 1.08rem; }
.story .entry p:first-of-type { font-size: 1.2rem; color: var(--dark); }
.polaroid { background: #fff; padding: 10px 10px 44px; transform: rotate(-3deg); box-shadow: 0 18px 40px rgba(28, 93, 65, .22); width: min(100%, 380px); position: relative; }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: var(--f-script); font-size: 1.5rem; color: var(--dark); }
.polaroid.alt { transform: rotate(3deg); margin-top: -10px; }
@media (max-width: 860px) { .story .wrap { grid-template-columns: 1fr; } .story .side { position: static; } }

.timeline { background: var(--pale); position: relative; }
.tl { position: relative; display: grid; gap: 0; max-width: 900px; margin-inline: auto; }
.tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; transform: translateX(-50%); background: repeating-linear-gradient(var(--mid) 0 10px, transparent 10px 18px); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 18px; }
.tl-item .card { background: #fff; border-radius: 10px; padding: 20px 22px; border: 1.5px solid var(--light); box-shadow: 0 8px 20px rgba(28, 93, 65, .08); display: grid; gap: 6px; }
.tl-item:nth-child(odd) .card { grid-column: 1; text-align: right; }
.tl-item:nth-child(even) .card { grid-column: 2; }
.tl-item .year { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; display: grid; place-items: center; background: var(--dark); color: var(--pale); font-family: var(--f-deco); font-size: 1.35rem; letter-spacing: .02em; z-index: 1; }
.tl-item .card b { font-family: var(--f-deco); font-weight: 400; color: var(--dark); font-size: 1.3rem; letter-spacing: .06em; line-height: 1.1; }
.tl-item .card span { color: var(--text-soft); font-size: .96rem; }
@media (max-width: 700px) {
  .tl::before { left: 40px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 96px; }
  .tl-item:nth-child(odd) .card, .tl-item:nth-child(even) .card { grid-column: 1; text-align: left; }
  .tl-item .year { left: 40px; width: 72px; height: 72px; font-size: 1.05rem; }
}

.page-hero-simple :is(.script, .is-style-script) { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.7rem); }
.page-hero-simple .hero-lead { color: var(--text-soft); max-width: 52ch; }

.tl-item .year { text-align: center; line-height: 1; }
.tl-item .year small { display: block; font-size: .56em; letter-spacing: .12em; color: var(--light); margin-bottom: 3px; }
.tl-item .year > span { display: block; }


/* =========================================================================
   Block theme: core block markup
   ========================================================================= */
:root { --strip-h: 40px; }
body .wp-site-blocks > * { margin-block: 0; }
body .wp-block-group > *, body .hf-sections > * { margin-block: 0; }
body .entry > * + * { margin-block-start: 1.1em; }
body .entry > h2, body .entry > h3 { margin-block-start: 1.6em; }
figure.wp-block-image { margin: 0; }
.wp-block-buttons { gap: 12px; }
.wp-element-caption { margin: 0; }

/* Block styles */
.has-flourish::after { content: "M"; display: block; font-family: var(--f-orn); color: var(--mid); font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: .6; height: .5em; margin-top: .14em; text-shadow: none; letter-spacing: 0; text-transform: none; font-weight: 400; }
.wp-block-button .wp-block-button__link { font-family: var(--f-deco); letter-spacing: .1em; font-size: 1.05rem; padding: 16px 26px 14px; border-radius: 999px; text-decoration: none; transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.wp-block-button.is-style-dark .wp-block-button__link { background: var(--dark); color: var(--pale); box-shadow: 0 4px 0 var(--deep); }
.wp-block-button.is-style-dark .wp-block-button__link:hover { background: var(--mid); transform: translateY(-2px); box-shadow: 0 6px 0 var(--dark); }
.wp-block-button.is-style-line .wp-block-button__link { background: transparent; color: var(--dark); box-shadow: inset 0 0 0 2px var(--dark); }
.wp-block-button.is-style-line .wp-block-button__link:hover { background: var(--dark); color: var(--pale); }
.wp-block-button.is-style-pale .wp-block-button__link { background: var(--pale); color: var(--dark); box-shadow: 0 4px 0 var(--light); }
.wp-block-button.is-style-pale .wp-block-button__link:hover { background: #fff; transform: translateY(-2px); }

/* Header (template part) */
.hf-header { position: sticky; top: calc(-1 * var(--strip-h)); z-index: 50; }
.admin-bar .hf-header { top: calc(32px - var(--strip-h)); }
@media (max-width: 782px) { .admin-bar .hf-header { top: calc(-1 * var(--strip-h)); } }
.site-header { position: relative; }
.topstrip { height: var(--strip-h); overflow: hidden; }
.topstrip .wrap { height: var(--strip-h); padding-block: 0; flex-wrap: nowrap; }
.topstrip .contacts { display: flex; align-items: center; gap: 6px 20px; }
.topstrip p { margin: 0; }
.topstrip a { color: var(--pale); }
.mini-social { gap: 8px; font-size: 13px; margin: 0; }
.mini-social .wp-social-link { background: var(--mid); color: #fff; }
.mini-social .wp-social-link a { padding: 6px; }
@media (max-width: 760px) { .topstrip .strip-mail { display: none; } }
.site-header .brand { margin-block: -6px -26px; }
.site-header .brand img { width: 108px; height: auto; }
.site-header .wp-block-navigation { margin-left: auto; }
.site-header .wp-block-navigation__container { gap: 2px; }
.site-header .wp-block-navigation-item__content { font-family: var(--f-deco); letter-spacing: .1em; font-size: 1rem; color: var(--dark); padding: 10px 12px 8px !important; border-radius: 999px; text-decoration: none; transition: background-color .15s; }
.site-header .wp-block-navigation-item__content:hover { background: var(--pale); }
.site-header .wp-block-navigation-item__content[aria-current="page"] { color: var(--mid); background: var(--pale); }
.header-cta { margin-left: 6px; flex: none; }
.header-cta .wp-block-button__link { padding: 12px 20px 10px; font-size: .95rem; }
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { color: var(--dark); }
.wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
/* Mobile overlay: core forces padding 0 + right alignment, so items touched/overflowed the right edge */
.site-header .wp-block-navigation__responsive-container.is-menu-open { padding: calc(20px + env(safe-area-inset-top, 0px)) 20px 32px !important; overflow-x: hidden; }
.site-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 60px; align-items: stretch !important; }
.site-header .is-menu-open .wp-block-navigation__container { width: 100%; gap: 6px; align-items: stretch !important; }
.site-header .is-menu-open .wp-block-navigation-item { width: 100%; justify-content: center; }
.site-header .is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; box-sizing: border-box; text-align: center; font-size: clamp(1.2rem, 1rem + 2vw, 1.5rem); padding: 12px 16px 10px !important; overflow-wrap: anywhere; }
@media (min-width: 600px) and (max-width: 1060px) {
  .site-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1060px) { .site-header .brand img { width: 88px; } }
/* (CTA visibile anche su telefono: vedi regole header mobile in fondo) */

/* Hero */
.hero-heading { display: grid; gap: 0; }
.hero-kicker { font-family: var(--f-deco); color: var(--dark); font-size: clamp(1.6rem, .7rem + 4vw, 3.8rem); line-height: .9; letter-spacing: .06em; text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 0 8px 18px rgba(28, 93, 65, .22); }
.hero-places { display: block; position: relative; padding-left: 32px; }
.hero-places::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--dark); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero-art::before { content: ""; position: absolute; z-index: 2; top: -14px; left: 50%; width: 120px; height: 30px; transform: translateX(-50%) rotate(-4deg); background: rgba(211, 250, 229, .8); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.sticker { z-index: 3; }
.sticker strong { display: block; font-weight: 400; font-size: 1.5rem; color: var(--pale); }

/* Intro: medal + tickets */
.medal::before { content: ""; position: absolute; inset: 0; background: var(--mid); clip-path: polygon(100.00% 50.00%, 99.86% 50.87%, 99.47% 51.73%, 98.83% 52.56%, 98.01% 53.36%, 97.04% 54.12%, 96.00% 54.83%, 96.87% 55.75%, 97.66% 56.70%, 98.30% 57.65%, 98.75% 58.60%, 98.96% 59.52%, 98.91% 60.40%, 98.59% 61.22%, 98.03% 61.97%, 97.24% 62.66%, 96.26% 63.27%, 95.16% 63.81%, 93.99% 64.29%, 94.65% 65.37%, 95.22% 66.46%, 95.65% 67.52%, 95.89% 68.54%, 95.91% 69.49%, 95.68% 70.34%, 95.20% 71.08%, 94.49% 71.70%, 93.57% 72.20%, 92.49% 72.59%, 91.30% 72.89%, 90.05% 73.12%, 90.48% 74.32%, 90.81% 75.50%, 91.01% 76.63%, 91.04% 77.68%, 90.85% 78.61%, 90.45% 79.39%, 89.83% 80.01%, 89.00% 80.47%, 88.00% 80.77%, 86.87% 80.93%, 85.64% 80.98%, 84.37% 80.95%, 84.53% 82.20%, 84.62% 83.43%, 84.58% 84.58%, 84.38% 85.61%, 84.01% 86.47%, 83.46% 87.16%, 82.72% 87.64%, 81.82% 87.92%, 80.77% 88.00%, 79.63% 87.92%, 78.42% 87.71%, 77.19% 87.42%, 77.08% 88.68%, 76.91% 89.90%, 76.63% 91.01%, 76.23% 91.98%, 75.69% 92.75%, 75.00% 93.30%, 74.18% 93.62%, 73.24% 93.70%, 72.20% 93.57%, 71.10% 93.25%, 69.96% 92.80%, 68.81% 92.25%, 68.45% 93.47%, 68.03% 94.62%, 67.52% 95.65%, 66.93% 96.51%, 66.24% 97.16%, 65.45% 97.55%, 64.58% 97.69%, 63.64% 97.58%, 62.66% 97.24%, 61.64% 96.70%, 60.62% 96.01%, 59.62% 95.24%, 59.01% 96.35%, 58.36% 97.39%, 57.65% 98.30%, 56.89% 99.02%, 56.08% 99.50%, 55.23% 99.73%, 54.35% 99.68%, 53.45% 99.38%, 52.56% 98.83%, 51.68% 98.10%, 50.82% 97.21%, 50.00% 96.25%, 49.18% 97.21%, 48.32% 98.10%, 47.44% 98.83%, 46.55% 99.38%, 45.65% 99.68%, 44.77% 99.73%, 43.92% 99.50%, 43.11% 99.02%, 42.35% 98.30%, 41.64% 97.39%, 40.99% 96.35%, 40.38% 95.24%, 39.38% 96.01%, 38.36% 96.70%, 37.34% 97.24%, 36.36% 97.58%, 35.42% 97.69%, 34.55% 97.55%, 33.76% 97.16%, 33.07% 96.51%, 32.48% 95.65%, 31.97% 94.62%, 31.55% 93.47%, 31.19% 92.25%, 30.04% 92.80%, 28.90% 93.25%, 27.80% 93.57%, 26.76% 93.70%, 25.82% 93.62%, 25.00% 93.30%, 24.31% 92.75%, 23.77% 91.98%, 23.37% 91.01%, 23.09% 89.90%, 22.92% 88.68%, 22.81% 87.42%, 21.58% 87.71%, 20.37% 87.92%, 19.23% 88.00%, 18.18% 87.92%, 17.28% 87.64%, 16.54% 87.16%, 15.99% 86.47%, 15.62% 85.61%, 15.42% 84.58%, 15.38% 83.43%, 15.47% 82.20%, 15.63% 80.95%, 14.36% 80.98%, 13.13% 80.93%, 12.00% 80.77%, 11.00% 80.47%, 10.17% 80.01%, 9.55% 79.39%, 9.15% 78.61%, 8.96% 77.68%, 8.99% 76.63%, 9.19% 75.50%, 9.52% 74.32%, 9.95% 73.12%, 8.70% 72.89%, 7.51% 72.59%, 6.43% 72.20%, 5.51% 71.70%, 4.80% 71.08%, 4.32% 70.34%, 4.09% 69.49%, 4.11% 68.54%, 4.35% 67.52%, 4.78% 66.46%, 5.35% 65.37%, 6.01% 64.29%, 4.84% 63.81%, 3.74% 63.27%, 2.76% 62.66%, 1.97% 61.97%, 1.41% 61.22%, 1.09% 60.40%, 1.04% 59.52%, 1.25% 58.60%, 1.70% 57.65%, 2.34% 56.70%, 3.13% 55.75%, 4.00% 54.83%, 2.96% 54.12%, 1.99% 53.36%, 1.17% 52.56%, 0.53% 51.73%, 0.14% 50.87%, 0.00% 50.00%, 0.14% 49.13%, 0.53% 48.27%, 1.17% 47.44%, 1.99% 46.64%, 2.96% 45.88%, 4.00% 45.17%, 3.13% 44.25%, 2.34% 43.30%, 1.70% 42.35%, 1.25% 41.40%, 1.04% 40.48%, 1.09% 39.60%, 1.41% 38.78%, 1.97% 38.03%, 2.76% 37.34%, 3.74% 36.73%, 4.84% 36.19%, 6.01% 35.71%, 5.35% 34.63%, 4.78% 33.54%, 4.35% 32.48%, 4.11% 31.46%, 4.09% 30.51%, 4.32% 29.66%, 4.80% 28.92%, 5.51% 28.30%, 6.43% 27.80%, 7.51% 27.41%, 8.70% 27.11%, 9.95% 26.87%, 9.52% 25.68%, 9.19% 24.50%, 8.99% 23.37%, 8.96% 22.32%, 9.15% 21.39%, 9.55% 20.61%, 10.17% 19.99%, 11.00% 19.53%, 12.00% 19.23%, 13.13% 19.07%, 14.36% 19.02%, 15.63% 19.05%, 15.47% 17.80%, 15.38% 16.57%, 15.42% 15.42%, 15.62% 14.39%, 15.99% 13.53%, 16.54% 12.84%, 17.28% 12.36%, 18.18% 12.08%, 19.23% 12.00%, 20.37% 12.08%, 21.58% 12.29%, 22.81% 12.58%, 22.92% 11.32%, 23.09% 10.10%, 23.37% 8.99%, 23.77% 8.02%, 24.31% 7.25%, 25.00% 6.70%, 25.82% 6.38%, 26.76% 6.30%, 27.80% 6.43%, 28.90% 6.75%, 30.04% 7.20%, 31.19% 7.75%, 31.55% 6.53%, 31.97% 5.38%, 32.48% 4.35%, 33.07% 3.49%, 33.76% 2.84%, 34.55% 2.45%, 35.42% 2.31%, 36.36% 2.42%, 37.34% 2.76%, 38.36% 3.30%, 39.38% 3.99%, 40.38% 4.76%, 40.99% 3.65%, 41.64% 2.61%, 42.35% 1.70%, 43.11% 0.98%, 43.92% 0.50%, 44.77% 0.27%, 45.65% 0.32%, 46.55% 0.62%, 47.44% 1.17%, 48.32% 1.90%, 49.18% 2.79%, 50.00% 3.75%, 50.82% 2.79%, 51.68% 1.90%, 52.56% 1.17%, 53.45% 0.62%, 54.35% 0.32%, 55.23% 0.27%, 56.08% 0.50%, 56.89% 0.98%, 57.65% 1.70%, 58.36% 2.61%, 59.01% 3.65%, 59.62% 4.76%, 60.62% 3.99%, 61.64% 3.30%, 62.66% 2.76%, 63.64% 2.42%, 64.58% 2.31%, 65.45% 2.45%, 66.24% 2.84%, 66.93% 3.49%, 67.52% 4.35%, 68.03% 5.38%, 68.45% 6.53%, 68.81% 7.75%, 69.96% 7.20%, 71.10% 6.75%, 72.20% 6.43%, 73.24% 6.30%, 74.18% 6.38%, 75.00% 6.70%, 75.69% 7.25%, 76.23% 8.02%, 76.63% 8.99%, 76.91% 10.10%, 77.08% 11.32%, 77.19% 12.58%, 78.42% 12.29%, 79.63% 12.08%, 80.77% 12.00%, 81.82% 12.08%, 82.72% 12.36%, 83.46% 12.84%, 84.01% 13.53%, 84.38% 14.39%, 84.58% 15.42%, 84.62% 16.57%, 84.53% 17.80%, 84.37% 19.05%, 85.64% 19.02%, 86.87% 19.07%, 88.00% 19.23%, 89.00% 19.53%, 89.83% 19.99%, 90.45% 20.61%, 90.85% 21.39%, 91.04% 22.32%, 91.01% 23.37%, 90.81% 24.50%, 90.48% 25.68%, 90.05% 26.87%, 91.30% 27.11%, 92.49% 27.41%, 93.57% 27.80%, 94.49% 28.30%, 95.20% 28.92%, 95.68% 29.66%, 95.91% 30.51%, 95.89% 31.46%, 95.65% 32.48%, 95.22% 33.54%, 94.65% 34.63%, 93.99% 35.71%, 95.16% 36.19%, 96.26% 36.73%, 97.24% 37.34%, 98.03% 38.03%, 98.59% 38.78%, 98.91% 39.60%, 98.96% 40.48%, 98.75% 41.40%, 98.30% 42.35%, 97.66% 43.30%, 96.87% 44.25%, 96.00% 45.17%, 97.04% 45.88%, 98.01% 46.64%, 98.83% 47.44%, 99.47% 48.27%, 99.86% 49.13%); }
.medal::after { content: ""; position: absolute; inset: 16px; background: var(--cream); border-radius: 50%; }
.medal .medal-photo { position: absolute; inset: 28px; z-index: 1; }
.medal .medal-photo img { position: static; inset: auto; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.medal .ribbon { z-index: 2; }
.tickets { display: grid; gap: 12px; margin-top: 6px; filter: drop-shadow(0 6px 14px rgba(28, 93, 65, .14)); }
.ticket { --notch: 84px; position: relative; display: grid; grid-template-columns: var(--notch) minmax(0, 1fr) auto; align-items: center; background: #fff; border-radius: 10px; min-height: 92px; transition: transform .2s ease;
  -webkit-mask: radial-gradient(circle 10px at var(--notch) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 10px at var(--notch) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 10px at var(--notch) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 10px at var(--notch) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.ticket:hover { transform: translateX(6px); }
.ticket .stub { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--dark); color: var(--light); font-family: var(--f-deco); font-size: .7rem; letter-spacing: .16em; line-height: 1; padding: 10px 6px; border-right: 2px dashed var(--cream); }
.ticket .stub strong { font-weight: 400; font-size: 1.6rem; letter-spacing: .08em; color: var(--pale); margin-top: 5px; }
.ticket:nth-child(2) .stub { background: var(--mid); color: var(--pale); }
.ticket:nth-child(3) .stub, .ticket:nth-child(3) .stub strong { background: var(--light); color: var(--deep); }
.ticket .txt { padding: 14px 18px; display: grid; gap: 2px; min-width: 0; }
.ticket .txt h3 { font-family: var(--f-deco); font-size: 1.3rem; letter-spacing: .08em; line-height: 1.1; color: var(--dark); }
.ticket .txt p { font-size: .92rem; color: var(--text-soft); line-height: 1.4; }
.ticket .go { margin-right: 18px; }
.ticket .go a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pale); color: var(--dark); font-family: var(--f-sans); font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.ticket .go a::after { content: ""; position: absolute; inset: 0; }
.ticket:hover .go a { background: var(--dark); color: var(--pale); }

/* Calendar block keeps working outside the section too */
.hf-calendar { display: block; }

/* Team band with background photo */
.team-band > figure.bg { position: absolute; inset: 0; z-index: -2; }
.team-band > figure.bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Contacts */
.contact .box > .refs { gap: 0; }
.ref { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; }
.ref::before { content: ""; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--dark) var(--ico) center / 20px no-repeat; }
.ref-phone { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.ref-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.ref-ig { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.1' fill='white' stroke='none'/%3E%3C/svg%3E"); }
.ref .ref-label { grid-column: 2; font-family: var(--f-deco); letter-spacing: .12em; color: var(--mid); font-size: .78rem; }
.ref .v { grid-column: 2; font-family: var(--f-sans); font-weight: 700; font-size: clamp(1.05rem, .9rem + .7vw, 1.45rem); overflow-wrap: anywhere; }
.ref .v a { color: var(--dark); text-decoration: none; }
.ref .v a:hover { color: var(--mid); }
.socials-circle { gap: 12px; font-size: 24px; margin: 0; }
.socials-circle .wp-social-link { background: var(--dark); color: #fff; transition: background-color .15s, transform .15s; }
.socials-circle .wp-social-link a { padding: 15px; }
.socials-circle .wp-social-link:hover { background: var(--mid); transform: translateY(-3px); }

/* Footer (template part) */
.flinks { line-height: 2; }
.fgrid .flinks a { color: var(--pale); text-decoration: none; opacity: .88; font-size: .92rem; }
.fgrid .flinks a:hover { opacity: 1; text-decoration: underline; }
.fgrid .flinks strong a { opacity: 1; }
.fbrand figure img { height: auto; }
.fcsen p { font-family: var(--f-deco); letter-spacing: .1em; font-size: .85rem; color: var(--pale); }
.fbottom p { margin: 0; }
.fbottom a { color: var(--light); }

/* La scuola */
.polaroid figcaption { margin: 0; }
.tl-item .year { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; }
.tl-item .year em { display: block; font-style: normal; font-size: .56em; letter-spacing: .12em; color: var(--light); margin-bottom: 3px; }
.tl-item .card h3 { font-family: var(--f-deco); color: var(--dark); font-size: 1.3rem; letter-spacing: .06em; line-height: 1.1; }
.tl-item .card p { color: var(--text-soft); font-size: .96rem; }

/* Team hero */
.team-hero .team-hero-main > p { max-width: 48ch; color: var(--deep); font-size: 1.1rem; margin-top: 18px; }
.teamword .tw-big { font-family: var(--f-deco); font-size: clamp(4.4rem, 2rem + 10vw, 10rem); letter-spacing: .02em; text-transform: uppercase; line-height: .82; color: #fff; }
.teamword h1.tw-small { font-size: clamp(1.6rem, .8rem + 3.3vw, 3.4rem); color: #fff; letter-spacing: .03em; line-height: .95; text-transform: uppercase; }
.team-hero .team-hero-side { color: #fff; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); transform: rotate(-8deg); }
.team-hero .team-hero-photo { width: clamp(220px, 26vw, 320px); margin: 0; transform: rotate(4deg); }
.team-hero .team-hero-photo img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
@media (max-width: 700px) { .team-hero .team-hero-photo { justify-self: center; } }

/* Join */
.join .join-text h2 { color: var(--pale); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); max-width: 20ch; }
.join .join-text :is(.script, .is-style-script) { color: var(--light); font-size: 2rem; margin-bottom: 6px; }

/* Editor */
.editor-styles-wrapper .hf-block-preview { min-height: 40px; }
.editor-styles-wrapper .marquee-track { animation: none; }

/* Spacing that the block reset would otherwise remove */
body .wp-block-group > .head { margin-bottom: clamp(36px, 5vw, 60px); }
body .team-band .wp-block-group > .head { margin-bottom: 0; }
body .wp-block-group > .tickets { margin-top: 6px; }

/* Editor without template preview: keep full-width sections */
.editor-styles-wrapper .is-root-container > :is(.hero, .section, .team-band, .join, .team-hero, .page-hero-simple, .wp-block-happyfeet-marquee, .marquee) { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.editor-styles-wrapper .hf-header { position: relative; top: 0; }

/* Hero: dancers illustration (instead of the poster) */
.hero-art:has(.dancers) { width: min(100%, 560px); }
.hero-art:has(.dancers)::before { display: none; }
.hero-art .dancers img { width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(28, 93, 65, .16)); }
.hero-art:has(.dancers) .sticker { left: auto; right: -6px; bottom: auto; top: 2%; transform: rotate(10deg); }
@media (max-width: 860px) { .hero-art:has(.dancers) { width: min(92%, 440px); } .hero-art:has(.dancers) .sticker { right: 0; } }
@media (min-width: 861px) { .hero:has(.dancers) .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hero-art:has(.dancers) { width: min(100%, 640px); }
.hero-art:has(.dancers) .sticker { right: auto; left: 2%; top: 0; transform: rotate(-10deg); }

/* Calendar tables scroll inside their own box on small screens */
.days { grid-template-columns: minmax(0, 1fr); }
.days > .day { min-width: 0; }
.tscroll { max-width: 100%; }
.team-band .head :is(.script, .is-style-script) { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); }
/* Timeline badge: month stacked tight above the year, both centred in the scallop (the <br> added an empty line) */
.tl-item .year br { display: none; }
.tl-item .year em { font-size: .5em; letter-spacing: .08em; line-height: 1; margin: 0 0 4px; }
/* Team hero polaroid: the escalator photo is shot in low light, lift it */
.team-hero .team-hero-photo img { filter: brightness(1.35) contrast(.92) saturate(1.08); }
/* Swing for Events: wide photo on top, centred title, star lists */
.hf-sections > .hf-banner, .hf-banner { margin: 0; }
.hf-banner img { display: block; width: 100%; height: clamp(260px, 42vw, 560px); object-fit: cover; object-position: 50% 45%; border-radius: 0; }
.events-copy > .is-style-script, .events-copy > h1 { text-align: center; }
.events-copy > .is-style-script { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.7rem); }
.events-copy > h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); margin-top: .3em; }
.events-copy > h1.has-flourish::after { margin-inline: auto; }
.events-copy .lead { font-size: 1.2rem; color: var(--dark); }
.entry ul.stars { list-style: none; padding-left: 0; }
.entry ul.stars li { position: relative; padding-left: 1.7em; }
.entry ul.stars li + li { margin-top: .45em; }
.entry ul.stars li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--mid); }
/* Narrow desktops: tighten nav items so the menu stays on one line */
@media (min-width: 1061px) and (max-width: 1240px) {
  .site-header .wp-block-navigation-item__content { padding: 10px 8px 8px !important; letter-spacing: .06em; }
}

/* ---------- Cookie consent (orestbida/cookieconsent v3) ---------- */
#cc-main {
  --cc-font-family: var(--f-sans);
  --cc-modal-border-radius: 14px;
  --cc-btn-border-radius: 999px;
  --cc-bg: var(--cream);
  --cc-primary-color: var(--dark);
  --cc-secondary-color: var(--text-soft);
  --cc-link-color: var(--mid);
  --cc-btn-primary-bg: var(--dark);
  --cc-btn-primary-color: var(--pale);
  --cc-btn-primary-border-color: var(--dark);
  --cc-btn-primary-hover-bg: var(--mid);
  --cc-btn-primary-hover-color: #fff;
  --cc-btn-primary-hover-border-color: var(--mid);
  --cc-btn-secondary-bg: var(--pale);
  --cc-btn-secondary-color: var(--dark);
  --cc-btn-secondary-border-color: var(--light);
  --cc-btn-secondary-hover-bg: var(--light);
  --cc-btn-secondary-hover-color: var(--deep);
  --cc-btn-secondary-hover-border-color: var(--light);
  --cc-separator-border-color: rgba(28, 93, 65, .15);
  --cc-toggle-on-bg: var(--mid);
  --cc-toggle-off-bg: #a9b8b0;
  --cc-toggle-readonly-bg: var(--light);
  --cc-toggle-readonly-knob-bg: var(--cream);
  --cc-toggle-readonly-knob-icon-color: var(--mid);
  --cc-toggle-enabled-icon-color: var(--mid);
  --cc-cookie-category-block-bg: #fff;
  --cc-cookie-category-block-border: rgba(28, 93, 65, .12);
  --cc-cookie-category-block-hover-bg: var(--pale);
  --cc-cookie-category-block-hover-border: var(--light);
  --cc-cookie-category-expanded-block-bg: #fff;
  --cc-cookie-category-expanded-block-hover-bg: #fff;
  --cc-section-category-border: rgba(28, 93, 65, .12);
  --cc-footer-bg: var(--pale);
  --cc-footer-color: var(--dark);
  --cc-footer-border-color: rgba(28, 93, 65, .15);
  --cc-overlay-bg: rgba(18, 64, 44, .55);
  --cc-z-index: 2147483000;
}
#cc-main .cm, #cc-main .pm { border: 3px double var(--light); box-shadow: 0 18px 40px rgba(18, 64, 44, .25); }
#cc-main .cm__title, #cc-main .pm__title, #cc-main .pm__section-title {
  font-family: var(--f-deco); font-weight: 400; letter-spacing: .06em; color: var(--dark); }
#cc-main .cm__title { font-size: 1.25rem; line-height: 1.1; }
#cc-main .pm__title { font-size: 1.3rem; }
#cc-main .cm__btn, #cc-main .pm__btn { font-family: var(--f-deco); font-weight: 400; letter-spacing: .1em; font-size: .92rem; padding: 12px 18px 10px; }
#cc-main .cm__desc, #cc-main .pm__section-desc { color: var(--text-soft); }

/* Pagine legali */
.entry .legal-meta { font-size: .9rem; color: var(--text-soft); }
.entry h2 + h3 { margin-top: .8em; }
.ref-fb { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.5 21v-7.5H16l.4-3h-2.9V8.6c0-.9.25-1.5 1.5-1.5h1.6V4.4c-.3 0-1.2-.1-2.3-.1-2.3 0-3.8 1.4-3.8 3.9v2.3H8v3h2.5V21z'/%3E%3C/svg%3E"); }

/* Testata fotografica con titolo sovrapposto (Swing for Events) */
.photo-hero { position: relative; display: grid; isolation: isolate; background: var(--deep); overflow: hidden; }
.photo-hero > *, .photo-hero::after { grid-area: 1 / 1; }
.photo-hero::after { content: ""; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(18, 64, 44, .92) 0%, rgba(18, 64, 44, .6) 30%, rgba(18, 64, 44, 0) 60%); }
.photo-hero .photo-hero-img { margin: 0; }
.photo-hero .photo-hero-img img { display: block; width: 100%; height: clamp(460px, 52vw, 680px); object-fit: cover; object-position: 50% 28%; border-radius: 0; }
.photo-hero-copy { position: relative; z-index: 2; align-self: end; display: grid; justify-items: center; gap: 4px; text-align: center;
  padding: 0 var(--gr) clamp(30px, 4vw, 56px) var(--gl); }
.photo-hero-copy > * { margin: 0; }
.photo-hero-copy .is-style-script { color: var(--pale); font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); transform: none; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.photo-hero-copy h1 { color: #fff; font-size: clamp(2.8rem, 1.5rem + 4.8vw, 5.8rem); text-shadow: 0 4px 22px rgba(0, 0, 0, .35); }
.photo-hero-copy h1.has-flourish::after { color: var(--light); margin-inline: auto; }
.photo-hero + .section { padding-top: clamp(48px, 6vw, 80px); }

/* ---------- Sottomenu dell'header (Aspetto → Menu) ---------- */
.site-header .wp-block-navigation .wp-block-navigation__submenu-container {
  background: var(--cream) !important; border: 2px solid var(--light) !important; border-radius: 10px; padding: 8px !important;
  box-shadow: 0 16px 34px rgba(28, 93, 65, .18); min-width: 230px !important; top: calc(100% + 6px); }
.site-header .wp-block-navigation-submenu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } /* ponte per il mouse */
.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 11px 14px 9px !important; border-radius: 6px; white-space: nowrap; }
.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--pale); }
.site-header .wp-block-navigation__submenu-icon { width: 10px; height: 10px; margin-left: 4px; }
.site-header .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; background: transparent !important; padding: 0 0 0 16px !important; min-width: 0 !important; }

/* ---------- Banner speciali (pagina Eventi) ---------- */
.promo-banners .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 30px); }
.promo { position: relative; display: grid; isolation: isolate; border-radius: 14px; overflow: hidden; min-height: clamp(260px, 26vw, 340px);
  box-shadow: 0 16px 36px rgba(18, 64, 44, .22); transition: transform .3s ease, box-shadow .3s ease; }
.promo:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(18, 64, 44, .3); }
.promo > *, .promo::after { grid-area: 1 / 1; }
.promo .promo-img { margin: 0; }
.promo .promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.promo:hover .promo-img img { transform: scale(1.04); }
.promo::after { content: ""; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(10, 26, 22, .92) 0%, rgba(10, 26, 22, .55) 45%, rgba(10, 26, 22, .05) 80%); }
.promo-jv::after { background: linear-gradient(to top, rgba(8, 20, 22, .95) 0%, rgba(8, 20, 22, .6) 45%, rgba(8, 20, 22, 0) 80%); }
.promo .promo-copy { position: relative; z-index: 2; align-self: end; display: grid; gap: 6px; padding: clamp(20px, 2.6vw, 30px); color: #fff; }
.promo .promo-copy > * { margin: 0; }
.promo .promo-kicker { font-family: var(--f-deco); letter-spacing: .14em; font-size: .82rem; color: #E8B25C; }
.promo-psf .promo-kicker { color: var(--light); }
.promo h2 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem); line-height: .95; text-shadow: 0 3px 16px rgba(0, 0, 0, .35); }
.promo h2 a { color: inherit; text-decoration: none; }
.promo h2 a::after { content: ""; position: absolute; inset: 0; z-index: 3; } /* tutto il banner è cliccabile */
.promo h2 a:focus-visible { outline: none; }
.promo:has(a:focus-visible) { outline: 3px solid var(--coral); outline-offset: 3px; }
.promo .promo-text { color: rgba(255, 255, 255, .88); max-width: 42ch; font-size: .98rem; }
.promo .promo-go { font-family: var(--f-deco); letter-spacing: .12em; font-size: .9rem; color: #fff; margin-top: 6px !important; }
.promo .promo-go::after { content: " →"; transition: margin .2s ease; }
.promo:hover .promo-go::after { margin-left: 6px; }
@media (max-width: 760px) { .promo-banners .wrap { grid-template-columns: 1fr; } }

/* ---------- Pagine speciali: festival / workshop ---------- */
.archive-tag { display: inline-block; justify-self: center; font-family: var(--f-deco); letter-spacing: .14em; font-size: .8rem; color: var(--pale);
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(211, 250, 229, .45); padding: 7px 14px 5px; border-radius: 999px; }
.photo-hero-copy .hero-date { font-family: var(--f-deco); letter-spacing: .12em; color: var(--pale); font-size: clamp(1rem, .9rem + .4vw, 1.25rem); }
.fest-intro { max-width: 760px; margin-inline: auto; text-align: center; display: grid; gap: 16px; }
.fest-intro > * { margin: 0; }
.fest-intro .lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--dark); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.facts .fact { background: #fff; border: 1.5px solid var(--light); border-radius: 12px; padding: 20px 14px 16px; text-align: center; }
.facts .fact > * { margin: 0; }
.facts .num { font-family: var(--f-deco); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: var(--dark); }
.facts .what { font-family: var(--f-deco); letter-spacing: .1em; font-size: .85rem; color: var(--mid); margin-top: 6px; }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.soft-band { background: var(--pale); border-block: 4px double var(--light); }
.teachers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.teacher { margin: 0; display: grid; gap: 12px; align-content: start; }
.teacher > * { margin: 0; }
.teacher .wp-block-image { margin: 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 24px rgba(28, 93, 65, .12); }
.teacher .wp-block-image img { width: 100%; aspect-ratio: 700 / 1000; object-fit: cover; object-position: 50% 100%; display: block; }
.teacher p { font-size: .95rem; color: var(--text-soft); }
@media (max-width: 900px) { .teachers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fest-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.day-card { background: #fff; border: 1.5px solid var(--light); border-radius: 12px; overflow: hidden; display: grid; align-content: start; }
.day-card > * { margin: 0; }
.day-card .day-name { background: var(--dark); color: var(--pale); font-family: var(--f-deco); letter-spacing: .1em; font-size: 1.15rem; padding: 14px 20px 11px; }
.day-card .day-place { font-family: var(--f-deco); letter-spacing: .08em; font-size: .85rem; color: var(--mid); padding: 16px 20px 0; }
.day-card ul { list-style: none; margin: 0; padding: 10px 20px 20px; display: grid; gap: 8px; }
.day-card li { padding-left: 22px; position: relative; font-size: .97rem; }
.day-card li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--light); }
@media (max-width: 860px) { .fest-days { grid-template-columns: 1fr; } }
.fest-gallery { columns: 3 260px; column-gap: 14px; }
.fest-gallery > .wp-block-image { margin: 0 0 14px; break-inside: avoid; }
.fest-gallery img { width: 100%; height: auto; border-radius: 8px; display: block; }
.center-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.disciplines-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0 !important; margin: 0; }
.disciplines-list li { font-family: var(--f-deco); letter-spacing: .08em; font-size: 1rem; color: var(--dark); background: #fff; border: 2px solid var(--light); border-radius: 999px; padding: 10px 18px 8px; }
.poster-banner { margin: 0; background: #0c1a1b; }
.poster-banner img { display: block; width: 100%; max-height: 640px; object-fit: contain; margin-inline: auto; }
.note-box { max-width: 680px; margin: clamp(28px, 4vw, 44px) auto 0; text-align: center; background: #fff; border: 2px dashed var(--light); border-radius: 12px; padding: 20px 24px; color: var(--text-soft); }
.section.promo-banners { padding-top: 0; }
/* Jazz Vibes: grafica a destra (ballerini), testo su fondo scuro a sinistra */
.promo-jv { background: #0b1a1b; }
.promo-jv .promo-img { justify-self: end; width: 58%; height: 100%; }
.promo-jv .promo-img img { object-position: 100% 50%; }
.promo-jv::after { background: linear-gradient(to right, #0b1a1b 38%, rgba(11, 26, 27, .75) 55%, rgba(11, 26, 27, 0) 80%); }
.promo-jv .promo-copy { align-self: center; max-width: 60%; }
.promo-jv .promo-text { max-width: 30ch; }
@media (max-width: 480px) { .promo-jv .promo-copy { max-width: 75%; } .promo-jv .promo-img { width: 70%; } }
/* Sottomenu nel menu mobile: centrato come le altre voci */
.site-header .is-menu-open .wp-block-navigation-submenu { align-items: center !important; }
.site-header .is-menu-open .wp-block-navigation__submenu-container { padding: 0 !important; align-items: center !important; gap: 0 !important; }
.site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: .82em; padding: 8px 14px 6px !important; color: var(--mid); }
.site-header .is-menu-open .wp-block-navigation__submenu-icon { display: none; }
.disciplines-list + * , .fest-intro + .note-box { margin-top: clamp(28px, 4vw, 44px); }
body .fest-intro { justify-items: center; } body .fest-intro > * { margin-inline: auto; }
/* Lightbox galleria */
.fest-gallery img { cursor: zoom-in; transition: opacity .2s ease, transform .3s ease; }
.fest-gallery img:hover { opacity: .9; }
.lightbox { position: fixed; inset: 0; z-index: 2147483100; background: rgba(8, 24, 18, .94); display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: 10px; height: 100dvh; align-content: center; padding: 56px 0 24px; }
.lb-fig img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.lb-count { font-family: var(--f-deco); letter-spacing: .14em; font-size: .85rem; color: var(--light); }
.lightbox button { background: none; border: 0; color: var(--pale); cursor: pointer; font: 300 3rem/1 var(--f-sans); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; justify-self: center; }
.lightbox button:hover { background: rgba(211, 250, 229, .12); }
.lightbox .lb-close { position: absolute; top: 10px; right: 10px; font-size: 2.4rem; z-index: 2; }
html.lb-open { overflow: hidden; }
@media (max-width: 600px) {
  .lightbox { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .lightbox .lb-prev, .lightbox .lb-next { position: absolute; bottom: 14px; }
  .lightbox .lb-prev { left: 20px; } .lightbox .lb-next { right: 20px; }
}
body .wrap > .facts { margin-top: clamp(40px, 5vw, 64px); }
body .wrap > .center-cta { margin-top: clamp(24px, 3vw, 36px); } body .fest-intro > .disciplines-list { margin-top: 10px; }
body .wrap > .fest-gallery + .center-cta { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) { .story .side { order: 2; margin-top: 12px; } .story .entry { order: 1; } }
/* Header con menu hamburger: logo · CORSI al centro (più piccolo) · hamburger a destra */
@media (max-width: 1060px) {
  .site-header .header-cta { order: 2; margin: 0 auto; }
  .site-header .wp-block-navigation { order: 3; margin-left: 0; }
}
@media (max-width: 600px) {
  .site-header .wrap { gap: 10px; }
  .site-header .header-cta .wp-block-button__link { padding: 9px 14px 7px; font-size: .8rem; letter-spacing: .08em; box-shadow: 0 3px 0 var(--deep); }
}
/* Sottomenu nel menu mobile: voci centrate a tutta larghezza */
.site-header .is-menu-open .wp-block-navigation-submenu { flex-direction: column; width: 100%; }
.site-header .is-menu-open .wp-block-navigation__submenu-container { width: 100% !important; align-items: stretch !important; }
.site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; justify-content: center; }
.site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: block; width: 100%; text-align: center !important; }
.site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: flex !important; justify-content: center !important; } .site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__label { text-align: center; }
/* Video YouTube (pagina festival) */
.fest-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.fest-video { display: grid; gap: 10px; align-content: start; }
.fest-video > * { margin: 0; }
.fest-video .yt-thumb { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 12px 28px rgba(18, 64, 44, .2); }
.fest-video .yt-thumb a { display: block; height: 100%; }
.fest-video .yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, opacity .2s; }
.fest-video .yt-thumb a::after { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D3FAE5'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 30px no-repeat;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform .2s ease, background-color .2s; }
.fest-video .yt-thumb a:hover img { transform: scale(1.03); opacity: .9; }
.fest-video .yt-thumb a:hover::after { transform: translate(-50%, -50%) scale(1.08); background-color: var(--mid); }
.fest-video .yt-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fest-video .yt-cap { font-family: var(--f-deco); letter-spacing: .08em; color: var(--dark); font-size: 1.02rem; line-height: 1.25; }
.fest-video .yt-sub { font-size: .9rem; color: var(--text-soft); margin-top: -4px !important; }
.yt-ask { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 16px; text-align: center;
  background: rgba(10, 30, 22, .9); color: #fff; font-size: .9rem; line-height: 1.4; }
.yt-ask p { margin: 0; max-width: 34ch; }
.yt-ask p a { color: var(--light); }
.yt-ask-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.yt-ask button, .yt-ask .yt-out { font: 400 .82rem/1 var(--f-deco); letter-spacing: .1em; padding: 10px 14px 8px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.yt-ask button { background: var(--pale); color: var(--dark); border: 0; }
.yt-ask .yt-out { color: var(--pale); border: 1.5px solid var(--light); }
@media (max-width: 860px) { .fest-videos { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.fest-video .yt-thumb:has(.yt-ask) a::after { display: none; } .yt-ask { z-index: 4; }
.fest-videos-band { border-top: 4px double var(--light); }
