/* Caratteri: Inter e Playfair Display (licenza SIL Open Font License), file in
   static/fonts. Sono font variabili: un file copre tutti i pesi indicati. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Component classes for templates/index.html — kept as real CSS because
   Tailwind's browser CDN build does not compile @apply inside <style> tags. */

.nav-item {
  padding: .5rem 1rem;
  border-radius: .375rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: #e5e5e5;
  position: relative;
  transition: .2s;
}
.nav-item:hover {
  color: #fff;
  background: rgba(38,38,38,.8);
}
.nav-item[aria-current="page"] {
  background: #8b1e22;
  color: #fff;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.4);
}
.nav-item-mobile {
  display: block;
  padding: .75rem 1rem;
  border-radius: .5rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: #e5e5e5;
  transition: .2s;
}
.nav-item-mobile:hover {
  color: #fff;
  background: #262626;
}
.nav-item-mobile[aria-current="page"] {
  background: #8b1e22;
  color: #fff;
}

/* Tra 1024 e 1280px il menu completo sta accanto al logo e a "Prenota" solo
   con le voci un po' più strette: con sette voci, a 1024px avanzano circa 30px.
   Le voci non vanno mai a capo ("Il Civettino" su due righe alza la barra). */
.nav-item { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-item { padding: .5rem .55rem; }
}
/* Pulsante "Prenota" dell'header: lo stile è quello di .btn-donate, più compatto. */
.btn-donate.btn-prenota-nav {
  padding: .4rem 1rem .4rem .8rem;
  font-size: .8125rem;
  box-shadow: 0 4px 10px -4px rgba(179,135,47,.5);
}
.btn-donate.btn-prenota-mobile {
  display: flex;
  justify-content: center;
  padding: .75rem 1rem;
  margin-bottom: .5rem;
}

/* Il logo sporge di 34px sotto la barra dell'header: una sezione raggiunta da
   un link si ferma più in basso, così il titolo non finisce dietro lo scudetto.
   :where() tiene bassa la specificità, per non scavalcare .organi-section. */
:where(section, footer)[id] { scroll-margin-top: 2.5rem; }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #f5f5f5;
  font-size: 1.875rem;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}
.lead {
  color: #d4d4d4;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .lead { font-size: 1.125rem; }
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: .375rem;
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: -.01em;
  transition: .2s;
  padding: .625rem 1.25rem;
}
.btn-primary:active,
.btn-outline:active { transform: scale(.98); }

.btn-primary {
  background: #8b1e22;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.4);
}
.btn-primary:hover { background: #a8353a; }

/* Home: foto quasi a piena luce; il velo scuro sta solo dietro alle scritte
   (al centro su mobile, a sinistra da 768px) e un alone le stacca dal tufo.
   Ancorata in alto, così il fantino resta intero. */
.hero-img { filter: brightness(.9) saturate(1.1); object-position: 50% 0; }
.hero-velo {
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(10,10,10,.6), rgba(10,10,10,.25) 100%);
}
@media (min-width: 768px) {
  .hero-velo {
    background: linear-gradient(to right, rgba(10,10,10,.75) 0%, rgba(10,10,10,.55) 35%, rgba(10,10,10,.15) 65%, rgba(10,10,10,0) 85%);
  }
}
.hero-testo h1,
.hero-testo p {
  text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 2px 18px rgba(0,0,0,.5);
}

.btn-primary-hero,
.btn-outline-hero {
  border-radius: .875rem;
  padding: 1.05rem 2.5rem;
  font-size: .95rem;
  letter-spacing: .01em;
  color: #f5f2ec;
  background: #1c1a16;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.6);
}
.btn-primary-hero:hover,
.btn-outline-hero:hover {
  background: #2c2924;
}

.btn-outline-hero {
  background: #14120e;
}
.btn-outline-hero:hover {
  background: #201d18;
}

.btn-outline {
  border: 1px solid #8b1e22;
  color: #8b1e22;
  background: transparent;
}
.btn-outline:hover { background: #8b1e22; color: #fff; }

.prose {
  color: #d4d4d4;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.prose h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: #f5f5f5;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  margin: 2.5rem 0 1rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-weight: 600;
  color: #f5f5f5;
  font-size: 1.125rem;
  margin: 1.75rem 0 .5rem;
}
.prose h2 + h3 { margin-top: 0; }
.prose p { margin: 0 0 1.25rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: #f5f5f5; font-weight: 600; }
.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  list-style: none;
}
.prose li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .6rem;
}
.prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b1e22;
}

