/* ==========================================================================
   LCFC — stili specifici delle pagine (estratti dagli <style> inline)
   ========================================================================== */

/* ── Risultati & pagine generiche ── */
.page-hero {
  background: var(--c-dark);
  color: var(--c-white);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--c-dark-border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.filters-bar {
  background: var(--c-white);
  border: 1px solid var(--c-light-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.filter-pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-pill {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: var(--c-light);
  border: 1px solid var(--c-light-border);
  color: var(--c-dark-text);
  cursor: pointer;
  transition: var(--transition);
}
.filter-pill:hover { border-color: var(--c-green); }
.filter-pill.active {
  background: var(--c-green);
  border-color: var(--c-green);
  color: #fff;
}

.results-group {
  margin-bottom: 2.5rem;
}

.results-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-primary);
}

.results-group-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-dark-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.match-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 1.25rem;
}

.match-detail-card {
  background: var(--c-white);
  border: 1px solid var(--c-light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.match-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-green);
}

.match-card-top {
  background: var(--c-light-surface);
  padding: 0.65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--c-light-border);
  font-size: 0.78rem;
}

.match-card-main {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.match-card-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.match-card-team-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
}

.match-card-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.match-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-dark-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.match-card-name.winner {
  color: var(--c-green);
}

.match-card-score {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--c-dark-text);
  min-width: 32px;
  text-align: right;
}
.match-card-score.winner {
  color: var(--c-green);
}

.match-card-footer {
  background: var(--c-light);
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  color: var(--c-light-muted);
  border-top: 1px solid var(--c-light-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.penalties-notice {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-primary);
  text-align: center;
  padding: 0.35rem 0.6rem;
  background: rgba(212, 160, 23, 0.1);
  border-radius: var(--radius-sm);
  margin-top: 0.25rem;
}

/* ── Gare del giorno ── */
.day-selector-bar {
  background: var(--c-white);
  border: 1px solid var(--c-light-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.date-nav-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-light-border);
  margin-bottom: 1rem;
}

.date-nav-btn {
  background: var(--c-dark);
  color: var(--c-white);
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.date-nav-btn:hover {
  background: var(--c-primary);
  color: var(--c-black);
}

.current-date-heading {
  text-align: center;
  font-family: var(--font-display);
}
.current-date-heading h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--c-green);
  text-transform: capitalize;
  line-height: 1.1;
}
.current-date-heading span {
  font-size: 0.85rem;
  color: var(--c-light-muted);
  font-weight: 600;
}

.quick-days-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.quick-day-btn {
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: var(--c-light);
  border: 1px solid var(--c-light-border);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-dark-text);
  cursor: pointer;
  transition: var(--transition);
}
.quick-day-btn:hover { border-color: var(--c-green); }
.quick-day-btn.active {
  background: var(--c-green);
  color: #fff;
  border-color: var(--c-green);
}

.day-filters-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}

.match-day-card {
  background: var(--c-white);
  border: 1px solid var(--c-light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.match-day-card:hover {
  border-color: var(--c-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.match-day-card-header {
  background: var(--c-light-surface);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--c-light-border);
}

.match-day-comp-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--c-green);
  text-transform: uppercase;
}

.match-day-card-body {
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.match-day-team {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.match-day-team.away {
  justify-content: flex-end;
  text-align: right;
}

.match-day-team-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #f8fafc;
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-light-border);
}

.match-day-team-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-dark-text);
  text-transform: uppercase;
}

.match-day-center-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 110px;
}

.match-day-time {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--c-primary);
  background: var(--c-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}

.match-day-card-footer {
  background: #fafafa;
  padding: 0.65rem 1.25rem;
  border-top: 1px solid var(--c-light-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--c-light-muted);
}

@media (max-width: 768px) {
  .match-day-card-body {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }
  .match-day-team, .match-day-team.away {
    justify-content: center;
    text-align: center;
  }
}

/* ── Manifestazione ── */
.manif-header-hero {
  background: var(--c-dark);
  color: var(--c-white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--c-dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Accordion Norme compatto con tabs interne per non allungare la pagina */
.accordion-norme {
  background: var(--c-white);
  border: 1px solid var(--c-light-border);
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  background: var(--c-light-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-light-border);
  transition: var(--transition);
}
.accordion-header:hover { background: var(--c-light); }

.accordion-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-green);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.accordion-body {
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-dark-text);
  display: none;
}
.accordion-body.open { display: block; }

.norme-subnav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--c-light-border);
  padding-bottom: 0.5rem;
}

.norme-subnav-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--c-light);
  cursor: pointer;
}
.norme-subnav-btn.active {
  background: var(--c-green);
  color: #fff;
}

/* Tabs delle competizioni figlie */
.children-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.child-tab-btn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--c-white);
  border: 2px solid var(--c-light-border);
  color: var(--c-dark-text);
  transition: var(--transition);
  cursor: pointer;
}
.child-tab-btn:hover { border-color: var(--c-primary); }
.child-tab-btn.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-black);
}

/* Sub-tabs Gironi */
.gironi-selector-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  background: var(--c-white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-light-border);
}

.girone-pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  background: var(--c-light);
  color: var(--c-dark-text);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}
.girone-pill:hover { border-color: var(--c-green); }
.girone-pill.active {
  background: var(--c-green);
  color: var(--c-white);
}


/* ==========================================================================
   COMPONENTI CONDIVISI
   ========================================================================== */
[hidden] { display: none !important; }

.page-main {
  margin-top: calc(var(--nav-height) + 1.5rem);
  min-height: 80vh;
}
.page-main.section-pad { padding-top: clamp(1.5rem, 3vw, 2.75rem); }   /* metà di .section-pad: il margine sotto l'header c'è già */

.breadcrumb {
  font-size: 0.85rem;
  color: var(--c-light-muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--c-green); }

.inline-link { color: var(--c-green); font-weight: 700; }
.inline-link:hover { text-decoration: underline; }
.link-gold { color: var(--c-primary); font-weight: 700; }
.link-muted { color: var(--c-white-muted); }
.link-button {
  font-size: 0.85rem; font-weight: 700; color: var(--c-green);
  text-decoration: underline; padding: 0;
}
.link-button:hover { color: var(--c-green-dark); }

.nav-link-accent { color: var(--c-primary); font-weight: 800; }
.footer-address { font-size: 0.88rem; color: var(--c-white-muted); line-height: 1.6; margin-bottom: 0.75rem; }

/* Stati: caricamento, vuoto, errore */
.state-box {
  background: var(--c-white);
  border: 1px solid var(--c-light-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--c-light-muted);
}
.state-loading { animation: statePulse 1.4s ease-in-out infinite; }
.state-error { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }
.state-big { padding: 3rem 2rem; }
.state-big h3 { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; color: var(--c-dark-text); }
.state-big p { margin: 0.4rem 0 1.25rem; }
.state-emoji { font-size: 2.5rem; margin-bottom: 0.5rem; }
.sec-dark .state-box, .standings-box .state-box {
  background: transparent; border-color: var(--c-dark-border); color: var(--c-white-dim);
}
.sec-dark .state-error, .standings-box .state-error { color: #fca5a5; background: rgba(220,38,38,0.08); border-color: rgba(220,38,38,0.35); }
@keyframes statePulse { 50% { opacity: 0.55; } }

/* Stemmi: immagine o due colori */
.crest, .team-logo, .match-card-logo, .match-pill-logo, .today-team-logo,
.match-day-team-logo, .bracket-team-logo, .team-card-crest, .team-hero-logo, .match-hero-crest {
  object-fit: contain;
  flex-shrink: 0;
}
.crest-colors {
  display: inline-block;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%);
  border: 1px solid rgba(0,0,0,0.25);
}
.team-logo.crest-colors, .match-card-logo.crest-colors { width: 28px; height: 28px; }
.match-pill-logo.crest-colors, .bracket-team-logo.crest-colors { width: 20px; height: 20px; }
.today-team-logo.crest-colors { width: 42px; height: 42px; }
.match-day-team-logo.crest-colors { width: 44px; height: 44px; }
.team-card-crest { width: 64px; height: 64px; }
.team-hero-logo { width: 96px; height: 96px; }
.match-hero-crest { width: 84px; height: 84px; }
.team-logo { width: 24px; height: 24px; }

