/*
Theme Name: L'Ora del Pellice
Theme URI: https://loradelpellice.it
Author: L'Ora del Pellice / Hari APS
Description: Tema ufficiale de L'Ora del Pellice - il giornalibro della Val Pellice
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: ora-del-pellice
*/
/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy:       #1e3a5f;
  --navy-dark:  #152b47;
  --navy-light: #2a4f7c;
  --gold:       #e6a817;
  --gold-light: #f5c518;
  --bg-light:   #eef2f7;
  --text-dark:  #1a1a2e;
  --text-muted: #5a6a7a;
  --white:      #ffffff;
  --radius:     12px;
  --red-tag:    #c0392b;
  --yellow-tag: #d4a017;
  --green-tag:  #27ae60;
  --orange-tag: #e67e22;
  --purple-tag: #8e44ad;
  --teal-tag:    #16a085;
  --azzurro-tag: #0288d1;
  --cultura-tag: #4527a0;
  --stampa-tag:  #ad1457;
  --economia-tag: #5a7a3a;
  --natura-tag: #7cb342;
  --guerraepace-tag: #546e7a;
  --scienza-tag:  #0097a7;
  --speciale-tag: #1565c0;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
/* ===== GOOGLE FONTS (loaded in functions.php) ===== */

/* ===== BANNER DIRETTA LIVE ===== */
.live-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #c0392b;
  color: #fff;
  padding: .75rem 2rem;
  text-decoration: none;
  flex-wrap: wrap;
  transition: background .2s;
}
.live-banner:hover { background: #a93226; }
.live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: live-pulse 1.2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.8); }
}
.live-text {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.live-cta {
  font-size: .85rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.6);
  padding: .25rem .85rem;
  border-radius: 20px;
  white-space: nowrap;
}
/* ===== TOP BAR ===== */
.topbar { background: #111; height: 8px; }
/* ===== NAVIGATION ===== */
nav.site-nav {
  background: var(--navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-logo {
  color: white;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.site-logo .logo-sub {
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  font-weight: 400;
  opacity: 0.7;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}
.site-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 1rem;
  line-height: 1.4;
  max-width: 180px;
}
#primary-menu {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}
#primary-menu li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s;
  font-weight: 500;
  white-space: nowrap;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item > a {
  color: white;
  background: rgba(255,255,255,0.15);
}
/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
}
/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--navy);
  padding: 2.5rem 2rem 3rem;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: white;
  font-weight: 700;
}
.page-hero .page-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.4rem;
}
/* ===== HOMEPAGE HERO ===== */
.home-hero {
  background: var(--navy);
  padding: 3rem 2rem 3.5rem;
  text-align: center;
}
.home-hero .tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: white;
  line-height: 1.45;
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
}
.hero-line {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}
/* ===== HARI BANNER ===== */
.hari-banner {
  background: white;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  flex-wrap: wrap;
  gap: 1rem;
}
.hari-left { display: flex; align-items: center; gap: 1rem; }
.hari-logo-box {
  height: 64px;
  width: 52px;
  background: none;
  flex-shrink: 0;
  overflow: hidden;
}
.hari-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hari-info h3 { font-size: 1rem; font-weight: 600; }
.hari-info p { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
/* ===== BUTTONS ===== */
.btn-gold {
  background: var(--gold-light);
  color: #1a1100;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-gold:hover { background: #d4ae00; transform: translateX(2px); }
.btn-outline {
  border: 1px solid #ccc;
  color: var(--text-muted);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-parliamo {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  transition: color 0.2s, gap 0.2s;
}
.btn-parliamo:hover { color: var(--gold); }
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #ccc;
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.btn-back:hover { border-color: var(--navy); color: var(--navy); }
.btn-acquista {
  background: var(--gold-light);
  color: #1a1100;
  padding: 0.75rem 1.6rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  margin-top: 1.25rem;
  box-shadow: 0 2px 8px rgba(230,168,23,0.25);
}
.btn-acquista:hover { background: #d4ae00; }
/* ===== LINK ORO (inline links su sfondo chiaro) ===== */
.link-oro {
  color: var(--gold);
  font-weight: 600;
  transition: color 0.2s;
}
.link-oro:hover {
  color: var(--gold-light);
  text-decoration: underline;
}
/* ===== SECTIONS ===== */
.site-section { padding: 2.5rem 2rem; background: var(--bg-light); scroll-margin-top: 80px; }
.site-section + .site-section { padding-top: 0; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 0.5rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
/* ===== CARD CON IMMAGINE + LABEL SOVRAPPOSTA ===== */
.img-card-grid { display: grid; gap: 1rem; }
.img-card-grid.col-2 { grid-template-columns: 1fr 1fr; }
.img-card-grid.col-3 { grid-template-columns: repeat(3, 1fr); }
.img-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: block;
  background: #2a4a6a;
}
.img-card.ratio-4-3 { aspect-ratio: 4/3; }
.img-card.ratio-3-2 { aspect-ratio: 3/2; }
.img-card.ratio-3-4 { aspect-ratio: 3/4; }
.img-card.ratio-16-9 { aspect-ratio: 16/9; }
.img-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.img-card:hover img { transform: scale(1.04); }
.img-card-overlay {
  position: absolute;
  inset: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.72) 100%);
  display: flex;
  align-items: flex-end;
}
.img-card-label {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(2px);
  transition: background 0.2s;
}
.play-btn::after {
  content: '';
  border: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 7px 0 7px 14px;
  border-color: transparent transparent transparent white;
  margin-left: 3px;
}
.img-card:hover .play-btn { background: rgba(255,255,255,0.35); }

/* ===== GRIGLIA GIORNALIBRO (3 colonne: ultimo numero, arretrati, stack) ===== */
.giornalibro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.giornalibro-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.stack-box {
  flex: 1;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
}
.stack-box--navy { background: var(--navy); }
.stack-box--light {
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}
.stack-box__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.stack-box--navy .stack-box__eyebrow { color: var(--gold); }
.stack-box--light .stack-box__eyebrow { color: var(--text-muted); }
.stack-box__title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}
.stack-box--navy .stack-box__title { color: #fff; }
.stack-box--light .stack-box__title { color: var(--navy); }
.stack-box__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.stack-box__link-primary {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.stack-box__link-muted {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.stack-box__link-gold {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

/* ===== QUOTES ===== */
.quotes-section {
  background: white;
  padding: 2.5rem 2rem;
}
.quotes-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.quote-item { text-align: center; }
.quote-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  padding: 1rem 0.5rem;
  transition: background 0.2s, transform 0.2s;
}
.quote-item-link:hover {
  background: rgba(230,168,23,0.07);
  transform: translateY(-2px);
}
.quote-mark {
  font-size: 1.8rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.quote-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.55;
}
.quote-source {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 500;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
/* ===== COOKIE NOTE ===== */
.cookie-note {
  background: white;
  border-top: 1px solid #e8e8e8;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cookie-note a { color: var(--navy); }
/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 2rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto 2rem;
}
.footer-logo-link {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}
.footer-logo-link span {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  font-family: 'Inter', sans-serif;
  opacity: 0.6;
  text-transform: uppercase;
  font-weight: 400;
}
.footer-logo-link img {
  height: 48px;
  width: auto;
  display: block;
}
.footer-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.social-icons { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.social-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: all 0.2s;
}
.social-btn:hover { background: rgba(255,255,255,0.22); }
.social-btn svg { width: 18px; height: 18px; fill: white; }
.footer-contact { font-size: 0.78rem; color: var(--gold-light); }
.footer-contact a { color: var(--gold-light); display: inline; }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: white; }
/* ===== PAGINA ULTIMO NUMERO ===== */
.numero-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.numero-card .copertina {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  height: 100%;
}
.numero-card .copertina img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.numero-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.numero-num {
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.numero-titolo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.numero-titolo .titolo-stagione {
  font-weight: 700;
}
.numero-titolo .titolo-sep {
  color: var(--gold);
  font-weight: 400;
}
.numero-titolo .titolo-nome {
  font-weight: 400;
}
.numero-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.numero-desc {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.65;
}
/* ===== INDICE ===== */
.indice-category-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin: 1.75rem 0 0.85rem;
  border: 1.5px solid currentColor;
}
.indice-section .indice-category-tag:first-of-type { margin-top: 0.5rem; }
.tag-filrouge  { color: var(--red-tag);    background: rgba(192, 57, 43, 0.08); }
.tag-storia    { color: var(--yellow-tag); background: rgba(212, 160, 23, 0.10); }
.tag-comunita  { color: var(--green-tag);  background: rgba(39, 174, 96, 0.08); }
.tag-sport     { color: var(--orange-tag); background: rgba(230, 126, 34, 0.08); }
.tag-almanacco { color: var(--purple-tag); background: rgba(142, 68, 173, 0.08); }
.tag-mir       { color: var(--teal-tag);    background: rgba(22, 160, 133, 0.08); }
.tag-carosello { color: var(--azzurro-tag); background: rgba(2, 136, 209, 0.08); }
.tag-cultura   { color: var(--cultura-tag); background: rgba(69, 39, 160, 0.08); }
.tag-stampa    { color: var(--stampa-tag); background: rgba(173, 20, 87, 0.08); }
.tag-economia  { color: var(--economia-tag); background: rgba(90, 122, 58, 0.08); }
.tag-natura    { color: var(--natura-tag); background: rgba(124, 179, 66, 0.08); }
.tag-guerraepace { color: var(--guerraepace-tag); background: rgba(84, 110, 122, 0.08); }
.tag-scienza   { color: var(--scienza-tag); background: rgba(0, 151, 167, 0.08); }
.tag-speciale  { color: var(--speciale-tag); background: rgba(21, 101, 192, 0.08); }
.indice-item {
  background: white;
  border-radius: 14px;
  padding: 1rem 1.5rem;
  margin-bottom: 0.6rem;
  transition: box-shadow 0.2s;
}
.indice-item:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.indice-item .sopratitolo {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.2rem;
}
.indice-item .titolo-articolo {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}
.indice-item.mixed-case .titolo-articolo {
  text-transform: none;
  letter-spacing: 0;
}
.indice-item .autore {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
}
.indice-item .extra-articolo {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.indice-item .extra-articolo::before {
  content: '— ';
  color: var(--gold);
}
.indice-item .extra-articolo + .extra-articolo {
  border-top: none;
  margin-top: 0.2rem;
  padding-top: 0;
}
.indice-item-solo {
  background: white;
  border-radius: 14px;
  padding: 1rem 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.back-wrap { padding: 0.5rem 2rem 2.5rem; }
.back-wrap.center { text-align: center; padding: 1.5rem 2rem 3rem; }
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  #primary-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  #primary-menu.open { display: flex; }
  #primary-menu li a { display: block; }
  .nav-tagline { display: none; }
  .img-card-grid.col-2 { grid-template-columns: 1fr; }
  .img-card-grid.col-3 { grid-template-columns: 1fr 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .numero-card { grid-template-columns: 1fr; }
  .progetti-grid { grid-template-columns: 1fr 1fr; }
  .home-hero .tagline { font-size: 1.3rem; }
  .hari-banner { flex-direction: column; align-items: flex-start; }
  /* Giornalibro grid: 1 colonna su mobile */
  .giornalibro-grid { grid-template-columns: 1fr; }
  .giornalibro-stack { flex-direction: row; gap: 0.75rem; }
  .stack-box { min-height: 120px; }
}
@media (max-width: 480px) {
  .img-card-grid.col-3 { grid-template-columns: 1fr; }
  nav.site-nav { padding: 0 1rem; }
  .site-section { padding: 1.5rem 1rem; }
  .giornalibro-stack { flex-direction: column; gap: 0.75rem; }
}
/* ===== HERO CON IMMAGINE DI SFONDO (Arretrati, pagine speciali) ===== */
.hero-image {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--navy);
}
.hero-image .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.38;
}
.hero-image .hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem 2rem;
}
.hero-image h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: white;
  font-weight: 700;
}
.hero-image .hero-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.35rem;
}
/* ===== PAGINA ARRETRATI ===== */
.arretrati-list {
  padding: 2rem 2rem;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.numero-row {
  background: white;
  border-radius: var(--radius);
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.numero-row:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.numero-row .copertina-thumb {
  width: 130px;
  flex-shrink: 0;
  overflow: hidden;
  background: #ccc;
  position: relative;
}
.numero-row .copertina-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.numero-row .copertina-thumb .thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 2rem;
}
.numero-row .numero-info {
  padding: 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
}
.numero-row .numero-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.badge-num {
  background: var(--navy);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.badge-stagione {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-stagione.estate    { color: #c8860a; }
.badge-stagione.primavera { color: #b86a10; }
.badge-stagione.autunno   { color: #a03010; }
.badge-stagione.inverno   { color: #2a6090; }
.numero-row .num-titolo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
.numero-row .num-prezzo {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.numero-row .num-prezzo strong {
  color: var(--text-dark);
  font-size: 0.95rem;
}
.numero-row .num-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.btn-indice {
  border: 1px solid #ccc;
  color: var(--text-dark);
  background: white;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-indice:hover { border-color: var(--navy); color: var(--navy); }
.btn-indice svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-acquista-sm {
  background: var(--gold-light);
  color: #1a1100;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-acquista-sm:hover { background: #d4ae00; }
.btn-acquista-sm svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
/* ===== RESPONSIVE ARRETRATI ===== */
@media (max-width: 540px) {
  .numero-row .copertina-thumb { width: 90px; }
  .numero-row .num-titolo { font-size: 1rem; }
  .arretrati-list { padding: 1.25rem 0.75rem; }
}
/* ===== PAGINA PERCHÉ UN GIORNALIBRO ===== */
.perche-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.perche-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.perche-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  padding-left: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.perche-card h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  background: var(--gold);
  border-radius: 2px;
}
.perche-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.perche-card p:last-child { margin-bottom: 0; }
.perche-card strong {
  font-weight: 700;
  color: var(--text-dark);
}
.perche-card em {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
}
.perche-card a {
  color: var(--gold);
  font-weight: 600;
  transition: color 0.2s;
}
.perche-card a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}
.perche-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.perche-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-dark);
}
.perche-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.perche-closing {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-dark);
  margin-top: 1rem;
}
/* Video introduttivo perché-giornalibro */
.perche-video-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.perche-video-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}
.perche-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.perche-video-link:hover .perche-video-thumb img { opacity: 0.85; }
.perche-video-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  margin-top: 0.65rem;
}

/* RESPONSIVE perché-giornalibro */
@media (max-width: 600px) {
  .perche-content { padding: 1.5rem 1rem 0.5rem; }
  .perche-card    { padding: 1.5rem 1.25rem; }
  .perche-card h2 { font-size: 1.25rem; }
}
/* ===== PAGINA HARI APS ===== */
.hari-hero {
  background: var(--navy);
  padding: 2.5rem 2rem 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hari-hero-logo {
  flex-shrink: 0;
  height: 130px;
  display: flex;
  align-items: center;
}
.hari-hero-logo img {
  height: 100%;
  width: auto;
  display: block;
  border-radius: 4px;
}
.hari-hero-logo .hari-logo-text {
  width: 130px;
  height: 130px;
  background: var(--gold-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.6rem;
  color: #1a1100;
  letter-spacing: 0.12em;
}
.hari-hero-text { flex: 1; min-width: 0; }
.hari-hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: white;
  font-weight: 700;
  line-height: 1.1;
}
.hari-hero-text .hari-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
  line-height: 1.5;
}
/* Card "Perché Hari" con foto a sinistra */
.perche-figure-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.75rem;
  align-items: start;
}
.perche-figure {
  margin: 0;
}
.perche-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  filter: grayscale(100%);
}
.perche-figure-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}
.perche-figure figcaption {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 0.6rem;
  color: var(--text-dark);
  line-height: 1.4;
}
.perche-figure figcaption em {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 0.15rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
}
/* Banner CTA sfondo oro pieno */
.hari-cta-banner {
  background: var(--gold-light);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  text-align: center;
  margin-top: 0.5rem;
}
.hari-cta-banner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: white;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.hari-cta-banner p {
  color: rgba(255,255,255,0.95);
  font-size: 0.92rem;
  margin-bottom: 1.3rem;
  line-height: 1.5;
}
.hari-cta-banner p a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}
.hari-cta-banner p a:hover {
  text-decoration: none;
}
.btn-cta-white {
  background: white;
  color: var(--gold);
  padding: 0.75rem 1.75rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}