.pull-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.55;
  color: #f5f2ec;
  border-left: 3px solid #8b1e22;
  padding: .25rem 0 .25rem 1.5rem;
  margin: 2rem 0;
}
.pull-quote cite {
  display: block;
  margin-top: .75rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-size: .8125rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.page-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 40vh;
  padding-top: 4rem;
}
.page-banner .page-banner-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-banner .page-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.4) saturate(1.1);
}
.page-banner .page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.95), rgba(10,10,10,.4) 60%, rgba(10,10,10,.15));
  z-index: -1;
}
.breadcrumb {
  font-size: .8125rem;
  color: #a3a3a3;
  letter-spacing: .02em;
}
.breadcrumb a { color: #a3a3a3; transition: .2s; }
.breadcrumb a:hover { color: #fff; }

/* Territorio: mappa con le aree cliccabili ed elenco dei luoghi */
.territorio-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .territorio-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: start; }
  .territorio-pannello {
    position: sticky;
    top: 7rem;
    max-height: calc(100vh - 8.5rem);
    overflow-y: auto;
  }
}
.territorio-mappa {
  position: relative;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid #262626;
  background: #171717;
}
.territorio-mappa img { display: block; width: 100%; height: auto; }
.territorio-aree { position: absolute; inset: 0; width: 100%; height: 100%; }
.territorio-aree polygon {
  fill: #8b1e22;
  fill-opacity: 0;
  stroke: #0a0a0a;
  stroke-opacity: 0;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill-opacity .15s, stroke-opacity .15s;
}
.territorio-aree a { outline: none; }
.territorio-aree a:hover polygon,
.territorio-aree a:focus-visible polygon,
.territorio-aree a.is-hover polygon { fill-opacity: .46; stroke-opacity: 1; }
.territorio-aree a.is-active polygon { fill-opacity: .6; stroke-opacity: 1; }
.territorio-zoom { border: 0; cursor: zoom-in; }
.territorio-intera {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-top: .75rem;
  padding: .6rem;
  font-size: .875rem;
  font-weight: 500;
  color: #d4d4d4;
  transition: .2s;
}
.territorio-intera:hover { color: #fff; }
.territorio-pannello {
  border-radius: .75rem;
  border: 1px solid #262626;
  background: #171717;
  padding: 1.5rem;
}
.territorio-invito { font-size: .875rem; color: #a3a3a3; margin-bottom: 1.25rem; }
.territorio-gruppo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #f5f5f5;
  margin: 1.25rem 0 .5rem;
}
.territorio-elenco a {
  display: block;
  padding: .45rem .6rem;
  margin: 0 -.6rem;
  border-radius: .375rem;
  font-size: .9375rem;
  color: #d4d4d4;
  transition: .15s;
}
.territorio-elenco a:hover,
.territorio-elenco a.is-hover { background: #262626; color: #fff; }
.territorio-indietro,
.territorio-apri {
  font-size: .875rem;
  font-weight: 500;
  color: #8b1e22;
  transition: .2s;
}
.territorio-indietro:hover,
.territorio-apri:hover { color: #a8353a; }
.territorio-apri { display: inline-block; margin-top: 1.5rem; }
.territorio-scheda-titolo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #f5f5f5;
  margin: 1rem 0 1.25rem;
  outline: none;
}
/* Scheda di un luogo: nella sua pagina e nel pannello della mappa */
.luogo-scheda { display: grid; gap: 1.5rem; }
.luogo-foto button {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid #262626;
  background: #171717;
  cursor: zoom-in;
}
.luogo-foto img { display: block; width: 100%; height: auto; }
.luogo-foto figcaption { margin-top: .4rem; font-size: .75rem; color: #737373; }
.luogo-rimandi { display: flex; flex-wrap: wrap; gap: .75rem; }
#territorioCorpo .prose { font-size: .9375rem; }
.map-thumb-hint {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .6rem;
  border-radius: .375rem;
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(4px);
  color: #f5f5f5;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.map-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5,5,5,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.map-lightbox.hidden { display: none; }
.map-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: .5rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.map-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  transition: .2s;
}
.map-lightbox-close:hover { background: rgba(255,255,255,.2); }
.map-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  transition: .2s;
}
.map-lightbox-nav:hover { background: #8b1e22; }
.map-lightbox-prev { left: 1.25rem; }
.map-lightbox-next { right: 1.25rem; }
.map-lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.1);
  color: #e5e5e5;
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}
.map-lightbox-nav.hidden,
.map-lightbox-counter.hidden { display: none; }
@media (min-width: 640px) { .map-lightbox.is-gallery { padding: 2rem 5.5rem; } }
@media (max-width: 639px) {
  .map-lightbox.is-gallery { padding-bottom: 5rem; }
  .map-lightbox-nav { top: auto; bottom: 1rem; transform: none; width: 2.75rem; height: 2.75rem; }
  .map-lightbox-counter { bottom: 1.6rem; }
}

/* Palii vinti */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #262626;
  border: 1px solid #262626;
  border-radius: .75rem;
  overflow: hidden;
}
.stat-cell {
  background: #171717;
  padding: 1.5rem 1rem;
  text-align: center;
}
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 2.25rem;
  color: #f5f2ec;
  line-height: 1;
}
.stat-label {
  margin-top: .4rem;
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #a3a3a3;
}