.btn-small { font-size: 0.8rem; padding: 0.45rem 0.9rem; }
.btn-block { width: 100%; justify-content: center; text-align: center; }
.btn-outline-green { border-color: var(--c-green); color: var(--c-green); }
.btn-arrow { padding: 0.4rem 0.85rem; font-size: 1.1rem; line-height: 1; }
.badge-ok { background: #22c55e1a; color: #15803d; border: 1px solid #22c55e40; }
.badge-danger { background: #DC2626; color: #fff; }

.form-control-inline { width: auto; padding: 0.35rem 0.6rem; font-size: 0.85rem; }
.form-group-light .form-label { color: var(--c-light-muted); }
.grow { flex: 1; min-width: 220px; }
.grow-md { min-width: 260px; }
.cell-gold { color: var(--c-primary) !important; font-weight: 700; }
.cell-gold-strong { color: var(--c-primary); font-weight: 800; }
.align-right { text-align: right !important; }
.strong { font-weight: 700; }

/* Intestazione di pagina con titolo e testo (risultati) */
.page-hero-title {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 900;
  text-transform: uppercase; margin: 0.75rem 0 0.6rem; letter-spacing: 0.02em;
}
.page-hero-text { color: var(--c-white-dim); font-size: 1.02rem; max-width: 700px; line-height: 1.5; }
.page-intro { font-size: 0.95rem; color: var(--c-light-muted); margin-bottom: 1.5rem; }

/* Barra filtri con campi etichettati */
.filter-group { display: flex; flex-direction: column; gap: 0.3rem; min-width: 170px; }
.filter-group > label {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-light-muted);
}
.control {
  padding: 0.5rem 0.85rem; border: 1px solid var(--c-light-border);
  border-radius: var(--radius-sm); font-size: 0.9rem; font-family: inherit;
  background: var(--c-white); color: var(--c-dark-text); width: 100%;
}
.control:focus { border-color: var(--c-primary); }
.filter-pills-group { margin-bottom: 1.5rem; }
.check { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; cursor: pointer; }
.filters-bar { justify-content: flex-start; align-items: flex-end; }

/* Card editoriali (chi siamo, contatti, modulistica, etica) */
.card-section {
  background: var(--c-white);
  border: 1px solid var(--c-light-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.card-grid .card-section { margin-bottom: 0; }
.card-section > .badge { margin-bottom: 0.75rem; }
.card-section-title {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 900;
  text-transform: uppercase; margin-bottom: 1rem;
}
.card-title {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  text-transform: uppercase; margin-bottom: 0.75rem; color: var(--c-dark-text);
}
.card-section-subtitle {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  text-transform: uppercase; margin-bottom: 0.6rem;
}
.card-section-meta { font-size: 0.85rem; color: var(--c-light-muted); margin-bottom: 1rem; }
.title-green { color: var(--c-green); }
.title-light { color: var(--c-white); margin-bottom: 0; }
.card-text { font-size: 0.95rem; margin-bottom: 1rem; }
.card-text.muted { font-size: 0.92rem; color: var(--c-light-muted); line-height: 1.55; margin-bottom: 1.5rem; }
.card-text.on-dark { font-size: 0.9rem; color: var(--c-white-muted); margin-bottom: 1.5rem; }
.card-dark { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark-border); }
.card-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.card-head .card-section-title { margin-bottom: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.75rem; margin-bottom: 2.5rem; }
.spaced-section { margin-bottom: 3rem; }
.plain-list { margin-left: 1.5rem; margin-bottom: 1.5rem; }
.plain-list.bullets { list-style: disc; font-size: 0.95rem; margin-bottom: 0; }
.callout {
  background: var(--c-light); padding: 1.25rem; border-left: 4px solid var(--c-primary);
  border-radius: var(--radius-sm); margin-bottom: 1.5rem;
}
.callout h3 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 800;
  text-transform: uppercase; margin-bottom: 0.4rem;
}
.callout p { font-size: 0.95rem; margin-top: 0.5rem; }
.intro-card {
  background: var(--c-white); border: 1px solid var(--c-light-border); border-radius: var(--radius-md);
  padding: 1.75rem; margin-bottom: 2.5rem; line-height: 1.6;
}
.intro-card h2 {
  font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase;
  margin-bottom: 0.5rem; color: var(--c-green);
}
.intro-card p { font-size: 0.95rem; }
.table-light { color: var(--c-dark-text); }
.table-light th { background: var(--c-light); color: var(--c-dark-text); }
.table-light td { color: var(--c-dark-text); border-bottom-color: var(--c-light-border); }
.col-narrow { width: 60px; }
.privacy-content { display: flex; flex-direction: column; gap: 1rem; font-size: 0.95rem; }
.privacy-content h3 { font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; margin-top: 0.75rem; }
.privacy-archive { margin-top: 2rem; border-top: 1px solid var(--c-light-border); padding-top: 1rem; }
.privacy-archive summary, .privacy-version summary { cursor: pointer; font-weight: 700; padding: 0.4rem 0; }
.privacy-version { margin-left: 1rem; }

/* ==========================================================================
   HOME
   ========================================================================== */
.strip-wrap { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.matches-strip-inner { overflow: hidden; }
.strip-content { flex: 1; overflow: hidden; }
.strip-placeholder { color: var(--c-white-dim); font-size: 0.85rem; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 5px; }
.strip-link {
  margin-left: 1rem; padding: 0.35rem 0.75rem; border-radius: 4px; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  color: var(--c-primary); border: 1px solid rgba(212,160,23,0.4); background: rgba(212,160,23,0.1);
}
.matches-strip-track { animation-duration: var(--strip-duration, 35s); }
.match-pill-comp { color: var(--c-primary); font-weight: 800; font-size: 0.75rem; display: flex; flex-direction: column; line-height: 1.2; }
.match-pill-comp span + span { font-weight: 600; opacity: 0.85; }
.match-pill-score-badge.is-upcoming { color: var(--c-white-muted); background: rgba(255,255,255,0.06); border-color: var(--c-dark-border); }

.section-tight { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.sec-header-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.sec-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.arrow-group { display: flex; gap: 0.35rem; }
.sec-title.on-dark { color: var(--c-white); }
a.link-more.on-dark { color: var(--c-primary); white-space: nowrap; }
.link-green { color: var(--c-green); }
.today-match-vs.is-score { color: var(--c-white); background: var(--c-dark); font-size: 1.3rem; }
.today-match-card:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.today-match-details-expand .inline-link { color: var(--c-primary); }

a.manif-card { display: flex; color: inherit; }
.news-search-icon { color: var(--c-light-muted); margin-right: 4px; }
.news-empty { padding: 2rem; grid-column: 1 / -1; text-align: center; color: var(--c-light-muted); }
.news-load-more-wrap { text-align: center; margin: 1.5rem 0 3.5rem; }
.delibere-list { display: flex; flex-direction: column; gap: 0.75rem; }
.delibera-item {
  background: var(--c-light); padding: 1rem 1.5rem; border-radius: var(--radius-sm);
  border-left: 4px solid var(--c-green); display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.delibera-meta { font-size: 0.75rem; text-transform: uppercase; font-weight: 800; color: var(--c-green); }
.delibera-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; text-transform: uppercase; margin-top: 0.2rem; }
.event-date-box.is-gold { background: var(--c-primary); color: var(--c-black); }
.event-date-box.is-dark { background: var(--c-dark); color: var(--c-primary); }
.counter-badge { font-size: 0.85rem; padding: 0.45rem 0.85rem; font-weight: 800; min-width: 85px; text-align: center; }
.standings-box {
  background: var(--c-dark-card); border: 1px solid var(--c-dark-border);
  border-radius: var(--radius-md); padding: 1.5rem; min-height: 420px;
}
.standings-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 1rem; }
.standings-head-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.standings-default-btn { background: transparent; color: var(--c-green); border: 1px solid var(--c-green); cursor: pointer; line-height: inherit; }
.standings-default-btn:hover { background: rgba(0, 102, 51, 0.08); }
.standings-default-btn.active { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-dark-text); }
.standings-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--c-primary); text-transform: uppercase; }
.standings-scroll { max-height: 460px; overflow-y: auto; }
.mini-girone-table a:hover { color: var(--c-primary); }
.mini-girone-team { display: flex; align-items: center; gap: 0.45rem; }
#classifica-home-content .mini-girone-team .team-logo { width: 18px; height: 18px; }
.cta-band { padding: 3rem 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.cta-band-title { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; text-transform: uppercase; }
.cta-band-text { opacity: 0.9; max-width: 600px; }
.footer-links-list a:hover { color: var(--c-primary); }

/* ==========================================================================
   RISULTATI / GARE DEL GIORNO
   ========================================================================== */
.match-card-name { color: var(--c-dark-text); }
a.match-card-name:hover { color: var(--c-green); }
.match-card-comp { font-weight: 800; color: var(--c-green); text-transform: uppercase; font-size: 0.78rem; }
.match-card-footer { flex-wrap: wrap; }

.day-selector-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.date-picker-wrap { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; }
.day-filters-row .form-group { margin-bottom: 0; }
a.match-day-card-body { color: inherit; }
.match-day-card-body:hover .match-day-team-name { color: var(--c-green); }
.match-day-team.winner .match-day-team-name { color: var(--c-green); }
.match-day-round { font-size: 0.75rem; font-weight: 700; color: var(--c-light-muted); text-transform: uppercase; }
.current-date-heading h2 { text-transform: none; }

/* ==========================================================================
   MANIFESTAZIONE
   ========================================================================== */
.manif-hero-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; text-transform: uppercase; margin-top: 0.4rem; }
.manif-hero-desc { color: var(--c-white-muted); margin-top: 0.4rem; max-width: 650px; }
.manif-hero-logo { background: #fff; padding: 0.75rem 1rem; border-radius: var(--radius-md); border: 1px solid var(--c-dark-border); }
.manif-hero-logo img { height: 64px; width: auto; }

.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 1rem; margin-bottom: 2rem; }
.info-card {
  background: var(--c-white); border: 1px solid var(--c-light-border); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.2rem;
}
.info-card-label { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-light-muted); }
.info-card-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--c-green); }

.accordion-header { width: 100%; text-align: left; font: inherit; }
.accordion-icon { font-size: 1.2rem; font-weight: 800; color: var(--c-green); transition: transform 0.2s; }
.accordion-header.open .accordion-icon { transform: rotate(90deg); }
.norme-subnav-btn { border: none; }
.norme-content h4 { font-family: var(--font-display); font-weight: 800; color: var(--c-green); text-transform: uppercase; margin-bottom: 0.5rem; }
.norme-content p { margin-bottom: 0.75rem; }
.norme-content ul { list-style: disc; margin: 0 0 1rem 1.5rem; }

.manif-section { margin-bottom: 2rem; }
.manif-section-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; }
.manif-section-hint { font-size: 0.9rem; color: var(--c-light-muted); margin-bottom: 1rem; }
.gironi-label { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; color: var(--c-light-muted); margin-right: 0.5rem; }
.girone-pill { border-width: 1px; border-style: solid; }

.manif-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; align-items: start; }
.panel {
  background: var(--c-white); border: 1px solid var(--c-light-border); border-radius: var(--radius-md);
  padding: 1.5rem; box-shadow: var(--shadow-sm); min-width: 0;
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.75rem; }
.panel-title {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; text-transform: uppercase;
  margin-top: 0.25rem; display: flex; align-items: center; gap: 0.6rem;
}
.panel-title-spaced { margin-top: 2rem; }
.view-switch { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.scorers-more { text-align: center; padding: 1rem 0 0.25rem; }
.view-btn {
  font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; text-transform: uppercase;
  padding: 0.4rem 0.75rem; border-radius: var(--radius-sm); border: 1px solid var(--c-green); color: var(--c-green);
}
.view-btn.active { background: var(--c-green); color: #fff; }
.table-dark-wrap { background: var(--c-dark); border-radius: var(--radius-sm); }
.table-dark-wrap .table-custom { font-size: 0.85rem; }
.table-dark-wrap .table-custom td, .table-dark-wrap .table-custom th { padding: 0.65rem 0.6rem; }
.table-dark-wrap .team-cell { font-size: 0.95rem; }
.team-cell:hover span { color: var(--c-primary); }

.matchday-nav-btn:disabled { opacity: 0.35; cursor: default; }
.matchday-heading { text-align: center; }
.matchday-kicker { font-size: 0.72rem; text-transform: uppercase; font-weight: 800; color: var(--c-green); letter-spacing: 0.08em; }
.matchday-sub { font-size: 0.78rem; color: var(--c-light-muted); }
a.result-match-row { color: inherit; gap: 0.5rem; }
.result-team-block { min-width: 0; }
.result-team-block span { overflow-wrap: anywhere; }
.result-team-block.winner span { color: var(--c-green); font-weight: 900; }
.result-score-box { display: flex; flex-direction: column; align-items: center; line-height: 1.1; flex-shrink: 0; }
.result-score-box small { font-size: 0.62rem; font-weight: 600; color: var(--c-white-muted); letter-spacing: 0.04em; margin-top: 0.15rem; }
.result-score-box.win { background: #15803d; color: #fff; }
.result-score-box.loss { background: #b91c1c; color: #fff; }
.result-score-box.draw { background: #64748b; color: #fff; }
.resting-teams { font-size: 0.82rem; color: var(--c-light-muted); font-style: italic; margin-top: 0.25rem; }

a.bracket-match { color: inherit; display: block; }

/* ==========================================================================
   NORMATIVA
   ========================================================================== */
.normativa-form-extra { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; flex-wrap: wrap; gap: 0.5rem; }
.normativa-form-extra .link-button { color: var(--c-white); }
.norm-section-heading {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; text-transform: uppercase;
  color: var(--c-dark-text); margin: 2.5rem 0 1rem; border-bottom: 2px solid var(--c-primary); padding-bottom: 0.4rem;
}
.norm-title-heading {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--c-green);
  text-transform: uppercase; margin: 2rem 0 1rem; border-bottom: 2px solid var(--c-light-border); padding-bottom: 0.4rem;
}
.article-text table { border-collapse: collapse; margin: 0.75rem 0; font-size: 0.9rem; }
.article-text th, .article-text td { border: 1px solid var(--c-light-border); padding: 0.4rem 0.7rem; text-align: left; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.8rem; color: var(--c-light-muted); }
/* note e interpretazioni (campo comments della norma): riquadro distinto dal testo dell'articolo */
.norma-note {
  margin: 1rem 0 0.75rem; padding: 0.85rem 1.1rem; border-left: 4px solid var(--c-primary);
  background: rgba(212, 160, 23, 0.08); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.norma-note-label {
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--c-primary-dark); margin-bottom: 0.35rem;
}
.norma-note-text { font-size: 0.95rem; line-height: 1.6; color: var(--c-dark-text); }
.article-item:target { border-color: var(--c-primary); box-shadow: 0 0 0 2px rgba(212,160,23,0.35); }
/* ricerca: badge con gli articoli trovati in ogni sezione; le sezioni senza risultati si attenuano */
.normativa-tab-badge {
  display: inline-block; min-width: 1.4em; padding: 0.05rem 0.4rem; margin-left: 0.3rem; border-radius: 999px;
  background: var(--c-green); color: var(--c-white); font-size: 0.75rem; line-height: 1.4; text-align: center; vertical-align: 0.1em;
}
.normativa-tab-btn.is-empty { opacity: 0.55; }
mark.norma-match { background: rgba(212, 160, 23, 0.35); color: inherit; padding: 0 0.1em; border-radius: 2px; }
.normativa-tab-btn.is-empty .normativa-tab-badge { background: var(--c-light-muted); }
/* pagina della singola norma (/normativa/<sezione>/<articolo>/) */
a.normativa-tab-btn { text-decoration: none; display: inline-flex; align-items: center; }
.article-item.is-page .article-title-link { font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.6rem; }
.article-item.is-page .article-title-link:hover { text-decoration: none; }
.article-item.is-page .article-text { font-size: 1rem; }
/* versioni precedenti: date cliccabili e confronto a due colonne (testo in vigore | versione con le differenze) */
.norma-vigore { margin-bottom: 0.3rem; }
.norma-versions { margin-bottom: 1rem; font-size: 0.85rem; color: var(--c-light-muted); line-height: 1.7; }
.norma-version { background: none; border: 0; padding: 0; font: inherit; color: var(--c-green); cursor: pointer; }
.norma-version:hover { text-decoration: underline; }
.norma-version.is-selected { font-weight: 800; }
.norma-columns.is-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; margin-bottom: 0.4rem; }
.norma-columns.is-compare .norma-col-old { border-left: 1px solid var(--c-light-border); padding-left: 1.5rem; }
.norma-col-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-light-muted); margin-bottom: 0.4rem; }
.norma-old-title { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--c-green); margin-bottom: 0.4rem; }
.norma-diff ins { text-decoration: none; font-weight: 700; color: var(--c-green); background: rgba(22, 128, 61, 0.12); }
.norma-diff del { color: #DC2626; background: rgba(220, 38, 38, 0.1); }
@media (max-width: 860px) {
  .norma-columns.is-compare { grid-template-columns: minmax(0, 1fr); }
  .norma-columns.is-compare .norma-col-old { border-left: 0; padding-left: 0; border-top: 1px solid var(--c-light-border); padding-top: 1rem; }
}
.norma-nav { margin-top: 1.5rem; }
.norma-nav-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.norma-nav-link {
  display: flex; flex-direction: column; gap: 0.2rem; padding: 0.8rem 1rem; text-decoration: none;
  background: var(--c-light-surface); border: 1px solid var(--c-light-border); border-radius: var(--radius-sm);
}
.norma-nav-link:hover { border-color: var(--c-green); }
.norma-nav-next { text-align: right; }
.norma-nav-dir { font-size: 0.8rem; color: var(--c-light-muted); }
.norma-nav-label { font-family: var(--font-display); font-weight: 800; color: var(--c-green); }
@media (max-width: 640px) { .norma-nav-row { grid-template-columns: 1fr; } .norma-nav-next { text-align: left; } }

/* ==========================================================================
   LE NOSTRE PROPOSTE
   ========================================================================== */
.manif-children { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.manif-children a {
  font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 9999px;
  background: var(--c-light); border: 1px solid var(--c-light-border); color: var(--c-dark-text);
}
.manif-children a:hover { border-color: var(--c-green); color: var(--c-green); }
.manif-costs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1rem; margin-top: 1rem; padding-top: 0.85rem; border-top: 1px dashed var(--c-light-border); }
.manif-costs dt { font-size: 0.68rem; text-transform: uppercase; font-weight: 800; letter-spacing: 0.06em; color: var(--c-light-muted); }
.manif-costs dd { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--c-dark-text); }

