/* =========================================================
   Concorso Internazionale di Composizione
   "Orazio Michi dell'Arpa"
   Design system — palette barocca elegante
   ========================================================= */

:root {
  --wine: #5a1a2b;          /* bordeaux profondo */
  --wine-dark: #3d101d;
  --gold: #b08d57;          /* oro antico */
  --gold-light: #d4b483;
  --ivory: #faf6ef;         /* avorio caldo */
  --cream: #f3ece0;
  --ink: #2a2320;           /* testo */
  --ink-soft: #5b524c;
  --line: #e3d9c8;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(58, 30, 20, .10);
  --shadow-sm: 0 4px 18px rgba(58, 30, 20, .08);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1140px;
  --radius: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Il wrapper iniettato non deve formare un blocco contenitore, altrimenti l'header sticky non resta in alto */
#site-header { display: contents; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--wine); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

/* ---------- Bilingue ---------- */
html[lang="en"] .lang-it { display: none !important; }
html[lang="it"] .lang-en { display: none !important; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--wine-dark);
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section--cream { background: var(--cream); }
.section--wine { background: var(--wine-dark); color: var(--cream); }
.section--wine h1, .section--wine h2, .section--wine h3 { color: var(--ivory); }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.divider {
  width: 70px; height: 2px; background: var(--gold);
  border: 0; margin: 1.4rem 0;
}
.center .divider { margin-left: auto; margin-right: auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(58,30,20,.18); }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--gold); border-radius: 50%;
  color: var(--wine); font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
}
.brand__text { line-height: 1.15; display: flex; flex-direction: column; }
.brand__title { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--wine-dark); }
.brand__sub { display: block; font-size: .66rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: .86rem; font-weight: 500; color: var(--ink); white-space: nowrap;
  position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .25s;
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--wine); }

.nav__right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; gap: 7px; align-items: center; }
.lang-switch button {
  background: transparent; border: 2px solid transparent; border-radius: 4px; cursor: pointer;
  padding: 1px; line-height: 0; opacity: .5; transition: opacity .2s, border-color .2s;
}
.lang-switch button:hover { opacity: 1; }
.lang-switch button.active { opacity: 1; border-color: var(--gold); }
.lang-switch .flag { display: block; width: 27px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.10); }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--wine-dark); margin: 5px 0; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: 14px 28px; border-radius: var(--radius);
  cursor: pointer; border: 1.5px solid transparent; transition: all .22s;
}
.btn--primary { background: var(--wine); color: var(--ivory); }
.btn--primary:hover { background: var(--wine-dark); color: var(--white); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--wine-dark); }
.btn--gold:hover { background: var(--gold-light); color: var(--wine-dark); transform: translateY(-2px); }
.btn--outline { border-color: var(--gold); color: var(--wine); background: transparent; }
.btn--outline:hover { background: var(--gold); color: var(--wine-dark); }
.btn--light { border-color: var(--gold-light); color: var(--ivory); background: transparent; }
.btn--light:hover { background: var(--ivory); color: var(--wine-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--ivory);
  background:
    linear-gradient(rgba(40, 12, 22, .78), rgba(40, 12, 22, .86)),
    radial-gradient(circle at 30% 20%, #6a2236, var(--wine-dark));
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23b08d57' stroke-width='.5' opacity='.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__logos { position: absolute; top: 20px; right: 24px; z-index: 3; display: flex; gap: 10px; }
.hero__logo { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; flex: none;
  background: rgba(255,255,255,.94); border-radius: 50%; box-shadow: 0 3px 14px rgba(0,0,0,.28); padding: 8px; overflow: hidden; }
.hero__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
a.hero__logo { transition: transform .2s, box-shadow .2s; }
a.hero__logo:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.hero__inner { position: relative; z-index: 1; padding: 120px 0 130px; max-width: 820px; }
.hero h1 { color: var(--ivory); margin-bottom: .3em; }
.hero .eyebrow { color: var(--gold-light); }
.hero__lead { font-size: 1.25rem; color: rgba(250, 246, 239, .9); margin-bottom: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 2.4rem; }
.hero__meta div { border-left: 2px solid var(--gold); padding-left: 14px; }
.hero__meta .k { font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-light); }
.hero__meta .v { font-family: var(--serif); font-size: 1.4rem; color: var(--ivory); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { font-size: 1.6rem; color: var(--gold); margin-bottom: .6rem; }
.card h3 { color: var(--wine-dark); }
.card__link { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--wine); }
.card__link:hover { color: var(--gold); }
.card--link { display: block; color: inherit; text-decoration: none; }
.card--link p { color: var(--ink-soft); }
.card--link:hover { color: inherit; }
.card--link:hover h3 { color: var(--wine); }

.feature {
  text-align: center; padding: 28px 20px;
}
.feature__num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); }