.btn-cta-white:hover {
  background: rgba(255,255,255,0.92);
  transform: translateX(2px);
}
/* ===== L'ORA VIDEO — landing 4 sezioni ===== */
.lora-video-sections {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.lora-section-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-left: 4px solid var(--gold);
  transition: all 0.2s;
}
.lora-section-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.lora-section-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
  line-height: 1.2;
}
.lora-section-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}
.lora-section-card .cta {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: auto;
  transition: color 0.2s;
}
.lora-section-card:hover .cta { color: var(--gold-light); }
@media (max-width: 700px) {
  .lora-video-sections { grid-template-columns: 1fr; padding: 1.5rem 1rem 0.5rem; }
}
/* ===== L'ORA VIDEO — griglia card 3 colonne ===== */
.video-grid-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.video-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.video-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.video-card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.video-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.video-card:hover .video-card-thumb img { transform: scale(1.04); }
.video-card-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: rgba(245,197,24,0.92);
  border-radius: 50%;
  z-index: 2;
}
.video-card-play::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-30%, -50%);
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #1a1a2e;
}
.video-card-body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.video-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0;
}
.video-card-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.video-card-title a:hover { color: var(--gold); }
.video-card-persone {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}
.video-card-data {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.video-card-sommario {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.55;
  margin: 0;
}
.video-card-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.5rem;
}
.video-card-cta:hover { text-decoration: underline; }
.video-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 2rem;
}
@media (max-width: 900px) {
  .video-grid-section { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .video-grid-section { grid-template-columns: 1fr; padding: 1.5rem 1rem; }
}
/* ===== SINGOLA PAGINA PROGETTO SPECIALE ===== */
.progetto-banner {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
}
.progetto-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
@media (max-width: 600px) {
  .progetto-banner { padding: 1.5rem 1rem 0; }
}
/* ===== UNA DATA, UNA STORIA — card in evidenza ===== */
.storia-featured-card {
  display: flex;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  overflow: hidden;
  text-decoration: none;
}
.storia-featured-thumb {
  flex-shrink: 0;
  width: 300px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.storia-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.storia-featured-body {
  padding: 1.5rem;
  flex: 1;
}
@media (max-width: 640px) {
  .storia-featured-card { flex-direction: column; }
  .storia-featured-thumb { width: 100%; height: 220px; }
  .storia-featured-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .storia-featured-body { padding: 1.25rem 1.25rem 1.5rem; }
  .storia-featured-card .storia-featured-body h2 { margin-top: .25rem; }
}

/* ===== UNA DATA, UNA STORIA ===== */
.storie-grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.storia-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  color: inherit;
}
.storia-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.storia-card-img {
  aspect-ratio: 16 / 10;
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  overflow: hidden;
}
.storia-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.storia-card:hover .storia-card-img img { transform: scale(1.04); }
.storia-card-label {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--gold-light);
  color: #1a1100;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 14px;
}
.storia-card-body {
  padding: 1.25rem 1.4rem 1.4rem;
}
.storia-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.45rem;
}
.storia-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
/* Singola storia — riga fonti */
.storia-fonti {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: -0.9rem;
}
/* Blocco citazione dentro le card di testo (storie, rassegne, ecc.) */
.perche-card blockquote {
  border-left: 4px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.25rem 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.65;
}
.perche-card blockquote p { margin-bottom: 0.5rem; }
.perche-card blockquote p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .storie-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .storie-grid { grid-template-columns: 1fr; padding: 1.25rem 1rem 2rem; }
}
/* ===== LE ASSOCIAZIONI ===== */
.associazioni-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.associazione-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.associazione-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.associazione-logo {
  flex-shrink: 0;
  width: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.associazione-logo img {
  max-width: 100%;
  max-height: 96px;
  width: auto;
  height: auto;
  display: block;
}
.associazione-body { flex: 1; min-width: 0; }
.associazione-nome {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.associazione-nome a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.associazione-nome a:hover { color: var(--gold); }
.associazione-cenni {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-dark);
}
.associazione-cenni p { margin: 0 0 0.5rem; }
.associazione-cenni p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .associazioni-list { padding: 1.5rem 1rem 0.5rem; }
  .associazione-card { flex-direction: column; gap: 1rem; }
}
/* ===== LA PROMOZIONE DEL TERRITORIO (iniziative) ===== */
.iniziative-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.iniziativa-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.iniziativa-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.09); }
.iniziativa-foto {
  flex-shrink: 0;
  width: 130px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  align-self: stretch;
}
.iniziativa-foto img {
  width: 100%;
  height: auto;
  display: block;
}
.iniziativa-body {
  padding: 1.35rem 1.6rem;
  flex: 1;
  min-width: 0;
}
.iniziativa-data {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.iniziativa-titolo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.iniziativa-titolo a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.iniziativa-titolo a:hover { color: var(--gold); }
.iniziativa-abstract {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-dark);
}
.iniziativa-abstract p { margin: 0 0 0.5rem; }
.iniziativa-abstract p:last-child { margin-bottom: 0; }
.iniziativa-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}
.iniziativa-link:hover { color: var(--gold-light); text-decoration: underline; }
@media (max-width: 600px) {
  .iniziative-list { padding: 1.5rem 1rem 0.5rem; }
  .iniziativa-foto { width: 100px; }
  .iniziativa-body { padding: 1.1rem 1.2rem; }
}
/* ===== GLI APPUNTAMENTI (agenda) ===== */
.appuntamenti-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.appuntamento-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
a.appuntamento-card:hover,
.appuntamento-card.is-clickable:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}
.appuntamento-card.is-clickable { cursor: pointer; }
.appuntamento-data {
  flex-shrink: 0;
  width: 86px;
  background: var(--navy);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.5rem;
  text-align: center;
}
.appuntamento-data .giorno {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.appuntamento-data .mese {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}
.appuntamento-data .anno {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.1rem;
}
.appuntamento-body {
  padding: 1rem 1.35rem;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.appuntamento-titolo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}
.appuntamento-ora {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.appuntamento-desc {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-top: 0.4rem;
}
.appuntamento-azione {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 0.5rem;
}
.appuntamenti-vuoto {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}
/* Lightbox (ingrandimento locandine / immagini) */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(21, 43, 71, 0.93);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 12px 44px rgba(0,0,0,0.55);
}
.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: white;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 600px) {
  .appuntamenti-list { padding: 1.5rem 1rem 0.5rem; }
  .appuntamento-data { width: 70px; }
  .appuntamento-data .giorno { font-size: 1.6rem; }
}
/* ===== PAGINA LEGALE (Privacy / Cookie) ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1.5rem;
}
.legal-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.legal-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  padding-left: 0.85rem;
  margin: 2rem 0 0.85rem;
  line-height: 1.3;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 4px;
  background: var(--gold);
  border-radius: 2px;
}
.legal-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-card strong { font-weight: 700; }
.legal-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
}
.legal-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-dark);
}
.legal-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.legal-card a {
  color: var(--gold);
  font-weight: 600;
}
.legal-card a:hover { text-decoration: underline; }
.legal-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}
@media (max-width: 600px) {
  .legal-content { padding: 1.5rem 1rem 0.5rem; }
  .legal-card { padding: 1.5rem 1.35rem; }
}
/* ===== PAGINA CONTATTI ===== */
.contatti-grid {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.contatto-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.contatto-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.contatto-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contatto-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contatto-content { flex: 1; min-width: 0; }
.contatto-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.contatto-value {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}
.contatto-value a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.contatto-value a:hover { color: var(--gold); }
@media (max-width: 700px) {
  .contatti-grid { grid-template-columns: 1fr; padding: 1.5rem 1rem 0.5rem; }
}
/* ===== LISTING PARLANO DI NOI ===== */
.rassegna-listing {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rassegna-listing-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem 1.25rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  color: inherit;
  border-left: 4px solid var(--gold);
}
.rassegna-listing-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}
.rassegna-listing-date {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.rassegna-listing-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.rassegna-listing-citazione {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}
.rassegna-listing-link {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: auto;
  transition: color 0.2s;
}
.rassegna-listing-card:hover .rassegna-listing-link {
  color: var(--gold-light);
  text-decoration: underline;
}
@media (max-width: 600px) {
  .rassegna-listing      { padding: 1.5rem 1rem 0.5rem; }
  .rassegna-listing-card { padding: 1.25rem 1.25rem 1rem; }
  .rassegna-listing-title { font-size: 1.2rem; }
}
/* ===== PAGINA SINGOLA RASSEGNA STAMPA ===== */
.page-hero .hero-eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.page-hero .hero-eyebrow + h1 {
  margin-top: 0;
}
.rassegna-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.rassegna-citazione {
  padding: 0.6rem 0 0.6rem 1.5rem;
  border-left: 4px solid var(--gold);
}
.rassegna-citazione blockquote {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-dark);
  margin: 0;
  font-weight: 300;
}
.rassegna-citazione cite {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
}
.rassegna-image {
  margin: 0;
}
.rassegna-image img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.rassegna-image figcaption {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.7rem;
  font-style: italic;
}
@media (max-width: 600px) {
  .rassegna-content { padding: 1.5rem 1rem 0.5rem; gap: 1.25rem; }
  .rassegna-citazione blockquote { font-size: 1rem; }
}
/* ===== PAGINA SINGLE NUMERO / ULTIMO NUMERO ===== */
.numero-section {
  padding: 2.5rem 2rem 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
.indice-section {
  padding: 1rem 2rem 2rem;
  background: var(--bg-light);
}
.indice-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.indice-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.indice-empty {
  background: white;
  border-radius: 14px;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}
/* ===== SEZIONE PERSONE (single-numero) ===== */
.persone-section {
  padding: 0 2rem 2rem;
  background: var(--bg-light);
}
.persone-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.persone-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.persone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.persona-tag {
  background: white;
  border: 1px solid #dde3ea;
  color: var(--text-dark);
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}
.persona-tag:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--bg-light);
}
/* ===== PAGINA PARLIAMO DI ===== */
.parliamo-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1rem;
}
.parliamo-vuoto {
  color: var(--text-muted);
  font-style: italic;
}
/* Casella di ricerca */
.parliamo-search-wrap {
  margin-bottom: 2rem;
}
.parliamo-search {
  width: 100%;
  max-width: 420px;
  display: block;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6a7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 0.8rem center;
  border: 1.5px solid #dde3ea;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.parliamo-search:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}
.parliamo-search::placeholder {
  color: var(--text-muted);
}
.parliamo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 2.5rem;
}
.parliamo-nav-btn {
  background: white;
  border: 1px solid #dde3ea;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}
.parliamo-nav-btn:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.parliamo-gruppo {
  margin-bottom: 2rem;
}
.parliamo-lettera {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.25rem;
  margin-bottom: 0.75rem;
}
.parliamo-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  flex-wrap: wrap;
}
.parliamo-nome {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  min-width: 220px;
}
.parliamo-numeri {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.parliamo-link-num {
  background: var(--navy);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}
.parliamo-link-num:hover {
  background: var(--navy-light);
}
@media (max-width: 600px) {
  .parliamo-wrap { padding: 1.5rem 1rem 0.5rem; }
  .parliamo-nome { min-width: 100%; }
}
@media (max-width: 768px) {
  .numero-section { padding: 1.5rem 1rem 0.5rem; }
  .indice-section { padding: 0.5rem 1rem 1.5rem; }
  .numero-num { font-size: 4rem; }
}
/* RESPONSIVE hari-aps */
@media (max-width: 600px) {
  .hari-hero { gap: 1.25rem; padding: 2rem 1.25rem 2.5rem; }
  .hari-hero-logo { width: 90px; height: 90px; }
  .hari-hero-text h1 { font-size: 1.7rem; }
  .perche-figure-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .perche-figure { max-width: 220px; margin: 0 auto; }
  .hari-cta-banner { padding: 1.75rem 1.25rem; }
  .hari-cta-banner h3 { font-size: 1.15rem; }
}
/* ===== PATCH: Una data, una storia — spacing e mobile ===== */
 
/* 1. Separa row-gap e column-gap nella griglia storie:
      - row-gap 1rem → uguale al margin-bottom del label "L'ultima storia"
      - column-gap 1.25rem → invariato tra le card */
.storie-grid {
  gap: 1rem 1.25rem;
}
 
/* 2. Mobile: allinea il padding della sezione "L'ultima storia"
      a quello di .storie-grid (che a ≤560px usa 1rem laterale) */
@media (max-width: 560px) {
  .storia-featured-section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ===== AGENDA — calendario e pagina ===== */
.agenda-page { background: var(--bg-light); min-height: 60vh; }
.agenda-header { background: var(--navy); padding: 2.5rem 2rem 3rem; }
.agenda-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.agenda-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: white;
  font-weight: 700;
  margin: 0;
}
.agenda-layout {
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}
.agenda-calendar {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  overflow: hidden;
}
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  padding: .85rem 1.25rem;
}
.cal-nav-btn {
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  padding: .1rem .5rem;
  border-radius: 6px;
  transition: background .2s;
  text-decoration: none;
}
.cal-nav-btn:hover { background: rgba(255,255,255,.15); }
.cal-mese {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid #eee;
}
.cal-head {
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: .65rem 0;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}
.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--text-muted);
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
  position: relative;
  transition: background .15s;
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.cal-empty { background: #fafafa; }
.cal-cell.ha-eventi {
  color: var(--text-dark);
  font-weight: 700;
  cursor: pointer;
}
.cal-cell.ha-eventi::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  width: 7px;
  height: 7px;
  bottom: 6px;
}
.cal-cell.ha-eventi:hover { background: var(--bg-light); }
/* Solo oro */
.cal-cell.ora-evento:not(.ha-eventi)::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
/* Entrambi: due pallini affiancati */
.cal-cell.ha-eventi.ora-evento::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: calc(50% - 7px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
}
.cal-cell.ha-eventi.ora-evento::after {
  background: var(--gold);
  left: calc(50% + 1px);
  transform: none;
}
.cal-cell.oggi { background: var(--bg-light); }
.cal-cell.oggi span {
  background: var(--navy);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
}
.cal-cell.selezionato { background: var(--navy); color: white; }
.cal-cell.selezionato span {
  background: var(--gold);
  color: #1a1100;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  font-weight: 700;
}
.cal-cell.selezionato::after { background: white; }
.cal-legenda {
  display: flex;
  gap: 1.25rem;
  padding: .75rem 1rem;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.leg-item { font-size: .75rem; color: var(--text-muted); }
.leg-standard { color: var(--navy); }
.leg-ora      { color: var(--gold); }
.agenda-sidebar {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  padding: 1.25rem 1.5rem;
}
.agenda-sidebar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--gold);
}
.prossimi-list { display: flex; flex-direction: column; gap: .6rem; }
.prossimo-item a {
  display: block;
  padding: .75rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--navy);
  background: var(--bg-light);
  text-decoration: none;
  transition: all .2s;
}
.prossimo-item a:hover { background: #e2e8f0; transform: translateX(2px); }
.prossimo-item.oro a { border-left-color: var(--gold); }
.prossimo-data {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .2rem;
}
.prossimo-titolo {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: .2rem;
}
.prossimo-meta { display: block; font-size: .75rem; color: var(--text-muted); }
.nessun-evento { font-size: .9rem; color: var(--text-muted); font-style: italic; }
.agenda-giorno {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}
.agenda-giorno-titolo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 3px solid var(--gold);
  text-transform: capitalize;
}
.agenda-giorno-lista { display: flex; flex-direction: column; gap: 1rem; }
.evento-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.evento-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.1); transform: translateY(-1px); }
.evento-card.card-oro { border-left: 4px solid var(--gold); }
.evento-thumb {
  flex-shrink: 0;
  width: 140px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: block;
}
.evento-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.evento-card:hover .evento-thumb img { transform: scale(1.04); }
.evento-body {
  padding: 1rem 1.35rem;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.evento-meta-top { display: flex; align-items: center; gap: .6rem; }
.evento-tipo {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: white;
  background: var(--navy);
  padding: .2rem .65rem;
  border-radius: 12px;
}
.card-oro .evento-tipo { background: var(--gold); color: #1a1100; }
.evento-ora { font-size: .82rem; color: var(--text-muted); font-weight: 600; }
.evento-titolo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0;
}
.evento-titolo a { color: inherit; text-decoration: none; }
.evento-titolo a:hover { color: var(--gold); }
.evento-excerpt { font-size: .88rem; color: var(--text-muted); line-height: 1.55; margin: 0; }
.evento-meta-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .1rem; }
.evento-luogo,
.evento-org,
.evento-ingresso { font-size: .78rem; color: var(--text-muted); }
.evento-ingresso { font-weight: 600; color: var(--text-dark); }
.evento-leggi {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  margin-top: .25rem;
  align-self: flex-start;
}
.evento-leggi:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .agenda-layout { grid-template-columns: 1fr; }
  .agenda-sidebar { order: -1; }
}
@media (max-width: 560px) {
  .agenda-layout  { padding: 1.5rem 1rem 1rem; }
  .agenda-giorno  { padding: 0 1rem 2rem; }
  .evento-thumb   { width: 90px; }
  .cal-cell       { font-size: .78rem; }
  .agenda-header  { padding: 2rem 1.25rem 2.5rem; }
  .agenda-header h1 { font-size: 1.7rem; }
}
/* ===== PAGINA DOVE TROVARCI ===== */
/* Da aggiungere in fondo a style.css */