/* ==========================================================================
   SQUADRE, SQUADRA, IMPIANTI, PARTITA
   ========================================================================== */
.teams-grid, .facilities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 1rem; }
.facilities-grid { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.team-card {
  background: var(--c-white); border: 1px solid var(--c-light-border); border-radius: var(--radius-md);
  padding: 1.25rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center;
  transition: var(--transition);
}
.team-card:hover { border-color: var(--c-green); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-card-name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; line-height: 1.15; }
.team-card-meta { font-size: 0.78rem; color: var(--c-light-muted); }

.team-hero {
  background: var(--c-dark); color: var(--c-white); border-radius: var(--radius-md); padding: 2rem;
  margin-bottom: 2rem; border: 1px solid var(--c-dark-border); display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.team-hero-crest { background: rgba(255,255,255,0.06); border-radius: 50%; padding: 0.5rem; }
.team-hero-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; text-transform: uppercase; margin-top: 0.4rem; }
.team-hero-meta { color: var(--c-white-muted); }
.roster-heading { font-family: var(--font-display); font-size: 1rem; text-transform: uppercase; color: var(--c-green); margin: 1rem 0 0.4rem; }
.roster-list { list-style: none; }
.roster-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--c-light-border); font-size: 0.92rem; }
.roster-list small { color: var(--c-light-muted); white-space: nowrap; }
.roster-person { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.roster-link { color: inherit; }
.roster-link:hover span, .roster-link:focus-visible span { color: var(--c-green); text-decoration: underline; }
.person-photo { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--c-light-border); }
.person-photo-empty { display: inline-block; background: none; }   /* marcatori senza foto: solo lo spazio */
.scorer-cell { font-weight: 600; }
.goal-badge { color: var(--c-dark-text) !important; font-weight: 700; }
.facility-mini { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.92rem; }

.facility-card {
  background: var(--c-white); border: 1px solid var(--c-light-border); border-radius: var(--radius-md);
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.facility-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; text-transform: uppercase; }
.facility-address { font-size: 0.88rem; color: var(--c-light-muted); }
.facility-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.facility-badge { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 9999px; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.match-hero {
  background: var(--c-dark); color: var(--c-white); border-radius: var(--radius-md); padding: 2rem 1.5rem;
  margin-bottom: 2rem; border: 1px solid var(--c-dark-border); text-align: center;
}
.match-hero-comp { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--c-primary); letter-spacing: 0.06em; margin-bottom: 1.5rem; }
.match-hero-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.match-hero-team { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; text-transform: uppercase; }
.match-hero-team.winner { color: var(--c-primary); }
.match-hero-team:hover { text-decoration: underline; }
.match-hero-score { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900; background: rgba(255,255,255,0.08); padding: 0.4rem 1.25rem; border-radius: var(--radius-md); }
.match-share-row { display: flex; justify-content: center; align-items: center; gap: 0.75rem; margin-top: 1rem; min-height: 1.9rem; }
.match-share {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.8rem; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--c-light-muted); border: 1px solid var(--c-light-border); font: inherit; font-size: 0.8rem; transition: var(--transition);
}
.match-share:hover, .match-share:focus-visible { color: var(--c-green); border-color: var(--c-green); }
.match-share-note { color: var(--c-green); font-size: 0.8rem; font-weight: 600; }
.match-hero-info { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.5rem; color: var(--c-white-muted); font-size: 0.9rem; }
.match-hero-scorers { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.25rem 1rem; align-items: start; margin-top: 1rem; font-size: 0.9rem; color: var(--c-light-muted); }
.match-hero-scorers ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.match-hero-scorers a { color: inherit; }
.match-hero-scorers a:hover { color: var(--c-primary); text-decoration: underline; }
.match-hero-ball { font-size: 0.85rem; line-height: 1.6; }
.match-hero-map { color: inherit; text-decoration: underline; text-decoration-color: var(--c-light-border); text-underline-offset: 3px; }
.match-hero-map:hover, .match-hero-map:focus-visible { color: var(--c-green); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .manif-columns { grid-template-columns: 1fr; }
  .match-hero-teams { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .match-cards-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 2rem 1.25rem; }
  .page-hero-title { font-size: 1.7rem; }
  .strip-link { display: none; }
}


/* ==========================================================================
   REGOLA LOGHI: stemmi e loghi (PNG trasparenti) non stanno mai su sfondo scuro.
   Tabelle, card di gara, tabelloni e intestazioni che li contengono usano
   superfici chiare. Le sezioni scure restano solo per header, footer, hero
   fotografica e testi senza loghi.
   ========================================================================== */

/* Tabelle (classifiche, marcatori) */
.table-custom { background: var(--c-white); }
.table-custom th {
  background: var(--c-light); color: var(--c-light-muted);
  border-bottom: 2px solid var(--c-light-border);
}
.table-custom td { color: var(--c-dark-text); border-bottom: 1px solid var(--c-light-border); }
.table-custom tbody tr:hover { background: var(--c-light); }
.pos-badge { background: var(--c-light); color: var(--c-dark-text); border: 1px solid var(--c-light-border); }
.pos-top { background: var(--c-primary); color: var(--c-black); border-color: var(--c-primary); }
.pts-highlight { color: var(--c-green); }
.table-custom th.th-green { color: var(--c-green); }   /* intestazione della colonna in .pts-highlight */
.cell-gold { color: var(--c-primary-dark) !important; }
.cell-gold-strong { color: var(--c-green); }
.team-cell:hover span { color: var(--c-green); }
.table-dark-wrap { background: transparent; border: 1px solid var(--c-light-border); }

/* Unica tabella volutamente scura (nessun logo): contatti */
.card-dark .table-custom { background: transparent; }
.card-dark .table-custom th { background: var(--c-dark-surface); color: var(--c-white-muted); border-bottom-color: var(--c-dark-border); }
.card-dark .table-custom td { color: var(--c-white); border-bottom-color: var(--c-dark-border); }
.card-dark .pos-badge { background: var(--c-dark-border); color: var(--c-white); border-color: var(--c-dark-border); }
.card-dark .pos-top { background: var(--c-primary); color: var(--c-black); }

/* Ticker risultati: contenitore scuro, pillole chiare */
.match-result-pill { background: var(--c-white); border-color: var(--c-light-border); }
.match-result-pill:hover { background: var(--c-white); border-color: var(--c-primary); }
.match-pill-team-name { color: var(--c-dark-text); }
.match-pill-comp { color: var(--c-green); }
.match-pill-score-badge { color: var(--c-black); background: var(--c-primary); border-color: var(--c-primary); }
.match-pill-score-badge.is-upcoming { color: var(--c-dark-text); background: var(--c-light); border-color: var(--c-light-border); }
.match-pill-logo { width: 24px; height: 24px; }
.match-pill-logo.crest-colors { width: 24px; height: 24px; }

/* Gare di oggi */
.today-match-card { background: var(--c-white); border-color: var(--c-light-border); box-shadow: var(--shadow-sm); }
.today-match-card:hover { border-color: var(--c-green); box-shadow: var(--shadow-md); }
.today-match-meta { color: var(--c-green); border-bottom-color: var(--c-light-border); gap: 0.75rem; }
.today-match-meta .badge { flex: none; white-space: nowrap; }   /* "GG 2" sempre su una riga */
.today-team-logo { background: none; padding: 0; width: 52px; height: 52px; }
.today-team-logo.crest-colors { width: 52px; height: 52px; }
.today-team-name { color: var(--c-dark-text); }
.today-match-vs { color: var(--c-green); background: rgba(0, 102, 51, 0.08); }
.today-match-details-expand { background: var(--c-light); color: var(--c-dark-text); }
.today-match-details-expand .inline-link { color: var(--c-green); }
.today-matches-grid::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.06); }

/* Classifiche in home */
.standings-box { background: var(--c-white); border-color: var(--c-light-border); box-shadow: var(--shadow-sm); }
.standings-title { color: var(--c-green); }
.standings-box .state-box { background: var(--c-white); border-color: var(--c-light-border); color: var(--c-light-muted); }
.standings-box .state-error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.mini-girone-card { background: var(--c-white); border-color: var(--c-light-border); }
.mini-girone-title { color: var(--c-green); border-bottom-color: var(--c-light-border); }
.mini-girone-table th { color: var(--c-light-muted); }
.mini-girone-table td { color: var(--c-dark-text); border-bottom-color: var(--c-light-border); }

