:root{
      --bg:#f3f5f9;
      --card:#ffffff;
      --text:#0f172a;
      --muted:#64748b;
      --line:#e5e7eb;
      --blue:#1d4ed8;
      --blue-2:#0f2f7a;
      --red:#FC8201;
      --green:#16a34a;
      --amber:#f59e0b;
      --violet:#8b5cf6;
      --teal:#0f9aa8;
      --shadow:0 20px 60px rgba(15,23,42,.08);
      --shadow-soft:0 8px 28px rgba(15,23,42,.04);
      --radius:28px;
      --radius-lg:22px;
      --radius-md:18px;
      --radius-sm:14px;
    }
    *{box-sizing:border-box}
    html,body{margin:0;padding:0;font-family:Inter,Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text)}
    img{max-width:100%;display:block}
    a{text-decoration:none;color:inherit}
    button,input{font:inherit}

    .page{max-width:1440px;margin:0 auto;padding:12px}
    .shell{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}

    .header{padding:18px 24px;border-bottom:1px solid var(--line)}
    .header-row{display:flex;align-items:center;justify-content:space-between;gap:24px}
    .brand{display:flex;align-items:center;gap:14px;min-width:260px}
    .brand-mark{width:58px;height:78px;border-radius:50%;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
    
    .brand-text .title{font-size:27px;line-height:.92;font-weight:900;letter-spacing:-.04em}
    .brand-text .sub{margin-top:4px;font-size:10px;letter-spacing:.28em;text-transform:uppercase;color:#64748b;font-weight:700}

    .header-controls{flex:1;display:flex;justify-content:flex-end;gap:14px;align-items:center}
    .search-wrap{position:relative;flex:1;max-width:520px}
    .search{width:100%;height:48px;border:1px solid #dbe1ea;border-radius:18px;background:#f8fafc;padding:0 54px 0 18px;font-size:15px;outline:none;transition:.2s}
    .search:focus{background:#fff;border-color:#93c5fd;box-shadow:0 0 0 4px rgba(59,130,246,.08)}
    .search-icon {
      position: absolute;
      right: 10px;
      top: 52%;
      transform: translateY(-50%);
      width: 30px;
      height: 30px;
      color: #0f172a;
      opacity: .85;
      background: transparent;
      border: none;
      cursor: pointer;
    }

    .county-btn{height:48px;min-width:230px;padding:0 18px;border-radius:18px;border:1px solid #dbe1ea;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;font-weight:700;color:#0f172a;box-shadow:0 2px 8px rgba(15,23,42,.03)}
    .county-left{display:flex;align-items:center;gap:10px}
    .pin{width:20px;height:20px;position:relative;flex:0 0 20px}
    .pin::before{content:"";position:absolute;inset:0;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#0f172a}
    .pin::after{content:"";position:absolute;left:6px;top:6px;width:8px;height:8px;border-radius:50%;background:#fff}
    .chev{width:18px;height:18px}

    .mobile-menu{display:none;border:1px solid var(--line);background:#fff;border-radius:999px;width:44px;height:44px;align-items:center;justify-content:center}
    .burger{width:20px;height:14px;position:relative}
    .burger span{position:absolute;left:0;right:0;height:2px;background:#0f172a;border-radius:999px}
    .burger span:nth-child(1){top:0}.burger span:nth-child(2){top:6px}.burger span:nth-child(3){bottom:0}

    .breaking{display:flex;align-items:center;border-bottom:1px solid var(--line)}
    .breaking-label{height:58px;padding:0 18px 0 20px;background:var(--red);color:#fff;font-weight:900;display:flex;align-items:center;gap:10px;min-width:170px;border-radius:0 0 12px 0}
    .breaking-label .bolt{font-size:18px}
    .breaking-text{flex:1;padding:0 18px;font-size:15px;font-weight:500;color:#0f172a}
    .breaking-right{display:flex;align-items:center;gap:16px;padding-right:18px;color:#475569;font-size:14px;white-space:nowrap}
    .live-dot{display:inline-flex;align-items:center;gap:8px;color:var(--red);font-weight:900}
    .live-dot i{width:10px;height:10px;background:var(--red);border-radius:50%}

    .hero{padding:16px 16px 10px}
    .hero-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
    .hero-card{position:relative;min-height:250px;border-radius:16px;overflow:hidden;background:#0f172a;box-shadow:0 12px 24px rgba(15,23,42,.12)}
    .hero-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:.45s transform}
    .hero-card:hover img{transform:scale(1.04)}
    .hero-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top, rgba(2,6,23,.92) 10%, rgba(2,6,23,.2) 60%, rgba(2,6,23,0) 100%)}
    .hero-content{position:absolute;inset:auto 0 0 0;padding:16px;color:#fff;z-index:1}
    .pill{display:inline-flex;align-items:center;padding:6px 9px;border-radius:4px;font-size:11px;font-weight:900;letter-spacing:.02em;text-transform:uppercase}
    .pill.breaking{background:#dc2626}.pill.top{background:#2563eb}
    .hero-title{margin-top:10px;font-size:26px;line-height:1.05;font-weight:900;letter-spacing:-.03em;max-width:92%}
    .hero-date{margin-top:14px;font-size:14px;color:rgba(255,255,255,.92)}
    .hero-arrow{position:absolute;right:12px;top:50%;transform:translateY(-50%);z-index:2;width:48px;height:48px;border-radius:50%;border:none;background:#fff;color:#0f172a;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 20px rgba(0,0,0,.2);font-size:28px;line-height:1}

    .content{display:grid;grid-template-columns:1.7fr .9fr;gap:24px;padding:8px 16px 24px}
    .section{background:#fff;border-radius:var(--radius-lg)}
    .section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0 16px;border-bottom:1px solid var(--line)}
    .section-head-left{display:flex;align-items:center;gap:12px}
    .accent-line{width:4px;height:30px;border-radius:999px;background:var(--blue)}
    .section-title{font-size:22px;font-weight:600;letter-spacing:-.03em}
    .section-link{display:flex;align-items:center;gap:7px;color:var(--blue);font-weight:500;font-size:14px}

    .news-list{padding-top:14px;display:flex;flex-direction:column;gap:14px}
    .news-card{display:grid;grid-template-columns:280px 1fr;gap:14px;padding:10px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-soft)}
    .news-thumb{height:190px;border-radius:14px;overflow:hidden;background:#e5e7eb}
    .news-thumb img{width:100%;height:100%;object-fit:cover}
    .news-meta{display:flex;flex-direction:column;justify-content:center;padding:4px 6px 4px 2px}
    .news-date{font-size:14px;color:#64748b;margin-bottom:12px}
    .news-h{font-size:24px;line-height:1.1;letter-spacing:-.03em;font-weight:900;color:#0f3e9c;max-width:700px}
    .news-p{margin-top:10px;font-size:15px;line-height:1.55;color:#64748b;max-width:640px}
    .read-more{margin-top:14px;display:inline-flex;align-items:center;gap:8px;font-size:15px;color:var(--red);font-weight:900}
    .read-more .arr{font-size:18px}

    .live .section-head .accent-line{background:var(--red)}
    .live-head{color:var(--red);font-size:14px;font-weight:900;display:flex;align-items:center;gap:8px}
    .live-head i{width:10px;height:10px;border-radius:50%;background:var(--red)}
    .feed-item{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding: 5px 0;border-bottom:1px solid var(--line)}
    .feed-item:last-child{border-bottom:none}
    .feed-left{min-width:0}
    .tag{display:inline-flex;padding:5px 8px;border-radius:4px;font-size:11px;font-weight:600;color:#fff;text-transform:uppercase}
      .tag.politics      { background: #1d4ed8; }
      .tag.economy       { background: #16a34a; }
      .tag.crime         { background: #dc2626; }
      .tag.health        { background: #8b5cf6; }
      .tag.environment   { background: #0f9aa8; }
      .tag.education     { background: #f59e0b; }
      .tag.infrastructure{ background: #78716c; }
      .tag.society       { background: #a16207; }
      .tag.culture       { background: #d946ef; }
      .tag.tech          { background: #2563eb; }
      .tag.world         { background: #0891b2; }
      .tag.other         { background: #6b7280; }
      .tag.public_safety { background: #4e1dd8; }
      .tag.community     { background: #a3164e; }

      .tag.transportation { background: #e67e22; } 
      .tag.science_tech   { background: #3b82f6; } 
      .tag.sports         { background: #e11d48; } 

    .topic-group {
      border-radius: 12px;
      margin: 10px;
      padding: 10px;
      border: 2px solid transparent;
    }

    .topic-group:has(.tag.politics)       { border-color: #1d4ed8; }
    .topic-group:has(.tag.economy)        { border-color: #16a34a; }
    .topic-group:has(.tag.crime)          { border-color: #dc2626; }
    .topic-group:has(.tag.health)         { border-color: #8b5cf6; }
    .topic-group:has(.tag.environment)    { border-color: #0f9aa8; }
    .topic-group:has(.tag.education)      { border-color: #f59e0b; }
    .topic-group:has(.tag.infrastructure) { border-color: #78716c; }
    .topic-group:has(.tag.society)        { border-color: #a16207; }
    .topic-group:has(.tag.culture)        { border-color: #d946ef; }
    .topic-group:has(.tag.tech)           { border-color: #2563eb; }
    .topic-group:has(.tag.world)          { border-color: #0891b2; }
    .topic-group:has(.tag.other)          { border-color: #6b7280; }
    .topic-group:has(.tag.public_safety)  { border-color: #4e1dd8; }
    .topic-group:has(.tag.community)      { border-color: #a3164e; }
    .topic-group:has(.tag.transportation) { border-color: #e67e22; }
    .topic-group:has(.tag.science_tech)   { border-color: #3b82f6; }
    .topic-group:has(.tag.sports)         { border-color: #e11d48; }


    .feed-time{margin-top:10px;font-size:13px;font-weight:700;color:#64748b}
    .feed-title{margin-top:10px;font-size:19px;line-height:1.18;font-weight:600;letter-spacing:-.02em;max-width:320px}
    .feed-chevron{flex:0 0 auto;margin-top:34px;color:#94a3b8;font-size:28px}
    .feed-btn{margin-top:10px;width:100%;height:52px;border-radius:14px;background:#fff;border:1px solid #2563eb;color:#1d4ed8;font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:center;gap:8px}

    .info{padding:0 16px 24px}
    .info-banner{border-radius:22px;overflow:hidden;background:#09192e;color:#fff;display:grid;grid-template-columns:1.1fr 1fr 1.15fr;min-height:250px}
    .info-left{padding:28px 28px 24px}
    .info-kicker{font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.7)}
    .info-title{margin-top:10px;font-size:34px;line-height:1.02;font-weight:900;letter-spacing:-.03em}
    .info-desc{margin-top:16px;max-width:400px;font-size:15px;line-height:1.7;color:rgba(255,255,255,.86)}
    .info-map{position:relative;background:#0d2340;overflow:hidden}
    .info-map img{width:100%;height:100%;object-fit:cover;opacity:.72}
    .info-map::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 30%, rgba(255,255,255,.11), transparent 34%),linear-gradient(to right, rgba(9,25,46,.15), rgba(9,25,46,.45))}
    .map-label{position:absolute;left:50%;transform:translateX(-50%);font-size:13px;color:rgba(255,255,255,.78);z-index:1}
    .map-label.sf{top:14px}.map-label.la{bottom:14px}
    .fault-line{position:absolute;left:36%;top:18%;height:72%;width:3px;transform:rotate(-18deg);background:#ef4444;border-radius:999px;box-shadow:0 0 22px rgba(239,68,68,.65);z-index:1}
    .fault-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:94px;height:94px;border-radius:50%;border:1px solid rgba(248,113,113,.25);z-index:1}
    .info-stats{display:grid;grid-template-columns:repeat(3,1fr);border-left:1px solid rgba(255,255,255,.1)}
    .stat{padding:26px 16px;border-left:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
    .stat:first-child{border-left:none}
    .stat-ico{width:66px;height:66px;border-radius:999px;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;font-size:30px;margin-bottom:14px}
    .stat-value{font-size:30px;font-weight:900;letter-spacing:-.04em}
    .stat-label{margin-top:8px;max-width:160px;font-size:14px;line-height:1.5;color:rgba(255,255,255,.8)}

    .footer{padding:22px 16px 28px;border-top:1px solid var(--line)}
    .footer-row{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap}
    .footer-brand{display:flex;align-items:center;gap:14px}
    .footer-copy{font-size:14px;color:#64748b;text-align:center;flex:1}
    .social{display:flex;align-items:center;gap:16px;color:#334155}
    .social a{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:18px}
    .footer-links{display:flex;align-items:center;gap:34px;flex-wrap:wrap;justify-content:center;color:#334155;font-size:15px}
    .footer-links a{color:#334155}.footer-links a:hover,.section-link:hover,.read-more:hover{opacity:.8}

    .article{padding:0 0 20px}
    .article-inner{padding:12px 16px 0}
    .breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:var(--muted);font-size:13px;margin-bottom:12px}
    .breadcrumbs a{color:var(--muted)}
    .breadcrumbs .sep{opacity:.6}
    .article-title{margin:0;font-size:clamp(34px,4vw,56px);line-height:1.02;letter-spacing:-.05em;font-weight:900;color:#0f172a;max-width:920px}
    .meta-row{display:flex;flex-wrap:wrap;gap:14px 18px;align-items:center;margin-top:14px;padding-bottom:16px;border-bottom:1px solid var(--line);color:var(--muted);font-size:14px}
    .meta-row .source{color:#f97316;font-weight:700}
    .meta-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#eef2ff;color:#113b86;font-weight:700;font-size:13px}
    .hero-media{position:relative;margin:18px 16px 16px;border-radius:18px;overflow:hidden;background:#e5e7eb;aspect-ratio:16/9;box-shadow:var(--shadow-soft)}
    .hero-media img{width:100%;height:100%;object-fit:cover}
    .hero-media .yt-overlay{position:absolute;inset:auto 0 0 0;height:42px;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:14px;backdrop-filter:blur(4px)}
    .hero-media .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:74px;height:52px;border-radius:14px;background:#ff0033;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 22px rgba(0,0,0,.25)}
    .hero-media .play::before{content:"";border-left:16px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent;margin-left:4px}
    .article-grid{display:grid;grid-template-columns:1fr;gap:18px;padding:0 16px}
    .article-grid{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px 18px}
    .article-grid ul{margin:0;padding-left:20px;display:grid;gap:10px}
    .article-grid li{font-size:15px;line-height:1.65;color:#0f172a}
    .article-grid li::marker{color:var(--red)}
    .article p{margin:0;font-size:16px;line-height:1.8;color:#182033}
    .article p+p{margin-top:12px}
    .highlight{color:#f97316;font-weight:700}
    .inline-card{margin:10px 0 0;padding:14px 16px;border-left:4px solid var(--blue);background:#f8fafc;border-radius:0 14px 14px 0;color:#334155;font-size:15px;line-height:1.7}
    .article-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:0 16px;margin-top:18px}
    .gallery-card{border-radius:16px;overflow:hidden;background:#fff;border:1px solid #eef2f7;box-shadow:var(--shadow-soft)}
    .gallery-card img{width:100%;height:180px;object-fit:cover}
    .gallery-card .cap{padding:12px 14px 14px}
    .gallery-card .when{font-size:13px;color:var(--muted);margin-bottom:8px}
    .gallery-card .cap-title{font-size:16px;line-height:1.35;font-weight:800;color:#183b7a}
    .sidebar{display:grid;gap:14px;align-content:start}
    .sidebar-box{padding:0 14px 14px;border:1px solid #edf0f4;box-shadow:var(--shadow-soft)}
    .widget-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px 12px;border-bottom:1px solid var(--line);margin-bottom:14px}
    .widget-head h3{margin:0;font-size:13px;text-transform:uppercase;letter-spacing:.14em;color:#667085;font-weight:900;display:flex;align-items:center;gap:8px}
    .widget-head h3::before{content:"";width:10px;height:10px;border-radius:50%;background:#ffb84d;box-shadow:0 0 0 4px rgba(255,184,77,.15)}
    .tabs{display:flex;gap:10px;margin-bottom:12px}
    .tab{padding:8px 14px;border-radius:999px;background:#f4f5f8;color:#667085;font-size:13px;font-weight:700}
    .tab.active{background:#e9edf7;color:#0f2f7a}
    .weather-main{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 2px 16px}
    .weather-temp{display:flex;align-items:baseline;gap:4px;font-size:60px;line-height:1;font-weight:900;color:#111827}
    .weather-temp span{font-size:18px;color:var(--muted);font-weight:700}
    .weather-desc{font-size:18px;color:#475569;text-align:right;max-width:180px}
    .weather-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
    .weather-mini{border:1px solid #e5e7eb;border-radius:14px;text-align:center;padding:10px 8px 12px;background:#fff}
    .weather-mini .label{font-size:12px;color:#667085;font-weight:700;margin-bottom:8px}
    .weather-mini .icon{font-size:26px;margin-bottom:6px}
    .weather-mini .temp{font-size:14px;font-weight:700;color:#111827}
    .updated{font-size:11px;color:#98a2b3;text-align:right;margin-top:12px}
    .alert{margin-bottom:10px;border:1px solid #ffd2d2;border-left:4px solid var(--red);background:#fff5f5;border-radius:12px;padding:12px}
    .alert-title{color:#ca1e1e;font-size:15px;font-weight:900;margin-bottom:8px}
    .alert button{border:1px solid #ff6a6a;background:#fff;color:#df2b2b;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:700}
    .air-main{display:flex;align-items:center;gap:14px;padding:4px 0 10px}
    .air-score{width:50px;height:50px;border-radius:50%;background:#ffcb66;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:900;color:#5b3b00;flex:0 0 auto}
    .air-meta .score-label{font-size:16px;font-weight:800;color:#111827}
    .air-meta .small{font-size:12px;color:#64748b;margin-top:2px}
    .chips{display:flex;gap:8px;flex-wrap:wrap}
    .chip{display:inline-flex;padding:6px 10px;border-radius:999px;background:#f4f5f8;color:#667085;font-size:12px;font-weight:700}
    .popular-head{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#667085;padding:4px 2px 10px;border-bottom:1px solid var(--line);margin-bottom:12px}
    .popular-head::before{content:"";width:10px;height:10px;border-radius:50%;background:#f97316}
    .newsfeed-title{margin:0 0 12px;font-size:20px;line-height:1.15;font-weight:900;color:#334155}
    .feed-list{display:grid;gap:12px}
    .feed-list .feed-item{display:flex;gap:12px;border:1px solid #e9edf3;border-radius:14px;padding:10px;background:#fff}
    .feed-thumb{width:78px;height:78px;border-radius:12px;overflow:hidden;flex:0 0 auto;background:#e5e7eb}
    .feed-thumb img{width:100%;height:100%;object-fit:cover}
    .feed-meta{min-width:0}
    .feed-meta .when{font-size:12px;color:var(--muted);margin-bottom:6px}
    .feed-meta .title{font-size:15px;line-height:1.35;font-weight:800;color:#c2410c}
    .related{padding:10px 16px 24px}
    .related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:14px}
    .related-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:var(--shadow-soft);border:1px solid #eef2f7}
    .related-card img{width:100%;height:200px;object-fit:cover}
    .related-card .body{padding:12px 14px 16px}
    .related-card .meta{font-size:13px;color:#64748b;margin-bottom:8px}
    .related-card .title{font-size:17px;line-height:1.35;font-weight:500;color:#183b7a}

    .brand-mark {
      display: flex;
      align-items: center;
    }
    .container.static-pages {
    padding: 20px;
    }






    .header {
      position: relative;
    }

    .mobile-actions {
      display: none;
      align-items: center;
      gap: 8px;
    }

    .search-toggle {
      display: none;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid #dbe1ea;
      background: #f8fafc;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
    }

    .overlay {
      position: fixed;
      inset: 0;
      background: rgba(15,23,42,.45);
      z-index: 99;
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s;
    }
    .overlay.show {
      opacity: 1;
      pointer-events: auto;
    }

    .offcanvas {
      position: fixed;
      top: 0; right: 0;
      width: 320px; max-width: 85vw;
      height: 100vh; height: 100dvh;
      background: #fff;
      box-shadow: -8px 0 30px rgba(15,23,42,.12);
      z-index: 100;
      transform: translateX(100%);
      transition: transform .35s cubic-bezier(.4,0,.2,1);
      padding: 24px 28px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
    }
    .offcanvas.open {
      transform: translateX(0);
    }
    .offcanvas-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 36px;
    }
    .offcanvas-title {
      font-size: 20px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -.03em;
    }
    .offcanvas-close {
      width: 40px; height: 40px;
      border-radius: 50%;
      border: 1px solid var(--line);
      background: #f8fafc;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: relative;
    }
    .offcanvas-close span {
      position: absolute;
      width: 18px; height: 2px;
      background: #0f172a;
      border-radius: 999px;
    }
    .offcanvas-close span:nth-child(1) { transform: rotate(45deg); }
    .offcanvas-close span:nth-child(2) { transform: rotate(-45deg); }
    .offcanvas-nav {
      list-style: none;
      margin: 0; padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .offcanvas-nav a {
      display: block;
      padding: 14px 18px;
      border-radius: 16px;
      font-size: 17px;
      font-weight: 600;
      color: var(--text);
      background: #f8fafc;
      text-decoration: none;
      transition: background .2s;
    }
    .offcanvas-nav a:hover { background: #eef2ff; color: var(--blue); }
    .offcanvas-divider {
      height: 1px;
      background: var(--line);
      margin: 24px 0 20px;
    }
    .offcanvas-nav--secondary a {
      font-size: 15px;
      font-weight: 500;
      color: var(--muted);
      padding: 10px 14px;
      background: transparent;
      border-radius: 12px;
    }
    .offcanvas-nav--secondary a:hover {
      background: #f1f5f9;
      color: var(--text);
    }

    .mobile-menu.active .burger span:nth-child(1) {
      top: 6px; transform: rotate(45deg);
    }
    .mobile-menu.active .burger span:nth-child(2) {
      opacity: 0;
    }
    .mobile-menu.active .burger span:nth-child(3) {
      bottom: 6px; transform: rotate(-45deg);
    }
    .burger span { transition: .25s ease; }
    @media (max-width:920px) {
      .header { position: relative; }
      .header-row { flex-direction: column; align-items: stretch; }
      .brand { min-width: auto; justify-content: space-between; }
      .mobile-actions { display: flex; }
      .search-toggle { display: flex; }
      .header-controls .search-wrap { display: none; }
      .header-controls { width: auto; justify-content: flex-end; flex: 0; }
      .mobile-menu { display: flex; }

      .header.search-open .search-wrap {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 8px;
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 4px 20px rgba(15, 23, 42, .08);
        z-index: 10;
        top: 50px;
        width: 95%;
        margin: auto;
      }
      .header.search-open .search-wrap .search {
        width: 100%;
        padding: 0 44px 0 18px;
        border: 1px solid #dbe1ea;
        background: #f8fafc;
      }
      .header.search-open .mobile-menu { display: none; }

      .breaking{display:block}
      .breaking-label{border-radius:0;min-width:0}
      .breaking-right{padding:12px 18px 14px}
      .hero-grid{grid-template-columns:1fr}
      .hero-card{min-height:230px}
      .news-card{grid-template-columns:1fr}
      .news-thumb{height:230px}
      .news-h{font-size:22px}
      .feed-title{max-width:none}
      .weather-main{align-items:flex-start}
      .weather-temp{font-size:52px}
      

      .pill { width: fit-content; }
    }
    
    #cd-tab-week {
      max-width: 450px;
    }

    

    .footer-brand-link {
      display: block;               
      text-decoration: none;       
      color: inherit;             
    }

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        background: #000;
    }
    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .cd-widget {
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(16px);
        border-radius: 22px;
        padding: 10px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.04);
        border: 1px solid rgba(255,255,255,0.8);
        margin-bottom: 15px;
    }
    .cd-widget-title {
        font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px;
        color: #5a5a8a; margin: 0 0 0.9rem; font-weight: 600;
    }
    .cd-weather-current {
        display: flex; align-items: center; gap: 5px; margin-bottom: 1rem;
    }
    .cd-weather-icon svg { width: 5rem; height: 5rem; }
    .cd-part-icon svg { width: 3rem; height: 3rem; }
    .cd-forecast-icon svg { width: 3rem; height: 3rem; }
    .cd-temp-main { font-size: 3rem; font-weight: 700; color: #1e1e2f; }
    .cd-condition { font-size: .9rem; color: #4a4a6a; margin-left: auto; }
    .cd-day-parts { display: flex; gap: 0.5rem; margin: 1rem 0; }
    .cd-part-item {
        flex: 1; background: rgba(255,255,255,0.6); border-radius: 14px;
        padding: 5px; text-align: center; border: 1px solid #e5e5e5;
    }
    .cd-part-label { font-size: 0.65rem; font-weight: 600; color: #5a5a8a; }
    .cd-part-temp { font-size: 1rem; font-weight: 600; color: #1e1e2f; }
    .cd-part-desc { font-size: 0.6rem; color: #6a6a8a; }
    .cd-tabs { display: flex; gap: 0.3rem; margin-bottom: 0.8rem; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 0.5rem; }
    .cd-tab {
        background: transparent; border: none; padding: 0.4rem 1rem; border-radius: 20px;
        font-weight: 600; font-size: 0.8rem; color: #5a5a8a; cursor: pointer;
    }
    .cd-tab.active { background: rgba(90,90,138,0.1); color: #1e1e2f; }
    .cd-forecast-row { display: flex; gap: 0.5rem; overflow-x: auto; }
    .cd-forecast-day {
        background: rgba(255,255,255,0.7); border-radius: 14px;
        padding: 0.6rem; text-align: center; min-width: 100px;
        display: inline-block; border: 1px solid #e5e5e5;
    }
    .cd-forecast-date { font-size: 0.7rem; font-weight: 600; color: #5a5a8a; }
    .cd-forecast-temp { font-size: 0.85rem; font-weight: 600; }
    .cd-forecast-desc { font-size: 0.65rem; color: #6a6a8a; }
    .cd-aqi-badge {
        width: 3.8rem; height: 3.8rem; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-weight: 700; font-size: 1.3rem; color: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1); flex-shrink: 0;
    }
    .cd-aqi-good { background: #00b894; }
    .cd-aqi-moderate { background: #fdcb6e; color: #2d3436; }
    .cd-aqi-sensitive { background: #e17055; }
    .cd-aqi-unhealthy { background: #d63031; }
    .cd-aqi-very-unhealthy { background: #6c5ce7; }
    .cd-aqi-hazardous { background: #2d3436; }
    .cd-aqi-main { display: flex; align-items: center; gap: 1rem; }
    .cd-aqi-info { display: flex; flex-direction: column; }
    .cd-aqi-category { font-size: 1rem; font-weight: 600; color: #1e1e2f; }
    .cd-aqi-pollutant { font-size: 0.8rem; color: #5a5a8a; margin-top: 0.1rem; }
    .cd-aqi-details { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.5rem; }
    .cd-aqi-pollutant-item {
        font-size: 0.8rem; background: rgba(0,0,0,0.03); padding: 0.2rem 0.7rem;
        border-radius: 12px; display: flex; align-items: center; gap: 0.3rem;
        border: 1px solid rgba(0,0,0,0.05);
    }
    .cd-aqi-pollutant-item span { font-weight: 600; color: #4a4a6a; }
    .cd-footer { font-size: 0.65rem; color: #8a8aaa; margin-top: 0.8rem; text-align: right; }
    .cd-hidden { display: none; }
    .cd-no-data { opacity: 0.5; font-style: italic; }
    .cd-alert-item {
        background: #fff5f5; border-left: 4px solid #c00;
        padding: 0.5rem; margin-bottom: 0.4rem; border-radius: 8px;
    }
    .cd-alert-toggle {
        background: none; border: 1px solid #c00; border-radius: 6px;
        padding: 0.2rem 0.7rem; font-size: 0.75rem; color: #a00;
        cursor: pointer; margin-top: 0.3rem;
    }
    .cd-alert-toggle:hover { background: #c00; color: #fff; }
    .cd-alert-details { margin-top: 0.4rem; }

    .sources-block {
        background: #f8f9fa;
        border-radius: 8px;
    }
    .sources-block h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        color: #333;
    }
    .sources-block ul {
        list-style: none;
        padding-left: 0;
    }
    .sources-block li {
        margin-bottom: 0.3rem;
    }
    .sources-block a {
        color: #2563eb;
        text-decoration: none;
    }
    .sources-block a:hover {
        text-decoration: underline;
    }
    blockquote:not(.instagram-media) {
        background: #c4e8ff;
        padding: 10px;
        border: 1px solid #0c1430;
        border-radius: 10px;
        border-left: 5px solid #0c1430;
    }
    .cd-weather-content,
    .cd-aqi-content {
      min-height: 100px;
    }
    .breadcrumbs ol {
      list-style: none;
      display: flex;
      gap: 0.4rem;
      padding: 0;
      margin: 0;
    }

    .daily-alert {
    margin: 10px;
    }

    .breadcrumbs li + li::before {
      content: "/";
      margin-right: 0.4rem;
      color: #888;
    }

    .county-select-wrap {
      position: relative;
      flex: 1;
      max-width: 280px;
    }

    .county-select-wrap .pin {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      width: 18px;
      height: 18px;
      pointer-events: none;
    }

    .county-select-wrap .county-select {
      padding: 10px;
      background: transparent;
      border: 1px solid #e5e5e5;
      border-radius: 12px;
    }



    .mobile-county-select-wrap {
      display: none;
    }

    @media (max-width: 920px) {
        .desktop-county-select {
            display: none;
        }

        .mobile-county-select-wrap {
            display: block;
            margin-bottom: 20px;
        }

        .mobile-county-select-wrap .county-select {
            width: 100%;
            min-width: 0;
        }
    }




    @media (max-width: 920px) {
      .county-select {
        min-width: 0;
        flex: 1 1 100%;
      }
    }

    @media (max-width: 640px) {
      .county-select {
        height: 46px;
        border-radius: 14px;
        font-size: 14px;
      }
    }


    @media (max-width:1200px){
      .content{grid-template-columns:1fr}
      .info-banner{grid-template-columns:1fr}
      .info-stats{border-left:none;border-top:1px solid rgba(255,255,255,.1)}
    }
    @media (max-width:1220px){
      .content{grid-template-columns:1fr}
      .article-grid,.article-gallery,.related-grid{grid-template-columns:1fr}
      .sidebar{order:2}
    }
    @media (max-width:920px){
      .header-row{flex-direction:column;align-items:stretch}
      .brand{min-width:auto;justify-content:space-between}
      .header-controls{width:100%;justify-content:stretch;flex-wrap:wrap}
      .search-wrap{max-width:none;flex:1 1 100%}
      .county-btn{min-width:0;flex:1 1 100%}
      .breaking{display:block}
      .breaking-label{border-radius:0;min-width:0}
      .breaking-right{padding:12px 18px 14px}
      .hero-grid{grid-template-columns:1fr}
      .hero-card{min-height:230px}
      .news-card{grid-template-columns:1fr}
      .news-thumb{height:230px}
      .news-h{font-size:22px}
      .feed-title{max-width:none}
      .mobile-menu{display:inline-flex}
      .weather-main{align-items:flex-start}
      .weather-temp{font-size:52px}
      
    }
    @media (max-width:640px){
      .page{padding:8px}
      .header{padding:16px}
      .hero{padding:12px 12px 6px}
      .content,.info,.footer{padding-left:12px;padding-right:12px}
      .brand-text .title{font-size:24px}
      .hero-title{font-size:22px}
      .section-title{font-size:20px}
      .news-h{font-size:20px}
      .info-title{font-size:28px}
      .info-stats{grid-template-columns:1fr}
      .stat{border-left:none;border-top:1px solid rgba(255,255,255,.1)}
      .stat:first-child{border-top:none}
      .article-title{font-size:30px}
      .hero-media{margin:14px 12px 12px}
      .meta-row{gap:10px 14px}
      .weather-grid{grid-template-columns:1fr}
      .footer-row{align-items:flex-start}
      .footer-copy{flex:1 1 100%;text-align:left}
      .share-popover.is-open {
        right: -60px;
      }
    }