/* BBC — Contrasto (WCAG AA: 4,5:1 testo normale, 3:1 testo grande). Caricato per ultimo. */
/* Barra superiore e menu */
.bbc-topbar { color: rgba(255,255,255,.85); }
.bbc-topbar a:hover { color: #fff; }
.bbc-nav-links a { color: rgba(255,255,255,.95); }
.bbc-mobile-menu a { color: #fff; }
/* Footer (sfondo #1A2A3A) */
.bbc-footer .footer-tagline { color: rgba(255,255,255,.72); }
.bbc-footer .footer-col h4 { color: #A9C3EE; }
.bbc-footer .footer-col a { color: rgba(255,255,255,.82); }
.bbc-footer .footer-col a:hover, .bbc-footer .footer-legal a:hover { color: #fff; }
.bbc-footer .footer-copy, .bbc-footer .footer-legal a { color: rgba(255,255,255,.7); }
/* Blocchi su sfondo scuro: testo sempre chiaro, oro più luminoso dove lo sfondo è blu medio */
.bbc-block:is(.bbc-theme-blu,.bbc-theme-navy,.bbc-theme-tab) { color: #fff; }
.bbc-block.bbc-theme-blu .bbc-eyebrow { color: #FFD27A; }
.bbc-block.bbc-theme-blu .bbc-numeri li strong { color: #FFD27A; }
.bbc-block:is(.bbc-theme-blu,.bbc-theme-navy,.bbc-theme-tab) .bbc-sub { color: rgba(255,255,255,.9); }
.bbc-block:is(.bbc-theme-blu,.bbc-theme-navy,.bbc-theme-tab) .bbc-numeri li span { opacity: .92; }
.bbc-block:is(.bbc-theme-blu,.bbc-theme-navy,.bbc-theme-tab) .bbc-numeri__note { opacity: .85; }
.bbc-block .bbc-hero__title { color: #fff; }
.bbc-block .bbc-hero__sub { color: rgba(255,255,255,.92); }
/* Testi piccoli grigi su chiaro */
.bbc-block--sostenitori small { color: #4A5568; }
.bbc-theme-beige .bbc-sub, .bbc-theme-light .bbc-sub, .bbc-theme-pale .bbc-sub { color: #3F4B5B; }
/* Pagine storiche (Marcia, Chi siamo) */
.bmc-tl-year { color: #A86A00; }
.bbc-btn-primary { color: #1A2A3A !important; }
.bmc .bmc-title { font-family: "Barlow Condensed", "Raleway", sans-serif; font-size: clamp(38px, 6vw, 64px); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .95; color: #fff; margin: 6px 0 14px; }
.bmc .bmc-tl-year { color: #A86A00; }
.bmc .bmc-eyebrow { color: #8A5700; }
.bmc .bmc-eyebrow--light, .bmc .bmc-blu .bmc-eyebrow, .bmc .bmc-event-header .bmc-eyebrow { color: #F5D070; }
.bmc .bmc-btn--gold { color: #1A2A3A; }
.bmc .bmc-btn--orange { background: #C2410C; color: #fff; }
.bmc .bmc-wl-logo { color: #C2410C; }
.bmc .bmc-wikiloc { color: #333; }
.bmc .bmc-sbtn--fb { background: #1464D2; }
.bmc .bmc-sbtn--ig { background: #C1275A; }
/* Niente scroll orizzontale da sezioni a tutta larghezza */
body { overflow-x: clip; }
.bmc, .bmc :is(.bmc-blu,.bmc-pale,.bmc-gold,.bmc-social) { margin-left: 0 !important; margin-right: 0 !important; }
.bbc-block:is(.bbc-theme-blu,.bbc-theme-navy,.bbc-theme-tab) .bbc-contatti li span { color: rgba(255,255,255,.78); }
/* logo footer: mostrato com è (il filtro lo trasformava in un rettangolo bianco) */
.bbc-footer .footer-brand img { filter: none; opacity: 1; height: 44px; border-radius: 4px; }
@media (max-width:860px){ .bbc-hero.has-image::before, .has-image .bbc-hero::before { background: rgba(15,43,70,.84) !important; } }

/* ── Testo sopra fotografie: velo scuro minimo 75% a qualsiasi larghezza + ombra leggera ── */
.bbc-hero.has-image::before, .has-image .bbc-hero::before,
.bbc-block--hero-evento.has-image .bbc-hero::before {
  background: linear-gradient(90deg, rgba(12,34,58,.94) 0%, rgba(12,34,58,.86) 55%, rgba(12,34,58,.76) 100%) !important;
}
.bbc-ev-hero.has-image::before { background: linear-gradient(0deg, rgba(12,34,58,.94), rgba(12,34,58,.78)) !important; }
.has-image .bbc-hero__content, .bbc-ev-hero.has-image .bbc-ev-hero__inner { text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.has-image .bbc-hero__title em, .has-image .bbc-hero__title strong { color: #FFB37A; }
.bbc-theme-tab.has-image .bbc-eyebrow, .has-image .bbc-hero .bbc-eyebrow { color: #FFD27A; }
/* Testi secondari: niente trasparenze che abbassano il contrasto */
.bbc-notify-privacy, .bbc-notify-privacy a { opacity: 1 !important; }
.bbc-block cite, .bbc-citazione cite { opacity: 1 !important; color: inherit; }
.bbc-block:is(.bbc-theme-light,.bbc-theme-pale,.bbc-theme-beige) cite { color: #3F4B5B; }
.bbc-block:is(.bbc-theme-blu,.bbc-theme-navy,.bbc-theme-tab) cite { color: rgba(255,255,255,.85); }
.bbc-ev-hero .bbc-eyebrow { color: #FFD27A; }
/* Indirizzi lunghi (email, PEC) vanno a capo invece di uscire dal riquadro */
.bbc-contatti a, .bbc-footer a, .bbc-topbar a, .bbc-ev-facts li { overflow-wrap: anywhere; }
.bbc-contatti li { min-width: 0; }
