/* === IC GLOBAL OVERRIDES v7 === */

/* 2026-05-21 ‚Äö√Ñ√∂‚àö√ë‚àö√Ü Stato voce attiva nel menu header.
   Sottolineatura giallo brand sotto la voce della pagina corrente.
   aria-current="page" e' settato via JS da uno snippet inline a fine pagina. */
.site-header__nav a[aria-current="page"] {
  color: #0b2340 !important;
  font-weight: 700 !important;
  position: relative;
}
.site-header__nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -6px;
  height: 3px;
  background: #5BC4FF;
  border-radius: 999px;
  pointer-events: none;
}
/* Su tema scuro / kiosk: testo bianco con underline gialla */
html.theme-dark .site-header__nav a[aria-current="page"],
html.ic-display-kiosk-h .site-header__nav a[aria-current="page"],
html.ic-display-kiosk-v .site-header__nav a[aria-current="page"] {
  color: #fff !important;
}

.whatsapp-fab{display:none!important}
body .sf-whatsapp-btn{display:flex!important;align-items:center;justify-content:center;gap:.5rem;padding:.7rem 1.4rem;font-size:.9rem;font-weight:600;border-radius:2rem;text-decoration:none;transition:all .2s;text-align:center;width:100%;max-width:280px;box-sizing:border-box;background:#25D366!important;color:#fff!important;border:1.5px solid #25D366!important;margin-top:.6rem}
:root.force-light .site-footer{background:#04101f!important;color:#e2e8f0!important}
:root.force-light .site-footer h4{color:#f0c040!important}
:root.force-light .site-footer p,:root.force-light .site-footer li{color:rgba(226,232,240,.8)!important}
:root.force-light .site-footer a{color:#f0c040!important}
:root.force-light .site-footer__bottom{border-top-color:rgba(255,255,255,.1)!important}
:root.force-light .site-footer__bottom p{color:rgba(226,232,240,.5)!important}
:root.force-light .sf-cta-btn:not(.sf-cta-btn--wa){color:#f0c040!important;border-color:#f0c040!important;background:transparent!important}
:root.force-light .sf-cta-btn--wa{background:#25D366!important;color:#fff!important;border-color:#25D366!important}
:root.force-light .sf-cta-btn--wa i,:root.force-light .sf-cta-btn--wa svg{color:#fff!important;fill:#fff!important}
:root.force-light .sf-info-note{color:rgba(255,255,255,.55)!important}
:root.force-light .sf-social a,:root.force-light .sf-social--in-col a{background:rgba(255,255,255,.08)!important;color:#e2e8f0!important}
:root.force-light .sf-social a:hover,:root.force-light .sf-social--in-col a:hover{color:#f0c040!important;background:rgba(240,192,64,.15)!important}
.sf-cta-btn--wa{background:#25D366!important;color:#fff!important;border:1.5px solid #25D366!important}
.sf-cta-btn--wa i,.sf-cta-btn--wa svg{color:#fff!important;fill:#fff!important}
.site-footer .container{max-width:1200px;margin:0 auto;padding:2.5rem 2rem}
.site-footer__grid--4{display:grid!important;grid-template-columns:1.2fr 1fr 1fr;gap:2.5rem;align-items:start}
.site-footer h4{font-size:1.15rem;font-weight:700;margin-bottom:1rem;color:#f0c040;letter-spacing:.02em}
.sf-col--brand p{font-size:.95rem;line-height:1.6;color:rgba(226,232,240,.8);margin-bottom:1.2rem}
.sf-col ul{list-style:none;padding:0;margin:0}
.sf-col ul li{margin-bottom:.6rem}
.sf-col ul li a{font-size:.95rem;color:rgba(226,232,240,.85);text-decoration:none;transition:color .2s}
.sf-col ul li a:hover{color:#f0c040;text-decoration:underline}
.sf-info-note,.sf-col:last-child p{font-size:.9rem;line-height:1.6;color:rgba(226,232,240,.6)}
.sf-cta-block{display:flex;flex-direction:column;gap:.6rem;align-items:stretch;max-width:280px;margin-top:1rem}
.sf-cta-btn,.sf-cta-btn--wa{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.7rem 1.4rem;font-size:.9rem;font-weight:600;border-radius:2rem;text-decoration:none;transition:all .2s;text-align:center;width:100%;box-sizing:border-box}
.sf-cta-btn:not(.sf-cta-btn--wa){border:1.5px solid #f0c040;color:#f0c040;background:transparent}
.sf-social--in-col{display:flex;gap:1rem;margin-top:1.2rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}
.sf-social--in-col a{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.08);color:#e2e8f0;font-size:1.4rem;transition:all .2s;text-decoration:none}
.sf-social--in-col a i{font-size:1.3rem!important}
.sf-social--in-col a:hover{background:rgba(240,192,64,.15);color:#f0c040}
.site-footer__bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:2rem;padding-top:1.2rem;text-align:center}
.site-footer__bottom p{font-size:.85rem;color:rgba(226,232,240,.5)}
@media(max-width:768px){.site-footer{display:none!important}}
/* Search bar styles */
.ic-search-bar-wrap{display:flex;align-items:center;justify-content:center;padding:1.5rem 1rem;background:transparent}
.ic-search-bar{display:flex;align-items:center;gap:.5rem;width:100%;max-width:600px;padding:.65rem 1.2rem;border-radius:2rem;background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.25);color:#e2e8f0;font-size:.95rem;cursor:pointer;transition:all .2s}
.ic-search-bar:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.4)}
.ic-search-bar i,.ic-search-bar svg{font-size:1rem;opacity:.7;flex-shrink:0}
.ic-search-bar span{opacity:.7}
:root.force-light .ic-search-bar{background:rgba(0,0,0,.06);border-color:rgba(0,0,0,.15);color:#1e293b}
:root.force-light .ic-search-bar:hover{background:rgba(0,0,0,.1);border-color:rgba(0,0,0,.25)}
.ic-search-btn{display:none!important}
:root.force-light .hero{min-height:auto!important;padding:2rem 0 0!important}
/* Header pills */
.puglia-switch{height:36px!important;padding:0 .75rem!important;font-size:.78rem!important;border-radius:1.2rem!important;display:inline-flex!important;align-items:center!important;gap:.35rem!important;white-space:nowrap!important;line-height:1!important}
#ic-a11y-btn,#ic-lang-dropdown{height:36px!important;min-height:36px!important;padding:0 .75rem!important;font-size:.78rem!important;border-radius:1.2rem!important;display:inline-flex!important;align-items:center!important;gap:.35rem!important;white-space:nowrap!important;line-height:1!important}
/* Mobile header */
@media(max-width:768px){
.site-header__inner{padding:6px 10px!important;gap:8px!important}
.site-header__logo,.site-header__brand img.site-header__logo{max-width:130px!important;width:auto!important;height:auto!important}
.site-header__brand{flex-shrink:1!important;min-width:0!important;overflow:hidden!important}
.site-header__utils{gap:.25rem!important;flex-shrink:0!important;flex-wrap:nowrap!important}
#ic-a11y-btn{padding:.25rem .5rem!important;font-size:.65rem!important;height:26px!important;min-height:26px!important;border-radius:1rem!important;gap:.25rem!important}
#ic-a11y-btn svg{width:14px!important;height:14px!important}
#ic-a11y-btn .ic-btn-label{font-size:.6rem!important}
#ic-lang-dropdown{padding:.25rem .5rem!important;font-size:.65rem!important;height:26px!important;min-height:26px!important;border-radius:1rem!important;gap:.2rem!important}
#ic-lang-dropdown .ic-btn-label{font-size:.6rem!important}
.puglia-switch{display:none!important}
.ic-search-bar-wrap{padding:1rem .75rem}
.ic-search-bar{font-size:.85rem;padding:.55rem 1rem}
}
#ic-a11y-btn{border:1.5px solid rgba(255,255,255,.3)!important;background:rgba(255,255,255,.08)!important;color:#e2e8f0!important;font-weight:500!important;cursor:pointer!important}
#ic-a11y-btn svg{width:16px!important;height:16px!important;flex-shrink:0!important}
:root.force-light #ic-a11y-btn{border-color:rgba(0,0,0,.25)!important;background:rgba(0,0,0,.05)!important;color:#1e293b!important}
#ic-lang-dropdown{border:1.5px solid rgba(255,255,255,.3)!important;background:rgba(255,255,255,.08)!important;color:#e2e8f0!important;font-weight:500!important;cursor:pointer!important}
:root.force-light #ic-lang-dropdown{border-color:rgba(0,0,0,.25)!important;background:rgba(0,0,0,.05)!important;color:#1e293b!important}
.bottom-nav{justify-content:flex-start!important;gap:0!important}
.bottom-nav__item{flex:0 0 auto!important;width:auto!important;min-width:4.5rem!important;padding:0 .75rem!important}
@media(max-width:768px){elevenlabs-convai{transform:scale(0.7)!important;transform-origin:bottom right!important}}
/* Commune page force-light */
:root.force-light .comune-hero{background:linear-gradient(135deg,#e8edf4 0%,#d5dce8 50%,#c8d2e2 100%)!important}
:root.force-light .comune-hero h1,:root.force-light .comune-hero h2{color:#0a1f3d!important}
:root.force-light .comune-hero p,:root.force-light .comune-hero .breadcrumb{color:#1e293b!important}
:root.force-light .comune-hero .breadcrumb a{color:#2563eb!important}
:root.force-light .ms-hero-btn{background:rgba(0,0,0,.06)!important;color:#1e293b!important;border:1px solid rgba(0,0,0,.12)!important}
:root.force-light .ms-stat-card,:root.force-light [class*="stat-card"]{background:rgba(0,0,0,.06)!important;color:#1e293b!important}
:root.force-light .ms-stat-card small,:root.force-light [class*="stat-label"]{color:rgba(30,41,59,.6)!important}
:root.force-light .ms-stat-card .value,:root.force-light [class*="stat-value"]{color:#0a1f3d!important;font-weight:700!important}
:root.force-light .comune-tabs__btn{color:#1e293b!important;background:rgba(0,0,0,.04)!important;border:1px solid rgba(0,0,0,.1)!important}
:root.force-light .comune-tabs__btn[aria-selected="true"]{background:#f0c040!important;color:#0a1f3d!important;border-color:#f0c040!important;font-weight:700!important}
/* Mobile app-like bottom nav */
@media(max-width:768px){
.bottom-nav{padding-left:.5rem!important;background:rgba(10,22,40,.98)!important;backdrop-filter:blur(12px)!important;border-top:1px solid rgba(255,255,255,.06)!important}
:root.force-light .bottom-nav{background:rgba(255,255,255,.96)!important;border-top:1px solid rgba(0,0,0,.08)!important}
.bottom-nav__item{min-width:4rem!important;padding:0 .6rem!important;font-size:.6rem!important}
.bottom-nav__item i,.bottom-nav__item svg{font-size:1.15rem!important}
:root.force-light .bottom-nav__item{color:#475569!important}
.comune-tabs__scroll{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;gap:.5rem!important;padding:.75rem 1rem!important;scrollbar-width:none!important}
.comune-tabs__scroll::-webkit-scrollbar{display:none!important}
.comune-tabs__btn{flex:0 0 auto!important;white-space:nowrap!important;padding:.5rem 1rem!important;border-radius:2rem!important;font-size:.8rem!important;font-weight:500!important;border:1px solid rgba(255,255,255,.15)!important;background:rgba(255,255,255,.05)!important}
.comune-tabs__btn[aria-selected="true"]{background:#f0c040!important;color:#0a1f3d!important;border-color:#f0c040!important;font-weight:700!important}
.comune-hero{padding-bottom:1rem!important}
.comune-hero h1{font-size:1.6rem!important;font-weight:800!important}
.ms-hero-btn{border-radius:1rem!important;padding:.75rem 1rem!important;font-size:.85rem!important;font-weight:600!important}
}

/* ===== FIX: provPills z-index above search area (v11) ===== */
#provPills {
  position: relative;
  z-index: 51;
}

/* A11Y-ICON-ONLY v1 */
#ic-a11y-btn .ic-a11y-label,#ic-a11y-btn .ic-btn-label{display:none!important}
#ic-a11y-btn{padding:0!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border-radius:50%!important;gap:0!important;justify-content:center!important;align-items:center!important}
#ic-a11y-btn svg{width:22px!important;height:22px!important;display:block;flex:0 0 auto}
:root.force-light #ic-a11y-btn{border:1.5px solid rgba(0,0,0,.2)!important;background:rgba(0,0,0,.04)!important;color:#1e293b!important}
:root.force-light #ic-a11y-btn svg{color:#1e293b!important;fill:#1e293b!important}
@media(max-width:768px){#ic-a11y-btn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}#ic-a11y-btn svg{width:20px!important;height:20px!important}}

/* VIVI-PUGLIA-REORDER v1 */
.cal-trio{grid-template-columns:360px 1fr 1fr!important}
.cal-col-cal{order:1!important;grid-column:auto!important}
.cal-col-events{order:2!important;grid-column:auto!important}
.cal-col-map{order:3!important;grid-column:auto!important}
@media(max-width:1100px){
  .cal-trio{grid-template-columns:1fr 1fr!important}
  .cal-col-cal{order:1!important;grid-column:1/-1!important;max-height:380px!important}
  .cal-col-events{order:2!important;grid-column:auto!important}
  .cal-col-map{order:3!important;grid-column:auto!important}
}
@media(max-width:700px){
  .cal-trio{grid-template-columns:1fr!important}
  .cal-col-cal{grid-column:auto!important}
}
/* Leggibilita eventi */
.cal-ev.past{opacity:.78!important}
.cal-ev h4,.cal-ev .cal-ev-title{color:rgba(255,255,255,.96)!important;font-weight:600!important}
.cal-ev.past h4,.cal-ev.past .cal-ev-title{color:rgba(255,255,255,.88)!important}
.cal-ev-desc{color:rgba(255,255,255,.82)!important}
.cal-ev.past .cal-ev-desc{color:rgba(255,255,255,.7)!important}
.cal-ev-loc{color:rgba(255,255,255,.75)!important}

/* =====================================================
   MENU SECONDARIO COMUNI ‚Äö√Ñ√∂‚àö√ë‚àö√Ü Accordion runtime per macrovoci (v2)
   ===================================================== */
/* Accordion: ogni .comune-section con heading diventa collassabile */
.comune-panel .ic-acc{position:relative}
.comune-panel .ic-acc .ic-acc-head{
  cursor:pointer;user-select:none;position:relative;
  padding-right:36px; /* spazio per caret */
  transition:color .14s;
}
.comune-panel .ic-acc .ic-acc-head:hover,
.comune-panel .ic-acc .ic-acc-head:focus-visible{color:#5BC4FF;outline:none}
.comune-panel .ic-acc .ic-acc-head::after{
  content:"";position:absolute;right:10px;top:50%;
  width:0;height:0;
  border-left:6px solid transparent;border-right:6px solid transparent;
  border-top:8px solid currentColor;opacity:.7;
  transform:translateY(-50%) rotate(0deg);
  transition:transform .22s ease,opacity .14s;
}
.comune-panel .ic-acc.is-collapsed .ic-acc-head::after{
  transform:translateY(-50%) rotate(-90deg);opacity:.55
}
.comune-panel .ic-acc .ic-acc-body{
  overflow:hidden;max-height:none;
  transition:max-height .3s ease, opacity .2s ease, padding .2s ease;
}
.comune-panel .ic-acc.is-collapsed .ic-acc-body{
  max-height:0;opacity:0;padding-top:0;padding-bottom:0;
  pointer-events:none;
}
/* Quando Salute aggrega piu\u00f9 panels (sanita + sociali), lasciali visibili impilati */
.comune-panel#tab-sanita.is-active ~ .comune-panel#tab-sociali.is-active,
.comune-panel#tab-sanita.is-active + .comune-panel#tab-sociali.is-active{
  display:block
}

/* Fix: tab selezionato in dark mode aveva testo giallo su bg giallo (invisibile).
   Le regole in main.css con :root.force-dark sovrascrivono theme-tokens.
   Aggiungiamo override con pari specificita (0,4,0) + caricato dopo main.css. */
:root.force-dark .comune-tabs__btn[aria-selected="true"],
:root.force-dark .comune-tabs__btn--home,
:root.force-dark .comune-tabs__btn--home[aria-selected="true"],
html.force-dark body .comune-tabs__btn[aria-selected="true"],
html.force-dark body .comune-tabs__btn--home{
  color:#0a1f3d !important;
  background:#5BC4FF !important;
  border-color:#5BC4FF !important;
  font-weight:700 !important;
}
:root.force-dark .comune-tabs__btn[aria-selected="true"] > span,
:root.force-dark .comune-tabs__btn--home > span{
  color:#0a1f3d !important;
  font-weight:700 !important;
}


/* === Tab interni comune: gradient hint scroll orizz ===
   2026-05-28: indica visualmente che ci sono altri tab scroll-right */
html body .comune-tabs {
	  position: relative !important;
}
html body .comune-tabs::after {
	  content: "" !important;
	  display: block !important;
	  position: absolute !important;
	  top: 0; right: 0; bottom: 0;
	  width: 36px;
	  pointer-events: none;
	  background: linear-gradient(90deg, transparent 0%, rgba(14, 47, 74, 0.92) 100%) !important;
	  z-index: 5;
}
@media (max-width: 900px) {
	html body .comune-tabs::after { width: 28px; }
}


/* === Mobile UX consolidato 2026-05-29 (post-cleanup, regola d'arte) ===
   Solo fix utili: BAT wrap + chat widget mobile padding */
@media (max-width: 899px) {
  /* Card titoli lunghi (BAT 'Barletta/Andria/Trani') restano leggibili */
  .overview-card__title,
  .ic-card__title,
  [class*="card__title"] {
    overflow-wrap: anywhere;
    hyphens: none !important;
  }
}

/* === Polish bottom-nav legacy (.ic-mob-bnav) ‚Äö√Ñ√∂‚àö√ë‚àö√Ü Steve Jobs touch 2026-05-29 ===
   Active state visibile + tap feedback iOS-like + smooth transitions */
@media (max-width: 768px) {
  /* Smooth transition base item */
  .ic-mob-bnav__item {
    transition: color .22s cubic-bezier(.4,0,.2,1),
                transform .12s ease,
                background-color .15s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    position: relative;
  }
  /* Stato attivo UNIFICATO (2026-05-31): identico in tutte le sezioni =
     stile "News/Chat" → giallo + glow dorato + trattino gold sopra.
     (Prima era navy solo sulla home → incoerenza tra le pagine.) */
  .ic-mob-bnav__item.is-active {
    color: #3BAFF0 !important;
  }
  .ic-mob-bnav__item.is-active .ic-mob-bnav__icon {
    background: rgba(58,143,204,0.12) !important;
    border-radius: 10px !important;
    box-shadow:
      0 0 12px rgba(58,143,204,0.55),
      0 0 24px rgba(58,143,204,0.28),
      inset 0 0 6px rgba(58,143,204,0.15) !important;
  }
  .ic-mob-bnav__item.is-active .ic-mob-bnav__icon svg {
    stroke: #3BAFF0 !important;
    stroke-width: 2.2 !important;
    filter: drop-shadow(0 0 4px rgba(58,143,204,0.75)) !important;
  }
  .ic-mob-bnav__item.is-active .ic-mob-bnav__label {
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
  }
  /* Trattino accent gold superiore quando attivo */
  .ic-mob-bnav__item.is-active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 3px;
    background: #3BAFF0;
    border-radius: 0 0 2px 2px;
  }
  /* Tap feedback: scale + dim, niente outline aggressivo */
  .ic-mob-bnav__item:active {
    transform: scale(0.94);
    background: rgba(58,143,204, 0.08) !important;
  }
  /* Icone con stroke pi‚Äö√†√∂≈ì√Ñ morbido di default + hover state desktop touch */
  .ic-mob-bnav__icon svg {
    transition: stroke .22s cubic-bezier(.4,0,.2,1), transform .15s ease;
  }
  .ic-mob-bnav__item:hover .ic-mob-bnav__icon svg {
    transform: translateY(-1px);
  }
}

/* === Safety net: nascondi enhanced bottom-nav inline (sar‚Äö√†√∂‚Äö√Ñ‚Ä† rimossa via HTML cleanup) === */
@media (max-width: 899px) {
  nav.bottom-nav,
  .bottom-nav {
    display: none !important;
  }
}

/* ============================================================
   #104 Hero cleanup ‚Äî Steve Jobs touch
   2026-05-29 ‚Äî Reduce verbose, increase breathing room
   ============================================================ */

span.ic-hero-h1-visible__sub.ic-hero-h1-visible__sub {
  display: none !important;
}

#ic-hero-stats-line.hero__stats-line,
.hero__stats-line.hero__stats-line {
  display: none !important;
}

h1.ic-hero-h1-visible.ic-hero-h1-visible > span:first-child {
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.18 !important;
}

@media (min-width: 768px) {
  h1.ic-hero-h1-visible.ic-hero-h1-visible > span:first-child {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }
}

/* ============================================================
   #105 Cleanup emoji banali da "Racconti di Puglia"
   2026-05-29 ‚Äî Stile editoriale: niente emoticon, focus tipografico
   ============================================================ */

.ic-storia-illu.ic-storia-illu {
  display: none !important;
}

.ic-storia-card.ic-storia-card {
  grid-template-columns: 1fr !important;
}
.ic-storia-body.ic-storia-body {
  padding-left: 0 !important;
}

.ic-storia-fonte.ic-storia-fonte::before {
  content: "" !important;
  margin-right: 0 !important;
}

/* ============================================================
   #107 Fix contrasto legenda calendario eventi (home + eventi.html)
   2026-05-29 ‚Äî Color era rgba(255,255,255,0.6) = bianco su bianco
   ============================================================ */

/* Legenda mini-calendario home (.cal-legend) */
.cal-legend.cal-legend {
  padding: 12px 14px !important;
  gap: 10px 14px !important;
  justify-content: center !important;
}
.cal-legend-item.cal-legend-item {
  color: #0b2340 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  opacity: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}
.cal-legend-dot.cal-legend-dot {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.06) !important;
  flex-shrink: 0 !important;
}

/* Legenda mappa eventi.html (.ic-map-legend) ‚Äî gi√† navy, rinforzo solo */
.ic-map-legend.ic-map-legend {
  background: #ffffff !important;
  padding: 12px 14px !important;
  gap: 10px 14px !important;
  border: 1px solid rgba(11, 35, 64, 0.08) !important;
}
.ic-map-legend__item.ic-map-legend__item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}
.ic-map-legend__item.ic-map-legend__item > span:not(.ic-map-legend__dot) {
  color: #0b2340 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  opacity: 1 !important;
}
.ic-map-legend__dot.ic-map-legend__dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.06) !important;
  flex-shrink: 0 !important;
}

@media (max-width: 480px) {
  .cal-legend.cal-legend { gap: 8px 10px !important; padding: 10px 12px !important; }
  .cal-legend-item.cal-legend-item { font-size: 10.5px !important; }
  .ic-map-legend.ic-map-legend { gap: 8px 10px !important; padding: 10px 12px !important; }
  .ic-map-legend__item.ic-map-legend__item > span:not(.ic-map-legend__dot) { font-size: 11px !important; }
}

/* ============================================================
   #108 Fix meteo Taranto mozzato ‚Äî scroll orizz + gradient hint
   2026-05-29 ‚Äî 6 colonne (BA/BAT/BR/FG/LE/TA) √ó 200px = 1200px
   ma .weather-pv-table era 1077px overflow:hidden ‚Üí TA tagliata
   ============================================================ */

.weather-pv-table.weather-pv-table {
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-snap-type: x proximity !important;
  position: relative !important;
  /* Gradient fade-right come hint scrollabile */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent) !important;
          mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent) !important;
}
.wpv-cols.wpv-cols {
  min-width: max-content !important;
  padding-right: 8px !important;
}
.wpv-col.wpv-col {
  scroll-snap-align: start !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  .wpv-col.wpv-col { min-width: 160px !important; }
}