.punti-content {
  max-width: 820px;
  margin: 0 auto;
}

/* Città: intestazione con riga oro */
.punti-citta {
  margin-bottom: 2.5rem;
}
.punti-citta-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  padding-bottom: 0.5rem;
  margin-bottom: 0.85rem;
  border-bottom: 2px solid var(--gold);
}

/* Lista punti per città */
.punti-lista {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Card singolo punto vendita */
.punto-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.punto-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.09);
}

/* Foto opzionale (appare solo se presente) */
.punto-foto {
  flex-shrink: 0;
  width: 110px;
  background: var(--navy-light);
  align-self: stretch;
}
.punto-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Corpo della card */
.punto-body {
  padding: 0.85rem 1.25rem;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  justify-content: center;
}
.punto-nome {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0;
}
.punto-addr {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.punto-tel {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Link Google Maps */
.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
  width: fit-content;
}
.btn-maps svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.btn-maps:hover {
  color: var(--navy);
}

/* Responsive */
@media (max-width: 600px) {
  .punti-citta-title { font-size: 1.05rem; }
  .punto-foto { width: 80px; }
  .punto-body { padding: 0.75rem 1rem; }
}

/* ===== DOVE TROVARCI STRIP (Homepage) ===== */
.dove-strip {
  background: white;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0.9rem 2rem;
}
.dove-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.dove-strip__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 600px) {
  .dove-strip { padding: 0.85rem 1rem; }
}
/* ================================================================
   BACHECA NOVITÀ — striscia homepage
   Sostituisce integralmente il vecchio blocco BACHECA NOVITÀ in style.css
   ================================================================ */