/* Tabellone fasi finali */
.bracket-wrapper { background: var(--c-white); border-color: var(--c-light-border); color: var(--c-dark-text); box-shadow: var(--shadow-sm); }
.bracket-title, .bracket-column-title, .bracket-score { color: var(--c-green); }
.bracket-subtitle, .bracket-match-label { color: var(--c-light-muted); }
.bracket-match { background: var(--c-light); border-color: var(--c-light-border); }
.bracket-match:hover { background: var(--c-white); border-color: var(--c-green); box-shadow: var(--shadow-md); }
.bracket-match.final-match {
  background: linear-gradient(180deg, rgba(212, 160, 23, 0.14) 0%, rgba(0, 102, 51, 0.06) 100%);
  border: 2px solid var(--c-primary); box-shadow: var(--shadow-sm);
}
.bracket-team-line { background: var(--c-white); border: 1px solid var(--c-light-border); }
.bracket-team-line.winner { background: rgba(212, 160, 23, 0.16); border-color: var(--c-primary); }
.bracket-team-logo { width: 24px; height: 24px; }
.bracket-team-logo.crest-colors { width: 24px; height: 24px; }

/* Intestazioni di manifestazione, squadra, partita */
.manif-header-hero, .team-hero, .match-hero {
  background: var(--c-white); color: var(--c-dark-text);
  border: 1px solid var(--c-light-border); border-left: 6px solid var(--c-primary);
  box-shadow: var(--shadow-sm);
}
.manif-hero-desc, .team-hero-meta, .match-hero-info { color: var(--c-light-muted); }
.manif-hero-logo { background: none; border: none; padding: 0; }
.manif-hero-logo img { height: clamp(110px, 16vw, 170px); width: auto; }
.team-hero-crest { background: none; padding: 0; }
.match-hero-comp { color: var(--c-green); }
.match-hero-team.winner { color: var(--c-green); }
.match-hero-score { background: var(--c-dark); color: var(--c-white); }
.manif-card-header { border-bottom: none; padding-bottom: 0.25rem; }

/* Partner e motto */
.partners-grid { gap: clamp(2rem, 6vw, 5rem); }
.partner-logo { height: clamp(52px, 7vw, 78px); width: auto; max-width: 240px; object-fit: contain; opacity: 0.92; transition: var(--transition); }
.partner-logo:hover { opacity: 1; transform: translateY(-2px); }
.footer-partners {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 1.5rem clamp(2rem, 5vw, 4rem); padding: 2rem 0 1.25rem;
  border-top: 1px solid var(--c-dark-border); margin-top: 2rem;
}
.footer-partners img { height: 46px; width: auto; max-width: 200px; object-fit: contain; }
.footer-motto { display: flex; justify-content: center; padding: 0.5rem 0 1.75rem; }
.footer-motto img { height: 64px; width: auto; max-width: 90%; }

/* Normativa: articoli abrogati visibili ma distinguibili */
.article-item.is-abrogated { background: #fafafa; border-left: 4px solid #DC2626; }
.article-text.is-abrogated { color: var(--c-light-muted); }
.article-abrogato-badge { display: inline-block; margin-bottom: 0.5rem; font-style: normal; }
.form-note { font-size: 0.8rem; opacity: 0.9; }

.footer-partners img { height: 62px; max-width: 240px; }
.footer-partners img[alt="Dana Sport"] { filter: brightness(1.7) contrast(0.95); }

/* ==========================================================================
   AGGIORNAMENTI: card proposte, footer, social, abrogati
   ========================================================================== */

/* Card manifestazioni: logo nel riquadro accanto al nome, il più grande possibile */
.manif-card-header { align-items: center; padding-bottom: 1.25rem; border-bottom: 1px solid var(--c-light-border); }
.manif-logo-box {
  flex: 0 0 auto; width: clamp(120px, 40%, 168px); height: 124px;
  background: none; border-radius: 0; padding: 0;
}
.manif-logo-box img { width: 100%; height: 100%; max-height: none; object-fit: contain; }

/* Sezioni scure (gare di oggi, eventi): sfondo pagina nero, caselle bianche */
.sec-dark .event-card { background: var(--c-white); }
.sec-dark .event-title { color: var(--c-dark-text); }

/* Footer */
.social-icon { width: 38px; height: 38px; display: inline-flex; transition: var(--transition); }
.social-icon svg { width: 100%; height: 100%; }
.social-icon:hover { transform: translateY(-2px) scale(1.06); }
.footer-social-row { display: flex; gap: 0.75rem; }

.footer-partners { display: block; padding: 2rem 0 1.5rem; border-top: 1px solid var(--c-dark-border); margin-top: 2rem; text-align: center; }
.footer-partners-title {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-primary); margin-bottom: 1.25rem;
}
.footer-partners-logos {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 1.5rem clamp(2rem, 5vw, 4rem);
}
.footer-partners-logos img { height: 62px; width: auto; max-width: 240px; object-fit: contain; }
.footer-partners-logos img[alt="Dana Sport"] { filter: brightness(1.7) contrast(0.95); }

.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem 2rem; }
.footer-bottom .footer-bottom-links { justify-content: flex-end; }
.footer-bottom .footer-motto { display: block; height: 56px; width: auto; max-width: 100%; justify-self: center; padding: 0; }
@media (max-width: 900px) {
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom .footer-bottom-links { justify-content: center; }
}

/* Normativa: articolo abrogato = solo titolo rosso barrato + dicitura */
.article-item.is-abrogated { padding-top: 0.9rem; padding-bottom: 0.9rem; margin-bottom: 0.75rem; }
.article-abrogato-badge { margin-bottom: 0; color: #DC2626; font-weight: 700; font-size: 0.85rem; }

/* ==========================================================================
   CONSIGLIO DIRETTIVO / ADDETTI: le card si adattano al numero
   di persone — data-size impostato da js/pages/chi-siamo.js
   ========================================================================== */
.consiglio-grid {
  --card-w: 190px; --cols: 5; --name-size: 1rem; --role-size: 0.74rem; --desc-size: 0.74rem;
  /* card di larghezza fissa, distribuite su tutta la larghezza (la prima in linea con il titolo, l'ultima al bordo destro);
     quante per riga lo decide js/pages/chi-siamo.js (--cols) */
  display: grid; grid-template-columns: repeat(var(--cols), var(--card-w)); justify-content: space-between; gap: 1.1rem;
}
.consiglio-grid[data-size="xl"] { --card-w: 290px; --name-size: 1.3rem; --role-size: 0.9rem; --desc-size: 0.9rem; gap: 1.5rem; }
.consiglio-grid[data-size="lg"] { --card-w: 235px; --name-size: 1.15rem; --role-size: 0.82rem; --desc-size: 0.82rem; }
.consiglio-grid[data-size="md"] { --card-w: 190px; }
.consiglio-grid[data-size="sm"] { --card-w: 150px; --name-size: 0.9rem; --role-size: 0.68rem; --desc-size: 0.7rem; gap: 0.9rem; }
.consiglio-grid[data-size="xs"] { --card-w: 128px; --name-size: 0.82rem; --role-size: 0.64rem; --desc-size: 0.66rem; gap: 0.8rem; }   /* addetti */

.consiglio-grid .consiglio-card { min-width: 0; }
.consiglio-grid .consiglio-photo-wrap { height: auto; aspect-ratio: 2 / 3; background: var(--c-light); }
.consiglio-grid .consiglio-name { font-size: var(--name-size); overflow-wrap: anywhere; }
.consiglio-grid .consiglio-role { font-size: var(--role-size); display: block; }
.consiglio-grid .consiglio-desc { font-size: var(--desc-size); color: var(--c-light-muted); margin-top: 0.5rem; line-height: 1.45; }
.consiglio-grid .state-box { grid-column: 1 / -1; }

/* telefono: due card per riga, a tutta larghezza */
@media (max-width: 640px) {
  .consiglio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  .consiglio-grid[data-size="xl"] { grid-template-columns: minmax(0, 290px); justify-content: center; }
}



/* ==========================================================================
   RITOCCHI: hero più bassa, stemma di riserva, addetti, classifiche a misura fissa
   ========================================================================== */
/* Hero: un'altezza sola (sotto i 992 px segue il contenuto, da lì in su è proporzionata allo schermo) */
.hero-milan { min-height: 360px; height: auto; }
@media (min-width: 992px) {
  .hero-milan { min-height: 0; height: clamp(380px, 48vh, 540px); }
  .hero-media img { object-position: center 25%; }   /* la foto si taglia soprattutto dal basso: pallone e scarpa restano in alto */
}
.hero-content { padding-top: 1.5rem; padding-bottom: 2rem; }

/* Squadra senza stemma: icona LCFC ridimensionata come gli altri stemmi */
.crest-default { border-radius: 22%; background: none; }


/* Classifiche in home: box e contenuto di misura fissa (niente salti tra tabelle lunghe e gironi) */
.standings-box { height: 700px; display: flex; flex-direction: column; min-height: 0; }
#classifica-home-content {
  flex: 1; min-height: 0; overflow-y: auto; transition: opacity 0.2s;
}
#classifica-home-content.is-loading { opacity: 0.45; pointer-events: none; }
#classifica-home-content > .state-box { height: 100%; display: flex; align-items: center; justify-content: center; }
#classifica-home-content .standings-scroll { max-height: none; overflow: visible; }
#classifica-home-content .table-custom td, #classifica-home-content .table-custom th { padding: 0.6rem 0.8rem; }
#classifica-home-content .table-custom th { position: sticky; top: 0; z-index: 1; }
.standings-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
@media (max-width: 700px) { .standings-box { height: 620px; } }


/* ==========================================================================
   PILLOLE DI LCFC (contatori in home)
   ========================================================================== */
.pills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pill-card {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--c-light); border: 1px solid var(--c-light-border); border-radius: var(--radius-md);
  padding: 1rem 1.1rem; min-width: 0; transition: var(--transition);
}
.pill-card:hover { border-color: var(--c-green); background: var(--c-white); box-shadow: var(--shadow-sm); }
.pill-icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 102, 51, 0.1); color: var(--c-green);
}
.pill-icon svg { width: 24px; height: 24px; }
.pill-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.pill-label {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-light-muted);
}
.pill-value {
  font-family: var(--font-display); font-size: 1.85rem; font-weight: 900; color: var(--c-dark-text);
  font-variant-numeric: tabular-nums; margin: 0.1rem 0;
}
.pill-title { font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; text-transform: uppercase; color: var(--c-green); overflow-wrap: anywhere; }
.pill-detail { font-size: 0.76rem; color: var(--c-light-muted); }
.pills-note { margin: 1rem auto 0; font-size: 0.8rem; color: var(--c-light-muted); text-align: center; }
@media (max-width: 1100px) { .pills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .pills-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .pill-value { font-size: 1.6rem; }
}


/* ==========================================================================
   MODIFICHE SITO: hero, proposte compatte, classifiche, documenti, iscrizione, tutele
   ========================================================================== */

/* Hero: seconda riga in colore secondario, partner piccoli sul lato destro */
.hero-title span { display: inline-block; }
.hero-partners {
  position: absolute; right: max(clamp(1rem, 3vw, 2.5rem), calc((100% - var(--max-w)) / 2 + var(--gutter))); bottom: 1.25rem; z-index: 4;
  display: flex; align-items: center; gap: 1.5rem; max-width: 60%; justify-content: flex-end; flex-wrap: wrap;
}
.hero-partners img { height: 56px; width: auto; max-width: 190px; object-fit: contain; opacity: 0.85; transition: var(--transition); }
.hero-partners img:hover { opacity: 1; }
.hero-partners img[alt="Dana Sport"] { filter: brightness(1.7) contrast(0.95); }
@media (max-width: 760px) {
  .hero-partners { position: static; max-width: none; justify-content: flex-start; padding: 0 1rem 1rem; position: relative; }
  .hero-milan { flex-direction: column; justify-content: flex-end; }
  .hero-partners img { height: 44px; max-width: 150px; }
}

