/*
Theme Name: AV9 News Telugu
Theme URI: https://youtube.com/@AV9NewsTelugu
Author: Prodduvaka Bhimarao - Focus Digital Solutions
Author URI: https://wa.me/919948635844
Description: Eenadu-style Telugu news portal theme for AV9 News. Dense newspaper-style homepage, breaking news ticker, category blocks (Andhra Pradesh, Telangana, National, International, Politics, Cinema, Sports, Business, Crime, Analysis, Videos), Chief Editor profile, social links, share buttons and customizer settings.
Version: 1.0.1
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: av9news
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root{
  --navy:#0b1a78;
  --navy-dark:#07114f;
  --red:#e30613;
  --red-dark:#b8040f;
  --ink:#1b1b1b;
  --muted:#666;
  --line:#e3e3e3;
  --soft:#f4f5f8;
  --white:#fff;
  --head:'Ramabhadra','Noto Sans Telugu',sans-serif;
  --body:'Mandali','Noto Sans Telugu',sans-serif;
  --wrap:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);font-size:17px;line-height:1.65;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:hover{color:var(--red)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{font-family:var(--head);font-weight:400;line-height:1.35;margin:0 0 .4em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 16px}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.skip-link:focus{clip:auto;width:auto;height:auto;z-index:999;background:#fff;padding:8px 12px;left:8px;top:8px}

/* ---------- Top bar ---------- */
.topbar{background:var(--navy-dark);color:#dfe3ff;font-size:14px}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;min-height:36px;gap:12px}
.topbar-date{display:flex;align-items:center;gap:8px}
.topbar-date .dot{width:6px;height:6px;border-radius:50%;background:var(--red)}
.topbar-links{display:flex;gap:16px}
.topbar-links a:hover{color:#fff}
.social{display:flex;gap:6px;align-items:center}
.social a{display:inline-flex;width:28px;height:28px;border-radius:50%;align-items:center;justify-content:center;background:rgba(255,255,255,.1);transition:.2s}
.social a:hover{background:var(--red);color:#fff}
.social svg{width:14px;height:14px;fill:currentColor}

/* ---------- Header ---------- */
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-main{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:14px}
.brand img{height:84px;width:auto}
.brand-text{border-left:3px solid var(--red);padding-left:12px}
.brand-text strong{display:block;font-family:var(--head);font-size:22px;color:var(--navy);line-height:1.2}
.brand-text span{font-size:14px;color:var(--muted)}
.header-ad{flex:0 1 728px;min-height:90px;display:flex;align-items:center;justify-content:center}
.ad-placeholder{width:100%;height:90px;border:1px dashed #c9cde0;background:var(--soft);display:flex;align-items:center;justify-content:center;color:#8a90ad;font-size:14px;letter-spacing:.5px}
.header-cta{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.btn{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:4px;font-family:var(--head);font-size:15px;line-height:1.2;border:0;cursor:pointer}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:var(--red-dark);color:#fff}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-dark);color:#fff}
.btn svg{width:16px;height:16px;fill:currentColor}
.live-dot{width:8px;height:8px;border-radius:50%;background:#fff;animation:blink 1s infinite}
@keyframes blink{50%{opacity:.2}}

/* ---------- Navigation ---------- */
.main-nav{background:var(--navy);position:sticky;top:0;z-index:50;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.admin-bar .main-nav{top:32px}
.main-nav .wrap{display:flex;align-items:center}
.nav-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap}
.nav-menu li{position:relative}
.nav-menu > li > a{display:block;color:#fff;font-family:var(--head);font-size:16px;padding:12px 14px;border-bottom:3px solid transparent}
.nav-menu > li > a:hover,.nav-menu > li.current-menu-item > a,.nav-menu > li.current-category-ancestor > a{background:var(--navy-dark);border-bottom-color:var(--red);color:#fff}
.nav-menu > li:first-child > a{background:var(--red)}
.nav-menu .sub-menu{display:none;position:absolute;left:0;top:100%;min-width:200px;background:#fff;list-style:none;margin:0;padding:6px 0;box-shadow:0 8px 20px rgba(0,0,0,.15);border-top:3px solid var(--red)}
.nav-menu li:hover > .sub-menu{display:block}
.nav-menu .sub-menu a{display:block;padding:7px 16px;font-size:15px}
.nav-search{margin-left:auto;display:flex;align-items:center}
.nav-search button,.menu-toggle{background:none;border:0;color:#fff;cursor:pointer;padding:10px}
.nav-search svg,.menu-toggle svg{width:20px;height:20px;fill:currentColor}
.menu-toggle{display:none}
.search-drop{display:none;background:#fff;border-bottom:1px solid var(--line);padding:12px 0}
.search-drop.open{display:block}
.search-form{display:flex;gap:6px}
.search-form input[type=search]{flex:1;padding:10px 14px;border:1px solid #ccd;border-radius:4px;font:inherit}
.search-form button{background:var(--red);color:#fff;border:0;border-radius:4px;padding:0 18px;font-family:var(--head);cursor:pointer}

/* ---------- Breaking ticker ---------- */
.ticker{background:#fff;border-bottom:1px solid var(--line)}
.ticker .wrap{display:flex;align-items:stretch;height:40px;overflow:hidden}
.ticker-label{background:var(--red);color:#fff;font-family:var(--head);padding:0 16px;display:flex;align-items:center;gap:8px;white-space:nowrap;position:relative}
.ticker-label:after{content:"";position:absolute;right:-12px;top:0;border-left:12px solid var(--red);border-top:20px solid transparent;border-bottom:20px solid transparent}
.ticker-track{flex:1;overflow:hidden;position:relative;margin-left:16px}
.ticker-items{display:flex;gap:48px;white-space:nowrap;position:absolute;top:0;left:0;height:40px;align-items:center;animation:ticker 60s linear infinite}
.ticker-track:hover .ticker-items{animation-play-state:paused}
.ticker-items a{font-size:16px;display:inline-flex;align-items:center;gap:10px}
.ticker-items a:before{content:"";width:7px;height:7px;background:var(--navy);transform:rotate(45deg)}
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- Section titles (Eenadu-style) ---------- */
.sec-title{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--navy);margin:0 0 14px}
.sec-title h2{margin:0;background:var(--navy);color:#fff;font-size:18px;padding:6px 16px 4px;position:relative}
.sec-title h2:after{content:"";position:absolute;right:-14px;top:0;border-left:14px solid var(--navy);border-top:18px solid transparent;border-bottom:18px solid transparent}
.sec-title.red{border-color:var(--red)}
.sec-title.red h2{background:var(--red)}
.sec-title.red h2:after{border-left-color:var(--red)}
.sec-title .more{font-size:14px;color:var(--red);font-family:var(--head)}

/* ---------- Layout ---------- */
.site-content{padding:20px 0 30px}
.grid-main{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px}
.home-top{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) 300px;gap:24px;padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:24px}
.block{margin-bottom:30px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:28px}

/* thumbs */
.thumb{position:relative;overflow:hidden;background:var(--soft);aspect-ratio:16/9;border-radius:3px}
.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
a:hover .thumb img,.thumb:hover img{transform:scale(1.04)}
.thumb .noimg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--navy),var(--navy-dark))}
.thumb .noimg img{width:46%;height:auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.35}
.cat-badge{display:inline-block;background:var(--red);color:#fff;font-size:12px;padding:2px 8px;border-radius:2px;font-family:var(--head);line-height:1.6}
.thumb .cat-badge{position:absolute;left:10px;top:10px;z-index:2}
.play-ico{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:54px;height:54px;border-radius:50%;background:rgba(227,6,19,.92);display:flex;align-items:center;justify-content:center;z-index:2}
.play-ico:before{content:"";border-left:16px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent;margin-left:4px}
.meta{font-size:13px;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap}

/* Lead story */
.lead .thumb{aspect-ratio:16/10}
.lead h2{font-size:28px;margin:12px 0 8px;color:var(--navy)}
.lead h2 a:hover{color:var(--red)}
.lead p{margin:0 0 8px;color:#444}
.lead-subs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;padding-top:14px;border-top:1px dashed var(--line)}
.card h3{font-size:17px;margin:8px 0 4px}
.card-sm h3{font-size:16px}

/* Headlines list (middle column) */
.headlines{list-style:none;margin:0;padding:0}
.headlines li{padding:10px 0;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:flex-start}
.headlines li:first-child{padding-top:0}
.headlines .hthumb{flex:0 0 96px}
.headlines .hthumb .thumb{aspect-ratio:4/3}
.headlines h3{font-size:16px;margin:0 0 2px;line-height:1.45}
.headlines li.text-only:before{content:"";flex:0 0 8px;height:8px;margin-top:9px;background:var(--red);border-radius:50%}

/* List cards */
.list-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.list-item:last-child{border-bottom:0}
.list-item > a:first-child{flex:0 0 120px}
.list-item .thumb{aspect-ratio:4/3}
.list-item h3{font-size:16px;margin:0 0 4px;line-height:1.45}
.block-split{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}
.block-split .card h3{font-size:20px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}

/* Dark cinema / video band */
.band{background:var(--navy-dark);color:#fff;padding:26px 0;margin:6px 0 30px}
.band .sec-title{border-color:var(--red)}
.band .sec-title h2{background:var(--red)}
.band .sec-title h2:after{border-left-color:var(--red)}
.band .sec-title .more{color:#ffb3b8}
.band .card h3{color:#fff}
.band .card a:hover h3{color:#ffb3b8}
.band .meta{color:#aab2e6}
.band.video{background:#111}

/* Analysis block (Chief Editor) */
.analysis{display:grid;grid-template-columns:250px 1fr;gap:24px;background:var(--soft);border-left:5px solid var(--red);padding:20px;border-radius:4px}
.analysis-author{text-align:center}
.analysis-author img{width:150px;height:150px;border-radius:50%;object-fit:cover;object-position:top;margin:0 auto 10px;border:4px solid #fff;box-shadow:0 3px 12px rgba(0,0,0,.15)}
.analysis-author strong{display:block;font-family:var(--head);color:var(--navy);font-size:17px;line-height:1.4}
.analysis-author span{font-size:13px;color:var(--muted);display:block;line-height:1.5}

/* ---------- Sidebar ---------- */
.sidebar .widget{margin-bottom:26px}
.widget-title{font-family:var(--head);font-size:17px;color:#fff;background:var(--navy);padding:7px 14px 5px;margin:0 0 12px;border-left:5px solid var(--red)}
.widget ul{list-style:none;margin:0;padding:0}
.widget ul li{padding:7px 0;border-bottom:1px solid var(--line)}
.editor-card{border:1px solid var(--line);border-top:4px solid var(--red);text-align:center;padding:20px 16px;background:linear-gradient(#f6f7fd,#fff)}
.editor-card img{width:130px;height:130px;border-radius:50%;object-fit:cover;object-position:top;margin:0 auto 12px;border:4px solid #fff;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.editor-card h3{font-size:18px;color:var(--navy);margin:0}
.editor-card .deg{font-size:13px;color:var(--muted)}
.editor-card .role{display:inline-block;margin:8px 0 4px;background:var(--red);color:#fff;font-size:13px;padding:2px 10px;border-radius:20px;font-family:var(--head)}
.editor-card .role2{font-size:14px;color:var(--navy)}
.yt-card{background:#c4302b;color:#fff;border-radius:6px;padding:18px;text-align:center}
.yt-card h4{font-size:18px;margin:6px 0}
.yt-card p{margin:0 0 12px;font-size:14px;opacity:.9}
.yt-card .btn{background:#fff;color:#c4302b}
.yt-card svg.yt{width:48px;height:48px;fill:#fff}
.follow-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.follow-grid a{display:flex;align-items:center;gap:8px;color:#fff;padding:9px 10px;border-radius:4px;font-size:14px;font-family:var(--head)}
.follow-grid svg{width:18px;height:18px;fill:#fff}
.f-fb{background:#1877f2}.f-x{background:#000}.f-ig{background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af)}.f-yt{background:#ff0000}.f-wa{background:#25d366}.f-tg{background:#229ed9}
.follow-grid a:hover{opacity:.9;color:#fff}
.tabs-nav{display:flex;border-bottom:2px solid var(--navy)}
.tabs-nav button{flex:1;background:var(--soft);border:0;padding:9px;font-family:var(--head);font-size:15px;cursor:pointer;color:var(--ink)}
.tabs-nav button.active{background:var(--navy);color:#fff}
.tab-pane{display:none}
.tab-pane.active{display:block}
.num-list{counter-reset:n;list-style:none;margin:0;padding:0}
.num-list li{counter-increment:n;display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:1.5}
.num-list li:before{content:counter(n);flex:0 0 28px;height:28px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;font-family:Arial,sans-serif}

/* ---------- Single / Page ---------- */
.breadcrumb{font-size:14px;color:var(--muted);margin-bottom:12px}
.breadcrumb a{color:var(--navy)}
.breadcrumb span.sep{margin:0 6px}
.entry-title{font-size:32px;color:var(--navy);margin:6px 0 12px}
.entry-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:16px;font-size:14px;color:var(--muted)}
.entry-meta .by{display:flex;align-items:center;gap:10px}
.entry-meta .by img.by-logo{width:44px;height:44px;border-radius:50%;object-fit:contain;background:#fff;border:1px solid var(--line);padding:4px}
.font-ctrl button{border:1px solid var(--line);background:#fff;padding:3px 9px;cursor:pointer;font-weight:700;border-radius:3px}
.share{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.share a,.share button{display:inline-flex;align-items:center;gap:6px;color:#fff;padding:6px 12px;border-radius:3px;font-size:13px;border:0;cursor:pointer;font-family:var(--body)}
.share svg{width:15px;height:15px;fill:#fff}
.share .s-wa{background:#25d366}.share .s-fb{background:#1877f2}.share .s-x{background:#000}.share .s-tg{background:#229ed9}.share .s-cp{background:#555}
.share a:hover{color:#fff;opacity:.9}
.entry-featured{margin-bottom:16px}
.entry-featured img{width:100%;border-radius:3px}
.entry-featured figcaption,.wp-caption-text{font-size:13px;color:var(--muted);padding:6px 0;border-bottom:1px solid var(--line)}
.entry-content{font-size:19px;line-height:1.9}
.entry-content p{margin:0 0 1.1em}
.entry-content h2{font-size:24px;color:var(--navy);margin-top:1.2em}
.entry-content h3{font-size:21px;margin-top:1.1em}
.entry-content blockquote{margin:1.2em 0;padding:14px 20px;background:var(--soft);border-left:5px solid var(--red);font-family:var(--head);font-size:20px;color:var(--navy)}
.entry-content a{color:var(--red);text-decoration:underline}
.entry-content iframe{max-width:100%}
.entry-content .wp-block-embed__wrapper iframe,.entry-content iframe[src*=youtube]{width:100%;aspect-ratio:16/9;height:auto}
.entry-content ul,.entry-content ol{padding-left:1.4em}
.tags{margin:20px 0;display:flex;gap:8px;flex-wrap:wrap}
.tags a{background:var(--soft);border:1px solid var(--line);padding:3px 12px;border-radius:20px;font-size:14px}
.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}
.post-nav .next{text-align:right}
.post-nav small{display:block;color:var(--red);font-family:var(--head)}
.wa-join{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#e9fbe9;border:1px solid #bfe9c7;border-radius:6px;padding:14px 18px;margin:20px 0}
.wa-join strong{font-family:var(--head);color:#0a7a32;font-weight:400;font-size:17px}
.wa-join a{background:#25d366;color:#fff;padding:8px 16px;border-radius:4px;font-family:var(--head)}
.archive-head{margin-bottom:18px}
.archive-head h1{font-size:28px;color:var(--navy);border-bottom:3px solid var(--red);display:inline-block;padding-bottom:4px}
.archive-list .list-item > a:first-child{flex-basis:220px}
.archive-list .list-item .thumb{aspect-ratio:16/10}
.archive-list .list-item h3{font-size:20px}
.archive-list .list-item p{margin:4px 0 0;font-size:15px;color:#555}
.pagination{display:flex;gap:6px;justify-content:center;margin:24px 0;flex-wrap:wrap}
.pagination .page-numbers{padding:6px 13px;border:1px solid var(--line);border-radius:3px}
.pagination .current{background:var(--navy);color:#fff;border-color:var(--navy)}

/* About page */
.about-hero{display:grid;grid-template-columns:300px 1fr;gap:30px;align-items:center;background:linear-gradient(120deg,var(--navy-dark),var(--navy));color:#fff;border-radius:6px;padding:30px;margin-bottom:28px;position:relative;overflow:hidden}
.about-hero:after{content:"";position:absolute;right:-60px;bottom:-60px;width:240px;height:240px;border-radius:50%;border:30px solid rgba(227,6,19,.35)}
.about-hero img{width:100%;border-radius:6px;border:5px solid #fff;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.about-hero h1{font-size:30px;margin:6px 0}
.about-hero .q{font-size:15px;color:#cfd5ff}
.about-hero .tag{display:inline-block;background:var(--red);padding:3px 12px;border-radius:20px;font-family:var(--head);font-size:14px;margin:4px 6px 4px 0}
.about-hero .social a{background:rgba(255,255,255,.15);color:#fff;width:36px;height:36px}
.about-hero .social svg{width:16px;height:16px}
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}
.values div{border:1px solid var(--line);border-top:4px solid var(--navy);padding:16px;border-radius:4px}
.values h3{color:var(--navy);font-size:18px}
.values p{margin:0;font-size:15px;color:#555}
.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}
.contact-cards a,.contact-cards div{display:block;border:1px solid var(--line);border-radius:6px;padding:18px;text-align:center}
.ci{display:inline-flex;width:48px;height:48px;border-radius:50%;align-items:center;justify-content:center;margin-bottom:8px}
.ci svg{width:24px;height:24px;fill:#fff}
.contact-cards strong{display:block;font-family:var(--head);color:var(--navy);font-weight:400;font-size:17px}

/* Comments */
.comments-area{margin-top:30px}
.comment-list{list-style:none;padding:0}
.comment-list .comment{border-bottom:1px solid var(--line);padding:12px 0}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;padding:10px;border:1px solid #ccd;border-radius:4px;font:inherit}
.comment-form .submit{background:var(--navy);color:#fff;border:0;padding:10px 22px;border-radius:4px;font-family:var(--head);cursor:pointer}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-dark);color:#c9cff5;font-size:15px;margin-top:20px}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:30px;padding:40px 0 30px}
.footer-logo{background:#fff;display:inline-block;padding:10px 14px;border-radius:6px;margin-bottom:14px}
.footer-logo img{height:64px;width:auto}
.site-footer h4{color:#fff;font-size:18px;border-bottom:2px solid var(--red);display:inline-block;padding-bottom:4px;margin-bottom:14px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{padding:4px 0}
.site-footer a:hover{color:#fff}
.site-footer .social a{width:34px;height:34px}
.footer-editor{display:flex;gap:12px;align-items:center;margin-top:14px}
.footer-editor img{width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:top;border:2px solid #fff}
.footer-editor strong{color:#fff;font-family:var(--head);font-weight:400;display:block;line-height:1.4}
.footer-bottom{background:#040a33;padding:14px 0;font-size:14px}
.footer-bottom .wrap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer-bottom a{color:#fff}
.to-top{position:fixed;right:18px;bottom:18px;width:42px;height:42px;border-radius:50%;background:var(--red);color:#fff;border:0;cursor:pointer;display:none;align-items:center;justify-content:center;z-index:60;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.to-top.show{display:flex}
.to-top svg{width:18px;height:18px;fill:#fff}
.wa-float{position:fixed;left:18px;bottom:18px;width:50px;height:50px;border-radius:50%;background:#25d366;display:flex;align-items:center;justify-content:center;z-index:60;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.wa-float svg{width:26px;height:26px;fill:#fff}

/* WP core */
.alignleft{float:left;margin:0 1em 1em 0}.alignright{float:right;margin:0 0 1em 1em}.aligncenter{margin:0 auto 1em}
.sticky,.bypostauthor,.gallery-caption{}
.wp-block-image{margin:0 0 1em}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .home-top{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
  .home-top > .top-side{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:20px}
  .header-ad{display:none}
  .grid-4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .grid-main,.two-col,.block-split{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr 1fr}
  .analysis{grid-template-columns:1fr}
  .about-hero{grid-template-columns:1fr}
  .about-hero img{max-width:260px}
  .menu-toggle{display:block}
  .nav-menu{display:none;position:absolute;left:0;right:0;top:100%;background:var(--navy);flex-direction:column;max-height:75vh;overflow:auto}
  .nav-menu.open{display:flex}
  .nav-menu > li > a{border-bottom:1px solid rgba(255,255,255,.08)}
  .nav-menu .sub-menu{position:static;display:block;box-shadow:none;background:var(--navy-dark);border:0}
  .nav-menu .sub-menu a{color:#fff;padding-left:30px}
  .main-nav .wrap{position:relative}
  .topbar-links{display:none}
}
@media (max-width:700px){
  body{font-size:16px}
  .home-top{grid-template-columns:1fr}
  .home-top > .top-side{grid-template-columns:1fr}
  .brand img{height:62px}
  .brand-text{display:none}
  .header-cta .btn{padding:6px 10px;font-size:13px}
  .lead h2{font-size:23px}
  .grid-3,.grid-4,.lead-subs,.values,.contact-cards{grid-template-columns:1fr 1fr}
  .entry-title{font-size:25px}
  .entry-content{font-size:18px}
  .archive-list .list-item > a:first-child{flex-basis:120px}
  .archive-list .list-item h3{font-size:16px}
  .archive-list .list-item p{display:none}
  .footer-top{grid-template-columns:1fr}
  .social.top{display:none}
}
@media (max-width:460px){
  .grid-3,.grid-4,.lead-subs,.values,.contact-cards{grid-template-columns:1fr}
  .wa-join{flex-direction:column;text-align:center}
}
@media (max-width:782px){.admin-bar .main-nav{top:0;position:relative}}
@media print{.topbar,.main-nav,.ticker,.sidebar,.site-footer,.share,.to-top,.wa-float{display:none}}