/* ---- Strip ---- */
.bacheca-strip {
    background: #f0f4f9;
    border-top: 3px solid var(--navy);
    border-bottom: 1px solid #d8dfe8;
    padding: 0.85rem 2rem;
}

.bacheca-strip__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

/* ---- Label "Novità" ---- */
.bacheca-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
    padding: 0.3rem 0.75rem;
    background: var(--navy);
    color: #fff;
    border-radius: 4px;
}

/* ---- Contenitore pill: divide equamente lo spazio ---- */
.bacheca-pills {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

/* ---- Pill base: larghezza uguale (flex:1), altezza minima uniforme ---- */
.bacheca-pill {
    flex: 1;
    min-width: 0;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.25;
    padding: 0.4rem 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
    cursor: default;
}

a.bacheca-pill {
    cursor: pointer;
}
a.bacheca-pill:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.bacheca-pill__icon {
    font-size: 0.85rem;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.bacheca-pill__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.bacheca-pill__sub {
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.8;
    line-height: 1.2;
}

.bacheca-pill__arrow {
    font-size: 0.8rem;
    flex-shrink: 0;
    opacity: 0.6;
    align-self: flex-start;
    margin-top: 2px;
}

/* ---- Varianti colore ---- */

/* Annuncio manuale — navy tenue */
.bacheca-pill--annuncio {
    background: #e8edf4;
    color: var(--navy);
    border: 1px solid #c5d0de;
}

/* L'Ora 21 in arrivo — arancione ambrato (chiaramente distinto dall'oro eventi) */
.bacheca-pill--trasmissione {
    background: #fff3e0;
    color: #7c3500;
    border: 1px solid #ffa040;
}

/* L'Ora 21 IN DIRETTA — rosso pulsante */
.bacheca-pill--live {
    background: #fdecea;
    color: #8b1a1a;
    border: 1px solid #e57373;
    font-weight: 700;
    animation: bacheca-live-glow 2s ease-in-out infinite;
}

@keyframes bacheca-live-glow {
    0%, 100% { box-shadow: 0 0 0 0   rgba(220, 38, 38, 0); }
    50%       { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18); }
}

/* Dot rosso pulsante (nome univoco, non collide con .live-dot) */
.bacheca-dot-live {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    flex-shrink: 0;
    animation: bacheca-dot-pulse 1.4s ease-in-out infinite;
}

@keyframes bacheca-dot-pulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.5); opacity: 0.6; }
}

