/* 3e33.it - Associazione Culturale 3:33
   Foglio di stile unico. Nessuna risorsa esterna: i font sono ospitati sul sito.
   Palette ripresa dal sito WordPress originale (tema Phlox + Elementor):
   azzurro #E4EFFF, grigi #E9E9E9 / #E0E0E0 / #AAA7A7, giallo #FEDB03, ciano dei link. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  --ink: #16181d;
  --text: #33363d;
  --muted: #5f6571;
  --line: #d9dde4;
  --cyan: #1592c0;          /* titoli grandi (contrasto >= 3:1) */
  --link: #0a6f95;          /* link nel testo (5,6:1 su bianco) */
  --link-strong: #07597a;   /* link su fondi grigi o azzurri */
  --yellow: #fedb03;        /* accento del menu attivo, solo decorativo */
  --sky: #e4efff;
  --sky-soft: #f2f7ff;
  --gray: #e9e9e9;
  --gray-2: #e0e0e0;
  --gray-3: #aaa7a7;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(22, 24, 29, .06), 0 8px 26px rgba(110, 70, 200, .13);
  --shadow-hover: 0 2px 6px rgba(22, 24, 29, .08), 0 16px 38px rgba(110, 70, 200, .2);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --tilt: clamp(36px, 7vw, 110px);
  --head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-strong); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Testata ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  backdrop-filter: saturate(1.2) blur(6px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(22, 24, 29, .1); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; padding-block: 10px; }
.brand { display: flex; align-items: center; flex-shrink: 0; border-radius: 8px; }
.brand img { display: block; height: 84px; width: auto; max-width: none; transition: height .25s ease; }
.site-header.is-scrolled .brand img { height: 66px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 4px; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 15px; border-radius: 999px;
  font-family: var(--head); font-weight: 500; font-size: 1rem; line-height: 1.4;
  color: var(--ink); text-decoration: none;
  transition: background-color .2s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 3px; border-radius: 3px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left center; transition: transform .25s ease;
}
.site-nav a:hover { background: #f4f6f9; color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { font-weight: 600; }
.site-nav .ico-home { width: 18px; height: 18px; flex: 0 0 auto; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header-inner { min-height: 80px; padding-block: 8px; }
  .brand img { height: 62px; }
  .site-header.is-scrolled .brand img { height: 54px; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px;
    border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
    font: 600 .95rem/1 var(--head); cursor: pointer;
  }
  .nav-toggle-bars { position: relative; width: 18px; height: 12px; }
  .nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle-bars::before { top: 0; }
  .nav-toggle-bars span { top: 5px; }
  .nav-toggle-bars::after { top: 10px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }
  .js .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgba(22, 24, 29, .14); }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; padding: 10px var(--gutter) 18px; }
  .site-nav a { display: flex; padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .site-nav a::after { left: 12px; right: auto; width: 30px; bottom: 7px; }
  .no-js .header-inner { flex-direction: column; align-items: flex-start; }
  .no-js .site-nav ul { padding: 0; }
}

/* ---------- Home: video d'apertura ---------- */
.hero {
  position: relative; z-index: 2; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: clamp(400px, 70vh, 640px);
  color: #fff;
  background: #0d0f14 url("../video/hero-poster.jpg") center / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tilt)), 0 100%);
  overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity .8s ease; }
