/* Sito dell'evento · grafica "D · Bianco": fondo bianco, rosso bandiera, slider a tutto schermo. */
@font-face { font-family: "Shippori Mincho"; font-weight: 500; font-display: swap; src: url(/assets/fonts/shippori-mincho-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Shippori Mincho"; font-weight: 700 900; font-display: swap; src: url(/assets/fonts/shippori-mincho-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 400; font-display: swap; src: url(/assets/fonts/zen-kaku-gothic-new-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 500; font-display: swap; src: url(/assets/fonts/zen-kaku-gothic-new-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 700; font-display: swap; src: url(/assets/fonts/zen-kaku-gothic-new-latin-700-normal.woff2) format("woff2"); }

:root {
  --sun: #BC002D; --ink: #1A1A1D; --muted: #6C6A66; --line: #E7E4DE; --bg: #FFFFFF;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px); }
html[lang="ja"] body { line-break: strict; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; margin: 0; line-height: 1.15; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }

/* ---------- Menu ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: #FFFFFF; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.nav-row { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand img { width: 108px; height: auto; }
.brand span { font-family: var(--serif); font-weight: 800; font-size: 1.2rem; }
.menu { display: flex; gap: 1.4rem; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.menu a:hover { color: var(--sun); }
.langs { display: flex; gap: .1rem; }
.langs a { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: var(--muted); padding: .3rem .45rem; border-radius: 4px; }
.langs a[aria-current="true"] { color: #FFFFFF; background: var(--ink); }
.cta { background: var(--sun); color: #FFFFFF; padding: .6rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }
@media (max-width: 920px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #FFFFFF; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; }
  .menu a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav.open .menu { display: flex; }
  .langs { margin-left: auto; }
  .cta { padding: .5rem .9rem; }
  .brand img { width: 84px; }
}
@media (max-width: 420px) { .cta { display: none; } }

/* ---------- Slider ---------- */
.slider { position: relative; overflow: hidden; background: #000; }
.slides { display: flex; transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.slide { position: relative; min-width: 100%; height: calc(100vh - 77px); min-height: 540px; max-height: 880px; overflow: hidden; }
.slide .pic { position: absolute; inset: 0; background: #2B2B30; }
.slide .pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.slide.is-active .pic img { transform: scale(1); }
.slide .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 28%, rgba(0,0,0,.38) 55%, rgba(0,0,0,0) 82%), linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 35%); }
.slide .txt { position: absolute; left: 0; right: 0; bottom: clamp(4.5rem, 12vh, 8rem); color: #FFFFFF; }
.slide .txt .wrap { display: flex; flex-direction: column; gap: 1.1rem; }
.slide .kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: .6rem; background: var(--sun); color: #FFFFFF; font-weight: 700; padding: .45rem 1rem; border-radius: 999px; letter-spacing: .08em; font-size: .85rem; text-transform: uppercase; }
.slide .kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FFFFFF; }
.slide h1, .slide .h1 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; max-width: 24ch; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.slide p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40ch; margin: 0; color: #F2F2F2; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .4rem; }
.btn { display: inline-block; background: var(--sun); color: #FFFFFF; padding: 1rem 1.7rem; border-radius: 999px; text-decoration: none; font-weight: 700; border: 1.5px solid var(--sun); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.85); }
.slide .txt .wrap > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.slide.is-active .txt .wrap > * { opacity: 1; transform: none; }
.slide.is-active .txt .wrap > *:nth-child(2) { transition-delay: .12s; } .slide.is-active .txt .wrap > *:nth-child(3) { transition-delay: .24s; } .slide.is-active .txt .wrap > *:nth-child(4) { transition-delay: .36s; }
.dots { position: absolute; right: clamp(1.25rem, 5vw, 4rem); bottom: 2rem; display: flex; gap: .5rem; z-index: 3; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.45); }
.dots button[aria-current="true"] { background: var(--sun); width: 28px; border-radius: 6px; }
.arrows { position: absolute; left: clamp(1.25rem, 5vw, 4rem); bottom: 1.6rem; display: flex; gap: .5rem; z-index: 3; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.12); color: #FFFFFF; font-size: 1.1rem; cursor: pointer; }
.counter { position: absolute; top: 2rem; right: clamp(1.25rem, 5vw, 4rem); color: #FFFFFF; font-family: var(--serif); font-size: 1.1rem; z-index: 3; letter-spacing: .1em; }
.counter b { font-size: 2rem; }
@media (max-width: 820px) {
  .slide { height: 82vh; min-height: 500px; }
  .slide .shade { background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.65) 45%, rgba(0,0,0,.2) 80%, rgba(0,0,0,.1) 100%); }
  .arrows { display: none; } .dots { right: auto; left: 50%; transform: translateX(-50%); bottom: 1.25rem; }
}

/* ---------- Sezioni ---------- */
.sec { padding: clamp(4rem, 9vw, 7rem) 0; background: #FFFFFF; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-first { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.sec-head { margin-bottom: 2.5rem; }
.sec-head .k { display: inline-flex; align-items: center; gap: .6rem; color: var(--sun); letter-spacing: .28em; font-size: .75rem; text-transform: uppercase; font-weight: 700; }
.sec-head .k::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }
.sec-head h2, .h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin-top: .6rem; }
.intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: end; }
.intro-text { font-size: 1.2rem; line-height: 1.75; color: #3B3A37; }
.facts { display: grid; gap: 1.5rem; }
.facts div { border-left: 3px solid var(--sun); padding-left: 1rem; }
.facts b { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.2; }
.facts span { color: var(--muted); }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; gap: 2rem; } }
.grid3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.venue { position: relative; height: 440px; border-radius: 8px; overflow: hidden; display: flex; align-items: flex-end; background: #2B2B30; }
.venue .pic { position: absolute; inset: 0; } .venue .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.venue:hover .pic img { transform: scale(1.05); }
.venue .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.8)); }
.venue .body { position: relative; padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; color: #FFFFFF; }
.venue h3 { font-size: 1.8rem; } .venue p { margin: 0; color: #EDEBE6; }
.venue a { align-self: flex-start; margin-top: .6rem; background: var(--sun); color: #FFFFFF; padding: .55rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 700; }
.news { text-decoration: none; background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.news:hover { box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
.news .pic { position: relative; flex: none; aspect-ratio: 16 / 10; overflow: hidden; background: #F1EFEA; }
.news .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news .body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news .cat, .article .cat { color: var(--sun); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; text-decoration: none; }
.news h3 { font-size: 1.3rem; line-height: 1.25; } .news p { margin: 0; color: var(--muted); }
.news time { margin-top: auto; font-size: .85rem; color: var(--muted); }
.more { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 2rem 0 0; } .more a { color: var(--sun); font-weight: 700; text-decoration: none; } .more a.btn { color: #FFFFFF; }
.partner-kind { font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin: 1.5rem 0 1rem; }
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; }
.partners img { max-height: 64px; width: auto; } .partners span { font-family: var(--serif); font-weight: 800; font-size: 1.3rem; color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-text { font-size: 1.1rem; line-height: 1.7; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
.cta-box { border: 1px solid var(--line); border-top: 4px solid var(--sun); border-radius: 8px; padding: 1.75rem; }
.cta-box h3 { font-size: 1.5rem; margin-bottom: .5rem; } .cta-box p { margin: 0 0 1.25rem; color: var(--muted); }

/* ---------- Notizia ---------- */
.article-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .6rem 0 .8rem; }
.article-head time { color: var(--muted); font-size: .95rem; }
.lead { font-size: 1.3rem; line-height: 1.6; color: #3B3A37; margin: 1.25rem 0 0; }
.article-cover { margin: 0 auto 2.5rem; max-width: 1180px; padding: 0 1.25rem; }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 8px; }
.article-body { font-size: 1.15rem; line-height: 1.8; padding-bottom: 3rem; }
.article-body h2 { font-size: 1.8rem; margin: 2.2rem 0 .8rem; } .article-body h3 { font-size: 1.4rem; margin: 1.8rem 0 .6rem; }
.article-body blockquote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 3px solid var(--sun); font-family: var(--serif); font-size: 1.35rem; }
.article-body figure { margin: 2rem 0; } .article-body figure img { border-radius: 8px; width: 100%; }
.article-body figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.article-body .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; margin: 2rem 0; }
.article-body .gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; width: 100%; }
.article-body .gallery figure { margin: 0; }
.article-body a { color: var(--sun); }

/* ---------- Piè di pagina ---------- */
.foot { background: var(--ink); color: #D9D7D2; padding: 3rem 0 2.5rem; }
.foot-row { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: center; }
.foot-brand { display: flex; gap: 1.25rem; align-items: center; }
.foot-logo { width: 84px; height: 84px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; padding: 12px; }
.foot-name { font-family: var(--serif); font-weight: 800; font-size: 1.2rem; color: #FFFFFF; margin: 0; }
.foot-brand p { margin: 0; }
.social { display: flex; gap: .6rem; flex-wrap: wrap; }
.social a { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .45rem .9rem; text-decoration: none; font-size: .9rem; }
.foot-meta { margin-top: 2rem; font-size: .85rem; opacity: .8; } .foot-meta p { margin: .3rem 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.preview-bar { margin: 0; background: #FEF3C7; color: #92400E; text-align: center; padding: .6rem; font-weight: 700; }

/* ---------- Programma: calendario fisso dei giorni, filtri, appuntamenti ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.program .sec-head { margin-bottom: 0; }
.program-bar { position: sticky; top: 77px; z-index: 30; background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.program-bar .wrap { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: .75rem; padding-bottom: .75rem; }
.days { display: flex; gap: .55rem; overflow-x: auto; scrollbar-width: none; padding: .15rem .1rem .35rem; }
.days::-webkit-scrollbar { display: none; }
/* Foglietto del calendario: fascia rossa con il giorno, numero grande, mese */
.sheet { flex: none; width: 4.6rem; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink);
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 0 var(--line); transition: transform .15s, box-shadow .15s; }
.sheet:hover { transform: translateY(-2px); box-shadow: 0 6px 14px -8px rgba(0,0,0,.35); }
.sheet-top { width: 100%; text-align: center; background: var(--sun); color: #FFFFFF; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .25rem 0; }
.sheet-num { font-family: var(--serif); font-size: 2rem; font-weight: 800; line-height: 1; padding: .45rem 0 .1rem; }
.sheet-month { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; padding-bottom: .45rem; }
.sheet-all { width: 5.6rem; }
.sheet-all .sheet-num { font-size: 1.35rem; padding-top: .7rem; padding-bottom: .25rem; }
.sheet[aria-current="true"] { background: var(--sun); border-color: var(--sun); box-shadow: 0 6px 16px -8px var(--sun); }
.sheet[aria-current="true"] .sheet-top { background: rgba(0,0,0,.18); }
.sheet[aria-current="true"] .sheet-num, .sheet[aria-current="true"] .sheet-month { color: #FFFFFF; }
@media (max-width: 600px) { .sheet { width: 3.9rem; } .sheet-num { font-size: 1.65rem; } .sheet-all { width: 4.8rem; } }
.program-filter { display: flex; gap: .5rem; flex-wrap: wrap; }
.program-filter select, .program-filter input { font: inherit; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; min-height: 44px; }
.program-filter input { min-width: 12rem; }
.program-filter button { font: inherit; font-weight: 700; padding: .6rem 1.1rem; border: 0; border-radius: 999px; background: var(--sun); color: #FFFFFF; cursor: pointer; min-height: 44px; }
.program-list { padding-top: 2rem; }
.program-count { margin: 0 0 1.25rem; }
.program-count a { color: var(--sun); }
.program-item .cat { letter-spacing: .08em; }
.program-item .where { font-size: .9rem; }
@media (max-width: 920px) { .program-bar { top: 77px; } .program-filter { width: 100%; } .program-filter input { flex: 1; min-width: 0; } }

/* Scheda dell'appuntamento: quando e dove */
.when-where { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 1.5rem 0 0; padding: 1rem 1.25rem; border-left: 3px solid var(--sun); background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.when-where dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.when-where dd { margin: .2rem 0 0; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }

/* Pagine: schede (location, espositori) come le card delle notizie, tre per riga */
.page-cards { padding-bottom: 4rem; }
.page-cards .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 1rem 0 0; }
.page-cards .card { margin: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.page-cards .card:hover { box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
.page-cards .card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #F1EFEA; }
.page-cards .card figcaption { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.page-cards .card figcaption strong { color: var(--ink); font-family: var(--serif); font-weight: 800; font-size: 1.3rem; line-height: 1.25; }
@media (max-width: 980px) { .page-cards .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .page-cards .cards { grid-template-columns: 1fr; } }
@media (max-width: 920px) {
  .program-filter select { flex: 1 1 100%; }
  .program-filter input { flex: 1 1 auto; min-width: 0; }
  .program-filter button { flex: none; }
}

/* Loghi istituzionali fissi (sopra il piè di pagina) */
.inst-logos { background: #FFFFFF; border-top: 1px solid var(--line); padding: 2.25rem 1.25rem 1.75rem; text-align: center; }
.inst-logos ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.inst-logos li { padding: .5rem 2rem; border-left: 1px solid var(--line); }
.inst-logos li:first-child { border-left: 0; }
.inst-logos img { height: 72px; width: auto; max-width: 100%; }
.inst-logos p { max-width: 900px; margin: 1.25rem auto 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 700px) {
  .inst-logos ul { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 0; }
  .inst-logos li { border-left: 0; padding: .25rem .5rem; }
  .inst-logos img { height: 56px; }
}

/* Home a blocchi: calendario nel blocco evento, estratto di pagina, pulsanti degli shortcode */
.home-cal { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.home-cal .days { flex: 0 1 auto; max-width: 100%; }
.page-excerpt { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.page-excerpt .intro-text p { margin: 0 0 1rem; }
@media (max-width: 760px) { .page-excerpt { grid-template-columns: 1fr; } }
.intro-text p { margin: 0 0 1rem; }
.sc-btn { margin: .35rem .5rem .35rem 0; vertical-align: middle; }
.btn.line { background: transparent; color: var(--sun); }
.article-body a.sc-btn, .page-body a.sc-btn { color: #FFFFFF; text-decoration: none; }
.article-body a.sc-btn.line, .page-body a.sc-btn.line { color: var(--sun); }

/* Slider: titolo cliccabile verso il contenuto */
.slide-link { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s; }
.slide-link:hover, .slide-link:focus-visible { background-size: 100% 2px; }

/* Blocco Galleria della home (es. espositori): tre per riga, didascalia sotto */
.gallery-intro { margin-bottom: 1.5rem; max-width: 70ch; }
.gallery-block { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.gallery-block figure { margin: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.gallery-block img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #F1EFEA; }
.gallery-block figcaption { padding: .9rem 1.1rem; font-family: var(--serif); font-weight: 800; font-size: 1.1rem; line-height: 1.3; }
@media (max-width: 980px) { .gallery-block { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery-block { grid-template-columns: 1fr; } }

/* Blocco Partner e sponsor: loghi in una fila centrata */
.partners-row { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3.5rem; }
.partners-row li { display: flex; align-items: center; justify-content: center; }
.partners-row img { display: block; height: 72px; width: auto; max-width: 200px; object-fit: contain; }
.partners-row span { font-weight: 700; font-size: 1.05rem; }
@media (max-width: 560px) { .partners-row { gap: 1.5rem 2rem; } .partners-row img { height: 52px; max-width: 140px; } }

/* Pulsante finale dei blocchi in stile "Collegamento con freccia" */
a.link-more { color: var(--sun); font-weight: 700; text-decoration: none; }
a.link-more:hover { text-decoration: underline; }

/* Piè di pagina: social e pulsante "Opzioni cookie" allineati a destra */
.foot-side { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; margin-left: auto; }
.btn-cookie { font: inherit; font-weight: 700; font-size: .92rem; padding: .7rem 1.4rem; cursor: pointer; }
.btn-ghost { background: transparent; color: var(--sun); }
@media (max-width: 720px) { .foot-side { align-items: flex-start; margin-left: 0; } }

/* Finestra dei cookie */
html.ck-open { overflow: hidden; }
.ck { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 16, 14, .55); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.ck[hidden] { display: none; }
.ck-panel { background: #FFFFFF; color: var(--ink, #1A1A1A); width: min(640px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto; border-radius: 16px; padding: 1.6rem 1.8rem; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.ck-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.ck-head h2 { font-size: 1.25rem; margin: 0; }
.ck-panel h3 { font-size: 1rem; margin: .8rem 0 .3rem; }
.ck-panel p { margin: 0 0 .8rem; line-height: 1.5; }
.ck-x { width: 40px; height: 40px; border-radius: 999px; border: 0; background: #F3EEEA; font-size: 1.5rem; line-height: 1; cursor: pointer; color: inherit; }
.ck-cat { background: #F7F4F1; border-radius: 12px; margin: .6rem 0; }
.ck-cat summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; cursor: pointer; font-weight: 700; list-style: none; }
.ck-cat summary::-webkit-details-marker { display: none; }
.ck-cat summary > span:first-child::before { content: "▸"; display: inline-block; margin-right: .5rem; transition: transform .15s; }
.ck-cat[open] summary > span:first-child::before { transform: rotate(90deg); }
.ck-cat > p { padding: 0 1.1rem .9rem; margin: 0; font-size: .95rem; }
.ck-always { font-size: .85rem; font-weight: 600; color: #6B6B6B; }
.ck-switch { position: relative; display: inline-block; width: 52px; height: 30px; flex: none; }
.ck-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ck-switch span { position: absolute; inset: 0; background: #CFC8C2; border-radius: 999px; transition: background .15s; pointer-events: none; }
.ck-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; transition: transform .15s; }
.ck-switch input:checked + span { background: var(--sun); }
.ck-switch input:checked + span::after { transform: translateX(22px); }
.ck-switch input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.ck-more { font-size: .95rem; }
.ck-more a { color: var(--sun); font-weight: 700; }
.ck-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.ck-actions .btn { font: inherit; font-weight: 700; padding: .8rem 1.4rem; cursor: pointer; }
.ck-actions .ck-save { margin-left: auto; }
@media (max-width: 560px) { .ck-panel { padding: 1.2rem; } .ck-actions .btn { flex: 1 1 100%; } .ck-actions .ck-save { margin-left: 0; } }

/* Barra in alto su telefono: testo corto del pulsante, logo e hamburger mai schiacciati;
   sui telefoni più stretti il pulsante passa nel menu a tendina. */
.brand, .burger { flex: none; }
.cta-short { display: none; }
.menu .menu-pass { display: none; }
@media (max-width: 920px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
}
@media (max-width: 480px) {
  .cta { display: none; }
  .nav.open .menu .menu-pass { display: block; margin-top: .9rem; padding: .8rem 1rem; border: 0; border-radius: 999px; background: var(--sun); color: #FFFFFF; font-weight: 700; text-align: center; }
}