/* Uscita numero — navy scuro (distinto dagli annunci) */
.bacheca-pill--uscita {
    background: #d8e2ef;
    color: #0b2340;
    border: 1px solid var(--navy);
}

/* Mini copertina nel pill Uscita */
.bacheca-pill__thumb {
    width: 28px;
    height: 36px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    align-self: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

/* Evento L'Ora / Hari — oro (brand L'Ora) */
.bacheca-pill--evento {
    background: #fffbf0;
    color: #5c3d00;
    border: 1px solid var(--gold);
}

/* ================================================================
   MOBILE (≤ 600px)
   Approccio affidabile su iOS Safari:
   - label sopra, pills sotto in riga scorrevole
   - overflow-x: scroll (più stabile di 'auto' su Safari)
   - flex: 0 0 148px esplicito su ogni pill
   - niente negative margin (causa instabilità)
   ================================================================ */
@media (max-width: 600px) {

    .bacheca-strip {
        padding: 0.65rem 1rem;
    }

    .bacheca-strip__inner {
        flex-direction: column;
        gap: 0.45rem;
        align-items: flex-start;
        max-width: none;
        padding: 0;
    }

    .bacheca-label {
        font-size: 0.62rem;
    }

    .bacheca-pills {
        /* reset dal desktop */
        flex: none;
        /* dimensioni esplicite per Safari */
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        gap: 0.45rem;
        overflow-x: scroll;              /* 'scroll' più stabile di 'auto' su iOS */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        align-items: stretch;
    }
    .bacheca-pills::-webkit-scrollbar { display: none; }

    .bacheca-pill {
        /* flex-basis esplicito, non si schiaccia */
        flex: 0 0 148px;
        width: 148px;
        min-height: 52px;
        font-size: 0.78rem;
        padding: 0.35rem 0.7rem;
        border-radius: 10px;
    }
}