/* Riquadro iscrizioni (squadre e arbitri) nella fascia nera sotto la foto: si accende dal Pannello di controllo del CMS */
.iscr-band { background: var(--c-black); padding: 1.5rem 0; }   /* non è una .strip-band: il Live si aggiunge dopo la prima .strip-band, cioè "Ultimi risultati" */
.iscr-band .container { display: flex; flex-direction: column; gap: 1rem; }
.iscr-heading { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; text-transform: uppercase; color: var(--c-primary); letter-spacing: 0.03em; }
.iscr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1rem; }
.iscr-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1.25rem 1.4rem; border-radius: var(--radius-md);
  background: var(--c-dark); border: 1px solid var(--c-dark-border); border-left: 4px solid var(--c-primary);
}
.iscr-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; text-transform: uppercase; color: var(--c-white); }
.iscr-card p { color: var(--c-white-muted); font-size: 0.95rem; line-height: 1.5; flex: 1; }

/* Le nostre proposte: righe compatte TAG - Nome - Logo */
.manif-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 0.75rem; }
.manif-row {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.55rem 1rem;
  background: var(--c-white); border: 1px solid var(--c-light-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); color: inherit; transition: var(--transition); min-height: 64px;
}
.manif-row:hover { border-color: var(--c-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.manif-row .badge { flex: 0 0 auto; }
.manif-row-name {
  flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  text-transform: uppercase; color: var(--c-dark-text); line-height: 1.15;
}
.manif-row-logo { flex: 0 0 auto; height: 48px; width: 84px; object-fit: contain; }

/* Classifiche home: spazio per 16 squadre, nessuna barra di scorrimento verticale */
.standings-box { height: auto; min-height: 0; }
#classifica-home-content { flex: 1; overflow: visible; }
#classifica-home-content .standings-scroll { max-height: none; overflow-y: visible; }
#classifica-home-content .table-custom td, #classifica-home-content .table-custom th { padding: 0.42rem 0.7rem; font-size: 0.88rem; }
#classifica-home-content .table-custom th { position: static; }
#classifica-home-content .team-logo { width: 22px; height: 22px; }

/* Documenti associativi */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1rem; }
.docs-btn {
  display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.25rem;
  background: var(--c-white); color: var(--c-dark-text); border-radius: var(--radius-md);
  border: 1px solid var(--c-light-border); border-left: 5px solid var(--c-primary); transition: var(--transition);
}
.docs-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-left-color: var(--c-green); }
.docs-btn-icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; background: rgba(0, 102, 51, 0.1); color: var(--c-green);
}
.docs-btn-icon svg { width: 24px; height: 24px; }
.docs-btn-label { flex: 1; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; line-height: 1.15; }
.docs-btn-arrow { color: var(--c-green); font-weight: 800; font-size: 1.2rem; }

.doc-list { display: flex; flex-direction: column; gap: 0.75rem; }
.doc-item {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  background: var(--c-white); border: 1px solid var(--c-light-border); border-left: 4px solid var(--c-green);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
}
.doc-item-meta { font-size: 0.75rem; text-transform: uppercase; font-weight: 800; color: var(--c-green); }
.doc-item-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; text-transform: uppercase; margin-top: 0.15rem; }
.doc-item.is-placeholder { border-left-color: var(--c-light-border); }
.doc-item.is-placeholder .doc-item-title { color: var(--c-light-muted); }
.doc-item.is-placeholder .doc-item-meta { color: var(--c-light-muted); }
.doc-item-soon { font-size: 0.8rem; color: var(--c-light-muted); font-style: italic; }

/* Pagina iscrizione e costi */
.iscr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.iscr-steps { display: flex; flex-direction: column; gap: 1.25rem; }
.iscr-step { display: grid; grid-template-columns: 52px 1fr; gap: 1.25rem; }
.iscr-step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--c-green); color: var(--c-white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem;
}
.iscr-step .card-section { margin-bottom: 0; }
.iscr-step h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; text-transform: uppercase; color: var(--c-green); margin-bottom: 0.6rem; }
.iscr-step p { margin-bottom: 0.75rem; }
.iscr-step p:last-child { margin-bottom: 0; }
.iscr-aside { position: sticky; top: calc(var(--nav-height) + 1rem); display: flex; flex-direction: column; gap: 1.25rem; }
.iscr-aside .card-section { margin-bottom: 0; padding: 1.5rem; }
.iban-box { background: var(--c-light); border-left: 4px solid var(--c-primary); border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-size: 0.95rem; margin: 0.75rem 0; }
.iban-box strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.04em; word-break: break-all; }
.alert-note { background: #fef9e7; border: 1px solid #f3dd8a; border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-size: 0.92rem; margin-bottom: 0.75rem; }
.alert-note.is-red { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
@media (max-width: 960px) { .iscr-layout { grid-template-columns: 1fr; } .iscr-aside { position: static; } }
@media (max-width: 520px) { .iscr-step { grid-template-columns: 1fr; } }

/* Tutele e Privacy: schede orizzontali */
.tutele-panel[hidden] { display: none; }
.tutele-tabs { margin-bottom: 1.75rem; }

/* Home: meno spazio tra bordo sezione e titolo (circa la metà) */
body[data-nav="home"] .section-pad { padding-top: clamp(1.5rem, 3vw, 2.75rem); padding-bottom: clamp(1.5rem, 3vw, 2.75rem); }
body[data-nav="home"] .section-tight { padding-top: 1.75rem; padding-bottom: 1.75rem; }

/* Gare di oggi: orario e campo al posto del "VS" */
.today-match-centre { flex: 0 1 38%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; }
.today-match-when { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.82rem; line-height: 1.25; color: var(--c-light-muted); }
.today-match-when strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--c-green); }
.today-match-when span { overflow-wrap: anywhere; }
.referee { display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem; font-weight: 600; }
.referee-icon { flex: none; color: var(--c-green); }
/* con l'arbitro il piede della scheda ha tre colonne: l'arbitro sta al centro vero, sotto l'orario e la giornata */
.match-day-card-footer:has(.match-day-referee) { display: grid; grid-template-columns: 1fr auto 1fr; }
.match-day-card-footer:has(.match-day-referee) > :first-child { justify-self: start; }
.match-day-card-footer:has(.match-day-referee) > :last-child { justify-self: end; text-align: right; }
@media (max-width: 768px) {
  .match-day-card-footer:has(.match-day-referee) { grid-template-columns: 1fr; }
  .match-day-card-footer:has(.match-day-referee) > * { justify-self: start; text-align: left; }
}

/* Fascia "Ultimi risultati" su sfondo nero a tutta larghezza */
.strip-band { background: var(--c-black); padding: 1.5rem 0; }
.strip-band .strip-wrap { margin-top: 0; margin-bottom: 0; }

/* ==========================================================================
   Eventi & Scadenze, Notizie (elenco), Documenti in home
   ========================================================================== */