.era-block { margin-top: 4rem; }
.era-block:first-of-type { margin-top: 2.5rem; }
.era-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #f5f2ec;
  letter-spacing: -.01em;
}
.era-subtitle {
  margin-top: .35rem;
  color: #a3a3a3;
  font-size: .9375rem;
}

.timeline {
  position: relative;
  margin-top: 2.5rem;
  padding-left: 2.25rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: .3125rem;
  top: .5rem;
  bottom: .5rem;
  width: 1px;
  background: linear-gradient(to bottom, #8b1e22, #262626 92%);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.25rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.25rem;
  top: .4rem;
  width: .625rem;
  height: .625rem;
  border-radius: 50%;
  background: #8b1e22;
  box-shadow: 0 0 0 3px #0a0a0a;
}
.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .6rem .9rem;
}
.timeline-year {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #f5f2ec;
}
.timeline-occasion {
  font-size: .8125rem;
  color: #a3a3a3;
  font-style: italic;
}
.timeline-badge {
  display: inline-block;
  padding: .15rem .6rem;
  border-radius: 9999px;
  background: rgba(139,30,34,.18);
  color: #d9a1a3;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.timeline-meta {
  margin-top: .5rem;
  font-size: .8125rem;
  color: #8b8b85;
}
.timeline-meta strong { color: #d4d4d4; font-weight: 500; }
.timeline-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .75rem;
  font-size: .8125rem;
  font-weight: 600;
  color: #8b1e22;
  transition: .2s;
}
.timeline-more:hover { color: #a8353a; }
.timeline-text {
  margin-top: .6rem;
  color: #d4d4d4;
  line-height: 1.7;
  max-width: 72ch;
}

.timeline-item.has-thumb {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.timeline-body { flex: 1 1 auto; min-width: 0; }
.timeline-thumb {
  flex: none;
  width: 5.5rem;
  border-radius: .375rem;
  overflow: hidden;
  border: 1px solid #262626;
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
  cursor: zoom-in;
  padding: 0;
  transition: .2s;
}
.timeline-thumb:hover { border-color: #8b1e22; transform: translateY(-2px); }
.timeline-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 640px) {
  .timeline-item.has-thumb { flex-direction: column; }
  .timeline-thumb { width: 3.5rem; }
}

/* Museo */
.video-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #262626;
  background: #141210;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.6);
}
@media (min-width: 900px) {
  .video-feature { grid-template-columns: 1.4fr 1fr; }
}
.video-feature-media {
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-feature-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.video-feature-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.video-feature-body .btn-primary,
.video-feature-body .btn-donate {
  align-self: flex-start;
}

.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: -.01em;
  padding: .625rem 1.5rem .625rem 1.25rem;
  background: linear-gradient(180deg, #d9b968, #b3872f);
  color: #3a2a0a;
  box-shadow: 0 6px 16px -4px rgba(179,135,47,.5);
  transition: .2s;
}
.btn-donate:hover {
  background: linear-gradient(180deg, #e6c87c, #c2953a);
  box-shadow: 0 8px 20px -4px rgba(179,135,47,.65);
  transform: translateY(-1px);
}
.btn-donate:active { transform: translateY(0); }

.museo-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.museo-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: .25rem 0 1rem;
  flex: 1;
}
.museo-carousel::-webkit-scrollbar { display: none; }
.museo-carousel-slide {
  flex: 0 0 auto;
  width: 68%;
  scroll-snap-align: center;
}
@media (min-width: 640px) { .museo-carousel-slide { width: 42%; } }
@media (min-width: 1024px) { .museo-carousel-slide { width: 27%; } }
.museo-carousel-item {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: none;
  cursor: zoom-in;
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.55);
  transition: .25s;
}
.museo-carousel-item:hover { transform: translateY(-4px) scale(1.015); box-shadow: 0 16px 32px -8px rgba(0,0,0,.65); }
.museo-carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-arrow {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171717;
  border: 1px solid #262626;
  color: #e5e5e5;
  transition: .2s;
}
.carousel-arrow:hover { background: #8b1e22; border-color: #8b1e22; color: #fff; }
.museo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: .5rem;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #404040;
  padding: 0;
  border: none;
  transition: .2s;
}
.carousel-dot.is-active { background: #8b1e22; width: 20px; border-radius: 4px; }
.carousel-counter {
  font-size: .8125rem;
  color: #a3a3a3;
  letter-spacing: .02em;
}

/* Footer */
.footer-civetta {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  border-top: 1px solid #262626;
}
.footer-civetta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #8b1e22, transparent);
}
.footer-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 4rem 0 3rem;
  text-align: center;
}
.footer-stemma {
  width: 7.5rem;
  height: auto;
  margin-bottom: .5rem;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.5));
}
.footer-nome {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -.01em;
  color: #f5f2ec;
}
.footer-indirizzo {
  font-style: normal;
  font-size: .875rem;
  line-height: 1.6;
}
.footer-email {
  font-size: .875rem;
  color: #d4d4d4;
  transition: .2s;
}
.footer-email:hover { color: #a8353a; }
.footer-socials {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .75rem;
}
.footer-social {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #262626;
  color: #d4d4d4;
  transition: .2s;
}
.footer-social:hover {
  background: #8b1e22;
  border-color: #8b1e22;
  color: #fff;
  transform: translateY(-2px);
}
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #1a1a1a;
  padding: 1.5rem 0;
  font-size: .75rem;
  letter-spacing: .02em;
  color: #737373;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.5rem;
}
.footer-totop {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #a3a3a3;
  font-weight: 500;
  transition: .2s;
}
.footer-totop:hover { color: #f5f2ec; }

/* Civettino */
.civettini-year { margin-top: 3rem; }
.civettini-year:first-of-type { margin-top: 0; }
.civettini-year-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.25rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #f5f5f5;
  letter-spacing: -.01em;
}
.civettini-year-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #262626;
}
.civettini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.civettino-card {
  text-decoration: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.civettino-card:hover { border-color: #8b1e22; }
.civettino-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: .5rem;
  overflow: hidden;
  background: #262626;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.civettino-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .3s;
}
.civettino-cover.is-loaded img { opacity: 1; }
.civettino-cover-fallback {
  position: absolute;
  font-size: 3rem;
  color: #737373;
}
.civettino-cover.is-loaded .civettino-cover-fallback { display: none; }

/* Reader modale */
body.reader-open { overflow: hidden; }
.reader-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: #000;
}
.reader-modal[hidden] { display: none; }
.reader-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid #1f1f1f;
  background: #000;
}
.reader-close-wrap { display: flex; justify-content: flex-end; }
.reader-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #f5f5f5;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reader-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
}
.reader-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  border: 1px solid #333;
  background: #171717;
  color: #e5e5e5;
  font: inherit;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: .15s;
  text-decoration: none;
}
.reader-btn svg { width: 1.125rem; height: 1.125rem; }
.reader-btn:hover { background: #8b1e22; border-color: #8b1e22; color: #fff; }
.reader-btn:disabled { opacity: .35; cursor: default; }
.reader-btn:disabled:hover { background: #171717; border-color: #333; color: #e5e5e5; }
.reader-pages {
  color: #a3a3a3;
  font-size: .875rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: 0 .25rem;
}
.reader-pages input {
  width: 2.75rem;
  height: 2.25rem;
  text-align: center;
  border-radius: .5rem;
  border: 1px solid #333;
  background: #171717;
  color: #f5f5f5;
  font: inherit;
  font-size: .875rem;
  -moz-appearance: textfield;
}
.reader-pages input::-webkit-outer-spin-button,
.reader-pages input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.reader-pages input:focus { outline: none; border-color: #8b1e22; }
.reader-sep { width: 1px; height: 1.5rem; background: #333; margin: 0 .25rem; }
.reader-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem .5rem;
  overflow: hidden;
}
.reader-stage.is-zoomed { overflow: auto; }
.reader-book {
  flex: 1;
  min-height: 0;
  width: 100%;
  position: relative;
}
.reader-stage.is-zoomed .reader-book { flex: none; }
.reader-stage.is-zoomed .reader-hint { display: none; }
.reader-btn-text { width: auto; padding: 0 .6rem; font-size: .8125rem; font-weight: 500; min-width: 3.5rem; }
.reader-book canvas { display: block; }
.reader-hint {
  text-align: center;
  font-size: .75rem;
  color: #737373;
  margin: .5rem 0 0;
}
.reader-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #f5f5f5;
}
.reader-loading-text { font-size: .875rem; color: #a3a3a3; }
.reader-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 3px solid #262626;
  border-top-color: #8b1e22;
  animation: reader-spin .8s linear infinite;
}
@keyframes reader-spin { to { transform: rotate(360deg); } }
.reader-error { color: #f5f5f5; }
@media (max-width: 640px) {
  .reader-bar { grid-template-columns: 1fr auto; row-gap: .5rem; padding: .5rem .75rem; }
  .reader-title { font-size: 1rem; grid-row: 1; grid-column: 1; }
  .reader-close-wrap { grid-row: 1; grid-column: 2; }
  .reader-controls { grid-row: 2; grid-column: 1 / -1; gap: .25rem; }
  .reader-stage { padding: .5rem .5rem .25rem; }
  .reader-hint { display: none; }
}

/* Organi */
.organi-nav {
  background: rgba(10,10,10,.88);
  border-bottom: 1px solid #262626;
}
.organi-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .75rem 0;
}
/* Sticky only where the chips clear the logo that hangs below the header */
@media (min-width: 1024px) {
  .organi-nav {
    position: sticky;
    top: 4rem;
    z-index: 40;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .organi-nav-list { justify-content: flex-end; }
}
.organi-chip {
  display: inline-block;
  white-space: nowrap;
  padding: .4rem .9rem;
  border-radius: 9999px;
  border: 1px solid #333;
  font-size: .8125rem;
  font-weight: 500;
  color: #d4d4d4;
  transition: .2s;
}
.organi-chip:hover { border-color: #8b1e22; color: #fff; }
.organi-chip.is-active { background: #8b1e22; border-color: #8b1e22; color: #fff; }
.organi-section { scroll-margin-top: 7.5rem; }
.organi-group + .organi-group { margin-top: 3rem; }

.organi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.organo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.25rem 1.25rem 1.25rem 1.4rem;
  border-radius: .75rem;
  border: 1px solid #262626;
  background: #171717;
  transition: .2s;
}
.organo-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 2px;
  border-radius: 2px;
  background: #8b1e22;
  opacity: .55;
}
.organo-card:hover { border-color: #404040; }
.organo-card.is-featured {
  background: linear-gradient(135deg, rgba(139,30,34,.22), #171717 70%);
  border-color: rgba(139,30,34,.45);
}
.organo-card.is-featured::before { opacity: 1; }
@media (min-width: 640px) {
  .organo-card.is-featured { grid-column: span 2; padding: 1.75rem 1.75rem 1.75rem 2rem; }
  .organo-card.is-featured .organo-name { font-size: 1.625rem; }
}
.organo-role {
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.45;
  color: #d9a1a3;
}
.organo-name,
.organo-people li {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.35;
  color: #f5f5f5;
}
.organo-people { display: flex; flex-direction: column; gap: .2rem; }

.organi-members-wrap {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: .75rem;
  border: 1px solid #262626;
  background: #131313;
}
.organi-members {
  margin-top: .75rem;
  columns: 1;
  column-gap: 2rem;
  font-size: .9375rem;
  color: #e5e5e5;
}
@media (min-width: 540px) { .organi-members { columns: 2; } }
@media (min-width: 900px) { .organi-members { columns: 3; } }
.organi-members li { padding: .3rem 0; break-inside: avoid; border-bottom: 1px solid #1f1f1f; }
.organi-members li.is-vice { display: flex; align-items: baseline; gap: .5rem; font-weight: 600; color: #f5f5f5; }
.organi-members li.is-vice .organi-tag { color: #d9a1a3; }

.organi-list { border-top: 1px solid #262626; }
.organi-row {
  display: grid;
  gap: .6rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #262626;
}
@media (min-width: 768px) {
  .organi-row { grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; }
}
.organi-row-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: #f5f5f5;
}
.organi-names {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.organi-names li {
  padding: .2rem .65rem;
  border-radius: 9999px;
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  font-size: .8125rem;
  color: #d4d4d4;
}
.organi-names li.is-capo,
.organi-names li.is-vice { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.organi-names li.is-capo { background: #8b1e22; border-color: #8b1e22; color: #fff; }
.organi-names li.is-vice { background: rgba(139,30,34,.18); border-color: rgba(139,30,34,.6); color: #f5f5f5; }
.organi-tag {
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .8;
}
.organi-names li.is-vice .organi-tag { color: #d9a1a3; opacity: 1; }

.organi-contact {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  font-size: .875rem;
  color: #a3a3a3;
}
.organi-contact svg { color: #8b1e22; }
.organi-contact a { color: #e5e5e5; transition: .2s; }
.organi-contact a:hover { color: #a8353a; }

/* Dropdown menu (header) */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
}
.nav-dropdown-toggle svg { transition: transform .2s; }
.nav-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + .6rem);
  left: 0;
  width: 19rem;
  padding: .5rem;
  border-radius: .75rem;
  border: 1px solid #262626;
  background: #171717;
  box-shadow: 0 4px 24px -4px rgba(0,0,0,.45), 0 2px 8px -2px rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
/* hover bridge between toggle and panel */
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -.7rem;
  height: .7rem;
}
.nav-dropdown.is-open .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@media (hover: hover) {
  .nav-dropdown:hover .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}
.nav-dropdown-link {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: .6rem .75rem;
  border-radius: .5rem;
  transition: .15s;
}
.nav-dropdown-link:hover { background: #262626; }
.nav-dropdown-title {
  font-size: .875rem;
  font-weight: 500;
  color: #f5f5f5;
}
.nav-dropdown-desc {
  font-size: .75rem;
  color: #a3a3a3;
}
.nav-dropdown-link[aria-current="page"] { background: rgba(139,30,34,.18); }
.nav-dropdown-link[aria-current="page"] .nav-dropdown-title { color: #d9a1a3; }

.nav-mobile-group {
  padding-bottom: .5rem;
  margin-bottom: .25rem;
  border-bottom: 1px solid #262626;
}
.nav-mobile-heading {
  padding: .5rem 1rem .25rem;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #d9a1a3;
}
.nav-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .25rem;
}

/* Protettori */
.pay-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: .75rem;
  border: 1px solid #262626;
  background: #171717;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.4);
}
.pay-card.is-featured {
  background: linear-gradient(135deg, rgba(139,30,34,.22), #171717 70%);
  border-color: rgba(139,30,34,.45);
}
.pay-card .btn-donate { align-self: flex-start; margin-top: auto; }
.pay-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.375rem;
  color: #f5f5f5;
  letter-spacing: -.01em;
}
.pay-card-text { color: #d4d4d4; line-height: 1.7; font-size: .9375rem; }
.pay-steps { display: flex; flex-direction: column; gap: .75rem; font-size: .9375rem; color: #d4d4d4; }
.pay-steps li { display: flex; gap: .75rem; align-items: baseline; }
.pay-steps strong { color: #f5f5f5; font-weight: 600; }
.pay-steps .pay-step-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: #8b1e22;
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  transform: translateY(-.1rem);
}
.pay-file-meta { font-weight: 400; opacity: .75; font-size: .75rem; }
.pay-details { display: flex; flex-direction: column; }
.pay-details > div {
  display: grid;
  gap: .25rem;
  padding: .85rem 0;
  border-bottom: 1px solid #262626;
}
.pay-details > div:first-child { padding-top: 0; }
.pay-details > div:last-child { border-bottom: 0; padding-bottom: 0; }
.pay-details dt {
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #d9a1a3;
}
.pay-details dd { color: #f5f5f5; font-size: .9375rem; }
.pay-details code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.pay-iban-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.pay-iban { font-size: 1.0625rem; color: #fff; }
.pay-copy {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 9999px;
  border: 1px solid #333;
  font-size: .75rem;
  font-weight: 500;
  color: #d4d4d4;
  transition: .2s;
}
.pay-copy:hover { border-color: #8b1e22; background: #8b1e22; color: #fff; }
.pay-contact { justify-content: center; }
.pay-email { color: #f5f5f5; font-weight: 500; overflow-wrap: anywhere; transition: .2s; }
/* Addetti ai Protettori: schede a tutta larghezza, come la commissione sotto */
.protettori-addetti { grid-template-columns: 1fr; }
.protettori-addetti .organo-card.is-featured { grid-column: auto; }
.pay-email:hover { color: #d9a1a3; }
.organo-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-top: .25rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .8125rem;
  font-weight: 500;
  color: #d9a1a3;
  transition: .2s;
}
.organo-link::after { content: '\2192'; }
.organo-link:hover { color: #fff; }
.organi-row-title .organo-link { display: flex; width: fit-content; }

/* Link che rende cliccabile tutta la scheda */
.stretched-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }

/* Eventi */
.eventi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.evento-card {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: .75rem;
  border: 1px solid #262626;
  background: #171717;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.4);
  transition: .2s;
}
.evento-card:hover { border-color: rgba(139,30,34,.6); transform: translateY(-2px); }
.evento-data {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 4.25rem;
  height: 4.75rem;
  padding: 0 .5rem;
  border-radius: .625rem;
  background: linear-gradient(160deg, #8b1e22, #5e1215);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.evento-giorno {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  white-space: nowrap;
}
.evento-mese {
  margin-top: .3rem;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .85;
}
.evento-body { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.evento-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .15rem; }
.evento-prenota {
  display: inline-block;
  padding: .15rem .6rem;
  border-radius: 9999px;
  border: 1px solid #333;
  color: #d4d4d4;
  font-size: .6875rem;
  font-weight: 500;
}
.evento-titolo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.3;
  color: #f5f5f5;
}
.evento-card:hover .evento-titolo { color: #fff; }
.evento-quando { font-size: .875rem; color: #e5e5e5; font-weight: 500; }
.evento-quando::first-letter { text-transform: uppercase; }
.evento-luogo { display: flex; align-items: center; gap: .35rem; font-size: .8125rem; color: #a3a3a3; }
.evento-luogo svg { color: #8b1e22; flex: none; }
.evento-desc {
  margin-top: .25rem;
  font-size: .875rem;
  line-height: 1.6;
  color: #bdbdbd;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.eventi-vuoto {
  padding: 2rem;
  border-radius: .75rem;
  border: 1px dashed #333;
  color: #a3a3a3;
  font-size: .9375rem;
  line-height: 1.6;
}
.eventi-vuoto-titolo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: .35rem;
}
.archivio-lista { border-top: 1px solid #262626; }
.archivio-riga {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: .25rem 1rem;
  padding: .85rem .5rem;
  border-bottom: 1px solid #262626;
  transition: .15s;
}
.archivio-riga:hover { background: #171717; }
.archivio-data { font-size: .8125rem; font-weight: 600; color: #d9a1a3; text-transform: uppercase; letter-spacing: .04em; }
.archivio-titolo { color: #e5e5e5; font-weight: 500; }
.archivio-riga:hover .archivio-titolo { color: #fff; }
.archivio-cat { grid-column: 2; font-size: .75rem; color: #8b8b85; }
@media (min-width: 768px) {
  .archivio-riga { grid-template-columns: 4.5rem minmax(0, 1fr) auto; }
  .archivio-cat { grid-column: auto; }
}
.evento-banner-quando { color: #e5e5e5; font-size: 1.0625rem; font-weight: 500; }
.evento-banner-quando::first-letter { text-transform: uppercase; }
.evento-concluso {
  margin-top: 1.25rem;
  padding: .6rem .9rem;
  border-radius: .5rem;
  background: #1f1f1f;
  color: #a3a3a3;
  font-size: .8125rem;
  text-align: center;
}
.evento-locandina {
  display: block;
  width: 100%;
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid #262626;
  cursor: zoom-in;
}
.evento-locandina img { width: 100%; height: auto; display: block; }
.allegati { display: flex; flex-direction: column; gap: .5rem; font-size: .9375rem; }
.allegati a { display: inline-flex; align-items: center; gap: .5rem; color: #f5f5f5; transition: .2s; }
.allegati a::before { content: '\2193'; color: #8b1e22; font-weight: 700; }
.allegati a:hover { color: #d9a1a3; }

/* Notizie */
.notizie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.notizia-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: .75rem;
  border: 1px solid #262626;
  background: #171717;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.4);
  transition: .2s;
}
.notizia-card:hover { border-color: #404040; transform: translateY(-2px); }
.notizia-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #0f0f0f;
  overflow: hidden;
}
.notizia-cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.notizia-card:hover .notizia-cover > img { transform: scale(1.04); }
.notizia-cover-vuota {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(139,30,34,.45), #141414 70%);
}
.notizia-cover-vuota img { height: 55%; width: auto; opacity: .85; }
.notizia-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  border-radius: 9999px;
  background: rgba(139,30,34,.92);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.5);
}
.notizia-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.4rem 1.5rem; }
.notizia-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #a3a3a3;
}
.notizia-cat { color: #d9a1a3; }
.notizia-cat::before { content: '·'; margin-right: .5rem; color: #525252; }
.notizia-titolo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.3;
  color: #f5f5f5;
}
.notizia-desc {
  font-size: .875rem;
  line-height: 1.6;
  color: #bdbdbd;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .notizia-card.is-featured { grid-column: 1 / -1; flex-direction: row; }
  .notizia-card.is-featured .notizia-cover { flex: 0 0 58%; aspect-ratio: auto; min-height: 20rem; }
  .notizia-card.is-featured .notizia-body { justify-content: center; padding: 2rem 2.25rem; }
  .notizia-card.is-featured .notizia-titolo { font-size: 1.75rem; }
  .notizia-card.is-featured .notizia-desc { font-size: .9375rem; -webkit-line-clamp: 5; }
}
.paginazione {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #262626;
  font-size: .875rem;
}
.paginazione-link { color: #f5f5f5; font-weight: 500; transition: .2s; }
.paginazione-link:hover { color: #d9a1a3; }
.paginazione > :last-child { justify-self: end; }
.paginazione-stato { color: #a3a3a3; }
.video-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid #262626;
  background: #000;
}
.video-facade iframe { width: 100%; height: 100%; border: 0; }
.video-facade-btn { position: relative; display: block; width: 100%; height: 100%; cursor: pointer; }
.video-facade-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video-facade-btn:hover img { opacity: 1; }
.video-facade-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: -2.25rem 0 0 -2.25rem;
  border-radius: 9999px;
  background: rgba(139,30,34,.95);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.55);
  transition: transform .2s;
}
.video-facade-btn:hover .video-facade-play { transform: scale(1.08); }
.notizia-hero { display: block; width: 100%; border-radius: .75rem; overflow: hidden; border: 1px solid #262626; cursor: zoom-in; }
.notizia-hero img { width: 100%; height: auto; display: block; }
.notizia-nav {
  display: grid;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #262626;
}
@media (min-width: 640px) { .notizia-nav { grid-template-columns: 1fr 1fr; } }
.notizia-nav-link {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem 1.25rem;
  border-radius: .75rem;
  border: 1px solid #262626;
  background: #171717;
  transition: .2s;
}
.notizia-nav-link:hover { border-color: #404040; }
.notizia-nav-link.is-next { text-align: right; }
.notizia-nav-titolo { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; color: #f5f5f5; line-height: 1.35; }

/* Donatori di sangue */
.donatori-prose h2 { font-size: 1.25rem; }
.donatori-details {
  margin: 0 0 1rem;
  border: 1px solid #262626;
  border-radius: .75rem;
  background: #171717;
}
.donatori-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #f5f5f5;
}
.donatori-details summary::-webkit-details-marker { display: none; }
.donatori-details summary::after {
  content: '+';
  font-size: 1.25rem;
  line-height: 1;
  color: #d9a1a3;
}
.donatori-details[open] summary::after { content: '\2212'; }
.donatori-details summary:focus-visible { outline: 2px solid #8b1e22; outline-offset: 3px; border-radius: .75rem; }
.donatori-details > ul { margin: 0; padding: 0 1.25rem 1.25rem; font-size: .9375rem; }
