/* === IC GLOBAL OVERRIDES v7 === */
.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{max-width:100px!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}
}