/* Eventi in home: titolo con maiuscole e minuscole (in grassetto), la scheda si apre con un clic */
button.event-card { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.event-card .event-date-box, .event-card .event-day, .event-card .event-month,
.event-card .event-info, .event-card .event-type-badge, .event-card .event-title { display: block; }
.event-title { text-transform: none; font-weight: 800; letter-spacing: 0; line-height: 1.25; }
.event-card:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* Colori dei quadrati della data (gli stessi in home, calendario ed elenco) */
.ev-day, .ev-chip, .ev-item { --tone: var(--c-green); --tone-ink: var(--c-white); }
.ev-day.is-gold, .ev-chip.is-gold, .ev-item.is-gold { --tone: var(--c-primary); --tone-ink: var(--c-black); }
.ev-day.is-dark, .ev-chip.is-dark, .ev-item.is-dark { --tone: var(--c-dark); --tone-ink: var(--c-primary); }

/* Calendario */
.ev-cal { background: var(--c-white); border: 1px solid var(--c-light-border); border-radius: var(--radius-md); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.ev-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.ev-cal-title { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; text-transform: uppercase; text-align: center; }
.ev-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ev-weekday { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-light-muted); padding-bottom: 0.3rem; }
.ev-day {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; min-height: 104px; min-width: 0;
  padding: 0.4rem; text-align: left; font: inherit; color: var(--c-dark-text);
  background: var(--c-light); border: 1px solid var(--c-light-border); border-radius: var(--radius-sm);
}
.ev-day.is-blank { background: transparent; border-color: transparent; }
.ev-day.is-today { outline: 2px solid var(--c-primary); outline-offset: -2px; }
button.ev-day { cursor: pointer; background: var(--c-white); transition: var(--transition); }
button.ev-day:hover, button.ev-day:focus-visible { border-color: var(--tone); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ev-day-num {
  display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 0.3rem;
  border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; line-height: 1; color: var(--c-light-muted);
}
.ev-day.has-events .ev-day-num { background: var(--tone); color: var(--tone-ink); }
.ev-chip {
  display: block; max-width: 100%; padding: 0.1rem 0.35rem; border-left: 3px solid var(--tone); border-radius: 2px;
  background: var(--c-light); font-size: 0.72rem; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ev-more { font-size: 0.72rem; font-weight: 800; color: var(--c-light-muted); }
.ev-count { position: absolute; top: 4px; right: 5px; font-family: var(--font-display); font-weight: 900; font-size: 0.8rem; color: var(--c-light-muted); }
.ev-legend { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.82rem; color: var(--c-light-muted); }
.ev-legend li { display: inline-flex; align-items: center; gap: 0.4rem; }
.ev-swatch { width: 14px; height: 14px; border-radius: 3px; background: var(--c-green); }
.ev-swatch.is-gold { background: var(--c-primary); }
.ev-swatch.is-dark { background: var(--c-dark); }

/* Elenco: data a sinistra una sola volta, gli eventi di quel giorno affiancati a destra */
.ev-past-toggle { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--c-light-muted); cursor: pointer; }
.ev-list { background: var(--c-white); border: 1px solid var(--c-light-border); border-radius: var(--radius-md); padding: 0 1.25rem; box-shadow: var(--shadow-sm); }
.ev-row { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.1rem 0; border-top: 1px solid var(--c-light-border); }
.ev-row:first-child { border-top: 0; }
.ev-row.is-past { opacity: 0.55; }
.ev-row-date { min-width: 72px; }
.ev-row-date > * { display: block; }
.ev-row-year { font-size: 0.68rem; font-weight: 700; opacity: 0.85; margin-top: 0.1rem; }
.ev-row-events { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ev-item {
  flex: 1 1 260px; max-width: 440px; display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; padding: 0.75rem 1rem;
  text-align: left; font: inherit; color: var(--c-dark-text); cursor: pointer;
  background: var(--c-light); border: 1px solid var(--c-light-border); border-left: 5px solid var(--tone); border-radius: var(--radius-sm); transition: var(--transition);
}
.ev-item:hover, .ev-item:focus-visible { background: var(--c-white); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ev-item-title { font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.ev-item-meta { font-size: 0.82rem; color: var(--c-light-muted); }

/* Finestra con i dettagli (centrata, adatta anche alla PWA) */
.ev-dialog {
  position: fixed; inset: 0; margin: auto; height: fit-content; width: min(560px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; overscroll-behavior: contain;
  background: var(--c-white); color: var(--c-dark-text); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.ev-dialog::backdrop { background: rgba(0, 0, 0, 0.62); }
html:has(.ev-dialog[open]) { overflow: hidden; }
.ev-dialog-x { position: absolute; top: 0.6rem; right: 0.75rem; z-index: 1; font-size: 1.9rem; line-height: 1; padding: 0 0.35rem; color: var(--c-light-muted); }
.ev-dialog-body { max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); }
.ev-detail-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; line-height: 1.15; margin: 0.25rem 2rem 1rem 0; text-transform: none; }
.ev-detail-list { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; margin: 0 0 1rem; }
.ev-detail-list dt { font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-green); padding-top: 0.15rem; }
.ev-detail-list dd { margin: 0; }
.ev-detail-text { line-height: 1.55; margin: 0 0 1rem; white-space: pre-line; }
.ev-detail-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.ev-detail-sep { border: 0; border-top: 1px solid var(--c-light-border); margin: 1.5rem 0; }

/* Notizie: elenco con l'immagine a sinistra e data, titolo e descrizione a destra */
.news-list { display: flex; flex-direction: column; gap: 1.25rem; }
.news-row {
  display: grid; grid-template-columns: minmax(200px, 280px) 1fr; background: var(--c-white); border: 1px solid var(--c-light-border);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.news-row:hover { border-color: var(--c-primary); box-shadow: var(--shadow-md); }
.news-row-thumb { position: relative; min-height: 170px; background: var(--c-dark); overflow: hidden; }
.news-row-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-row-body { display: flex; flex-direction: column; padding: 1.25rem 1.5rem; min-width: 0; }
.news-row-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; text-transform: uppercase; line-height: 1.15; margin-bottom: 0.6rem; }
.news-row-title a:hover { color: var(--c-green); }
.news-row-excerpt { font-size: 0.95rem; color: var(--c-light-muted); line-height: 1.5; margin-bottom: 1rem; }
.news-row-body .news-readmore { margin-top: auto; }

/* Documenti in home */
#documenti-section .sec-title { color: var(--c-black); }
#documenti-section .sec-subtitle { color: var(--c-white); }
.docs-btn-label { display: flex; flex-direction: column; }

@media (max-width: 700px) {
  .ev-cal { padding: 0.75rem; }
  .ev-cal-grid { gap: 3px; }
  .ev-day { min-height: 54px; align-items: center; padding: 0.3rem 0.15rem; }
  .ev-chip, .ev-more { display: none; }
  .ev-row { flex-direction: column; gap: 0.75rem; }
  .ev-row-date { display: flex; align-items: baseline; gap: 0.5rem; min-width: 0; padding: 0.4rem 0.75rem; }
  .ev-row-date > * { display: inline; }
  .ev-item { max-width: none; }
  .news-row { grid-template-columns: 1fr; }
  .news-row-thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .ev-dialog-body { padding: 1.25rem; }
}

/* ==========================================================================
   Chi siamo: manifesto + timeline "La nostra storia" (js/timeline.js)
   ========================================================================== */

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; align-items: stretch; margin-bottom: 2.5rem; }
.about-manifesto { margin-bottom: 0; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.5rem); }
.about-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.05;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin: 0;
}
.about-manifesto-text { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 1rem; }
.about-manifesto .card-text { font-size: 1.04rem; line-height: 1.75; }
.about-manifesto .card-text:last-child { margin-bottom: 0; }

/* Pannello scuro: le sfere colorate e il pallone risaltano */
.tl-panel {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: var(--radius-md); border: 1px solid var(--c-dark-border);
  background: radial-gradient(120% 70% at 15% 0%, #1b3326 0%, #0e1511 45%, #0a0a0a 100%); color: var(--c-white);
}
.tl-head .about-title { color: var(--c-white); }
.tl-head { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) 0.4rem; position: relative; z-index: 3; }
.tl-scroll {
  position: relative; flex: none; height: 540px; overflow-y: auto; overscroll-behavior: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 11%, #000 89%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 11%, #000 89%, transparent 100%);
}
.tl-scroll::-webkit-scrollbar { display: none; }
.tl-track { position: relative; width: 100%; }
.tl-lines { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.tl-rail { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 2.5; stroke-linecap: round; }
.tl-rail-lit { fill: none; stroke: url(#tl-gold); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(212, 160, 23, 0.75)); }

/* Le date: sfera grande (foto o logo) + cerchio colorato con l'anno sulla linea */
.tl-nodes { list-style: none; margin: 0; padding: 0; }
.tl-node { position: absolute; width: 0; height: 0; }
.tl-sphere {
  position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden;
  transform: translate(-50%, -50%); transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.4s;
  background: radial-gradient(circle at 32% 28%, #5b616a, #1a1d21 72%); border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}
.tl-sphere img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.5s; }
.tl-sphere img.is-logo { width: 58%; height: 58%; object-fit: contain; opacity: 0.4; filter: none; transition: opacity 0.5s; }
.tl-year {
  position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; padding: 0;
  border-radius: 50%; border: 3px solid #0a0a0a; font-family: var(--font-display); font-weight: 900; letter-spacing: 0.02em;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), 0 4px 12px rgba(0, 0, 0, 0.55); cursor: pointer; transition: transform 0.3s, box-shadow 0.3s;
  min-width: 36px; min-height: 36px;
}
.tl-year::after { content: ''; position: absolute; inset: -10px; }   /* area di tocco più ampia */
.tl-year:hover, .tl-year:focus-visible { transform: translate(-50%, -50%) scale(1.12); outline: none; box-shadow: 0 0 0 3px var(--c-primary), 0 4px 12px rgba(0, 0, 0, 0.55); }
.tl-node.is-active .tl-year { transform: translate(-50%, -50%) scale(1.18); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 22px rgba(212, 160, 23, 0.65); }
.tl-node.is-active .tl-sphere { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(212, 160, 23, 0.55); }
.tl-node.is-active .tl-sphere img:not(.is-logo) { filter: none; }
.tl-node.is-active .tl-sphere img.is-logo { opacity: 0.85; }
.tl-node:not(.is-done):not(.is-active) .tl-year { filter: saturate(0.55) brightness(0.8); }

/* Linea tratteggiata e testo che si aprono di fianco alla data */
.tl-dash {
  position: absolute; height: 0; border-top: 2px dashed var(--tl-c, var(--c-primary)); transform: scaleX(0); transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none;
}
.tl-dash.is-open { transform: scaleX(1); }
.tl-card {
  position: absolute; box-sizing: border-box; padding: 0.75rem 0.9rem 0.8rem 1rem; border-left: 5px solid var(--tl-c, var(--c-primary));
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  opacity: 0; visibility: hidden; transform: translateX(-18px); transition: opacity 0.4s 0.25s, transform 0.5s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s 0.65s;
}
.tl-card.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0.25s, 0.25s, 0s; }
.tl-card-title { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.1; text-transform: uppercase; margin: 0 0 0.35rem; }
.tl-card-text { font-size: 0.86rem; line-height: 1.5; color: var(--c-white-muted); margin: 0; }
.tl-card-tag { display: inline-block; margin-bottom: 0.35rem; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-black); background: var(--c-primary); border-radius: 3px; padding: 0.05rem 0.4rem; }

/* Il pallone */
.tl-ball { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.35)); z-index: 2; }
.tl-ball svg { display: block; width: 100%; height: 100%; }

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .about-manifesto .card-text { font-size: 0.98rem; line-height: 1.65; }
  /* telefono: la timeline è intera, scorre con la pagina; si muovono solo le linee e il pallone verso la data al centro */
  .tl-scroll { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .tl-card-title { font-size: 1.05rem; }
  .tl-card-text { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-dash, .tl-card, .tl-sphere, .tl-year { transition: none; }
}

/* ==========================================================================
   Modulistica: elenco, pagina Adempimenti ASD, moduli compilabili (js/pdfform.js)
   ========================================================================== */

.form-list { list-style: none; margin: 0 0 2.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.form-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 1.5rem;
  background: var(--c-white); border: 1px solid var(--c-light-border); border-left: 4px solid var(--c-primary);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.form-row:hover, .form-row:focus-visible { border-color: var(--c-primary); box-shadow: var(--shadow-md); transform: translateX(4px); }
.form-row-main { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; min-width: 0; }
.form-row-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; line-height: 1.15; color: var(--c-dark-text); }
.form-row-text { font-size: 0.95rem; color: var(--c-light-muted); line-height: 1.5; max-width: 62ch; }
.form-row-go { flex: 0 0 auto; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-green); white-space: nowrap; }
.form-row:hover .form-row-go { color: var(--c-green-light); }
.back-link { margin: 0 0 1.25rem; font-size: 0.9rem; }

/* Adempimenti ASD: il testo è quello originale, qui cambia solo l'aspetto */
.doc-text { max-width: 900px; font-size: 0.97rem; }
.doc-text p { margin-bottom: 1rem; }
.doc-text h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; text-transform: uppercase; color: var(--c-green); margin: 2.25rem 0 0.75rem; padding-top: 1.25rem; border-top: 3px solid var(--c-primary); scroll-margin-top: calc(var(--nav-height) + 1rem); }
.doc-text h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; text-transform: uppercase; margin: 1.5rem 0 0.4rem; scroll-margin-top: calc(var(--nav-height) + 1rem); }
.doc-text a:not(.file-link) { color: var(--c-green); font-weight: 700; text-decoration: underline; }
.file-link {
  display: inline-flex; align-items: center; gap: 0.45rem; margin: 0.15rem 0; padding: 0.2rem 0.65rem 0.2rem 0.5rem;
  font-weight: 700; color: var(--c-green); background: #0066330f; border: 1px solid #00663330; border-radius: var(--radius-sm);
}
.file-link::before { content: ''; width: 0.95em; height: 0.95em; flex: 0 0 auto; background: currentColor; -webkit-mask: var(--dl-icon) center / contain no-repeat; mask: var(--dl-icon) center / contain no-repeat; }
.file-link:hover { background: var(--c-green); color: var(--c-white); border-color: var(--c-green); }
:root { --dl-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M11 3h2v9.2l3.6-3.6L18 10l-6 6-6-6 1.4-1.4L11 12.2zM5 18h14v2H5z'/></svg>"); }
.doc-toc { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.25rem; margin-bottom: 1.75rem; background: var(--c-light); border-left: 4px solid var(--c-primary); border-radius: var(--radius-sm); }
.doc-toc a { font-weight: 700; color: var(--c-green); }
.doc-toc a:hover { text-decoration: underline; }

/* Pagine dei moduli (ricorso, richiesta arbitro) */
.form-steps-card .form-steps { margin: 0 0 1.5rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; list-style: decimal; }
.form-steps-card .form-steps li::marker { font-weight: 800; color: var(--c-green); }
#promemoria ul { margin: 0 0 1rem 1.4rem; list-style: disc; }
#promemoria li, #promemoria p { margin-bottom: 0.6rem; font-size: 0.95rem; }
#promemoria .card-section-title:not(:first-child) { margin-top: 1.75rem; }
.form-tag { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-light-muted); background: var(--c-light); border: 1px solid var(--c-light-border); border-radius: 3px; vertical-align: 0.1em; }
.form-tag.is-required { color: #b91c1c; background: #dc26260d; border-color: #dc262633; }

/* Finestra del modulo */
.pf-dialog { width: min(820px, calc(100vw - 2rem)); }
.pf-dialog [hidden] { display: none !important; }
.pf-intro { color: var(--c-light-muted); margin: 0 0 1.25rem; }
.pf-section { margin: 0 0 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--c-light-border); }
.pf-section-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-green); margin: 0 0 0.6rem; }
.pf-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.85rem 1rem; }
.pf-field { min-width: 0; border: 0; margin: 0; padding: 0; }
.pf-field > label, .pf-field > legend, .pf-extra > label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.3rem; padding: 0; color: var(--c-dark-text); }
.pf-field input[type="text"], .pf-field input[type="tel"], .pf-field input[type="email"], .pf-field input[type="date"], .pf-field input[type="time"], .pf-field input[type="number"], .pf-field textarea, .pf-extra input, .pf-extra textarea {
  width: 100%; padding: 0.6rem 0.75rem; font: inherit; color: var(--c-dark-text); background: var(--c-white);
  border: 1px solid #cbd5e1; border-radius: var(--radius-sm);
}
.pf-field textarea, .pf-extra textarea { resize: vertical; line-height: 1.45; }
.pf-field input:focus-visible, .pf-field textarea:focus-visible, .pf-extra input:focus-visible, .pf-extra textarea:focus-visible { outline: 2px solid var(--c-green); outline-offset: 1px; border-color: var(--c-green); }
.pf-field input:disabled, .pf-extra input:disabled, .pf-extra textarea:disabled { background: var(--c-light); color: var(--c-light-muted); cursor: not-allowed; }
.pf-options { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.pf-radio .pf-options { flex-direction: column; gap: 0.4rem; }
.pf-opt { display: inline-flex; align-items: flex-start; gap: 0.55rem; cursor: pointer; font-size: 0.95rem; line-height: 1.4; }
.pf-opt input { margin-top: 0.2rem; width: 1.05rem; height: 1.05rem; flex: 0 0 auto; accent-color: var(--c-green); }
.pf-check { padding: 0.15rem 0; }
.pf-extra { display: none; margin: 0.5rem 0 0 1.6rem; }
.pf-extra.is-on { display: block; }
.pf-hint { margin: 0.3rem 0 0; font-size: 0.8rem; color: var(--c-light-muted); line-height: 1.45; }
.pf-section > .pf-hint { margin: 0 0 0.8rem; }
.pf-req { color: #dc2626; text-decoration: none; margin-left: 0.15rem; }
.pf-legend { font-size: 0.8rem; color: var(--c-light-muted); margin: 0 0 1rem; }
.pf-err { display: block; margin-top: 0.3rem; font-size: 0.82rem; font-weight: 700; color: #b91c1c; }
.has-error input:not([type="checkbox"]):not([type="radio"]), .has-error textarea { border-color: #dc2626; }
.pf-actions { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.pf-after { margin: 0 0 1rem; }
.pf-frame { width: 100%; height: min(56vh, 560px); border: 1px solid var(--c-light-border); border-radius: var(--radius-sm); background: var(--c-light); margin-bottom: 0.4rem; }
.pf-frame-hint { margin-bottom: 1rem; }

/* Finestra del preventivo (js/preventivo.js) */
.pv-dialog { width: min(680px, calc(100vw - 2rem)); }
.pv-form { display: grid; gap: 1.1rem; margin-bottom: 1.25rem; }
.pv-select { width: 100%; padding: 0.6rem 0.75rem; font: inherit; color: var(--c-dark-text); background: var(--c-white); border: 1px solid #cbd5e1; border-radius: var(--radius-sm); }
.pv-select:focus-visible, .pv-card input:focus-visible { outline: 2px solid var(--c-green); outline-offset: 1px; border-color: var(--c-green); }
.pv-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; }
.pv-card label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.3rem; }
.pv-unit { font-weight: 400; color: var(--c-light-muted); white-space: nowrap; }
.pv-card input { width: 100%; padding: 0.55rem 0.7rem; font: inherit; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); }
.pv-table-wrap { overflow-x: auto; border: 1px solid var(--c-light-border); border-radius: var(--radius-sm); }
.pv-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.pv-table th, .pv-table td { padding: 0.55rem 0.8rem; text-align: left; border-bottom: 1px solid var(--c-light-border); vertical-align: top; }
.pv-table thead th { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-light-muted); background: var(--c-light); }
.pv-table tbody th { font-weight: 700; }
.pv-table .pv-amount { text-align: right; white-space: nowrap; }
.pv-detail { color: var(--c-light-muted); white-space: nowrap; }
.pv-note { display: block; font-weight: 400; font-size: 0.82rem; color: var(--c-light-muted); }
.pv-table tfoot th, .pv-table tfoot td { border-bottom: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; text-transform: uppercase; color: var(--c-green); }
.pv-result .pf-hint { margin-top: 0.6rem; }
@media (max-width: 700px) {
  .pv-table { font-size: 0.86rem; }
  .pv-table th, .pv-table td { padding: 0.5rem 0.55rem; }
  .pv-detail { white-space: normal; }
}

@media (max-width: 700px) {
  .form-row { flex-direction: column; align-items: flex-start; gap: 0.9rem; padding: 1.1rem 1.1rem; }
  .form-row:hover, .form-row:focus-visible { transform: none; }
  .form-row-title { font-size: 1.3rem; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-grid > * { grid-column: auto !important; }
  .pf-actions { flex-direction: column-reverse; align-items: stretch; }
  .pf-actions .btn { width: 100%; justify-content: center; }
  .pf-frame { height: 50vh; }
}

/* Tutela sanitaria: testo originale, qui cambia solo l'aspetto */
.tutela-intro { margin: 0 0 2rem; padding: 1.1rem 1.4rem; background: var(--c-light); border-left: 4px solid var(--c-primary); border-radius: var(--radius-sm); font-size: 1.02rem; }
.tutela-intro p:last-child, .tutela-body p:last-child { margin-bottom: 0; }
.tutela-intro p, .tutela-body p { margin-bottom: 1rem; }
.tutela-block { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: 1rem 2.5rem; padding: 1.75rem 0; border-top: 1px solid var(--c-light-border); }
.tutela-block h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; text-transform: uppercase; line-height: 1.1; color: var(--c-green); }
.tutela-body { min-width: 0; font-size: 0.97rem; overflow-wrap: anywhere; }
.tutela-body a { color: var(--c-green); font-weight: 700; text-decoration: underline; }
@media (max-width: 800px) { .tutela-block { grid-template-columns: 1fr; padding: 1.4rem 0; } }
/* Manifestazioni annunciate ma non ancora in archivio: nome, logo e "coming soon", senza pulsante */
.manif-card.is-soon { background: repeating-linear-gradient(135deg, var(--c-white) 0 14px, #f6f7f9 14px 28px); border-style: dashed; }
.manif-card.is-soon .manif-logo-box img { opacity: 0.92; }
.manif-soon { display: flex; align-items: center; justify-content: center; min-height: 180px; padding: 1rem 1rem 1.75rem; }
.manif-soon img { width: min(250px, 84%); height: auto; transform: rotate(-2deg); filter: drop-shadow(0 6px 10px rgba(160, 0, 0, 0.12)); }

/* ==========================================================================
   Pagina di una notizia (notizia.html) e testo formattato del CMS
   ========================================================================== */
.article { max-width: 820px; margin: 0 auto; }
.article-head { margin-bottom: 1.5rem; }
.article-meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; color: var(--c-light-muted); font-size: 0.9rem; }
.article-title { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; line-height: 1.08; text-transform: uppercase; }
.article-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 1.75rem; background: var(--c-dark); }
.article-lead { font-size: 1.15rem; color: var(--c-light-muted); line-height: 1.55; margin-bottom: 1.5rem; }
.rich { font-size: 1.02rem; line-height: 1.7; overflow-wrap: anywhere; }
.rich > * + * { margin-top: 1rem; }
.rich h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; text-transform: uppercase; color: var(--c-green); margin-top: 2rem; }
.rich h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; margin-top: 1.6rem; }
.rich h4 { font-weight: 800; margin-top: 1.4rem; }
.rich ul, .rich ol { margin-left: 1.4rem; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li + li { margin-top: 0.3rem; }
.rich a { color: var(--c-green); font-weight: 700; text-decoration: underline; }
.rich blockquote { padding: 0.9rem 1.25rem; background: var(--c-light); border-left: 4px solid var(--c-primary); border-radius: var(--radius-sm); }
.rich img { border-radius: var(--radius-md); margin-left: auto; margin-right: auto; }
.rich hr { border: 0; border-top: 1px solid var(--c-light-border); margin: 1.75rem 0; }
.rich figure { margin: 1.5rem 0; }
.rich figcaption { margin-top: 0.4rem; font-size: 0.85rem; color: var(--c-light-muted); text-align: center; }
.rich table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
@media (max-width: 640px) { .rich table { display: block; overflow-x: auto; } }
.rich th, .rich td { border: 1px solid var(--c-light-border); padding: 0.55rem 0.8rem; text-align: left; vertical-align: top; }
.rich th { background: var(--c-light); font-weight: 800; }
/* Età minima di una manifestazione: piccola etichetta accanto al nome o alla sigla ("18+") */
.manif-age {
  display: inline-block; margin-left: 0.45rem; padding: 0.05rem 0.4rem; border: 1px solid currentColor; border-radius: 3px;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.35;
  vertical-align: 0.12em; color: var(--c-light-muted); background: transparent; text-transform: none;
}
.badge .manif-age { color: inherit; opacity: 0.85; }
/* Finale in evidenza, finale 3°-4° posto più piccola */
.bracket-final-badge {
  font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; letter-spacing: 0.22em; text-align: center;
  text-transform: uppercase; color: var(--c-primary-dark); margin: -0.15rem 0 0.7rem;
}
.bracket-third-badge {
  font-family: var(--font-display); font-weight: 800; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-light-muted); margin-bottom: 0.35rem;
}
.bracket-match.is-final { padding: 1.35rem 1.25rem 1.15rem; transform: scale(1.04); margin: 0.5rem 0.25rem; align-self: center; width: calc(100% - 0.5rem); max-width: 460px; }
.bracket-match.is-final .bracket-team-name { font-size: 1.1rem; }
.bracket-match.is-final .bracket-team-logo, .bracket-match.is-final .bracket-team-logo.crest-colors { width: 30px; height: 30px; }
.bracket-match.is-final .bracket-score { font-size: 1.25rem; }
.bracket-match.final-match.is-third {
  align-self: center; width: 86%; padding: 0.55rem 0.7rem; transform: none; border: 1px solid var(--c-light-border);
  background: var(--c-light); box-shadow: none;
}
.bracket-match.is-third .bracket-team-line { padding: 0.28rem 0.4rem; margin-bottom: 0.25rem; }
.bracket-match.is-third .bracket-team-name { font-size: 0.8rem; }
.bracket-match.is-third .bracket-team-logo, .bracket-match.is-third .bracket-team-logo.crest-colors { width: 18px; height: 18px; }
.bracket-match.is-third .bracket-score { font-size: 0.85rem; }
.bracket-match.is-third .bracket-match-label { font-size: 0.66rem; margin-bottom: 0.3rem; }
/* Capitano: piccola "C" accanto al nome, tra i giocatori */
.captain-badge {
  display: inline-block; min-width: 1.15rem; margin-left: 0.3rem; padding: 0 0.28rem; border-radius: 3px; text-align: center; text-decoration: none; cursor: help;
  background: var(--c-primary); color: var(--c-black); font-family: var(--font-display); font-weight: 900; font-size: 0.72rem; line-height: 1.35; vertical-align: 0.1em;
}
/* ==========================================================================
   Partita: formazioni non ufficiali inserite nel Live (tra il risultato e le rose)
   ========================================================================== */