/* ---------- Prize / fee table ---------- */
.prize-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.prize-list li {
  display: flex; gap: 18px; align-items: baseline;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-sm);
}
.prize-list .rank { font-family: var(--serif); font-size: 1.7rem; color: var(--gold); font-weight: 700; flex: none; width: 48px; }
.prize-list .amount { font-family: var(--serif); font-size: 1.5rem; color: var(--wine); margin-left: auto; flex: none; }

.fee-box {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow-sm);
}
.fee-box .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.fee-box .row:last-child { border-bottom: 0; }
.fee-box .price { font-family: var(--serif); font-size: 1.3rem; color: var(--wine); font-weight: 700; }

/* ---------- Regolamento articles ---------- */
.article {
  border-left: 3px solid var(--gold); padding: 4px 0 4px 26px; margin-bottom: 34px;
}
.article h3 { margin-bottom: .3em; }
.article .art-num { color: var(--gold); font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }

/* ---------- Jury ---------- */
.jury-card { text-align: center; }
.jury-card .avatar {
  width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--wine), var(--gold)); color: var(--ivory);
  display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; font-weight: 700;
}
.jury-card .role { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; }
.avatar--photo { object-fit: cover; padding: 0; }
.jury-links { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: .9rem; }
.jury-links a { font-weight: 600; }