.hero-video.is-playing { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 10, 16, .08) 25%, rgba(8, 10, 16, .66) 100%); }
.hero-caption { width: 100%; padding-bottom: calc(var(--tilt) + 30px); padding-top: 60px; }
.hero-kicker { display: inline-block; margin: 0 0 .7em; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 600 .8rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.hero-title { font: 700 clamp(2rem, 5vw, 3.6rem)/1.06 var(--head); color: #fff; margin: 0 0 .3em; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.hero-sub { font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.5; margin: 0; max-width: 42ch; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.hero-toggle {
  position: absolute; right: var(--gutter); top: 18px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(8, 10, 16, .45); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.hero-toggle:hover { background: rgba(8, 10, 16, .7); }
.hero-toggle svg { width: 18px; height: 18px; }
.hero-toggle .ico-play { display: none; }
.hero-toggle.is-paused .ico-play { display: block; }
.hero-toggle.is-paused .ico-pause { display: none; }
.hero-toggle:focus-visible { outline-color: var(--yellow); }

/* ---------- Home: fascia "Adesione Associazione" ---------- */
.adesione {
  position: relative; z-index: 1;
  margin-top: calc(-1 * var(--tilt));
  padding: calc(var(--tilt) + 44px) 0 calc(var(--tilt) + 46px);
  background: linear-gradient(180deg, var(--sky-soft) 0%, var(--sky) 100%);
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--tilt)));
}
.adesione-title { font: 700 clamp(2rem, 5vw, 3.3rem)/1.1 var(--head); margin: 0 0 .45em; }
.adesione-title a { color: var(--cyan); text-decoration: none; }
.adesione-title a:hover { color: var(--link); text-decoration: underline; text-decoration-thickness: 3px; }
.adesione-info { margin: 0; font-style: italic; font-weight: 700; color: var(--ink); }
.adesione-info a { color: var(--link-strong); }

/* ---------- Titoli di sezione ---------- */
.section-title { text-align: center; font: 600 clamp(1.7rem, 3.2vw, 2.35rem)/1.2 var(--head); color: var(--ink); margin: 0 0 38px; }
.section-title a { color: inherit; text-decoration: none; }
.section-title a:hover { color: var(--link); }
.section-title::after { content: ""; display: block; width: 58px; height: 4px; border-radius: 4px; background: var(--yellow); margin: 14px auto 0; }

/* ---------- Home: notizie ed eventi ---------- */
.news { position: relative; z-index: 0; margin-top: calc(-1 * var(--tilt)); padding: calc(var(--tilt) + 50px) 0 76px; background: var(--gray); }
.band { padding: 64px 0; }
.band--tight { padding: 56px 0 44px; }

/* ---------- Schede articolo ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 600px) { .cards, .cards--4 { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover, .card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-media { aspect-ratio: 5 / 3; background: var(--sky); overflow: hidden; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media.is-contain { background: linear-gradient(180deg, #fff, var(--sky)); }
.card-media.is-contain img { object-fit: contain; padding: 14px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 22px; }
.card-title { font: 600 1.08rem/1.38 var(--head); margin: 0 0 10px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title a:focus-visible { outline: none; }
.card:has(.card-title a:focus-visible) { outline: 3px solid var(--link); outline-offset: 3px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0 0 10px; font-size: .84rem; color: var(--muted); }
.card-meta a { position: relative; z-index: 2; color: var(--muted); }
.card-meta a:hover { color: var(--link); }
.card-excerpt { margin: 0 0 16px; font-size: .95rem; line-height: 1.6; color: var(--text); }
.card-more { margin-top: auto; font: 600 .86rem/1.2 var(--head); color: var(--link); }
.card-more::after { content: " \2192"; }
.js .is-extra { display: none; }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 44px; }
.load-status { min-height: 1.2em; margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px; border-radius: 999px; border: 2px solid var(--link);
  background: var(--link); color: #fff; font: 600 .95rem/1.2 var(--head); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--link-strong); border-color: var(--link-strong); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--link-strong); border-color: var(--link-strong); }
.btn--ghost:hover { background: var(--link-strong); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Carosello della rassegna stampa ---------- */
.gallery-band { background: var(--gray-3); padding: 26px 0 18px; }
.carousel { position: relative; padding-inline: 12px; }
.carousel-track {
  position: relative; display: flex; gap: 10px; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 calc((100% - 40px) / 5); margin: 0; scroll-snap-align: start; }