.pl-section {
  margin-bottom: 2rem; padding: 1.5rem; background: var(--c-white); border: 1px solid var(--c-light-border);
  border-top: 4px solid var(--c-primary); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.pl-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.pl-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; text-transform: uppercase; line-height: 1; }
.pl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.pl-team { min-width: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.pl-team-name { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.pl-team-name span { min-width: 0; overflow-wrap: anywhere; }
.pl-team-name small { margin-left: auto; padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--c-light); border: 1px solid var(--c-light-border); font-size: 0.8rem; letter-spacing: 0.05em; color: var(--c-light-muted); white-space: nowrap; }
.pl-by { margin: 0; font-size: 0.78rem; font-style: italic; color: var(--c-light-muted); }
.pl-link { color: var(--c-green); font-weight: 800; font-style: normal; text-decoration: underline; }
.pl-empty {
  flex: 1; min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; text-align: center;
  border: 2px dashed var(--c-light-border); border-radius: var(--radius-md); color: var(--c-light-muted); background: repeating-linear-gradient(135deg, var(--c-white) 0 14px, #f8f9fb 14px 28px);
}
.pl-empty > span[aria-hidden] { font-size: 1.8rem; opacity: 0.45; }
.pl-empty b, .pl-empty .pl-link { font-size: 0.95rem; }
.pl-empty p { margin: 0; font-weight: 700; }
.pl-foot { margin: 1.1rem 0 0; font-size: 0.78rem; color: var(--c-light-muted); }
.pl-foot a { color: var(--c-green); font-weight: 700; text-decoration: underline; }
/* nessuna formazione: una riga discreta, non una sezione */
.pl-section:has(> .pl-none) { padding: 0.8rem 1.1rem; border-top-width: 1px; box-shadow: none; background: var(--c-light); }
.pl-none { margin: 0; display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--c-light-muted); }
@media (max-width: 760px) { .pl-grid { grid-template-columns: 1fr; } .pl-section { padding: 1.1rem; } }
/* nessuna formazione: la scritta è un pulsante che apre l'inserimento (se il Live lo permette) */
.pl-none.is-action { width: 100%; background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; color: var(--c-light-muted); }
.pl-none.is-action:hover .pl-link { color: var(--c-green-dark); }
button.pl-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; cursor: pointer; }
button.pl-empty.is-action { font: inherit; cursor: pointer; }
button.pl-empty.is-action:hover { border-color: var(--c-green); color: var(--c-dark-text); }
.pl-empty b { font-weight: 700; }
/* etichetta sul campo, in alto a sinistra */
.pl-field { position: relative; }
.pl-unofficial {
  position: absolute; top: 0.55rem; left: 0.55rem; z-index: 3; padding: 0.12rem 0.5rem; border-radius: 3px; pointer-events: none;
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  color: #92400e; background: rgba(254, 243, 199, 0.94); border: 1px solid #fcd34d;
}