/* ---------- Team (Chi siamo) ---------- */
.team-list { display: grid; gap: 30px; max-width: 920px; margin: 0 auto; }
.team-member {
  display: grid; grid-template-columns: 190px 1fr; gap: 32px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.team-photo { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.team-bio h3 { margin-bottom: 2px; }
.team-bio .role { display: block; color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; }
.team-bio p { font-size: .98rem; }
.team-bio p:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .team-member { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px; }
  .team-bio { text-align: left; }
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step__num {
  counter-increment: step; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--wine);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.3rem;
}
.step__num::before { content: counter(step); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field .req { color: var(--wine); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font-family: var(--sans); font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold-light); border-color: var(--gold); }
.field .hint { font-size: .8rem; color: var(--ink-soft); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--cream); }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.video-grid .embed { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-grid .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Events / Bandi ---------- */
.event-item {
  display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.event-date { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.event-date .day { font-family: var(--serif); font-size: 2.2rem; color: var(--wine); font-weight: 700; line-height: 1; }
.event-date .mon { text-transform: uppercase; letter-spacing: 2px; font-size: .75rem; color: var(--gold); }
.event-date .yr { font-size: .8rem; color: var(--ink-soft); }
.tag { display: inline-block; background: var(--cream); color: var(--wine); border: 1px solid var(--line);
  font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.event-item--link { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.event-item--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
a.event-item--link:hover h3 { color: var(--wine); }
.event-item h3 { color: var(--wine-dark); transition: color .2s; }
.event-more { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--gold); font-size: .92rem; }

/* ---------- Dettaglio evento ---------- */
.back-link { display: block; margin-bottom: 18px; font-weight: 600; }
#event-detail h1 { margin-top: 6px; }
.event-meta { color: var(--ink-soft); font-size: 1rem; margin-bottom: 22px; }
.event-poster { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 0 26px; }
.event-body p { font-size: 1.05rem; }
.event-sec { margin-top: 30px; border-left: 3px solid var(--gold); padding-left: 14px; }
.participant-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.participant-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-sm); }
.participant-list a { font-weight: 700; }

/* ---------- Agenda (elenco) ---------- */
.agenda-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.agenda-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s;
}
.agenda-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.agenda-card:hover h3 { color: var(--wine); }
.agenda-card__img { aspect-ratio: 4 / 3; background: var(--cream); overflow: hidden; }
.agenda-card__img img { width: 100%; height: 100%; object-fit: cover; }
.agenda-noimg { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.6rem;
  color: var(--gold); background: linear-gradient(135deg, var(--cream), #e9ddc7); }
.agenda-card__body { padding: 22px 24px; display: flex; flex-direction: column; }
.agenda-card__body .role { color: var(--gold); font-size: .75rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.agenda-card__body h3 { margin: 4px 0 8px; transition: color .2s; }
.agenda-card__body p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Articolo (profilo) ---------- */
.article-head { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; margin: 8px 0 24px; }
.article-photo-wrap { margin: 0; }
.article-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-noimg { aspect-ratio: 1; border-radius: var(--radius); border: 2px dashed var(--line);
  display: grid; place-items: center; color: var(--ink-soft); text-align: center; background: var(--cream); padding: 12px; }
.photo-credit { font-size: .78rem; color: var(--ink-soft); margin: 8px 0 0; font-style: italic; }
.article-head__txt .role { color: var(--gold); font-size: .82rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.article-head__txt h1 { margin-top: 6px; }
.article-body p { font-size: 1.05rem; }
@media (max-width: 640px) {
  .article-head { grid-template-columns: 1fr; text-align: center; }
  .article-photo-wrap { max-width: 240px; margin: 0 auto; }
}

/* ---------- Notice / callout ---------- */
.callout {
  background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--wine);
  border-radius: var(--radius); padding: 22px 26px; margin: 24px 0;
}
.callout strong { color: var(--wine-dark); }
.iban-box {
  background: var(--wine-dark); color: var(--ivory); border-radius: var(--radius);
  padding: 26px 30px; box-shadow: var(--shadow);
}
.iban-box .iban { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; letter-spacing: .5px; color: #ffffff; word-break: break-all; }
.iban-box .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(212,180,131,.2); }
.iban-box .row:last-child { border-bottom: 0; }
.iban-box .k { color: var(--gold-light); font-size: .85rem; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ico { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--cream);
  display: grid; place-items: center; color: var(--wine); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-dark); color: rgba(250,246,239,.78); padding: 64px 0 28px; }
.site-footer h4 { color: var(--ivory); font-size: 1.15rem; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer a { color: rgba(250,246,239,.78); }
.site-footer a:hover { color: var(--gold-light); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.social-row { display: flex; gap: 14px; margin-top: 14px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold);
  display: grid; place-items: center; color: var(--gold-light);
}
.social-row a:hover { background: var(--gold); color: var(--wine-dark); }
.footer-bottom { border-top: 1px solid rgba(212,180,131,.2); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }

/* ---------- Page header ---------- */
.page-head {
  background: linear-gradient(rgba(40,12,22,.82), rgba(40,12,22,.9)), radial-gradient(circle at 70% 30%, #6a2236, var(--wine-dark));
  color: var(--ivory); padding: 80px 0 70px; text-align: center;
}
.page-head h1 { color: var(--ivory); }
.page-head .eyebrow { color: var(--gold-light); }
.page-head p { color: rgba(250,246,239,.85); max-width: 640px; margin: 0 auto; }

/* ---------- Slideshow ---------- */
.slideshow {
  position: relative; max-width: 980px; margin: 0 auto; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--wine-dark);
  aspect-ratio: 16 / 9;
}
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.slideshow .slide.active { opacity: 1; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; }
.slide__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 18px;
  color: var(--ivory); font-family: var(--serif); font-size: 1.15rem;
  background: linear-gradient(transparent, rgba(40,12,22,.85));
}
.slide__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(250,246,239,.85); color: var(--wine-dark); font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center; transition: background .2s;
}
.slide__nav:hover { background: var(--gold); }
.slide__prev { left: 14px; } .slide__next { right: 14px; }
.slide__dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.slide__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(250,246,239,.5); padding: 0; }
.slide__dot.active { background: var(--gold); }

/* ---------- Gallery captions ---------- */
.gallery-grid figure { position: relative; }
.gallery-grid figcaption {
  padding: 10px 14px; font-size: .85rem; color: var(--ink-soft);
  background: var(--white); border-top: 1px solid var(--line);
}

/* ---------- Locandine (poster) ---------- */
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.poster { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.poster:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.poster img { width: 100%; height: auto; display: block; }
.poster figcaption { padding: 12px 16px; font-size: .88rem; color: var(--ink-soft); border-top: 1px solid var(--line); }

/* ---------- Social band ---------- */
.social-band { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.social-card {
  display: flex; align-items: center; gap: 12px; padding: 16px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); font-weight: 600; color: var(--wine-dark); transition: transform .2s, box-shadow .2s;
}
.social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--wine); }
.social-card .badge {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ivory); font-size: .9rem; font-weight: 700; flex: none;
}
.badge--ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#bc1888); }
.badge--yt { background: #c4302b; }
.badge--fb { background: #1877f2; }

/* ---------- Video del vincitore / placeholder ---------- */
.video-placeholder {
  text-align: center; padding: 50px 24px; border: 2px dashed var(--line);
  border-radius: var(--radius); background: var(--white); color: var(--ink-soft);
}
.video-placeholder p { margin: 8px 0 18px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-gold { color: var(--gold); }
.muted { color: var(--ink-soft); }
.hidden { display: none; }

/* ---------- Responsive ---------- */
/* Menu a panino (soglia più alta per via del numero di voci) */
@media (max-width: 1024px) {
  .nav__links {
    position: fixed; top: 76px; right: 0; width: 280px; max-width: 84vw; height: calc(100vh - 76px);
    background: var(--ivory); flex-direction: column; align-items: flex-start;
    padding: 30px; gap: 18px; overflow-y: auto;
    box-shadow: var(--shadow); border-left: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav__links.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav__toggle { display: block; }
}
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .event-item { grid-template-columns: 1fr; }
  .event-date { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; display: flex; gap: 10px; justify-content: center; align-items: baseline; }
  .section { padding: 60px 0; }
  .hero__inner { padding: 92px 0 90px; }
  .hero__logos { top: 14px; right: 14px; gap: 8px; }
  .hero__logo { width: 46px; height: 46px; padding: 6px; }
}