.carousel-slide img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: #c9c7c7; }
@media (max-width: 1000px) { .carousel-slide { flex-basis: calc((100% - 20px) / 3); } }
@media (max-width: 600px) { .carousel-slide { flex-basis: calc((100% - 10px) / 2); } }
.carousel-btn { display: none; }
.js .carousel-btn {
  position: absolute; top: calc(50% - 14px); transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 4px 16px rgba(0, 0, 0, .22); cursor: pointer;
}
.js .carousel-btn:hover { background: #fff; }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-prev { left: 22px; }
.carousel-next { right: 22px; }
.carousel-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-top: 10px; }
.carousel-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.carousel-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: transform .2s ease, background-color .2s ease; }
.carousel-dots button[aria-current="true"]::before { background: #fff; transform: scale(1.35); }
.carousel-dots button:focus-visible { outline-color: #fff; }

/* ---------- Piede di pagina ---------- */
.site-footer { background: var(--gray-2); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; padding-block: 52px 46px; align-items: start; }
.footer-info p { margin: 0 0 .55em; }
.footer-info .org { font-weight: 700; font-style: italic; color: var(--ink); }
.footer-info em { color: #2c2f36; }
.footer-info a { color: var(--link-strong); }
.footer-info .spacer { margin-top: 1.4em; }
.footer-bottom { background: #d4d4d4; padding-block: 14px; font-size: .86rem; color: #30333a; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.footer-bottom a { color: #1f2a33; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* Riquadro Facebook (i post si caricano solo su richiesta) */
.fb-box { max-width: 380px; background: #fff; border: 1px solid #dddfe2; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.fb-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px; }
.fb-head img { width: 54px; height: 54px; object-fit: contain; border: 1px solid #ccd0d5; border-radius: 4px; background: #fff; padding: 2px; }
.fb-name { margin: 0; font: 600 1rem/1.3 var(--body); }
.fb-name a { color: #385898; text-decoration: none; }
.fb-name a:hover { text-decoration: underline; }
.fb-sub { margin: 2px 0 0; font-size: .82rem; color: #606770; }
.fb-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 12px; }
.fb-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px;
  border: 1px solid #ccd0d5; border-radius: 6px; background: #f5f6f7; color: #1c1e21;
  font: 600 .84rem/1.2 var(--body); text-decoration: none; cursor: pointer;
}
.fb-btn:hover { background: #ebedf0; color: #1c1e21; }
.fb-btn svg { width: 16px; height: 16px; }
.fb-btn--fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.fb-btn--fb:hover { background: #166fe5; color: #fff; }
.fb-note { margin: 0; padding: 0 14px 14px; font-size: .78rem; line-height: 1.45; color: #606770; }
.fb-frame { border-top: 1px solid #dddfe2; }
.fb-frame iframe { display: block; width: 100%; height: 520px; border: 0; }

/* ---------- Pagine interne ---------- */
.page-band {
  background: linear-gradient(180deg, var(--sky-soft) 0%, var(--sky) 100%);
  padding: 34px 0 calc(var(--tilt) * .55 + 30px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tilt) * .55), 0 100%);
}
.crumbs { margin: 0 0 12px; font-size: .86rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "\203A"; color: var(--muted); }
.crumbs a { color: var(--link-strong); }
.crumbs [aria-current] { color: var(--text); }
.page-eyebrow { margin: 0 0 8px; font: 600 .8rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--link-strong); }
.page-title { margin: 0; font: 700 clamp(1.8rem, 4.2vw, 2.9rem)/1.14 var(--head); max-width: 26ch; }
.page-lead { margin: 14px 0 0; max-width: 62ch; color: var(--text); }
.page-main { padding-block: 34px 80px; }
.page-count { margin: 0 0 26px; color: var(--muted); font-size: .95rem; }

/* ---------- Testo degli articoli e delle pagine ---------- */
.prose { max-width: 860px; }
.prose--center { margin-inline: auto; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.28rem; margin-top: 1.4em; }
.prose h4 { font-size: 1.1rem; margin-top: 1.3em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--cyan); }
.prose blockquote { margin: 1.5em 0; padding: .7em 1.2em; border-left: 4px solid var(--yellow); background: #fafafa; border-radius: 0 10px 10px 0; }
.prose figure { margin: 1.8em 0; }
.prose figure img { display: block; border-radius: 12px; }
.prose figcaption { margin-top: 8px; font-size: .88rem; color: var(--muted); }
.prose .media-single img { width: auto; max-width: 100%; max-height: 80vh; margin-inline: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.has-text-align-justify { text-align: justify; }
img.is-zoomable { cursor: zoom-in; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 1.9em 0; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--sky); }

/* Link agli articoli di giornale (erano anteprime incorporate) */
.press-cards { display: grid; gap: 12px; margin: 1.7em 0; }
.press-card {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.press-card:hover { border-color: var(--cyan); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.press-ico { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--sky); color: var(--link-strong); }
.press-ico svg { width: 20px; height: 20px; }
.press-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.press-src { font: 600 .74rem/1.3 var(--head); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.press-title { font: 600 1rem/1.42 var(--head); color: var(--ink); overflow-wrap: anywhere; }
.press-card:hover .press-title { color: var(--link); }
.press-go { margin-left: auto; align-self: center; color: var(--muted); flex: 0 0 auto; }
.press-go svg { width: 18px; height: 18px; }
.press-card--fb .press-ico { background: #e7f0fe; color: #1877f2; }
.press-card--file .press-ico { background: #fff4c2; color: #6b5800; }

/* Pagina Rassegna stampa */
.press-year { display: flex; align-items: center; gap: 16px; margin: 1.8em 0 .9em; font: 700 1.6rem/1.2 var(--head); color: var(--ink); }
.press-year::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--yellow), rgba(254, 219, 3, 0)); }
.press-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.press-list li { margin: 0; }
.press-list a { display: flex; align-items: flex-start; gap: 12px; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.press-list a:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.press-list .press-ico { width: 34px; height: 34px; border-radius: 9px; }
.press-list .press-ico svg { width: 17px; height: 17px; }
.press-list .press-title { font-size: .95rem; }
.press-list a:hover .press-title { color: var(--link); }
@media (max-width: 800px) { .press-list { grid-template-columns: 1fr; } }

/* Riquadri con immagine (aree di intervento, formazione, progetti) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 26px; margin: 1.6em 0; }
.tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 18px; background: var(--sky); box-shadow: var(--shadow); color: #fff; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: #fff; }
.tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.06); }
.tile-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 20px 18px; background: linear-gradient(180deg, rgba(8, 10, 16, 0), rgba(8, 10, 16, .8)); font: 600 1.15rem/1.3 var(--head); color: #fff; }

/* Scheda di un articolo del sito (pagina Assemblee) */
.post-embed { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: start; margin: 0 0 20px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.post-embed:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.post-embed img { display: block; width: 170px; height: 128px; object-fit: contain; border-radius: 10px; background: linear-gradient(180deg, #fff, var(--sky)); padding: 8px; }
.post-embed h3 { margin: 0 0 6px; font-size: 1.15rem; }
.post-embed h3 a { color: var(--ink); text-decoration: none; }
.post-embed h3 a::after { content: ""; position: absolute; inset: 0; }
.post-embed p { margin: 0 0 8px; font-size: .95rem; line-height: 1.6; }
.post-embed .card-meta { margin-bottom: 6px; }
@media (max-width: 560px) { .post-embed { grid-template-columns: 1fr; } .post-embed img { width: 100%; height: 170px; } }

/* Video */
.yt { position: relative; max-width: 860px; margin: 1.8em 0; }
.yt-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.yt-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt-btn img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: opacity .2s ease; }
.yt-btn:hover img { opacity: 1; }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; }
.yt-play svg { width: 78px; height: 55px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .45)); }
.yt-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .75)); color: #fff; font: 600 .95rem/1.35 var(--head); text-align: left; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-note { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.no-js .yt-btn { cursor: default; }
.video-embed { margin: 1.8em 0; }
.video-embed video { display: block; width: 100%; max-height: 80vh; border-radius: 12px; background: #000; }

/* Documenti PDF */
.pdf { margin: 1.8em 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.pdf-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #f6f8fb; border-bottom: 1px solid var(--line); }
.pdf-title { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 1rem/1.3 var(--head); color: var(--ink); }
.pdf-title svg { width: 22px; height: 22px; color: #c0392b; flex: 0 0 auto; }
.pdf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pdf-actions .btn { min-height: 40px; padding: 8px 18px; font-size: .88rem; }
.pdf iframe { display: block; width: 100%; height: 78vh; border: 0; }
@media (max-width: 900px) { .pdf iframe { display: none; } .pdf-head { border-bottom: 0; } }

/* ---------- Articolo ---------- */
.post-wrap { max-width: 900px; margin-inline: auto; }
.post-hero { margin: 0 0 30px; border-radius: 18px; overflow: hidden; background: var(--sky); box-shadow: var(--shadow); }
.post-hero img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-hero.is-contain { background: linear-gradient(180deg, #fff, var(--sky)); }
.post-hero.is-contain img { aspect-ratio: auto; width: auto; max-width: 100%; max-height: 560px; margin-inline: auto; padding: 22px; object-fit: contain; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 0; font-size: .92rem; color: var(--muted); }
.post-meta a { color: var(--link-strong); }
.post-meta svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; font-size: .92rem; }
.post-tags a { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--sky); color: var(--link-strong); text-decoration: none; font-weight: 600; }
.post-tags a:hover { background: #d5e5ff; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.share-label { margin-right: 4px; font: 600 .92rem/1.2 var(--head); color: var(--ink); }
.share a, .share button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.share a:hover, .share button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.share svg { width: 18px; height: 18px; }
.share-status { font-size: .88rem; color: var(--link-strong); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.post-nav a:hover { border-color: var(--cyan); box-shadow: var(--shadow); color: var(--ink); }
.post-nav .next { grid-column: 2; text-align: right; }
.post-nav small { font: 600 .74rem/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-nav span { font: 600 1rem/1.38 var(--head); }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: auto; text-align: left; } }

/* ---------- Pagina Adesioni ---------- */
.join-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px; align-items: start; }
.join-card { position: sticky; top: 120px; padding: 24px; border-radius: 18px; background: linear-gradient(180deg, #fff, var(--sky)); border: 1px solid #cfe0fb; box-shadow: var(--shadow); text-align: center; }
.join-card h2 { margin: 10px 0 8px; font-size: 1.35rem; }
.join-card p { margin: 0 0 16px; font-size: .95rem; }
.join-card .doc-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #fff; color: #2b579a; box-shadow: 0 4px 14px rgba(43, 87, 154, .18); }
.join-card .doc-ico svg { width: 34px; height: 34px; }
.join-card .btn { width: 100%; }
.join-card small { display: block; margin-top: 10px; color: var(--muted); }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; gap: 28px; } .join-card { position: static; } }

/* ---------- Pagina 404 ---------- */
.notfound { text-align: center; padding: 30px 0 20px; }
.notfound .big { font: 700 clamp(4rem, 14vw, 8rem)/1 var(--head); color: var(--cyan); margin: 0; }
.notfound .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

/* ---------- Ritocchi di composizione ---------- */
.no-js [data-load-more], .no-js [data-fb-load] { display: none; }
.prose--wide { max-width: none; }
.prose .cards, .prose .press-list, .prose .tiles { padding-left: 0; margin-left: 0; }
.prose .cards > li, .prose .press-list > li { margin: 0; }
.cards .card-title { margin: 0 0 10px; font: 600 1.08rem/1.38 var(--head); letter-spacing: 0; }
.cards--4 .card-title { font-size: 1.02rem; }
.cards .card-meta, .cards .card-excerpt { margin-top: 0; }
.post-embed h2 { margin: 0 0 6px; font-size: 1.15rem; }
.post-embed h2 a { color: var(--ink); text-decoration: none; }
.post-embed h2 a::after { content: ""; position: absolute; inset: 0; }
.page-band .post-meta { margin-top: 14px; }

/* ---------- Ingrandimento foto ---------- */
.lightbox { max-width: min(96vw, 1500px); max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 10, 16, .9); }
.lightbox img { display: block; max-width: 96vw; max-height: 90vh; width: auto; height: auto; border-radius: 8px; }
.lightbox-close { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }

/* ---------- Comparsa morbida ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .share, .post-nav, .hero-toggle, .carousel-btn, .fb-box, .load-more { display: none !important; }
  .page-band, .adesione, .hero { clip-path: none; background: none; color: #000; }
  a { color: #000; }
}