/* ==========================================================================
   TOUCH: nessun effetto "sollevato" che resta attaccato dopo il tocco (i movimenti solo con mouse)
   ========================================================================== */
@media (hover: none) {
  .team-card:hover, .manif-row:hover, .docs-btn:hover, button.ev-day:hover, .ev-item:hover, .form-row:hover, .social-icon:hover, .partner-logo:hover,
  .manif-card:hover, .news-card:hover, .match-pill:hover, .match-result-pill:hover, .today-match-card:hover, .event-card:hover, .consiglio-card:hover,
  .bracket-match:hover, .btn-primary:hover, .btn-green:hover, .partner-item:hover, .social-circle:hover { transform: none; }
  .manif-card:hover .manif-logo-hero img, .news-card:hover .news-thumb img, .consiglio-card:hover .consiglio-photo { transform: none; }
}

/* ==========================================================================
   STAMPA: solo il contenuto (normativa, modulistica, calendari), senza header, fasce, pulsanti e footer
   ========================================================================== */
@media print {
  .site-header, .mobile-nav, .site-footer, .strip-band, .iscr-band, .hero-partners, .skip-link, #to-top,
  .filters-bar, .filter-pills-group, .news-toolbar, .btn, .live-band, .sk-band, .live-dialog, .sk-dialog, .match-share-row { display: none !important; }
  html, body, main, section, .sec-dark, .sec-green, .sec-light, .sec-white { background: #fff !important; color: #000 !important; }
  main { margin: 0 !important; padding: 0 !important; display: block !important; }
  .page-main { padding-top: 0 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #444; }
  article, .match-detail-card, .match-day-card, .ev-row, .manif-card, tr { break-inside: avoid; }
  body::before { content: "Lega Calcio Friuli Collinare — lcfc.it"; display: block; font-weight: 700; margin-bottom: 0.6rem; }
}

/* Telefono e tablet piccoli: campi a 16 px (niente zoom di Safari) e bersagli da toccare di almeno 44 px */
@media (max-width: 768px) {
  input, select, textarea, .form-control, .form-control-inline, .control, .news-filter-select, .news-search-input { font-size: 16px; }
  .btn, .link-button, .date-nav-btn, .quick-day-btn, .view-btn, .filter-pill, .strip-link, .link-more { min-height: 44px; }
  .link-button { display: inline-flex; align-items: center; padding-top: 0.55rem; padding-bottom: 0.55rem; }
  .mobile-toggle { width: 44px; height: 44px; }
}

/* Riga "coming soon" nelle proposte della home: non si clicca */
.manif-row.is-soon { border-style: dashed; background: repeating-linear-gradient(135deg, var(--c-white) 0 14px, #f6f7f9 14px 28px); cursor: default; }
.manif-row.is-soon:hover { border-color: var(--c-light-border); box-shadow: none; transform: none; }
.manif-row.is-soon .manif-row-logo { opacity: 0.92; }

/* Risultati: riquadro "Scarica il calendario completo" */
.calendar-bar { margin-top: 0.75rem; align-items: flex-end; }
.calendar-bar-title { flex: 1 1 100%; flex-direction: row; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.calendar-bar-title span { color: var(--c-light-muted); font-size: 0.85rem; }
.calendar-bar-msg { flex: 1 1 100%; margin: 0; color: var(--c-light-muted); font-size: 0.9rem; }
.calendar-bar-msg:empty { display: none; }

/* ==========================================================================
   Albo d'oro: schede delle stagioni, pagina di una stagione (Panoramica / Competizioni / Foto)
   ========================================================================== */
.hof-decades { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.hof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 1rem; }
.hof-card {
  display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-light-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden; color: inherit; transition: var(--transition);
}
a.hof-card:hover { border-color: var(--c-green); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hof-card.is-empty { opacity: 0.55; background: var(--c-light); }
.hof-card-year { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; text-transform: uppercase; padding: 0.7rem 1rem 0.5rem; letter-spacing: 0.02em; }
.hof-card-cover { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--c-dark) 0%, #243a2e 100%); overflow: hidden; }
.hof-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hof-cover-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 2.6rem; filter: grayscale(0.2); }
.hof-card-body { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.7rem 1rem 0.3rem; min-height: 3.6rem; }
.hof-card-champ { font-weight: 700; line-height: 1.2; }
.hof-card-champ small { display: block; font-weight: 600; font-size: 0.75rem; color: var(--c-light-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.hof-card-soon { font-size: 0.85rem; font-weight: 700; color: var(--c-light-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.hof-card-meta { font-size: 0.8rem; color: var(--c-light-muted); }
.hof-card-cta { padding: 0.5rem 1rem 0.9rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--c-green); font-size: 0.95rem; letter-spacing: 0.04em; }

.hof-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.hof-tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 2px solid var(--c-light-border); margin: 1rem 0 1.5rem; }
.hof-tab {
  background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 0.7rem 1.1rem; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-light-muted); white-space: nowrap;
}
.hof-tab:hover { color: var(--c-dark-text); }
.hof-tab.active { color: var(--c-green); border-bottom-color: var(--c-primary); }
.hof-panel[hidden] { display: none; }

.hof-lead { font-size: 1.1rem; line-height: 1.6; max-width: 70ch; margin-bottom: 1.5rem; }
.hof-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1rem; margin-bottom: 2rem; }
.hof-hl { background: var(--c-dark); color: var(--c-white); border-radius: var(--radius-md); padding: 1rem 1.25rem; border-left: 4px solid var(--c-primary); display: flex; flex-direction: column; gap: 0.15rem; }
.hof-hl small { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-primary); font-weight: 700; }
.hof-hl strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; text-transform: uppercase; }
.hof-hl span { font-size: 0.85rem; color: var(--c-white-muted); }
.hof-h3 { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; margin: 0 0 0.75rem; }
.hof-table-wrap { overflow-x: auto; background: var(--c-white); border: 1px solid var(--c-light-border); border-radius: var(--radius-md); }
.hof-table { width: 100%; border-collapse: collapse; }
.hof-table th { text-align: left; padding: 0.6rem 1rem; background: var(--c-dark); color: var(--c-white); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; }
.hof-table td { padding: 0.6rem 1rem; border-top: 1px solid var(--c-light-border); vertical-align: top; }
.hof-table tr:nth-child(even) td { background: var(--c-light); }
.hof-table td small { display: block; color: var(--c-light-muted); font-size: 0.75rem; }

.hof-cats { margin-bottom: 1rem; }
.hof-comps { display: flex; flex-direction: column; gap: 0.75rem; }
.hof-comp { background: var(--c-white); border: 1px solid var(--c-light-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.hof-comp[hidden] { display: none; }
.hof-comp > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; padding: 0.9rem 1.1rem; cursor: pointer; list-style: none; min-height: 44px; }
.hof-comp > summary::-webkit-details-marker { display: none; }
.hof-comp > summary::after { content: '+'; margin-left: auto; font-size: 1.4rem; font-weight: 700; color: var(--c-green); line-height: 1; }
.hof-comp[open] > summary::after { content: '–'; }
.hof-comp-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; }
.hof-comp-win { font-size: 0.9rem; font-weight: 700; color: var(--c-green); }
.hof-comp-win::before { content: '🏆 '; }
.hof-comp-body { padding: 0.25rem 1.1rem 1.1rem; border-top: 1px solid var(--c-light-border); }
.hof-note { color: var(--c-light-muted); font-size: 0.92rem; margin: 0.75rem 0; max-width: 75ch; }
.hof-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 0.75rem; }
.hof-block { margin-bottom: 1rem; }
.hof-sub { font-family: var(--font-display); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-green); margin: 0 0 0.4rem; }
.hof-podium { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.hof-podium li { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.3rem 0.5rem; border-radius: var(--radius-sm); }
.hof-podium li:nth-child(odd) { background: var(--c-light); }
.hof-rank { flex: 0 0 2rem; font-family: var(--font-display); font-weight: 900; color: var(--c-light-muted); }
.hof-rank.r1 { color: #B8860B; } .hof-rank.r2 { color: #7a8794; } .hof-rank.r3 { color: #a0622d; }
.hof-promo { margin: 0.2rem 0; font-size: 0.92rem; }
.hof-scorers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.hof-scorers small { display: block; font-size: 0.72rem; color: var(--c-light-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.hof-goals { display: inline-block; margin-left: 0.35rem; font-size: 0.8rem; font-weight: 700; color: var(--c-green); }
.hof-final { background: var(--c-light); border-radius: var(--radius-md); padding: 0.9rem 1rem; }
.hof-final-where { margin: 0 0 0.6rem; font-size: 0.85rem; color: var(--c-light-muted); }
.hof-final-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.6rem; text-align: center; }
.hof-final-team { font-weight: 700; line-height: 1.2; }
.hof-final-team.is-winner { color: var(--c-green); }
.hof-final-team.is-winner::after { content: ' 🏆'; }
.hof-final-res { font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; background: var(--c-dark); color: var(--c-primary); padding: 0.1rem 0.7rem; border-radius: var(--radius-sm); }
.hof-final-note { text-align: center; margin: 0.4rem 0 0; font-size: 0.85rem; color: var(--c-light-muted); }
.hof-final-line { margin: 0.5rem 0 0; font-size: 0.88rem; }
.hof-more { margin-top: 0.8rem; }
.hof-more > summary { cursor: pointer; font-weight: 700; color: var(--c-green); min-height: 44px; display: flex; align-items: center; }
.hof-more p { font-size: 0.85rem; line-height: 1.5; margin: 0.5rem 0; }
.hof-more ul { font-size: 0.88rem; padding-left: 1.1rem; }
.hof-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 0.75rem; }
.hof-photos figure { margin: 0; }
.hof-photos img { width: 100%; height: auto; border-radius: var(--radius-md); display: block; }
.hof-photos figcaption { font-size: 0.8rem; color: var(--c-light-muted); margin-top: 0.25rem; }
@media (max-width: 800px) { .hof-cols { grid-template-columns: 1fr; gap: 0; } }
@media print { .hof-decades, .hof-tabs, .hof-nav { display: none !important; } }

.hof-hl.is-main { border-left-color: var(--c-green-light); background: linear-gradient(135deg, var(--c-dark) 0%, #123524 100%); }
.hof-hl-line { display: block; font-size: 0.95rem; line-height: 1.3; margin-top: 0.35rem; color: var(--c-white); }
.hof-hl-line b { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-primary); }
.hof-hl-line em { font-style: normal; color: var(--c-white-muted); font-size: 0.85rem; }
.hof-comp.is-main { border-color: var(--c-primary); box-shadow: var(--shadow-md); }
.hof-comp-body > .hof-photos { margin: 0.75rem 0 0.5rem; }

.hof-lead + .hof-lead { margin-top: -0.75rem; }
.hof-brief { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.5rem; max-width: 75ch; }
.hof-brief li { position: relative; padding-left: 1.5rem; line-height: 1.45; }
.hof-brief li::before { content: ''; position: absolute; left: 0.2rem; top: 0.55em; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--c-primary); }
.hof-cols.is-single { grid-template-columns: 1fr; }
