/*
Theme Name:        Ozanews
Theme URI:         https://ozanews.it
Author:            Officine Multimediali ETS
Author URI:        https://ozanews.it/chi-siamo/
Description:       Tema editoriale custom per Ozanews
Version:           1.0.1
Requires PHP:      7.4
License:           Proprietario
Text Domain:       ozanews
*/

  :root{
    --navy:#0E2A44;
    --navy-deep:#081826;
    --gold:#C9962E;
    --teal:#1F6F6B;
    --paper:#F6F3EC;
    --paper-raised:#FFFFFF;
    --ink:#1C1C1C;
    --ink-soft:#5B5B57;
    --alert:#B23A2E;
    --line:rgba(14,42,68,0.14);
    --line-strong:rgba(14,42,68,0.28);
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'Source Sans 3',sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  a{color:inherit;text-decoration:none;}
  img{max-width:100%;display:block;}

  .eyebrow{
    font-family:'IBM Plex Mono',monospace;
    font-size:11px;
    letter-spacing:.12em;
    text-transform:uppercase;
    font-weight:600;
  }

  h1,h2,h3,h4{
    font-family:'Fraunces',serif;
    margin:0;
    line-height:1.08;
    letter-spacing:-.01em;
  }

  .wrap{max-width:1180px;margin:0 auto;padding:0 24px;}

  /* ---------- ALERT BANNER (condizionale) ---------- */
  .alert-banner{
    background:var(--alert);
    color:#fff;
  }
  .alert-inner{
    max-width:1180px;margin:0 auto;padding:10px 24px;
    display:flex;align-items:center;gap:12px;
    font-size:14px;
  }
  .alert-dot{
    width:8px;height:8px;border-radius:50%;background:#fff;
    animation:pulse 1.6s infinite;
    flex-shrink:0;
  }
  @keyframes pulse{0%,100%{opacity:1;}50%{opacity:.35;}}
  .alert-banner strong{font-weight:700;}
  .alert-link{
    margin-left:auto;flex-shrink:0;
    border:1px solid rgba(255,255,255,.6);
    padding:5px 12px;border-radius:2px;
    font-family:'IBM Plex Mono',monospace;
    font-size:11px;letter-spacing:.06em;text-transform:uppercase;
    white-space:nowrap;
  }

  /* ---------- MASTHEAD ---------- */
  header.masthead{
    background:var(--navy);
    color:#fff;
    border-bottom:3px solid var(--gold);
  }
  .masthead-top{
    display:flex;align-items:center;justify-content:space-between;
    padding:22px 0 16px;
  }
  .logo{
    display:flex;flex-direction:column;line-height:1;gap:8px;
  }
  .logo-plate{
    background:#fff;
    padding:10px 16px;
    border-radius:4px;
    display:inline-flex;
    align-items:center;
  }
  .logo-plate img{
    height:42px;width:auto;display:block;
  }
  .logo span{
    font-family:'IBM Plex Mono',monospace;
    font-size:10px;font-weight:500;letter-spacing:.16em;
    color:var(--gold);text-transform:uppercase;
  }
  .masthead-meta{
    font-family:'IBM Plex Mono',monospace;
    font-size:11px;color:rgba(255,255,255,.65);
    text-align:right;letter-spacing:.03em;line-height:1.7;
  }
  nav.primary{
    border-top:1px solid rgba(255,255,255,.15);
  }
  .nav-inner{
    display:flex;align-items:center;gap:2px;
    overflow-x:auto;
  }
  .nav-inner a{
    padding:14px 16px;font-size:14px;font-weight:600;
    white-space:nowrap;position:relative;
  }
  .nav-inner a.has-mega:after{
    content:'';display:inline-block;margin-left:5px;
    width:5px;height:5px;border-right:1.5px solid rgba(255,255,255,.6);
    border-bottom:1.5px solid rgba(255,255,255,.6);
    transform:translateY(-2px) rotate(45deg);
  }
  .nav-inner a:hover{background:rgba(255,255,255,.06);}
  .nav-search{
    margin-left:auto;padding:0 16px;color:rgba(255,255,255,.85);
    font-size:14px;display:flex;align-items:center;gap:6px;
  }

  /* ---------- MEGA MENU (illustrativo, statico) ---------- */
  .mega{
    background:var(--navy-deep);
    padding:22px 0;
    display:none;
  }
  .mega.show{display:block;}
  .mega-grid{
    display:grid;grid-template-columns:repeat(5,1fr);gap:8px;
  }
  .mega-grid a{
    font-size:13px;color:rgba(255,255,255,.75);padding:6px 0;
  }
  .mega-grid a:hover{color:#fff;}

  /* ---------- TICKER METEO/UTILI ---------- */
  .utility-bar{
    background:var(--paper-raised);
    border-bottom:1px solid var(--line);
  }
  .utility-inner{
    display:flex;align-items:center;gap:28px;
    padding:9px 0;font-size:13px;color:var(--ink-soft);
    overflow-x:auto;
  }
  .utility-inner .item{display:flex;align-items:center;gap:6px;white-space:nowrap;}
  .utility-inner .dot{color:var(--line-strong);}

  /* ---------- WAVE DIVIDER (elemento firma) ---------- */
  .wave-divider{
    height:26px;width:100%;overflow:hidden;line-height:0;
  }
  .wave-divider svg{width:100%;height:100%;display:block;}

  section{padding:44px 0;}

  .section-head{
    display:flex;align-items:baseline;justify-content:space-between;
    margin-bottom:22px;padding-bottom:12px;
    border-bottom:2px solid var(--navy);
  }
  .section-head h2{font-size:26px;color:var(--navy);}
  .section-head .see-all{
    font-family:'IBM Plex Mono',monospace;font-size:11px;
    letter-spacing:.08em;text-transform:uppercase;color:var(--teal);
    font-weight:600;
  }

  /* ---------- HERO ---------- */
  .hero-grid{
    display:grid;grid-template-columns:1.6fr 1fr;gap:32px;
  }
  .hero-main{position:relative;}
  .hero-main .img{
    aspect-ratio:16/10;background:linear-gradient(135deg,#2b4a63,#0E2A44);
    border-radius:2px;position:relative;overflow:hidden;
  }
  .hero-main .img:after{
    content:'';position:absolute;inset:0;
    background:linear-gradient(0deg,rgba(0,0,0,.55),transparent 55%);
  }
  .hero-cat{
    display:inline-block;background:var(--gold);color:var(--navy-deep);
    font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:700;
    letter-spacing:.06em;text-transform:uppercase;
    padding:4px 10px;margin-bottom:14px;
  }
  .hero-main h1{
    font-size:38px;color:var(--navy);margin-bottom:10px;
  }
  .hero-main p{
    color:var(--ink-soft);font-size:16px;line-height:1.55;max-width:52ch;
  }
  .byline{
    font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--ink-soft);
    margin-top:14px;letter-spacing:.02em;
  }

  .hero-side{display:flex;flex-direction:column;gap:18px;}
  .hero-side-item{
    display:flex;gap:14px;padding-bottom:18px;border-bottom:1px solid var(--line);
  }
  .hero-side-item:last-child{border-bottom:none;padding-bottom:0;}
  .hero-side-thumb{
    width:88px;height:66px;flex-shrink:0;border-radius:2px;
    background:linear-gradient(135deg,#c9962e33,#1F6F6B33);
  }
  .hero-side-cat{
    font-family:'IBM Plex Mono',monospace;font-size:10px;font-weight:600;
    color:var(--teal);text-transform:uppercase;letter-spacing:.05em;
  }
  .hero-side-item h4{font-size:15px;margin-top:4px;color:var(--ink);line-height:1.3;}

  /* ---------- CATEGORY MODULES ---------- */
  .cat-module{
    display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:28px;
  }
  .hero-main .img{
    aspect-ratio:16/10;background:linear-gradient(135deg,#2b4a63,#0E2A44);
    border-radius:2px;position:relative;overflow:hidden;
  }
  .hero-main .img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .cat-lead .img{
    aspect-ratio:4/3;background:linear-gradient(135deg,#0E2A44,#1F6F6B);
    border-radius:2px;margin-bottom:12px;
  }
  .cat-lead .img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .cat-lead h3{font-size:21px;color:var(--navy);margin-bottom:8px;line-height:1.25;}
  .cat-lead p{color:var(--ink-soft);font-size:14px;line-height:1.5;}
  .cat-list{display:flex;flex-direction:column;gap:16px;}
  .cat-list-item{
    padding-bottom:16px;border-bottom:1px solid var(--line);
  }
  .cat-list-item:last-child{border:none;padding-bottom:0;}
  .cat-list-item h4{font-size:15px;color:var(--ink);line-height:1.35;font-weight:600;font-family:'Source Sans 3',sans-serif;}
  .cat-list-item .eyebrow{color:var(--ink-soft);font-weight:500;margin-top:6px;display:block;}

  /* ---------- RUBRICHE (trattamento distinto) ---------- */
  .rubriche-section{
    background:var(--navy);color:#fff;
  }
  .rubriche-section .section-head{border-bottom-color:rgba(255,255,255,.25);}
  .rubriche-section .section-head h2{color:#fff;}
  .rubriche-section .see-all{color:var(--gold);}
  .rubriche-grid{
    display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
    background:rgba(255,255,255,.12);
  }
  .rubrica-card{
    background:var(--navy);padding:24px 20px;
    display:flex;flex-direction:column;gap:10px;
  }
  .rubrica-icon{
    width:34px;height:34px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    font-family:'Fraunces',serif;font-weight:600;font-size:15px;
    background:var(--gold);color:var(--navy-deep);
  }
  .rubrica-card h4{
    font-family:'Fraunces',serif;font-weight:600;font-size:17px;color:#fff;
  }
  .rubrica-card p{
    font-size:13px;color:rgba(255,255,255,.6);line-height:1.5;
  }
  .rubrica-card .eyebrow{color:var(--gold);}

  /* ---------- TERRITORIO ---------- */
  .comuni-pills{
    display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px;
  }
  .comuni-pills a{
    font-family:'IBM Plex Mono',monospace;font-size:12px;font-weight:600;
    letter-spacing:.03em;
    padding:8px 16px;border:1px solid var(--line-strong);border-radius:20px;
    color:var(--navy);
  }
  .comuni-pills a.active{background:var(--navy);color:#fff;border-color:var(--navy);}
  .comuni-feed{
    display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
  }
  .comuni-feed-item{
    background:var(--paper-raised);border:1px solid var(--line);padding:18px;
  }
  .comuni-feed-item h4{font-size:15px;color:var(--navy);line-height:1.35;margin-top:6px;}

  /* ---------- STRUMENTI UTILI ---------- */
  .strumenti-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  }
  .strumento-card{
    background:var(--paper-raised);
    border:1px solid var(--line);
    padding:26px;
    position:relative;
    overflow:hidden;
  }
  .strumento-card:before{
    content:'';position:absolute;top:0;left:0;width:4px;height:100%;
    background:var(--teal);
  }
  .strumento-card.alert-tool:before{background:var(--alert);}
  .strumento-tag{
    font-family:'IBM Plex Mono',monospace;font-size:10px;font-weight:700;
    color:var(--teal);text-transform:uppercase;letter-spacing:.08em;
  }
  .strumento-card.alert-tool .strumento-tag{color:var(--alert);}
  .strumento-card h4{font-size:19px;color:var(--navy);margin:10px 0 8px;}
  .strumento-card p{font-size:13.5px;color:var(--ink-soft);line-height:1.55;margin-bottom:16px;}
  .strumento-cta{
    font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:700;
    letter-spacing:.05em;text-transform:uppercase;color:var(--navy);
    display:inline-flex;align-items:center;gap:6px;
  }
  .strumento-cta:after{content:'Ã¢â€ â€™';}

  /* ---------- SPONSOR ---------- */
  .sponsor-section{padding:36px 0;}
  .sponsor-inner{
    display:flex;align-items:center;justify-content:space-between;
    border-top:1px solid var(--line);border-bottom:1px solid var(--line);
    padding:22px 0;
  }
  .sponsor-label{
    font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.1em;
    color:var(--ink-soft);text-transform:uppercase;flex-shrink:0;margin-right:24px;
  }
  .sponsor-logos{display:flex;gap:34px;overflow:hidden;flex:1;}
  .sponsor-logos span{
    font-family:'Fraunces',serif;font-size:15px;color:var(--line-strong);
    white-space:nowrap;font-weight:500;
  }

  /* ---------- FOOTER ---------- */
  footer{background:var(--navy-deep);color:rgba(255,255,255,.7);padding:52px 0 24px;}
  .footer-grid{
    display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px;
    padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.12);
  }
  .footer-logo{margin-bottom:14px;}
  .footer-logo .logo-plate{background:#fff;padding:8px 14px;border-radius:4px;display:inline-flex;}
  .footer-logo img{height:32px;width:auto;display:block;}
  .footer-col h5{
    font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.08em;
    text-transform:uppercase;color:var(--gold);margin-bottom:14px;
  }
  .footer-col a{display:block;font-size:13.5px;padding:5px 0;color:rgba(255,255,255,.68);}
  .footer-bottom{
    display:flex;justify-content:space-between;align-items:center;
    padding-top:20px;font-size:12px;color:rgba(255,255,255,.4);
  }

  @media (max-width:860px){
    .hero-grid,.cat-module,.rubriche-grid,.comuni-feed,.strumenti-grid,.footer-grid{
      grid-template-columns:1fr;
    }
    .rubriche-grid{background:transparent;}
    .rubrica-card{border-bottom:1px solid rgba(255,255,255,.12);}
    .masthead-meta{display:none;}
  }



/* ---------- WORDPRESS OVERRIDES & SINGLE-ROW NAVBAR ---------- */
.nav-primary {
    display: block !important;
    background: #0E2A44 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 3px solid #C9962E !important;
    position: sticky !important; top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
}
.nav-primary__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}
.nav-primary__menu {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}
.nav-primary__list {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.nav-primary__list a {
    padding: 14px 16px !important;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    color: #fff !important;
    display: block !important;
}
.nav-primary__list a:hover {
    background: rgba(255,255,255,0.08) !important;
    color: var(--gold) !important;
}

/* SEARCH COMPATTO INLINE */
.nav-search-inline {
    margin-left: auto !important;
    flex-shrink: 0 !important;
}
.nav-search-form {
    display: flex !important;
    align-items: center !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 20px !important;
    padding: 2px 4px 2px 14px !important;
}
.nav-search-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 12px !important;
    width: 130px !important;
    outline: none !important;
}
.nav-search-input::placeholder { color: rgba(255,255,255,0.6) !important; }
.nav-search-button {
    background: var(--gold) !important;
    color: #fff !important;
    border: none !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

/* BLOCCO PUBBLICITÃ€ INVASIVE GOOGLE AUTO ADS */
footer ins.adsbygoogle,
.site-footer ins.adsbygoogle,
.cat-module ins.adsbygoogle,
.hero-grid ins.adsbygoogle,
.strumenti-grid ins.adsbygoogle,
.google-auto-ads-ignore ins.adsbygoogle {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
}

/* DROPDOWN SUBMENU SUPPORT & MEGA MENU */
.nav-primary__list li { position: relative; }
.nav-primary__list li > ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    border-top: 3px solid var(--gold);
}
.nav-primary__list li:hover > ul.sub-menu { display: block; }

/* Bridge hover gap to prevent menu closing when cursor moves between link and dropdown */
.nav-primary__list li > ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

.nav-primary__list ul.sub-menu li a {
    padding: 11px 18px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    font-family: 'Source Sans 3', sans-serif !important;
    color: #0d1520 !important;
    border-bottom: 1px solid #f0ede6 !important;
    display: block !important;
}
.nav-primary__list ul.sub-menu li:last-child a { border-bottom: none !important; }
.nav-primary__list ul.sub-menu li a:hover {
    background: #faf8f3 !important;
    color: var(--teal, #1f6f6b) !important;
    padding-left: 22px !important;
}

/* MEGA MENU DESKTOP STYLING */
@media (min-width: 861px) {
    nav.primary {
        position: sticky !important; top: 0 !important;
    }
    
    .nav-primary__list li.menu-item-mega {
        position: static !important;
    }
    
    .nav-primary__list li.menu-item-mega > ul.sub-menu {
        display: none;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        background: #ffffff !important;
        border-top: 3px solid var(--gold) !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important;
        padding: 24px !important;
        margin: 0 !important;
        list-style: none !important;
        z-index: 9999 !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px 24px !important;
        box-sizing: border-box !important;
    }
    
    .nav-primary__list li.menu-item-mega > ul.sub-menu::before {
        height: 15px;
        top: -15px;
    }
    
    .nav-primary__list li.menu-item-mega:hover > ul.sub-menu {
        display: grid !important;
    }

    .nav-primary__list li.menu-item-mega ul.sub-menu li {
        width: 100% !important;
        border-bottom: none !important;
    }
    
    .nav-primary__list li.menu-item-mega ul.sub-menu li a {
        padding: 10px 16px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        font-family: 'Source Sans 3', sans-serif !important;
        color: #0d1520 !important;
        border-bottom: 1px solid #f0ede6 !important;
        border-left: 3px solid transparent !important;
        white-space: normal !important;
        transition: all 0.2s ease !important;
        display: block !important;
    }
    
    .nav-primary__list li.menu-item-mega ul.sub-menu li a:hover {
        color: var(--teal, #1f6f6b) !important;
        border-left-color: var(--teal, #1f6f6b) !important;
        padding-left: 20px !important;
        background: #faf8f3 !important;
    }
}

/* MEGA MENU MOBILE STYLING */
@media (max-width: 860px) {
    .nav-primary__list li > ul.sub-menu {
        position: static !important;
        display: block !important;
        width: 100% !important;
        background: rgba(0,0,0,0.15) !important;
        box-shadow: none !important;
        border-top: none !important;
        padding: 4px 0 4px 16px !important;
        border-left: 2px solid rgba(255,255,255,0.05) !important;
    }
    
    .nav-primary__list li.menu-item-mega > ul.sub-menu {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 4px 0 4px 16px !important;
    }
    
    .nav-primary__list ul.sub-menu li a {
        font-size: 14px !important;
        font-weight: 500 !important;
        padding: 10px 16px !important;
        border-bottom: none !important;
        color: #ffffff !important;
    }
}

/* =============================================================
   MASTHEAD HEADER - DEFINITIVO
   ============================================================= */

.masthead__brand {
    background: #0E2A44;
    padding: 12px 0;
}

.masthead__brand-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
}

.masthead__brand-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
}

.masthead__logo-plate {
    background: #fff !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.masthead__logo-plate img {
    height: 44px !important;
    width: auto !important;
    display: block !important;
}

.masthead__tagline {
    color: rgba(255,255,255,0.55) !important;
    font-size: 12px !important;
    font-style: italic !important;
    max-width: 100px !important;
}

.masthead__brand-center {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 440px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.masthead__brand-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
}

.masthead-socials {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.masthead-socials a {
    color: rgba(255, 255, 255, 0.7) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color var(--duration-sm);
}

.masthead-socials a:hover {
    color: var(--gold) !important;
}

.masthead-meta {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-align: right !important;
    letter-spacing: .03em !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.masthead__monetization {
    display: flex !important;
    gap: 8px !important;
    margin-top: 2px !important;
}

.btn-abbonati, .btn-sostieni {
    display: inline-block !important;
    padding: 8px 18px !important;
    border-radius: 4px !important;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: opacity 0.2s !important;
}

.btn-abbonati { background: #C9962E !important; color: #0E2A44 !important; }
.btn-abbonati:hover { opacity: 0.85 !important; }

.btn-sostieni {
    background: transparent !important;
    color: rgba(255,255,255,0.8) !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
}
.btn-sostieni:hover { border-color: #fff !important; color: #fff !important; }

/* ============================================================
   CAROSELLO SPONSOR - VIEWPORT CON OVERFLOW HIDDEN
   ============================================================ */

.ozanews-ad-header-spot {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.ozanews-ad-label,
.ozanews-ad-header-spot > span {
    display: block !important;
    font-size: 6px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.4) !important;
    margin-bottom: 2px !important;
    font-weight: 600 !important;
    text-align: center !important;
}

/* VIEWPORT: nasconde tutto ciÃ² che Ã¨ fuori */
.ozanews-main-carousel {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
}

/* NASTRO */
.ozanews-carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    height: 100% !important;
    transition: transform 0.55s ease-in-out !important;
    will-change: transform !important;
}

/* SLIDE: occupa l'intera larghezza del viewport per permettere translateX(-100%) */
.ozanews-carousel-slide {
    flex-shrink: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background: #0E2A44 !important;
}

.ozanews-carousel-slide a,
.ozanews-carousel-slide .ozanews-ad-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
}

.ozanews-carousel-slide img {
    display: block !important;
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

.masthead__brand-center .ozanews-carousel-dots,
.ozanews-ad-header-spot .ozanews-carousel-dots { display: none !important; }

/* â”€â”€ Blocca Google Auto Ads iniettati dopo header/nav â”€â”€ */
.site-main--home > ins.adsbygoogle,
.site-main--home > .google-auto-placed,
body > ins.adsbygoogle,
body > .google-auto-placed,
[data-ad-slot],
.wp-sitekit-ad-auto {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.yoast-breadcrumb, #breadcrumbs { display: none !important; }

/* ============================================================
   RESPONSIVE MOBILE (<=768px)
   ============================================================ */
@media (max-width: 768px) {
    /* ── MASTHEAD mobile: stacked, centered, elegant layout ── */
    .masthead-top {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        gap: 12px !important;
    }
    .logo {
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        justify-content: center !important;
    }
    .logo > span { 
        display: none !important; 
    }
    .logo-plate { 
        padding: 5px 8px !important; 
        background: #ffffff !important;
        border-radius: 4px !important;
        display: inline-flex !important;
    }
    .logo-plate img { 
        height: 34px !important; 
        width: auto !important; 
        display: block !important;
    }

    /* ── SPONSOR PLATINUM: visibili su mobile in striscia compatta ── */
    .masthead__brand-center { 
        display: flex !important;
        width: 100% !important;
        height: 52px !important;
        overflow: hidden !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    .masthead__brand-center .ozanews-ad-header-spot {
        height: 52px !important;
        width: 100% !important;
    }
    .masthead__brand-center .ozanews-carousel-slide img {
        max-height: 44px !important;
        max-width: 200px !important;
    }
    /* Nascondi la label "SPONSOR" su mobile per risparmiare spazio */
    .masthead__brand-center .ozanews-ad-label,
    .masthead__brand-center .ozanews-ad-header-spot > span {
        display: none !important;
    }

    /* Destra: sociali in riga + bottoni compatti */
    .masthead__brand-right {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .masthead-socials { 
        display: flex !important;
        justify-content: flex-start !important;
        gap: 10px !important; 
    }
    .masthead-socials a svg { 
        width: 17px !important; 
        height: 17px !important; 
    }
    .masthead-meta { 
        display: none !important; 
    }
    .masthead__monetization { 
        display: flex !important;
        justify-content: flex-end !important;
        gap: 6px !important; 
        margin-top: 0 !important;
    }
    .btn-abbonati, .btn-sostieni { 
        padding: 6px 10px !important; 
        font-size: 10px !important; 
        text-align: center !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
    }

    /* ── NAV mobile: fullscreen overlay scrollabile ── */
    .nav-primary__menu { 
        display: none !important; 
    }
    .nav-primary__menu.is-open {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: #0E2A44 !important;
        z-index: 999999 !important;
        padding: 64px 20px 40px !important;
        box-sizing: border-box !important;
        border-top: none !important;
    }
    /* Hamburger in posizione fissa sopra il menu aperto */
    #nav-hamburger[aria-expanded="true"] {
        position: fixed !important;
        top: 14px !important;
        right: 16px !important;
        z-index: 9999999 !important;
        background: rgba(255,255,255,0.1) !important;
        border-color: rgba(255,255,255,0.4) !important;
    }
    .nav-primary__list { 
        flex-direction: column !important; 
        width: 100% !important; 
        padding-bottom: 20px !important;
    }
    .nav-primary__list li { 
        width: 100% !important; 
        border-bottom: 1px solid rgba(255,255,255,0.08) !important; 
    }
    .nav-primary__list a { 
        padding: 14px 8px !important; 
        font-size: 15px !important; 
        color: #ffffff !important;
        display: block !important;
        width: 100% !important;
    }
    .nav-primary__list ul.sub-menu li a {
        color: #ffffff !important;
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
    .nav-search-inline { 
        width: 100% !important; 
        margin-top: 16px !important; 
    }
    .nav-search-form, .nav-search-input { 
        width: 100% !important; 
    }
}

/* =============================================================
   SINGLE ARTICLE - COMPLETE REDESIGN
   ============================================================= */

/* â”€â”€ Wrapper articolo â”€â”€ */
.site-main--article {
    background: #F6F3EC;
}

.article-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 48px !important;
    padding: 24px 0 64px !important;
    align-items: start !important;
}

/* â”€â”€ Breadcrumb â”€â”€ */
.breadcrumb {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: #5B5B57;
    padding: 14px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    border-bottom: 1px solid rgba(14,42,68,0.1);
    margin-bottom: 20px;
}
.breadcrumb a { color: #1F6F6B; text-decoration: none; }
.breadcrumb a:hover { color: #0E2A44; }
.breadcrumb span { color: #5B5B57; }

/* â”€â”€ Article Head â”€â”€ */
.article-head { margin-bottom: 20px; }

.art-cat {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: #C9962E;
    color: #0E2A44;
    padding: 4px 10px;
    margin-bottom: 14px;
    border-radius: 2px;
}

.article-head h1 {
    font-family: 'Fraunces', serif !important;
    font-size: clamp(26px, 4vw, 40px) !important;
    color: #0E2A44 !important;
    line-height: 1.15 !important;
    margin: 0 0 16px !important;
    letter-spacing: -0.02em !important;
}

.article-dek {
    font-size: 18px !important;
    line-height: 1.65 !important;
    color: #3a3a38 !important;
    border-left: 4px solid #C9962E !important;
    background: #fffbf4 !important;
    padding: 14px 18px !important;
    border-radius: 0 6px 6px 0 !important;
    margin: 0 !important;
}

/* â”€â”€ Byline Row â”€â”€ */
.byline-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid rgba(14,42,68,0.1);
    border-bottom: 1px solid rgba(14,42,68,0.1);
    margin: 16px 0 24px;
    flex-wrap: wrap;
}

.byline-row__avatar-link { flex-shrink: 0; }

.byline-row__avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: 2px solid #C9962E !important;
}

.byline-row__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.byline-row__author {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #0E2A44;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.byline-row__trib {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: #5B5B57;
    letter-spacing: .04em;
}

.byline-row__meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-end;
}

.byline-row__date,
.byline-row__mod,
.byline-row__read-time {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #5B5B57;
    white-space: nowrap;
}

.byline-row__mod { color: #1F6F6B; }

.byline-row__share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(14,42,68,0.15);
    color: #0E2A44;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.share-btn:hover { transform: scale(1.1); }

.share-btn--telegram { color: #2AABEE; }
.share-btn--telegram:hover { background: #2AABEE; color: #fff; }

.share-btn--whatsapp { color: #25D366; }
.share-btn--whatsapp:hover { background: #25D366; color: #fff; }

.share-btn--copy:hover { background: #0E2A44; color: #fff; }

/* â”€â”€ Hero Image â”€â”€ */
.article-hero-image {
    width: 100% !important;
    margin: 0 0 28px !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: #ddd !important;
}

.article-hero-image__img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 4px !important;
}

.article-hero-image__caption {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #5B5B57;
    padding: 8px 12px;
    background: #f0ede6;
    border-top: 1px solid rgba(14,42,68,0.08);
    margin: 0;
    text-align: center;
    border-radius: 0 0 4px 4px;
}

/* â”€â”€ Article Body â”€â”€ */
.article-body {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.75 !important;
    color: #1C1C1C !important;
    max-width: 70ch !important;
}

.article-body p {
    margin: 0 0 1.4em !important;
}

.article-body h2, .article-body h3 {
    font-family: 'Fraunces', serif !important;
    color: #0E2A44 !important;
    margin: 1.6em 0 0.6em !important;
    line-height: 1.25 !important;
}

.article-body h2 { font-size: 26px !important; }
.article-body h3 { font-size: 21px !important; }

.article-body a {
    color: #1F6F6B !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}
.article-body a:hover { color: #0E2A44 !important; }

.article-body ul, .article-body ol {
    padding-left: 24px !important;
    margin: 0 0 1.4em !important;
}

.article-body li { margin-bottom: 6px !important; }

.article-body blockquote {
    border-left: 4px solid #C9962E !important;
    margin: 1.6em 0 !important;
    padding: 14px 20px !important;
    background: #fffbf4 !important;
    font-style: italic !important;
    color: #3a3a38 !important;
    border-radius: 0 6px 6px 0 !important;
}

.article-body img {
    width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    margin: 1.4em 0 !important;
    display: block !important;
}

.article-body figure {
    margin: 1.6em 0 !important;
}

.article-body figcaption {
    font-size: 13px !important;
    color: #5B5B57 !important;
    text-align: center !important;
    margin-top: 8px !important;
    font-family: 'IBM Plex Mono', monospace !important;
}

.article-body table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1.4em 0 !important;
    font-size: 15px !important;
}

.article-body th, .article-body td {
    padding: 10px 12px !important;
    border: 1px solid rgba(14,42,68,0.15) !important;
    text-align: left !important;
}

.article-body th { background: #0E2A44 !important; color: #fff !important; }

/* â”€â”€ Tags â”€â”€ */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(14,42,68,0.1);
}

.article-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #0E2A44;
    border: 1px solid rgba(14,42,68,0.25);
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}
.article-tag:hover {
    background: #0E2A44;
    color: #fff;
    border-color: #0E2A44;
}

/* â”€â”€ CTA Block â”€â”€ */
.cta-block {
    background: linear-gradient(135deg, #0E2A44 0%, #1a3d5c 100%);
    color: #fff;
    padding: 28px;
    border-radius: 8px;
    margin: 28px 0;
    border-left: 4px solid #C9962E;
}

.cta-block__title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    color: #fff;
    margin: 0 0 10px;
}

.cta-block__text {
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
    margin: 0 0 18px;
}

.cta-block__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.cta-btn--primary {
    background: #C9962E;
    color: #0E2A44;
}

.cta-btn--secondary {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.35);
}

.cta-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* â”€â”€ Sidebar â”€â”€ */
.article-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-block {
    background: #fff;
    border: 1px solid rgba(14,42,68,0.1);
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-block__title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #0E2A44;
    padding: 14px 16px;
    border-bottom: 2px solid #0E2A44;
    margin: 0;
    background: #f0ede6;
}

.sidebar-block__content { padding: 16px; }

.sidebar-article-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(14,42,68,0.08);
    text-decoration: none;
}

.sidebar-article-item:last-child { border-bottom: none; }

.sidebar-article-item__thumb {
    width: 72px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 3px;
    object-fit: cover;
    background: #e8e4dd;
}

.sidebar-article-item__info { flex: 1; min-width: 0; }

.sidebar-article-item__cat {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: #1F6F6B;
    text-transform: uppercase;
    letter-spacing: .05em;
    display: block;
    margin-bottom: 4px;
}

.sidebar-article-item__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1C1C1C;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-article-item:hover .sidebar-article-item__title { color: #0E2A44; }

/* â”€â”€ Related Section â”€â”€ */
.related-section {
    background: #F6F3EC;
    padding: 48px 0;
    border-top: 2px solid #0E2A44;
    margin-top: 0;
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #0E2A44;
}

.section-heading h2 {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    color: #0E2A44;
    margin: 0;
}

.section-heading .see-all {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1F6F6B;
    font-weight: 600;
    text-decoration: none;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* â”€â”€ News Card (used in related, home) â”€â”€ */
.news-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(14,42,68,0.1);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
}

.news-card:hover {
    box-shadow: 0 8px 24px rgba(14,42,68,0.12);
    transform: translateY(-2px);
}

.news-card__thumb {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    background: #e8e4dd;
}

.news-card__body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-card__cat {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1F6F6B;
}

.news-card__title {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    color: #0E2A44;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #5B5B57;
    margin-top: auto;
    padding-top: 8px;
}

/* â”€â”€ RESPONSIVE MOBILE â”€â”€ */
@media (max-width: 860px) {
    .article-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        padding: 16px 0 40px !important;
    }

    .article-sidebar {
        position: static;
        order: 2;
    }

    .article-main { order: 1; }

    .article-head h1 { font-size: clamp(22px, 6vw, 30px) !important; }

    .article-dek { font-size: 16px !important; }

    .article-body { font-size: 17px !important; }

    .byline-row {
        gap: 8px;
    }

    .byline-row__meta { align-items: flex-start; }

    .byline-row__share { margin-left: 0; width: 100%; }

    .related-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .article-hero-image__img { max-height: 280px !important; }

    .cta-block { padding: 20px; }
    .cta-block__title { font-size: 17px; }

    .section-heading h2 { font-size: 20px; }
}

@media (max-width: 480px) {
    .byline-row { flex-direction: column; align-items: flex-start; }
    .article-head h1 { font-size: 22px !important; }
    .cta-block__buttons { flex-direction: column; }
    .cta-btn { text-align: center; }
}

/* =============================================================
   NAV MOBILE + HAMBURGER
   ============================================================= */
.nav-primary__hamburger {
    display: none !important;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.nav-primary__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Breadcrumb Yoast hide */
.yoast-breadcrumb, #breadcrumbs { display: none !important; }

/* BLOCCO PUBBLICITÃ€ INVASIVE GOOGLE AUTO ADS */
footer ins.adsbygoogle,
.site-footer ins.adsbygoogle,
.cat-module ins.adsbygoogle,
.hero-grid ins.adsbygoogle,
.strumenti-grid ins.adsbygoogle,
.google-auto-ads-ignore ins.adsbygoogle {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
}


/* TERRITORY PILLS */
.territory-module__pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
}
.territory-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 8px 16px !important;
    background: #fff !important;
    border: 1px solid rgba(14,42,68,0.15) !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0E2A44 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}
.territory-pill:hover {
    background: #0E2A44 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
}

/* MOBILE NAV (<=768px) */
@media (max-width: 768px) {
    .nav-primary__hamburger { display: flex !important; }

    .nav-primary__menu { display: none !important; }
    .nav-primary__menu.is-open {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: #0E2A44 !important;
        z-index: 999999 !important;
        padding: 64px 20px 60px !important;
        box-sizing: border-box !important;
        border-top: none !important;
        box-shadow: none !important;
    }
    #nav-hamburger[aria-expanded="true"] {
        position: fixed !important;
        top: 14px !important;
        right: 16px !important;
        z-index: 9999999 !important;
        background: rgba(255,255,255,0.12) !important;
        border-color: rgba(255,255,255,0.5) !important;
    }
    .nav-primary__list { 
        flex-direction: column !important; 
        width: 100% !important; 
        padding-bottom: 24px !important;
    }
    .nav-primary__list li { 
        width: 100% !important; 
        border-bottom: 1px solid rgba(255,255,255,0.08) !important; 
    }
    .nav-primary__list > li > a { 
        padding: 14px 8px !important; 
        font-size: 15px !important; 
        color: #ffffff !important;
        display: block !important;
        width: 100% !important;
    }
    .nav-primary__list ul.sub-menu li a {
        color: rgba(255,255,255,0.85) !important;
        font-size: 13px !important;
        padding: 10px 20px !important;
        display: block !important;
    }
    .nav-search-inline { width: 100% !important; margin-top: 16px !important; }
    .nav-search-form, .nav-search-input { width: 100% !important; }
}

/* =============================================================
   SIDEBAR ARTICOLO â€” STILI COMPLETI
   (mappa, piÃ¹ letti, OzanTV, eventi, comune)
   ============================================================= */

/* â”€â”€ Wrapper sidebar â”€â”€ */
.article-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    
    
    
    
}

.article-sidebar::-webkit-scrollbar { width: 4px; }
.article-sidebar::-webkit-scrollbar-thumb { background: rgba(14,42,68,0.15); border-radius: 4px; }

/* â”€â”€ Blocco base â”€â”€ */
.sidebar-block {
    background: #fff;
    border: 1px solid rgba(14,42,68,0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(14,42,68,0.05);
}

.sidebar-block__title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #0E2A44;
    padding: 11px 14px;
    border-bottom: 2px solid #0E2A44;
    margin: 0;
    background: #f0ede6;
    display: flex;
    align-items: center;
    gap: 7px;
}

.sidebar-block__title--red {
    color: #fff;
    background: #c0392b;
    border-bottom-color: #a93226;
}

.sidebar-block__title-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.sidebar-block__body {
    padding: 14px;
}

.sidebar-block__more {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #1F6F6B;
    text-align: center;
    padding: 10px 14px;
    border-top: 1px solid rgba(14,42,68,0.08);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-top: 8px;
}

.sidebar-block__more:hover {
    background: #0E2A44;
    color: #fff;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   1. MAPPA INCENDI
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.sidebar-block--map .sidebar-block__body--map {
    padding: 0;
}

.sidebar-fire-map {
    width: 100%;
    height: 220px;
    background: #e0e0d8;
    display: block;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.sidebar-map-caption {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: #5B5B57;
    text-align: center;
    padding: 6px 10px;
    margin: 0;
    border-bottom: 1px solid rgba(14,42,68,0.08);
    background: #f9f7f3;
}

.sidebar-map-link {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #1F6F6B;
    text-align: center;
    padding: 10px 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.sidebar-map-link:hover {
    background: #0E2A44;
    color: #fff;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   2. PIÃ™ LETTI â€” con numerazione
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#sidebar-piu-letti .sidebar-block__body {
    padding: 8px 0;
}

.sidebar-ranked-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(14,42,68,0.06);
    transition: background 0.15s;
}

.sidebar-ranked-item:last-child { border-bottom: none; }

.sidebar-ranked-item:hover { background: #f9f7f3; }

.sidebar-ranked-item__rank {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #0E2A44;
    color: #fff;
    font-family: 'Fraunces', serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.sidebar-ranked-item:nth-child(1) .sidebar-ranked-item__rank { background: #C9962E; }
.sidebar-ranked-item:nth-child(2) .sidebar-ranked-item__rank { background: #5B5B57; }
.sidebar-ranked-item:nth-child(3) .sidebar-ranked-item__rank { background: #8b5a2b; }

.sidebar-ranked-item__body {
    flex: 1;
    min-width: 0;
}

.sidebar-ranked-item__cat {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: #1F6F6B;
    text-transform: uppercase;
    letter-spacing: .05em;
    display: block;
    margin-bottom: 3px;
}

.sidebar-ranked-item__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #1C1C1C;
    line-height: 1.35;
    margin: 0 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-ranked-item:hover .sidebar-ranked-item__title { color: #0E2A44; }

.sidebar-ranked-item__meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: #5B5B57;
}

.sidebar-ranked-item__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 3px;
    background: #e8e4dd;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   3. OZANTV
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.sidebar-block--tv .sidebar-block__title--red {
    gap: 8px;
}

.sidebar-tv-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    font-size: 8px;
}

.sidebar-block--tv .sidebar-block__body--tv {
    padding: 0;
}

/* Featured video */
.sidebar-tv-featured {
    display: block;
    text-decoration: none;
    border-bottom: 1px solid rgba(14,42,68,0.08);
}

.sidebar-tv-featured__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    overflow: hidden;
}

.sidebar-tv-featured__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.sidebar-tv-featured:hover .sidebar-tv-featured__thumb img { transform: scale(1.03); }

.sidebar-tv-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(192, 0, 0, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    padding-left: 3px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
    transition: transform 0.2s, background 0.2s;
}

.sidebar-tv-featured:hover .sidebar-tv-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: #c0392b;
}

.sidebar-tv-live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #c0392b;
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 3px 7px;
    border-radius: 3px;
}

.sidebar-tv-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
}

.sidebar-tv-featured__info {
    padding: 10px 14px 12px;
}

.sidebar-tv-featured__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0E2A44;
    line-height: 1.35;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-tv-featured__date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: #5B5B57;
}

/* Video secondari */
.sidebar-tv-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(14,42,68,0.06);
    transition: background 0.15s;
}

.sidebar-tv-item:last-of-type { border-bottom: none; }
.sidebar-tv-item:hover { background: #f9f7f3; }

.sidebar-tv-item__thumb {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    border-radius: 3px;
    overflow: hidden;
    background: #1a1a1a;
}

.sidebar-tv-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-tv-item__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1C1C1C;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-tv-item:hover .sidebar-tv-item__title { color: #0E2A44; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   4. EVENTI
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#sidebar-eventi .sidebar-block__body {
    padding: 8px 0;
}

.sidebar-event-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(14,42,68,0.06);
    transition: background 0.15s;
}

.sidebar-event-item:last-of-type { border-bottom: none; }
.sidebar-event-item:hover { background: #f9f7f3; }

.sidebar-event-item__date {
    flex-shrink: 0;
    width: 42px;
    background: #0E2A44;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 4px;
    gap: 0;
}

.sidebar-event-item__day {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.sidebar-event-item__month {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    color: #C9962E;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sidebar-event-item__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-event-item__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #1C1C1C;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-event-item:hover .sidebar-event-item__title { color: #0E2A44; }

.sidebar-event-item__time,
.sidebar-event-item__location {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: #5B5B57;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-event-item__location { color: #1F6F6B; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   5. STESSO COMUNE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#sidebar-stesso-comune .sidebar-block__body {
    padding: 8px 0;
}

.sidebar-simple-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(14,42,68,0.06);
    transition: background 0.15s;
}

.sidebar-simple-item:last-child { border-bottom: none; }
.sidebar-simple-item:hover { background: #f9f7f3; }

.sidebar-simple-item__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: 3px;
    overflow: hidden;
    background: #e8e4dd;
}

.sidebar-simple-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-simple-item__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #1C1C1C;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-simple-item:hover .sidebar-simple-item__title { color: #0E2A44; }

/* â”€â”€ Responsive mobile â”€â”€ */
@media (max-width: 860px) {
    .article-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

/* â”€â”€ BLOCCO ADSENSE AUTO ADS INVASIVI NELLA SIDEBAR â”€â”€ */
.article-sidebar ins.adsbygoogle,
.sidebar-block ins.adsbygoogle,
.sidebar-block__body ins.adsbygoogle,
.article-layout > ins.adsbygoogle {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* BLOCCA GOOGLE AUTO PLACED IN SIDEBAR */
.article-sidebar .google-auto-placed, .sidebar-block .google-auto-placed, .article-sidebar > ins, .sidebar-block > ins { display: none !important; height: 0 !important; visibility: hidden !important; }


/* =============================================================
   FIX MAPPA INCENDI UGENTO (LAYOUT PAGINA 16442)
   ============================================================= */
body.page-id-16442 .article-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}
body.page-id-16442 #firms-map {
    height: 75vh !important;
    min-height: 650px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 15px !important;
    margin-bottom: 40px !important;
    border: 2px solid #0E2A44 !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
    z-index: 1 !important;
}
body.page-id-16442 .leaflet-control-layers {
    max-width: 80vw !important;
    max-height: 50vh !important;
    overflow-y: auto !important;
    background: rgba(255, 255, 255, 0.95) !important;
}


/* =============================================================
   NASCONDI PUBBLICITA' SU PAGINA MAPPA INCENDI (16442)
   ============================================================= */
body.page-id-16442 .google-auto-placed,
body.page-id-16442 ins.adsbygoogle,
body.page-id-16442 .sidebar-block,
body.page-id-16442 .article-sidebar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-16442 .wrap {
    max-width: 100% !important;
    padding: 0 15px !important;
}

body.page-id-16442 .article-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

body.page-id-16442 #firms-map {
    width: 100% !important;
    height: 80vh !important;
    min-height: 700px !important;
}

/* =============================================================
   SIDEBAR HOMEPAGE (Eventi e OzanTV)
   ============================================================= */
.sidebar-module {
    padding: 0;
    margin-bottom: 30px;
    background: transparent;
}
.sidebar-module .section-heading h2 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
    display: inline-block;
}
.sidebar-module .video-module__grid,
.sidebar-module .events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.sidebar-module .video-card__title,
.sidebar-module .event-card__title {
    font-size: 15px;
    line-height: 1.3;
}


/* =============================================================
   FIX POSIZIONAMENTO MENU MOBILE DRAWER
   ============================================================= */
.nav-primary {
    position: sticky !important; top: 0 !important;
}


/* =============================================================
   PORTALE EVENTI - OTTIMIZZAZIONE LAYOUT E GRAFICA (THE EVENTS CALENDAR)
   ============================================================= */

/* 1. HIDE ALL ADSENSE ADS ON EVENTS PAGES */
body.post-type-archive-tribe_events .google-auto-placed,
body.post-type-archive-tribe_events ins.adsbygoogle,
body.post-type-archive-tribe_events .sidebar-block,
body.post-type-archive-tribe_events .article-sidebar,
body.tribe-events-page-template .google-auto-placed,
body.tribe-events-page-template ins.adsbygoogle,
body.tribe-events-page-template .sidebar-block,
body.tribe-events-page-template .article-sidebar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. GENERAL PAGE WRAPPER FOR EVENTS */
body.post-type-archive-tribe_events .tribe-events-l-container,
body.tribe-events-page-template .tribe-events-l-container {
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

/* 3. BARRA DI RICERCA / FILTRI (EVENTS BAR) */
.tribe-events-header__events-bar,
.tribe-events-c-events-bar {
    background: #0E2A44 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important;
    padding: 15px 20px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    margin-bottom: 30px !important;
}

/* Input e label barra ricerca */
.tribe-common-form-control-text__input,
.tribe-events-c-search__input-control-icon-svg {
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
    padding: 10px 14px !important;
}
.tribe-common-form-control-text__input:focus {
    border-color: #C9962E !important;
    outline: none !important;
}
.tribe-common-form-control-text__label {
    color: rgba(255,255,255,0.7) !important;
    font-family: 'IBM Plex Mono', monospace !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
}

/* Pulsante Cerca */
.tribe-events-c-search__button,
.tribe-common-c-btn {
    background: #C9962E !important;
    color: #0E2A44 !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
    border: none !important;
}
.tribe-events-c-search__button:hover,
.tribe-common-c-btn:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}

/* 4. EVENT LIST CARDS */
.tribe-events-calendar-list__event {
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02) !important;
    margin-bottom: 25px !important;
    padding: 25px !important;
    transition: all 0.3s ease !important;
}
.tribe-events-calendar-list__event:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    border-color: #C9962E !important;
}

/* Layout a griglia/due colonne per le card */
.tribe-events-calendar-list__event-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
}

/* Immagine in evidenza */
.tribe-events-calendar-list__event-featured-image-wrapper {
    flex: 0 0 250px !important;
    max-width: 250px !important;
}
.tribe-events-calendar-list__event-featured-image {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid #eaeaea !important;
}

/* Dettagli evento (Testo e metadati) */
.tribe-events-calendar-list__event-details {
    flex: 1 !important;
    min-width: 280px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Titolo Evento */
.tribe-events-calendar-list__event-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.3 !important;
}
.tribe-events-calendar-list__event-title-link {
    color: #0E2A44 !important;
    text-decoration: none !important;
}
.tribe-events-calendar-list__event-title-link:hover {
    color: #C9962E !important;
}

/* Data e Ora */
.tribe-events-calendar-list__event-datetime-wrapper {
    color: #b51c2b !important;
    font-family: 'IBM Plex Mono', monospace !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Luogo / Location */
.tribe-events-calendar-list__event-venue {
    font-size: 13px !important;
    color: #555 !important;
    margin-bottom: 12px !important;
    font-style: normal !important;
}
.tribe-events-calendar-list__event-venue-title {
    font-weight: 700 !important;
    color: #333 !important;
}

/* Descrizione / Riassunto */
.tribe-events-calendar-list__event-description p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #666 !important;
    margin: 0 !important;
}

/* Badge della Data (Tag data a sinistra) */
.tribe-events-calendar-list__event-date-tag {
    background: #0E2A44 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 60px !important;
    height: 70px !important;
    margin-right: 15px !important;
    border-bottom: 3px solid #C9962E !important;
}
.tribe-events-calendar-list__event-date-tag-month {
    font-size: 10px !important;
    text-transform: uppercase !important;
    font-family: 'IBM Plex Mono', monospace !important;
    letter-spacing: 0.05em !important;
    color: #C9962E !important;
    font-weight: 700 !important;
}
.tribe-events-calendar-list__event-date-tag-daynum {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-top: 2px !important;
}

/* 5. TITOLO SEZIONE / INTESTAZIONE */
.tribe-events-header__content-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0E2A44 !important;
    margin-bottom: 25px !important;
    font-family: 'Fraunces', Georgia, serif !important;
    border-left: 5px solid #C9962E !important;
    padding-left: 15px !important;
}

/* 6. RESPONSIVE LAYOUT */
@media (max-width: 768px) {
    .tribe-events-calendar-list__event-featured-image-wrapper {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .tribe-events-calendar-list__event-featured-image {
        height: 200px !important;
    }
    .tribe-events-calendar-list__event {
        padding: 15px !important;
    }
    .tribe-events-calendar-list__event-title {
        font-size: 18px !important;
    }
}


/* =============================================================
   PORTALE EVENTI - SELETTORE VISTE E VISTA MENSILE (CALENDARIO)
   ============================================================= */

/* 7. EVENT VIEW SELECTOR (SELETTORE VISTA LISTA/MESE/GIORNO) */
.tribe-events-c-view-selector,
.tribe-events-view-selector {
    position: relative !important;
    display: inline-block !important;
}

/* Bottone principale del selettore vista */
.tribe-events-c-view-selector__button {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    font-family: 'IBM Plex Mono', monospace !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.tribe-events-c-view-selector__button:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: #C9962E !important;
}

/* Icona dentro il bottone */
.tribe-events-c-view-selector__button-icon-svg,
.tribe-events-c-view-selector__button-icon path {
    fill: #C9962E !important;
}

/* Menu a discesa delle viste (quando cliccato) */
.tribe-events-c-view-selector__content,
.tribe-events-c-view-selector__list {
    background: #0E2A44 !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    list-style: none !important;
    padding: 6px 0 !important;
    margin: 8px 0 0 0 !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    z-index: 9999 !important;
    min-width: 160px !important;
    display: none;
}

/* Mostra il menu quando la classe is-open o simile viene attivata da JS */
.tribe-events-c-view-selector.tribe-events-c-view-selector--open .tribe-events-c-view-selector__list,
.tribe-events-c-view-selector--open .tribe-events-c-view-selector__list,
.tribe-events-c-view-selector:hover .tribe-events-c-view-selector__list {
    display: block !important;
}

/* Voci del menu del selettore */
.tribe-events-c-view-selector__list-item {
    margin: 0 !important;
    padding: 0 !important;
}
.tribe-events-c-view-selector__list-item-link {
    color: rgba(255,255,255,0.85) !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-family: 'Source Sans 3', sans-serif !important;
    transition: all 0.2s ease !important;
}
.tribe-events-c-view-selector__list-item-link:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #C9962E !important;
}

/* Voce attiva */
.tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link {
    color: #C9962E !important;
    font-weight: 700 !important;
    background: rgba(255,255,255,0.04) !important;
}

/* Icona svg delle voci */
.tribe-events-c-view-selector__list-item-icon svg path {
    fill: currentColor !important;
}

/* 8. MONTH VIEW GRID (VISTA MENSILE DEL CALENDARIO) */
.tribe-events-calendar-month {
    border: 1px solid #eaeaea !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02) !important;
}

/* Giorni della settimana (Header tabella) */
.tribe-events-calendar-month__day-of-week-header {
    background: #0E2A44 !important;
    color: #fff !important;
    font-family: 'IBM Plex Mono', monospace !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    padding: 12px !important;
    text-align: center !important;
    border-bottom: 2px solid #C9962E !important;
}

/* Singolo giorno (Cella tabella) */
.tribe-events-calendar-month__day {
    border: 1px solid #f0f0f0 !important;
    height: 100px !important;
    padding: 8px !important;
    vertical-align: top !important;
    transition: background 0.2s ease !important;
}
.tribe-events-calendar-month__day:hover {
    background: #fafafa !important;
}

/* Numero del giorno */
.tribe-events-calendar-month__day-date {
    font-family: 'IBM Plex Mono', monospace !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #555 !important;
    text-align: right !important;
    margin-bottom: 6px !important;
}
.tribe-events-calendar-month__day--today {
    background: rgba(201, 150, 46, 0.08) !important;
}
.tribe-events-calendar-month__day--today .tribe-events-calendar-month__day-date {
    color: #C9962E !important;
}

/* Eventi all'interno del giorno */
.tribe-events-calendar-month__calendar-event {
    background: #0E2A44 !important;
    border-radius: 4px !important;
    padding: 4px 8px !important;
    margin-bottom: 4px !important;
    font-size: 11px !important;
    transition: all 0.2s ease !important;
}
.tribe-events-calendar-month__calendar-event:hover {
    background: #C9962E !important;
}
.tribe-events-calendar-month__calendar-event-link {
    color: #fff !important;
    text-decoration: none !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.tribe-events-calendar-month__calendar-event:hover .tribe-events-calendar-month__calendar-event-link {
    color: #0E2A44 !important;
    font-weight: 700 !important;
    background: transparent !important;
}


/* =============================================================
   STRUMENTI UTILI HOMEPAGE - OTTIMIZZAZIONE GRAFICA E BOTTONI
   ============================================================= */

/* Sezione generale strumenti */
.strumenti-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin-top: 20px !important;
}

.strumento-card {
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 12px !important;
    padding: 26px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 220px !important;
    border-left: 5px solid var(--teal) !important; /* Default */
}

/* Hover sulla card */
.strumento-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06) !important;
}

/* Rimuoviamo il vecchio pseudo-elemento :before che creava la barra a sinistra */
.strumento-card:before {
    display: none !important;
}

/* Colori specifici delle barre laterali per ciascun card-tool */
.strumento-card.alert-tool {
    border-left-color: #B23A2E !important;
}
.strumento-card.sea-tool {
    border-left-color: #1F6F6B !important;
}
.strumento-card.cal-tool {
    border-left-color: #C9962E !important;
}

/* Tag strumenti */
.strumento-tag {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
}
.strumento-card.alert-tool .strumento-tag {
    color: #B23A2E !important;
}
.strumento-card.sea-tool .strumento-tag {
    color: #1F6F6B !important;
}
.strumento-card.cal-tool .strumento-tag {
    color: #C9962E !important;
}

/* Titoli delle schede */
.strumento-card h4 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0E2A44 !important;
    margin: 10px 0 8px 0 !important;
    font-family: 'Fraunces', Georgia, serif !important;
}

/* Testo descrittivo */
.strumento-card p {
    font-size: 13.5px !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    flex-grow: 1 !important;
}

/* BOTTONI CHIARI E CLICCABILI (Strumento CTA) */
.strumento-cta {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    width: fit-content !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    border: 1px solid transparent !important;
}

/* Togliamo il vecchio carattere freccia in after */
.strumento-cta:after {
    display: none !important;
}

/* Stile bottoni per ciascuno strumento */
.strumento-card.alert-tool .strumento-cta {
    background: #B23A2E !important;
    color: #ffffff !important;
}
.strumento-card.alert-tool .strumento-cta:hover {
    background: #912e24 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(178,58,46,0.2) !important;
}

.strumento-card.sea-tool .strumento-cta {
    background: #1F6F6B !important;
    color: #ffffff !important;
}
.strumento-card.sea-tool .strumento-cta:hover {
    background: #154c49 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(31,111,107,0.2) !important;
}

.strumento-card.cal-tool .strumento-cta {
    background: #C9962E !important;
    color: #0E2A44 !important;
}
.strumento-card.cal-tool .strumento-cta:hover {
    background: #b58322 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(201,150,46,0.2) !important;
}

/* Responsive layout per gli strumenti */
@media (max-width: 768px) {
    .strumenti-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}




/* =============================================================
   STRUMENTI UTILI HOMEPAGE - 4 COLONNE E METEO TOOL
   ============================================================= */
.strumenti-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

.strumento-card.meteo-tool {
    border-left-color: #2563EB !important;
}

.strumento-card.meteo-tool .strumento-tag {
    color: #2563EB !important;
}

.strumento-card.meteo-tool .strumento-cta {
    background: #2563EB !important;
    color: #ffffff !important;
}

.strumento-card.meteo-tool .strumento-cta:hover {
    background: #1D4ED8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(37,99,235,0.2) !important;
}

@media (max-width: 992px) {
    .strumenti-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 576px) {
    .strumenti-grid {
        grid-template-columns: 1fr !important;
    }
}

/* CSS CAROUSEL ANIMATION */
@keyframes slideTrack {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    25% { transform: translateX(-100%); }
    45% { transform: translateX(-100%); }
    50% { transform: translateX(-200%); }
    70% { transform: translateX(-200%); }
    75% { transform: translateX(-300%); }
    95% { transform: translateX(-300%); }
    100% { transform: translateX(0); }
}
.ozanews-carousel-track {
    /* animazione gestita via Javascript */
}



/* ═══════════════════════════════════════════════════════════════
   HERO - BADGE VISITE & TRENDING LABEL
   ═══════════════════════════════════════════════════════════════ */
.hero-trending-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal, #1f6f6b);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(31,111,107,0.2);
}
.hero-trending-icon { font-size: 14px; }

.hero-views-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(8,27,48,0.78);
    color: #f6f2e9;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 2;
}

.hero-side-views {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--teal, #1f6f6b);
    margin-top: 4px;
    opacity: 0.85;
}

/* ===== OZANEWS RESTYLING 2026 ===== */
:root {
  --navy: #0E2A44;
  --navy-deep: #081B2E;
  --gold: #C9962E;
  --gold-light: #E4B85C;
  --teal: #1F6F6B;
  --teal-light: #2C8F89;
  --coral: #C0392B;
  --cream: #FBF7EF;
  --paper: #FFFFFF;
  --ink: #1A2332;
  --ink-soft: #4B5563;
  --line: #E8E1D3;
  --line-dark: rgba(255,255,255,.14);
  --oz-radius: 10px;
  --oz-shadow: 0 6px 24px rgba(14,42,68,.08);
  --oz-shadow-lg: 0 16px 40px rgba(14,42,68,.16);
}

.oz-masthead { background: var(--navy); border-bottom: 3px solid var(--gold); }
.oz-search-box { background: rgba(255,255,255,.08); border-radius: 24px; padding: 5px; }
.btn-gold { background: var(--gold); color: #fff; padding: 8px 16px; border-radius: 20px; }
.btn-ghost { border: 1px solid var(--gold); color: var(--gold); padding: 8px 16px; border-radius: 20px; }
.btn-push { background: var(--coral); color: #fff; padding: 8px; border-radius: 50%; }
.oz-social-strip { background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px 0; }
.oz-social-strip .wrap { display: flex; justify-content: space-between; align-items: center; }
.oz-nav-primary { background: var(--navy-deep); }
.oz-nav-primary a { color: #cfe0ea; border-bottom: 2px solid transparent; padding: 10px; text-decoration: none; display: inline-block; }
.oz-nav-primary a:hover { border-bottom-color: var(--gold); }
.oz-newsletter-band { background: linear-gradient(135deg, var(--teal), var(--teal-light)); padding: 40px 0; color: #fff; text-align: center; }
.oz-footer { background: var(--navy-deep); color: #fff; padding: 40px 0; }
.oz-footer h4 { color: var(--gold-light); font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; }
.oz-footer-social a { background: rgba(255,255,255,0.1); border-radius: 50%; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; margin-right: 10px; color: #fff; text-decoration: none; }
.hidden-mobile { display: inline-block; }

@media (max-width: 768px) {
  .oz-search-box, .hidden-mobile, .oz-social-strip { display: none !important; }
  .oz-nav-primary .wrap { overflow-x: auto; white-space: nowrap; }
  .oz-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .oz-footer-grid > div:first-child { grid-column: 1 / -1; }
}



/* =========================================================
   OZANEWS DESIGN SYSTEM 2026 — basato sul mockup ufficiale
   ========================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Source+Sans+3:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* --- Variabili CSS globali --- */
:root {
  --navy: #0E2A44;
  --navy-deep: #081B2E;
  --gold: #C9962E;
  --gold-light: #E4B85C;
  --teal: #1F6F6B;
  --teal-light: #2C8F89;
  --coral: #C0392B;
  --cream: #FBF7EF;
  --paper: #FFFFFF;
  --ink: #1A2332;
  --ink-soft: #4B5563;
  --line: #E8E1D3;
  --line-dark: rgba(255,255,255,.14);
  --oz-radius: 10px;
  --oz-shadow: 0 6px 24px rgba(14,42,68,.08);
  --oz-shadow-lg: 0 16px 40px rgba(14,42,68,.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Sans 3', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: 'Fraunces', serif; margin: 0; color: var(--navy); }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); font-weight: 600;
}

/* --- Sezione head comune --- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 22px; flex-wrap: wrap; gap: 10px;
}
.section-head h2 { font-size: 26px; }
.see-all {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  color: var(--teal); font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}

/* =========================================================
   UTILITY BAR
   ========================================================= */
.utility-bar {
  background: var(--navy-deep);
  color: #cfe0ea;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}
.utility-bar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 8px 24px; overflow-x: auto; white-space: nowrap;
}
.utility-bar .ticker-left { display: flex; align-items: center; gap: 18px; }
.utility-bar a { color: #e9d9b3; transition: opacity .15s; }
.utility-bar a:hover { opacity: .75; }
.utility-bar .sep { color: rgba(255,255,255,.3); }
.utility-bar .live-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #4ADE80; margin-right: 5px;
  box-shadow: 0 0 0 3px rgba(74,222,128,.2);
  animation: pulse-dot 1.4s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;}50%{opacity:.3;} }
.utility-bar .alert-item {
  display: flex; align-items: center; gap: 7px; flex-shrink: 0;
  color: #ffd6ce; font-weight: 600;
}
.utility-bar .alert-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 3px rgba(192,57,43,.28); animation: pulse-dot 1.4s infinite;
}

/* =========================================================
   MASTHEAD (HEADER PRINCIPALE)
   ========================================================= */
.masthead {
  background: var(--navy) !important;
  border-bottom: 3px solid var(--gold) !important;
  padding: 0 !important;
}
.masthead-top {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 14px 24px !important;
  min-height: auto !important;
}

/* Logo */
.masthead .logo { flex-shrink: 0; }
.masthead .logo .logo-plate a img {
  height: 48px; width: auto; object-fit: contain;
}
.masthead .logo > span { display: none; }

/* Search box */
.oz-search-box {
  flex: 1; max-width: 380px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px; padding: 9px 16px;
  color: #cfe0ea; font-size: 14px;
}
.oz-search-box svg { flex-shrink: 0; opacity: .7; }
.oz-search-box input {
  background: none; border: none; outline: none; color: #fff;
  font-family: 'Source Sans 3', sans-serif; font-size: 14px; width: 100%;
}
.oz-search-box input::placeholder { color: #8aa2b3; }

/* Sponsor Platinum carousel (masthead__brand-center) */
.masthead__brand-center {
  flex: 0 0 220px;
  max-width: 220px;
}
.masthead__brand-center .sponsors-track,
.masthead__brand-center .sponsor-scroller {
  height: 52px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

/* Monetization buttons */
.masthead__brand-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.masthead-socials { display: none !important; }
.masthead-meta { display: none !important; }
.masthead__monetization {
  display: flex; align-items: center; gap: 8px;
}
.btn-abbonati {
  font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 13px;
  padding: 8px 14px; border-radius: 22px;
  border: 1px solid rgba(233,217,179,.4);
  background: transparent; color: #e9d9b3;
  cursor: pointer; white-space: nowrap;
  transition: background .15s;
}
.btn-abbonati:hover { background: rgba(233,217,179,.08); }
.btn-sostieni {
  font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 13px;
  padding: 8px 14px; border-radius: 22px;
  background: var(--gold); color: var(--navy);
  cursor: pointer; white-space: nowrap;
  transition: box-shadow .15s, transform .12s;
}
.btn-sostieni:hover { box-shadow: 0 6px 16px rgba(201,150,46,.4); transform: translateY(-1px); }

/* =========================================================
   SOCIAL STRIP
   ========================================================= */
.oz-social-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.oz-social-strip .wrap {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 24px; overflow-x: auto;
}
.oz-sp-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--teal); font-weight: 700; flex-shrink: 0;
  border-right: 1px solid var(--line); padding-right: 14px;
}
.oz-social-icons { display: flex; align-items: center; gap: 6px; }
.oz-social-icons a {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #e9d9b3;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; transition: background .15s, color .15s;
  flex-shrink: 0;
}
.oz-social-icons a:hover { background: var(--gold); color: var(--navy); }
.oz-social-icons a svg { width: 13px; height: 13px; fill: currentColor; }
.oz-sp-cta {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px;
  color: var(--teal); font-weight: 600;
  flex-shrink: 0; margin-left: auto; white-space: nowrap;
}

/* =========================================================
   NAV PRINCIPALE
   ========================================================= */
.nav-primary.primary {
  background: var(--navy-deep) !important;
}
.nav-primary__inner {
  display: flex; align-items: center; gap: 0;
  padding: 0 !important;
  overflow-x: auto;
}
.nav-primary__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; flex-wrap: nowrap;
}
.nav-primary__list > li > a,
.nav-primary__list > li > .nav-primary__link {
  color: #cfe0ea !important;
  font-size: 14px !important; font-weight: 500 !important;
  padding: 12px 15px !important;
  display: inline-block; white-space: nowrap;
  border-bottom: 2px solid transparent !important;
  transition: color .15s, border-color .15s !important;
  text-transform: none !important;
}
.nav-primary__list > li > a:hover,
.nav-primary__list > li.current-menu-item > a {
  color: #fff !important;
  border-bottom-color: var(--gold) !important;
}
.nav-primary__list > li.current-menu-item > a { color: var(--gold-light) !important; }

/* Hamburger */
.nav-primary__hamburger {
  background: none; border: none; color: #cfe0ea;
  cursor: pointer; padding: 8px; flex-shrink: 0;
  display: none;
}
.nav-primary__hamburger span {
  display: block; width: 22px; height: 2px;
  background: #cfe0ea; margin: 4px 0; border-radius: 2px;
}

/* Search inline nella nav */
.nav-search-inline { margin-left: auto; flex-shrink: 0; }
.nav-search-form { display: flex; align-items: center; }
.nav-search-input {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15); border-radius: 20px;
  color: #fff; font-size: 13px; padding: 7px 14px;
  outline: none; font-family: 'Source Sans 3', sans-serif;
  width: 180px; transition: width .2s;
}
.nav-search-input:focus { width: 220px; }
.nav-search-input::placeholder { color: #7a9aad; }
.nav-search-button {
  background: none; border: none; color: #cfe0ea;
  cursor: pointer; padding: 5px 8px; margin-left: 4px;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  background: var(--cream);
  padding: 32px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 28px;
}
.hero-lead {
  position: relative; border-radius: var(--oz-radius); overflow: hidden;
  background: var(--navy); box-shadow: var(--oz-shadow-lg);
  min-height: 420px; display: flex; align-items: flex-end;
}
.hero-lead > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; opacity: .55;
}
.hero-lead::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,27,46,.96) 10%, rgba(8,27,46,.55) 55%, rgba(8,27,46,.15) 100%);
}
.hero-lead-content {
  position: relative; z-index: 2;
  padding: 32px; color: #fff;
}
.hero-lead-link { display: contents; }

/* Badges */
.badge-row { display: flex; gap: 8px; margin-bottom: 14px; align-items: center; flex-wrap: wrap; }
.badge {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 5px;
}
.badge-breaking {
  background: var(--coral); color: #fff;
  display: flex; align-items: center; gap: 6px;
}
.badge-breaking::before {
  content: ""; width: 6px; height: 6px;
  background: #fff; border-radius: 50%;
  animation: pulse-dot 1.4s infinite;
}
.badge-cat { background: rgba(255,255,255,.15); color: #fff; }
.badge-comune { background: var(--gold); color: var(--navy); }

.hero-lead h1 {
  color: #fff; font-size: 32px; line-height: 1.15;
  font-weight: 600; margin-bottom: 12px; max-width: 640px;
}
.hero-lead h1 a { color: inherit; }
.hero-lead p { color: #cfe0ea; font-size: 15px; line-height: 1.5; max-width: 560px; margin-bottom: 16px; }
.hero-meta { display: flex; gap: 16px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #9fb4c4; }

/* Trending */
.trending {
  background: var(--paper); border-radius: var(--oz-radius);
  box-shadow: var(--oz-shadow); padding: 22px;
  display: flex; flex-direction: column;
}
.trending-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.trending-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.trending-list li {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.trending-list li:last-child { border-bottom: none; padding-bottom: 0; }
.trending-list li:first-child { padding-top: 0; }
.trending-num {
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600;
  color: var(--gold); width: 28px; flex-shrink: 0;
}
.trending-body a {
  font-size: 14px; font-weight: 600; color: var(--navy);
  line-height: 1.3; display: block; margin-bottom: 4px;
}
.trending-body a:hover { color: var(--teal); }
.trending-foot {
  display: flex; justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-soft);
}
.trending-foot .views { color: var(--coral); }

/* =========================================================
   STRUMENTI (TOOLS)
   ========================================================= */
.tools-section { padding: 44px 0; background: var(--paper); }
.tools-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.tool-card {
  border-radius: var(--oz-radius); padding: 24px 20px;
  color: #fff; position: relative; overflow: hidden;
  min-height: 170px; display: flex; flex-direction: column;
  justify-content: space-between;
  transition: transform .18s, box-shadow .18s; box-shadow: var(--oz-shadow);
  text-decoration: none;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--oz-shadow-lg); }
.tool-card.c1 { background: linear-gradient(155deg,#C0392B,#8B291E); }
.tool-card.c2 { background: linear-gradient(155deg,var(--teal),#123F3C); }
.tool-card.c3 { background: linear-gradient(155deg,var(--gold),#9C7220); }
.tool-card.c4 { background: linear-gradient(155deg,var(--navy),var(--navy-deep)); }
.tool-card .tool-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .08em; opacity: .85;
}
.tool-card .tool-icon { font-size: 30px; margin: 6px 0 10px; }
.tool-card h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.tool-card p { font-size: 12.5px; color: rgba(255,255,255,.82); line-height: 1.4; margin: 0; }
.tool-card .tool-cta {
  margin-top: 14px; font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; gap: 5px; color: #fff;
}

/* =========================================================
   SPONSOR BANDS (GOLD / SILVER)
   ========================================================= */
.sponsor-band { padding: 26px 0; }
.sponsor-band .sb-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.sponsor-band .sb-tier {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 12px;
}
.sponsor-band .sb-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-soft); }
.sponsor-band.tier-gold { background: linear-gradient(180deg,#FBF3E0,var(--paper)); }
.sponsor-band.tier-gold .sb-tier { background: var(--gold); color: var(--navy); }
.sponsor-band.tier-silver { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sponsor-band.tier-silver .sb-tier { background: #CBD5E1; color: #334155; }
.sb-logos-row {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.sb-logos-row img { object-fit: contain; }
/* height overridden */
/* height overridden */
.sponsor-band.tier-silver .sb-logos-row img:hover { opacity: 1; filter: none; }
/* Quando ozat_get_sponsor_html restituisce un carosello/div */
.sponsor-band .sb-logos-row > * { max-height: 50px; }

/* =========================================================
   EVENTI
   ========================================================= */
.events-section {
  background: var(--navy); padding: 48px 0 52px; position: relative;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(201,150,46,.10), transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(31,111,107,.18), transparent 45%);
}
.events-section .section-head h2 { color: #fff; }
.events-section .section-head .eyebrow { color: var(--gold-light); }
.events-section .see-all { color: var(--gold-light) !important; }

.ticket-row {
  display: flex; gap: 18px; overflow-x: auto; padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.ticket-row::-webkit-scrollbar { height: 6px; }
.ticket-row::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 3px; }

.ticket {
  flex: 0 0 240px; scroll-snap-align: start;
  background: var(--cream); border-radius: 10px; overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  transition: transform .2s; display: flex; flex-direction: column;
  text-decoration: none !important; color: inherit !important;
}
.ticket:hover { transform: translateY(-5px) rotate(-.4deg); }
.ticket-photo {
  position: relative; aspect-ratio: 4/3;
  background: var(--line); overflow: hidden;
}
.ticket-photo img { width: 100%; height: 100%; object-fit: cover; }
.ticket-date-chip {
  position: absolute; top: 10px; left: 10px;
  background: var(--gold); color: var(--navy);
  border-radius: 7px; padding: 5px 9px; text-align: center;
  font-family: 'IBM Plex Mono', monospace; line-height: 1.05;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.ticket-date-chip .day { font-size: 16px; font-weight: 700; display: block; }
.ticket-date-chip .mon { font-size: 8.5px; letter-spacing: .06em; }
.ticket-seam {
  position: relative; height: 0;
  border-top: 2px dashed rgba(14,42,68,.25); margin: 0 14px;
}
.ticket-seam::before, .ticket-seam::after {
  content: ""; position: absolute; top: -8px;
  width: 16px; height: 16px; background: var(--navy); border-radius: 50%;
}
.ticket-seam::before { left: -22px; }
.ticket-seam::after { right: -22px; }
.ticket-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.ticket-place {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px;
  color: var(--teal); text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 6px; font-weight: 600;
}
.ticket-body h3 { font-size: 14.5px; line-height: 1.3; margin-bottom: auto; padding-bottom: 10px; color: var(--ink); }
.ticket-time {
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px;
  color: var(--ink-soft); display: flex; align-items: center; gap: 5px;
}
.ticket-add {
  flex: 0 0 220px; scroll-snap-align: start;
  border: 2px dashed rgba(255,255,255,.28); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px;
  color: #cfe0ea; font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px; text-align: center; padding: 20px;
  transition: border-color .15s;
}
.ticket-add:hover { border-color: var(--gold-light); color: var(--gold-light); }
.ticket-add .plus { font-size: 26px; color: var(--gold-light); }

/* =========================================================
   SEZIONI CATEGORIE
   ========================================================= */
.categories-section { padding: 48px 0; background: var(--paper); }
.cat-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 28px;
}
.cat-block { border-top: 3px solid var(--gold); padding-top: 16px; }
.cat-block-head {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px;
}
.cat-block-head h3 { font-size: 20px; color: var(--navy); }
.cat-block-head a {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  color: var(--teal); font-weight: 600;
}
.cat-lead {
  display: flex; gap: 14px; margin-bottom: 14px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.cat-lead img {
  width: 120px; height: 88px; object-fit: cover;
  border-radius: 7px; flex-shrink: 0; background: var(--line);
}
.cat-lead-text a { font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.cat-lead-text a:hover { color: var(--teal); }
.cat-lead-text .cat-date {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  color: var(--ink-soft); margin-top: 6px; display: block;
}
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li {
  padding: 9px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 10px; align-items: center;
}
.cat-list li:last-child { border-bottom: none; }
.cat-list li a { font-size: 13.5px; color: var(--ink); line-height: 1.35; }
.cat-list li a:hover { color: var(--teal); }
.cat-list li .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* =========================================================
   SEGNALATO DAI LETTORI
   ========================================================= */
.reports-section {
  background: var(--navy); padding: 44px 0; position: relative;
  background-image: radial-gradient(circle at 90% 10%, rgba(201,150,46,.12), transparent 45%);
}
.reports-section .section-head h2 { color: #fff; }
.reports-section .section-head .eyebrow { color: var(--teal-light); }
.reports-section .see-all { color: var(--gold-light) !important; }
.reports-intro {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.22);
  border-radius: 10px; padding: 16px 20px; margin-bottom: 22px;
  color: #cfe0ea; font-size: 13.5px;
}
.reports-intro strong { color: #fff; }
.reports-intro .btn { flex-shrink: 0; }
.reports-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.report-card {
  background: var(--cream); border-radius: 9px; overflow: hidden;
  transform: rotate(-1deg);
  box-shadow: 0 10px 22px rgba(0,0,0,.3); transition: transform .18s;
}
.report-card:nth-child(2n) { transform: rotate(1deg); }
.report-card:hover { transform: rotate(0deg) translateY(-3px); }
.report-photo { aspect-ratio: 1/1; background: var(--line); position: relative; overflow: hidden; }
.report-photo img { width: 100%; height: 100%; object-fit: cover; }
.report-verified {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(8,27,46,.85); color: var(--gold-light);
  font-family: 'IBM Plex Mono', monospace; font-size: 9.5px;
  padding: 3px 7px; border-radius: 5px;
  display: flex; align-items: center; gap: 4px;
}
.report-body { padding: 10px 12px 13px; }
.r-comune {
  font-family: 'IBM Plex Mono', monospace; font-size: 9.5px;
  color: var(--teal); text-transform: uppercase; font-weight: 700; letter-spacing: .05em;
}
.report-body p { font-size: 12.5px; color: var(--ink); line-height: 1.3; margin: 4px 0 0; }
.r-author { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--ink-soft); margin-top: 6px; }

/* =========================================================
   RUBRICHE STRIP
   ========================================================= */
.rubriche-strip { background: var(--paper); padding: 36px 0 44px; }
.rubriche-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.rubrica-pill {
  flex: 0 0 auto; display: flex; align-items: center; gap: 9px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 24px;
  padding: 10px 16px 10px 12px; white-space: nowrap; transition: background .15s, border-color .15s;
  text-decoration: none;
}
.rubrica-pill:hover { background: var(--navy); border-color: var(--navy); }
.rubrica-pill:hover span, .rubrica-pill:hover .rp-icon { color: #fff; }
.rubrica-pill .rp-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.rubrica-pill span { font-size: 13.5px; font-weight: 600; color: var(--navy); }

/* =========================================================
   TERRITORIO
   ========================================================= */
.territorio-section { background: var(--cream); padding: 44px 0; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 8px 14px; font-size: 13.5px; color: var(--navy); font-weight: 500;
  display: flex; align-items: center; gap: 7px; transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip .count {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  background: var(--gold); color: var(--navy);
  padding: 1px 6px; border-radius: 10px; font-weight: 600;
}
.chip.big { font-size: 15px; font-weight: 600; padding: 10px 16px; }
.chip.big .count { background: var(--teal); color: #fff; }

/* =========================================================
   VIDEO / OZANTV
   ========================================================= */
.video-section { padding: 48px 0; background: var(--paper); }
.video-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.video-card {
  border-radius: var(--oz-radius); overflow: hidden;
  background: var(--navy); box-shadow: var(--oz-shadow);
}
.video-thumb {
  position: relative; aspect-ratio: 16/10;
  background: var(--line); overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb-link { display: block; }
.video-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,27,46,.25);
  transition: background .15s;
}
.video-card:hover .video-play { background: rgba(8,27,46,.45); }
.video-play span {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 16px;
}
.video-info { padding: 12px 14px; }
.vcat {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  color: var(--gold-light); text-transform: uppercase; letter-spacing: .06em;
}
.video-info h4 {
  color: #fff; font-family: 'Source Sans 3', sans-serif;
  font-weight: 600; font-size: 13px; line-height: 1.3; margin: 5px 0 0;
}
.video-info h4 a { color: inherit; }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.oz-newsletter-band {
  background: linear-gradient(120deg, var(--teal), #123F3C);
  padding: 36px 0; color: #fff;
}
.oz-newsletter-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.oz-newsletter-inner h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.oz-newsletter-inner p { color: #cfe6e2; font-size: 14px; margin: 0; }
.oz-newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.oz-newsletter-form input {
  padding: 11px 16px; border-radius: 22px; border: none;
  width: 230px; font-family: 'Source Sans 3', sans-serif; font-size: 14px;
  outline: none;
}
.oz-btn-gold {
  font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 13.5px;
  padding: 11px 20px; border-radius: 22px; border: none;
  background: var(--gold); color: var(--navy); cursor: pointer;
  transition: box-shadow .15s;
}
.oz-btn-gold:hover { box-shadow: 0 6px 16px rgba(201,150,46,.4); }

/* btn generico usato in reports-section */
.btn { 
  font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 13.5px;
  padding: 9px 16px; border-radius: 22px; border: 1px solid transparent;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: transform .12s, box-shadow .12s; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy) !important; border-color: var(--gold); }
.btn-gold:hover { box-shadow: 0 6px 16px rgba(201,150,46,.4); }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--navy-deep) !important;
  color: #9fb4c4 !important;
  padding: 44px 0 22px !important;
  font-size: 13.5px;
}
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
  gap: 28px !important;
  padding-bottom: 28px !important;
  border-bottom: 1px solid var(--line-dark) !important;
}
.footer-grid h4, .footer-grid h5 {
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 11px !important; color: var(--gold-light) !important;
  text-transform: uppercase !important; letter-spacing: .08em !important;
  margin-bottom: 14px !important; font-weight: 700 !important;
}
.footer-grid a {
  display: block; color: #9fb4c4 !important; padding: 5px 0;
}
.footer-grid a:hover { color: #fff !important; }
.footer-grid p { color: rgba(255,255,255,.7) !important; font-size: 13px; line-height: 1.5; }
.footer-logo .logo-plate img { height: 40px; width: auto; opacity: .9; }

.footer-bottom {
  display: flex !important; justify-content: space-between !important;
  padding-top: 20px !important; flex-wrap: wrap !important; gap: 10px !important;
  font-family: 'IBM Plex Mono', monospace !important; font-size: 11.5px !important;
}
.footer-bottom a { color: #9fb4c4 !important; }
.footer-bottom a:hover { color: #fff !important; }
.oz-footer-social { display: flex; gap: 10px; align-items: center; }
.oz-footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #9fb4c4; font-size: 11px; transition: background .15s, color .15s;
}
.oz-footer-social a:hover { background: var(--gold); color: var(--navy); }

/* =========================================================
   RESPONSIVE — 980px (tablet)
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2,1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .reports-grid { grid-template-columns: repeat(2,1fr); }
  .oz-search-box { display: none; }
  .masthead__brand-center { display: none; }
}

/* =========================================================
   RESPONSIVE — 600px (mobile)
   ========================================================= */
@media (max-width: 600px) {
  :root { --oz-radius: 14px; }
  body { font-size: 15px; padding-bottom: 64px; overflow-x: hidden; }
  .wrap { padding: 0 16px; }

  /* Utility bar */
  .utility-bar { font-size: 10.5px; }
  .utility-bar .wrap { padding: 7px 16px; }
  .utility-bar .alert-item { display: none; }

  /* Header */
  .masthead { border-bottom: 2px solid var(--gold) !important; }
  .masthead-top { padding: 12px 16px !important; gap: 10px !important; position: relative; }
  .masthead .logo .logo-plate a img { height: 38px; }
  .oz-search-box {
    display: flex; order: 4;
    position: absolute; left: 16px; right: 16px; top: 62px;
    max-width: none;
  }
  .masthead-top { padding-bottom: 58px !important; }
  .masthead__brand-center { display: none !important; }
  .btn-abbonati { display: none; }
  .btn-sostieni { font-size: 12px; padding: 8px 12px; }

  /* Social strip — nascosta su mobile */
  .oz-social-strip { display: none; }

  /* Nav */
  .nav-primary__hamburger { display: flex; }
  .nav-primary__inner { flex-wrap: nowrap; }
  .nav-primary__list { overflow-x: auto; scrollbar-width: none; }
  .nav-primary__list::-webkit-scrollbar { display: none; }
  .nav-primary__list > li > a { font-size: 12.5px !important; padding: 10px 12px !important; }
  .nav-search-inline { display: none; }

  /* Hero */
  .hero-section { padding: 14px 0 20px; }
  .hero-grid { display: flex; flex-direction: column; gap: 12px; }
  .hero-lead { min-height: 0; height: 390px; border-radius: 16px; }
  .hero-lead-content { padding: 18px 17px; }
  .hero-lead h1 { font-size: 24px; line-height: 1.12; margin-bottom: 9px; }
  .hero-lead p { font-size: 13.5px; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-meta { font-size: 9.5px; gap: 8px; flex-wrap: wrap; }
  .badge { font-size: 9px; padding: 4px 7px; }

  /* Trending su mobile: scroll orizzontale */
  .trending { padding: 15px 14px; border-radius: 14px; border: 1px solid var(--line); }
  .trending-list {
    flex-direction: row; overflow-x: auto; gap: 10px;
    scroll-snap-type: x mandatory; padding-bottom: 4px;
  }
  .trending-list li {
    min-width: 250px; scroll-snap-align: start;
    border: 1px solid var(--line); border-radius: 10px;
    padding: 10px !important; background: var(--cream); flex-direction: row;
  }
  .trending-list li:last-child { border-bottom: 1px solid var(--line); }
  .trending-num { font-size: 18px; width: 24px; }
  .trending-body a { font-size: 12.5px; }

  /* Tools */
  .tools-section { padding: 30px 0; }
  .tools-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .tool-card { min-height: 175px; padding: 16px 14px; border-radius: 13px; }
  .tool-card .tool-icon { font-size: 25px; }
  .tool-card h3 { font-size: 16px; }
  .tool-card p { font-size: 11px; }

  /* Sponsor */
  .sponsor-band { padding: 18px 0; }
  .sb-logos-row { flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding-bottom: 4px; scrollbar-width: none; }
  .sb-logos-row::-webkit-scrollbar { display: none; }
  /* height overridden */
  /* height overridden */

  /* Events */
  .events-section { padding: 30px 0 34px; }
  .ticket-row { gap: 12px; padding: 0 0 8px; margin-right: -16px; }
  .ticket { flex: 0 0 78vw; max-width: 300px; border-radius: 14px; }
  .ticket-add { flex: 0 0 78vw; max-width: 300px; }
  .ticket-body h3 { font-size: 14px; }

  /* Categories */
  .categories-section { padding: 30px 0; }
  .cat-grid { grid-template-columns: 1fr; gap: 26px; }
  .cat-lead img { width: 96px; height: 72px; }
  .cat-lead-text a { font-size: 14px; }

  /* Reports */
  .reports-section { padding: 30px 0; }
  .reports-intro { padding: 13px 14px; font-size: 12px; }
  .reports-grid { display: flex; overflow-x: auto; gap: 11px; padding-bottom: 4px; margin-right: -16px; }
  .report-card { flex: 0 0 67vw; max-width: 250px; border-radius: 12px; }

  /* Rubriche */
  .rubriche-strip { padding: 26px 0 30px; }
  .rubriche-scroll { margin-right: -16px; gap: 8px; }
  .rubrica-pill { padding: 8px 12px 8px 9px; }
  .rubrica-pill .rp-icon { width: 27px; height: 27px; font-size: 13px; }
  .rubrica-pill span { font-size: 12px; }

  /* Territorio */
  .territorio-section { padding: 30px 0; }
  .chip-cloud { gap: 7px; }
  .chip { font-size: 11.5px; padding: 7px 10px; }
  .chip.big { font-size: 12.5px; padding: 8px 11px; }

  /* Video */
  .video-section { padding: 30px 0; }
  .video-grid { display: flex; overflow-x: auto; gap: 11px; margin-right: -16px; padding-bottom: 4px; }
  .video-card { flex: 0 0 78vw; max-width: 300px; border-radius: 13px; }

  /* Newsletter */
  .oz-newsletter-band { padding: 26px 0; }
  .oz-newsletter-inner { display: block; }
  .oz-newsletter-inner h3 { font-size: 19px; margin-bottom: 8px; }
  .oz-newsletter-inner p { font-size: 12px; margin-bottom: 14px; }
  .oz-newsletter-form { flex-direction: column; gap: 7px; }
  .oz-newsletter-form input { width: 100%; }
  .oz-btn-gold { width: 100%; justify-content: center; }

  /* Footer */
  footer { padding: 30px 0 80px !important; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 20px 16px !important; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block !important; font-size: 9px !important; line-height: 1.45; }
  .oz-footer-social { margin-top: 10px; }

  /* Bottom mobile nav bar */
  body::after {
    content: "";
    position: fixed; left: 0; right: 0; bottom: 0; height: 58px;
    background: rgba(8,27,46,.98);
    border-top: 1px solid rgba(255,255,255,.12);
    z-index: 999;
    box-shadow: 0 -6px 22px rgba(0,0,0,.16);
  }
  body::before {
    content: "⌂     ◉     ＋     ♡     ☰";
    position: fixed; left: 0; right: 0; bottom: 0; height: 58px;
    display: flex; align-items: center; justify-content: space-around;
    color: #cfe0ea;
    font: 18px/58px 'Source Sans 3', sans-serif;
    letter-spacing: 4px; z-index: 1000; pointer-events: none;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .hero-lead { height: 365px; }
  .hero-lead h1 { font-size: 22px; }
  .tools-grid { gap: 8px; }
  .tool-card { padding: 14px 12px; min-height: 165px; }
  .tool-card h3 { font-size: 15px; }
}


/* =========================================================
   OZ-HEADER — identico al mockup 2026
   ========================================================= */

/* Utility bar */
.oz-utility-bar {
  background: #081B2E;
  color: #cfe0ea;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  overflow: hidden;
}
.oz-utility-bar__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 36px; overflow-x: auto; white-space: nowrap;
}
.oz-ub-left { display: flex; align-items: center; gap: 18px; }
.oz-utility-bar a { color: #E4B85C; text-decoration: none; transition: opacity .15s; }
.oz-utility-bar a:hover { opacity: .75; }
.oz-ub-sep { color: rgba(255,255,255,.3); }
.oz-live-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #4ADE80; margin-right: 5px; vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(74,222,128,.2); animation: oz-pulse 1.4s infinite;
}
.oz-ub-alert { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.oz-ub-alert a { color: #ffd6ce !important; font-weight: 600; }
.oz-alert-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,.28);
  animation: oz-pulse 1.4s infinite; flex-shrink: 0;
}
@keyframes oz-pulse { 0%,100%{opacity:1;}50%{opacity:.3;} }

/* Header */
.oz-header {
  background: #0E2A44 !important;
  border-bottom: 3px solid #C9962E !important;
}
.oz-header__row {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; padding: 14px 24px;
}

/* Logo */
.oz-header__logo { flex-shrink: 0; background: transparent !important; }
.oz-header__logo a { display: block; line-height: 0; }
.oz-header__logo img { height: 48px; width: auto; object-fit: contain; display: block; }

/* Search */
.oz-header__search {
  flex: 1; max-width: 400px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px; padding: 9px 16px;
}
.oz-header__search svg { flex-shrink: 0; opacity: .7; color: #cfe0ea; }
.oz-header__search input {
  background: none; border: none; outline: none;
  color: #fff; font-family: 'Source Sans 3', sans-serif;
  font-size: 14px; width: 100%;
}
.oz-header__search input::placeholder { color: #8aa2b3; }

/* Sponsor carousel */
.oz-header__sponsor {
  flex: 0 0 220px; max-width: 220px; height: 56px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; overflow: hidden;
  position: relative;
}
.oz-header__sponsor > * { width: 100%; height: 100%; }

/* Azioni */
.oz-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.oz-btn {
  font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 13px;
  padding: 9px 15px; border-radius: 22px; border: 1px solid transparent;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: transform .12s, box-shadow .12s, background .15s;
  text-decoration: none; white-space: nowrap;
}
.oz-btn:hover { transform: translateY(-1px); }
.oz-btn--push {
  background: rgba(255,255,255,.1); color: #fff;
  border-color: rgba(255,255,255,.2);
}
.oz-btn--ghost {
  background: transparent; color: #E4B85C;
  border-color: rgba(233,217,179,.4);
}
.oz-btn--ghost:hover { background: rgba(233,217,179,.08); }
.oz-btn--gold {
  background: #C9962E; color: #0E2A44;
  border-color: #C9962E;
}
.oz-btn--gold:hover { box-shadow: 0 6px 16px rgba(201,150,46,.4); }
.oz-btn--hide-mobile { /* nascosto su mobile via media query */ }

/* Social strip */
.oz-social-strip {
  background: #FBF7EF;
  border-bottom: 1px solid #E8E1D3;
}
.oz-social-strip__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px; padding: 8px 24px;
  overflow-x: auto;
}
.oz-sp-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: .08em;
  color: #1F6F6B; font-weight: 700; flex-shrink: 0;
  border-right: 1px solid #E8E1D3; padding-right: 14px;
}
.oz-social-icons { display: flex; align-items: center; gap: 6px; }
.oz-social-icons a {
  width: 30px; height: 30px; border-radius: 50%;
  background: #0E2A44; color: #E4B85C;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s; flex-shrink: 0;
}
.oz-social-icons a:hover { background: #C9962E; color: #0E2A44; }
.oz-sp-cta {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px;
  color: #1F6F6B; font-weight: 600;
  flex-shrink: 0; margin-left: auto; white-space: nowrap;
  text-decoration: none;
}
.oz-sp-cta:hover { color: #0E2A44; }

/* Nav */
.oz-nav { background: #081B2E !important; }
.oz-nav__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; padding: 0 24px;
  overflow-x: auto;
}
.oz-nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; flex-wrap: nowrap; width: 100%;
}
.oz-nav__list > li > a {
  color: #cfe0ea !important;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px !important; font-weight: 500 !important;
  padding: 12px 15px !important; display: inline-block;
  white-space: nowrap; text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.oz-nav__list > li > a:hover { color: #fff !important; border-bottom-color: #C9962E !important; }
.oz-nav__list > li.current-menu-item > a { color: #E4B85C !important; border-bottom-color: #C9962E !important; }
.oz-nav__list > li.menu-item-has-children > a::after { content: ' ▾'; font-size: 11px; }

/* Sub-menu */
.oz-nav__list .sub-menu {
  position: absolute; z-index: 999; top: 100%;
  background: #0E2A44; min-width: 200px;
  border-top: 2px solid #C9962E;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  display: none; list-style: none; margin: 0; padding: 8px 0;
}
.oz-nav__list > li { position: relative; }
.oz-nav__list > li:hover > .sub-menu { display: block; }
.oz-nav__list .sub-menu li a {
  display: block; padding: 9px 18px;
  color: #cfe0ea !important; font-size: 13px !important;
  border-bottom: none; transition: background .15s;
}
.oz-nav__list .sub-menu li a:hover { background: rgba(255,255,255,.06); color: #fff !important; }

/* Hamburger */
.oz-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; flex-shrink: 0;
}
.oz-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #cfe0ea; margin: 5px 0; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* Nav aperta su mobile */
.oz-nav__menu.is-open { display: flex; flex-direction: column; }

/* ─── RESPONSIVE MOBILE ─────────────────────────────────── */
@media (max-width: 768px) {
  .oz-utility-bar__inner { height: 32px; font-size: 10px; padding: 0 16px; }
  .oz-ub-alert { display: none; }
  
  .oz-header__row { padding: 12px 16px; gap: 10px; flex-wrap: wrap; }
  .oz-header__logo img { height: 38px; }
  .oz-header__search { 
    order: 10; flex: 0 0 100%; max-width: 100%;
    margin-top: 2px; padding: 8px 14px;
  }
    .oz-header__sponsor {
    display: flex !important;
    order: 15 !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    height: 52px !important;
    margin-top: 8px !important;
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    position: relative !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .oz-btn--hide-mobile { display: none; }
  .oz-btn--push .oz-btn-label { display: none; }
  .oz-btn--push { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
  .oz-btn--gold { font-size: 12px; padding: 8px 12px; }
  
  .oz-social-strip { display: none; }
  
  .oz-nav__inner { padding: 0 16px; }
  .oz-hamburger { display: flex; flex-direction: column; }
  .oz-nav__menu { 
    display: none; width: 100%; 
    background: #081B2E;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 999;
  }
  .oz-nav__menu.is-open { display: block; }
  .oz-nav__list { flex-direction: column; align-items: flex-start; }
  .oz-nav__list > li { width: 100%; }
  .oz-nav__list > li > a { padding: 12px 20px !important; border-bottom: 1px solid rgba(255,255,255,.07) !important; width: 100%; }
  .oz-nav__list .sub-menu { position: static; box-shadow: none; border-top: none; background: rgba(255,255,255,.04); display: block; }
  .oz-nav { position: relative; }
}

@media (min-width: 769px) {
  .oz-hamburger { display: none !important; }
  .oz-nav__menu { display: flex !important; flex: 1; }
}

/* === STILI NEWSLETTER & SPONSOR === */
.oz-newsletter-band {
  background: linear-gradient(120deg, #1F6F6B, #123F3C);
  padding: 40px 0; color: #fff;
  border-top: 4px solid #C9962E;
}
.oz-newsletter-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.oz-newsletter-info h3 { color: #fff !important; font-size: 22px; font-family: 'Fraunces', serif; }
.oz-newsletter-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.oz-newsletter-fields { display: flex; gap: 8px; flex-wrap: wrap; }
.oz-newsletter-fields input {
  padding: 11px 16px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: #fff;
  font-family: 'Source Sans 3', sans-serif; font-size: 13.5px;
  width: 160px; outline: none; transition: border-color 0.15s;
}
.oz-newsletter-fields input:focus { border-color: #E4B85C; background: rgba(255,255,255,0.15); }
.oz-newsletter-fields input::placeholder { color: #b2c5cb; }
.oz-btn-gold {
  font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 13.5px;
  padding: 11px 22px; border-radius: 22px; border: none;
  background: #C9962E; color: #0E2A44; cursor: pointer;
  transition: box-shadow 0.15s, transform 0.1s;
}
.oz-btn-gold:hover { box-shadow: 0 6px 16px rgba(201,150,46,0.4); transform: translateY(-1px); }

/* Fix per allineare gli sponsor orizzontalmente ed evitare ritagli */
.sb-logos-row {
  display: flex !important;
  align-items: center !important;
  gap: 50px !important;
  flex-wrap: nowrap !important;
}
.sb-logos-row a { display: block; line-height: 0; flex-shrink: 0 !important; }
.sb-logos-row img {
  height: 60px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* Stili Marquee per Sponsor */
.sb-marquee {
  width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
  padding: 12px 0 !important;
}
.sb-marquee-track {
  display: flex !important;
  width: max-content !important;
  gap: 50px !important;
  animation: sb-marquee-anim 25s linear infinite !important;
}
.sb-marquee-track:hover {
  animation-play-state: paused !important;
}
@keyframes sb-marquee-anim {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media(max-width: 768px) {
  .oz-newsletter-inner { display: block; }
  .oz-newsletter-form { flex-direction: column; align-items: stretch; margin-top: 15px; }
  .oz-newsletter-fields { flex-direction: column; gap: 8px; }
  .oz-newsletter-fields input { width: 100%; }
  .oz-btn-gold { width: 100%; text-align: center; }
  
  .sb-logos-row {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .sb-logos-row img { max-width: 120px !important; }
}

/* Mobile submenu toggle styles */
@media (max-width: 768px) {
  .oz-nav__list .sub-menu { display: none !important; }
  .oz-nav__list .sub-menu.is-active { display: block !important; }
  .oz-menu-toggle {
    position: absolute !important;
    right: 16px !important;
    top: 12px !important;
    color: rgba(255,255,255,.5) !important;
    font-size: 11px !important;
    cursor: pointer !important;
    padding: 6px 12px !important;
    transition: transform 0.2s !important;
    z-index: 10 !important;
  }
  .oz-menu-toggle.is-active {
    transform: rotate(180deg) !important;
    color: #C9962E !important;
  }
  .oz-nav__list > li.menu-item-has-children > a {
    padding-right: 50px !important;
  }
}
/* cache-bust: 1786439271 */

/* ============================================================
   FIX HEADER: LOGO TRASPARENTE + BANNER CENTRATO - 11/08/2026
   ============================================================ */

/* 1. Logo: sfondo trasparente su tutti gli stati */
.oz-header__logo,
.oz-header__logo a,
.oz-header__logo img {
  background: transparent !important;
  background-color: transparent !important;
}

/* 2. DESKTOP: Header row - logo a sinistra, banner centrato, azioni a destra */
.oz-header__row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}

/* Il logo non cresce */
.oz-header__logo {
  flex: 0 0 auto !important;
}

/* Il banner occupa lo spazio centrale e si centra */
.oz-header__sponsor-large {
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  max-width: 380px !important;
}

/* Il contenuto interno del banner */
.oz-header__sponsor-large > div,
.oz-header__sponsor-large > a,
.oz-header__sponsor-large > * {
  max-width: 320px !important;
  width: 320px !important;
  flex: 0 0 320px !important;
}

/* Immagini dentro il banner */
.oz-header__sponsor-large img {
  max-width: 320px !important;
  width: auto !important;
  height: auto !important;
  max-height: 80px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Banner .oz-header__sponsor (variante generica) */
.oz-header__sponsor {
  flex: 0 0 320px !important;
  max-width: 320px !important;
  width: 320px !important;
}
.oz-header__sponsor > * {
  max-width: 100% !important;
}
.oz-header__sponsor img,
.oz-header__sponsor a img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Le azioni restano a destra */
.oz-header__actions {
  flex: 0 0 auto !important;
  margin-left: 0 !important;
}

/* 3. MOBILE: logo e contenuto centrati */
@media (max-width: 768px) {
  .oz-header__row {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  /* Logo centrato */
  .oz-header__logo {
    flex: 0 0 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Azioni centrate sotto il logo */
  .oz-header__actions {
    flex: 0 0 auto !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  /* Banner sotto le azioni su mobile */
  .oz-header__sponsor-large {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  .oz-header__sponsor-large > *,
  .oz-header__sponsor-large > div {
    max-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
  }

  .oz-header__sponsor {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ============================================================
   FIX MEGA MENU / SUBMENU VISIBILITY DESKTOP
   ============================================================ */
@media (min-width: 769px) {
  /* Assicura che la barra di navigazione e i suoi contenitori non taglino il contenuto */
  .oz-nav,
  .oz-nav__inner,
  .oz-nav__menu,
  .oz-nav__list {
    overflow: visible !important;
  }
  
  /* Posizionamento relativo sui li padri per contenere il sottomenu */
  .oz-nav__list > li {
    position: relative !important;
  }

  /* Mostra sottomenu al passaggio del mouse su desktop */
  .oz-nav__list > li:hover > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Stili del sottomenu per massima leggibilità su desktop */
  .oz-nav__list .sub-menu {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 99999 !important;
    background: #0E2A44 !important;
    min-width: 220px !important;
    border-top: 3px solid #C9962E !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    list-style: none !important;
  }

  .oz-nav__list .sub-menu li {
    width: 100% !important;
  }

  .oz-nav__list .sub-menu li a {
    display: block !important;
    padding: 10px 20px !important;
    color: #cfe0ea !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-align: left !important;
    text-decoration: none !important;
    border: none !important;
  }

  .oz-nav__list .sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
  }
}

/* ============================================================
   ARTICLE AD BANDS (Gold e Silver) - 11/08/2026
   ============================================================ */
.article-ad-band {
  margin: 32px 0;
  border-radius: 10px;
  overflow: hidden;
  padding: 12px 0;
}

.article-ad-band--gold {
  background: linear-gradient(135deg, #1a1200, #2a1f00);
  border: 1px solid rgba(201, 150, 46, 0.35);
}

.article-ad-band--silver {
  background: linear-gradient(135deg, #111a20, #0d1922);
  border: 1px solid rgba(180, 200, 215, 0.2);
}

.aab__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-bottom: 10px;
}

.aab__track-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Fade sui bordi */
.aab__track-wrap::before,
.aab__track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; width: 60px;
  z-index: 2; pointer-events: none;
}
.article-ad-band--gold .aab__track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #1a1200, transparent);
}
.article-ad-band--gold .aab__track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #1a1200, transparent);
}
.article-ad-band--silver .aab__track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #111a20, transparent);
}
.article-ad-band--silver .aab__track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #111a20, transparent);
}

.aab__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: aab-scroll 28s linear infinite;
}

.aab__track--silver {
  animation-duration: 24s;
}

.aab__track:hover {
  animation-play-state: paused;
}

@keyframes aab-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.aab__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.85;
}

.aab__item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.aab__item img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  filter: brightness(1.1) contrast(1);
}

.article-ad-band--gold .aab__item img {
  filter: brightness(1.15) saturate(1.1);
}

.article-ad-band--silver .aab__item img {
  filter: brightness(1.05) saturate(0.95);
}

@media (max-width: 768px) {
  .aab__item img {
    height: 40px;
    max-width: 130px;
  }
  .article-ad-band {
    margin: 24px 0;
  }
}
