/*
Theme Name: Democratic Bharat Live
Theme URI: https://democraticbharatlive.com/
Author: Democratic Bharat Live
Author URI: https://democraticbharatlive.com/
Description: Democratic Bharat Live ke liye custom Hindi news theme -- Bharat, Rajniti, Aapka Paisa, Khel, Dharm, Lifestyle aur Anya ki khabaron ke liye. Native WordPress Table & Embed blocks ke saath, DNPA code of conduct aur E-E-A-T guidelines ke hisab se article/author templates banaye gaye hain.
Version: 1.0.0
Requires at least: 6.0
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: democratic-bharat-live
*/

/* ============================================================
   Democratic Bharat Live — Design System
   Palette : Navy #0b1e3f / Red #d81e2c / Paper #f5f6fa
   Type    : Poppins (display) + Noto Sans Devanagari (body-HI) + Inter (UI/meta)
   Signature: diagonal red "cut" motif echoing the logo's angled panel
   ============================================================ */

/* Fonts are loaded via <link rel="preconnect"> + <link rel="stylesheet"> in <head>
   (not @import) so they don't block first paint. Only the weights actually
   used in this stylesheet are requested, to keep the font payload small. */

:root{
  --navy-900:#0b1e3f;
  --navy-800:#122a52;
  --navy-700:#1a3a6b;
  --red-600:#d81e2c;
  --red-700:#b3121e;
  --red-800:#8c0e17;
  --paper:#f4f5fa;
  --card:#ffffff;
  --ink-900:#12141c;
  --ink-700:#2b2f3a;
  --ink-500:#5b6070;
  --ink-300:#8a90a0;
  --line:#e4e6ef;
  --line-strong:#cfd3e2;
  --gold:#d9a441;
  /* Per-category colors — all derived from / harmonized with the logo's
     navy + red identity, so each category reads distinctly while still
     feeling on-brand. */
  --cat-home:#d81e2c;      /* होम — brand red */
  --cat-india:#0b1e3f;     /* भारत — brand navy */
  --cat-politics:#7a1030;  /* राजनीति — wine (navy+red blend) */
  --cat-business:#1f7a4d;  /* आपका पैसा — forest green */
  --cat-sports:#0d7377;    /* खेल — teal */
  --cat-religion:#b5651d;  /* धर्म — saffron */
  --cat-lifestyle:#b3175a; /* लाइफस्टाइल — rose */
  --cat-others:#475569;    /* अन्य — slate */
  --radius:10px;
  --radius-sm:6px;
  --shadow-sm:0 1px 2px rgba(11,30,63,.06), 0 1px 1px rgba(11,30,63,.04);
  --shadow-md:0 8px 24px rgba(11,30,63,.10);
  --shadow-lg:0 20px 48px rgba(11,30,63,.16);
  --maxw:1240px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink-700);
  font-family:'Noto Sans Devanagari','Inter',sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{margin:0;font-family:'Poppins','Noto Sans Devanagari',sans-serif;color:var(--ink-900);line-height:1.25;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px;}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:4px;}

/* ---------- Utility eyebrow / diagonal signature ---------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'Inter',sans-serif;font-weight:700;font-size:12px;
  letter-spacing:.06em;text-transform:uppercase;color:var(--red-700);
}
.eyebrow::before{content:"";width:14px;height:3px;background:var(--red-600);
  clip-path:polygon(0 0,100% 0,80% 100%,0 100%);}

.cut-tag{
  position:relative;display:inline-block;background:var(--red-600);color:#fff;
  font-family:'Inter',sans-serif;font-weight:700;font-size:11px;letter-spacing:.04em;
  padding:4px 12px 4px 10px;clip-path:polygon(0 0,100% 0,88% 100%,0% 100%);
}
.cut-tag.cat-home{background:var(--cat-home);}
.cut-tag.cat-india{background:var(--cat-india);}
.cut-tag.cat-politics{background:var(--cat-politics);}
.cut-tag.cat-business{background:var(--cat-business);}
.cut-tag.cat-sports{background:var(--cat-sports);}
.cut-tag.cat-religion{background:var(--cat-religion);}
.cut-tag.cat-lifestyle{background:var(--cat-lifestyle);}
.cut-tag.cat-others{background:var(--cat-others);}

/* ================= MASTHEAD ================= */
.masthead{background:#fff;border-bottom:1px solid var(--line);}
.masthead .wrap{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;gap:24px;}
.brand{display:flex;align-items:center;gap:12px;}
/* Real brand logo (transparent PNG/WebP) — sized via CSS, not recreated in markup */
.site-logo{height:32px;width:auto;display:block;transition:opacity .15s;}
.brand:hover .site-logo{opacity:.9;}
.footer-logo{height:30px;margin-bottom:16px;}
.masthead-tools{display:flex;align-items:center;gap:14px;}
.search-box{
  display:flex;align-items:center;gap:8px;background:var(--paper);border:1px solid var(--line);
  border-radius:999px;padding:8px 14px;min-width:220px;
}
.search-box input{border:0;background:transparent;outline:0;font:inherit;width:100%;color:var(--ink-700);}
.live-pill{
  display:flex;align-items:center;gap:6px;background:var(--red-600);color:#fff;
  font-family:'Inter',sans-serif;font-weight:700;font-size:12px;padding:7px 14px;border-radius:999px;
  box-shadow:0 4px 10px rgba(216,30,44,.35);
}
.live-pill .dot{width:7px;height:7px;border-radius:50%;background:#fff;animation:pulse 1.4s infinite;}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}

/* ================= NAV ================= */
.nav{background:var(--navy-900);position:sticky;top:0;z-index:50;box-shadow:var(--shadow-sm);}
.nav .wrap{display:flex;align-items:stretch;}
.nav-list{display:flex;flex:1;}
.nav-list a{
  display:flex;align-items:center;height:48px;padding:0 18px;color:#dbe3f2;
  font-family:'Noto Sans Devanagari',sans-serif;font-weight:600;font-size:15px;
  position:relative;white-space:nowrap;transition:color .15s,background .15s;
}
.nav-list a::after{
  content:"";position:absolute;left:18px;right:18px;bottom:0;height:3px;background:var(--red-600);
  transform:scaleX(0);transform-origin:left;transition:transform .18s;
}
.nav-list a:hover,.nav-list a.active{color:#fff;background:rgba(255,255,255,.05);}
.nav-list a:hover::after,.nav-list a.active::after{transform:scaleX(1);}
.nav-more{margin-left:auto;display:flex;align-items:center;padding:0 18px;color:#9fb0cf;font-size:13px;font-family:'Inter',sans-serif;}
.nav-burger{display:none;color:#fff;background:none;border:0;padding:0 18px;font-size:20px;cursor:pointer;}

/* ================= BREAKING TICKER ================= */
.ticker{background:var(--navy-800);border-top:1px solid rgba(255,255,255,.08);}
.ticker .wrap{display:flex;align-items:center;height:42px;gap:16px;}
.ticker-flag{
  flex:0 0 auto;display:flex;align-items:center;gap:6px;background:var(--red-600);color:#fff;
  height:26px;padding:0 12px;border-radius:4px;font-family:'Inter',sans-serif;font-weight:700;font-size:12px;
}
.ticker-track-wrap{flex:1;overflow:hidden;position:relative;mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent);}
.ticker-track{display:flex;gap:48px;white-space:nowrap;animation:scroll-left 38s linear infinite;}
.ticker-track a{color:#cfd8ea;font-size:13.5px;font-family:'Noto Sans Devanagari',sans-serif;}
.ticker-track a:hover{color:#fff;}
@keyframes scroll-left{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
  .ticker-track{animation:none;overflow-x:auto;}
  html{scroll-behavior:auto;}
}

/* ================= BREADCRUMB ================= */
.breadcrumb{font-family:'Inter',sans-serif;font-size:12.5px;color:var(--ink-500);padding:16px 0 0;}
.breadcrumb a:hover{color:var(--red-700);}
.breadcrumb span{margin:0 6px;color:var(--ink-300);}

/* ================= LAYOUT GRID ================= */
.layout{display:grid;grid-template-columns:1fr 320px;gap:32px;align-items:start;padding:28px 0 56px;}
.main-col{min-width:0;}
.side-col{position:sticky;top:70px;display:flex;flex-direction:column;gap:20px;}

/* ================= HERO (home) ================= */
.hero-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;}
.hero-lead{position:relative;border-radius:var(--radius);overflow:hidden;background:var(--navy-900);
  min-height:420px;box-shadow:var(--shadow-md);}
.hero-lead img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55;}
.hero-lead .overlay{
  position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,14,32,.94) 6%,rgba(6,14,32,.55) 45%,rgba(6,14,32,.05) 75%);
}
.hero-lead-body{position:absolute;left:0;right:0;bottom:0;padding:28px;color:#fff;}
.hero-lead-body h1{color:#fff;font-size:30px;font-weight:700;margin:12px 0 10px;max-width:640px;}
.hero-lead-body .dek{color:#c9d3e8;font-size:14.5px;max-width:580px;margin-bottom:14px;}
.meta-row{display:flex;align-items:center;gap:14px;font-family:'Inter',sans-serif;font-size:12.5px;color:#aeb9d1;}
.meta-row .author{display:flex;align-items:center;gap:6px;color:#e7ecf7;font-weight:600;}
.avatar{width:22px;height:22px;border-radius:50%;background:var(--red-600);color:#fff;
  display:flex;align-items:center;justify-content:center;font-family:'Inter';font-weight:700;font-size:10px;flex:0 0 auto;}

.hero-side{display:flex;flex-direction:column;gap:14px;}
.hero-side-item{display:flex;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:10px;box-shadow:var(--shadow-sm);transition:box-shadow .15s,transform .15s;}
.hero-side-item:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);}
.hero-side-item .thumb{width:114px;height:64px;border-radius:6px;flex:0 0 auto;object-fit:cover;background:var(--line);}
.hero-side-item .txt{min-width:0;}
.hero-side-item h4{font-size:14px;font-weight:600;font-family:'Noto Sans Devanagari';margin-bottom:4px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.hero-side-item .cut-tag{font-size:9.5px;padding:2px 8px 2px 6px;margin-bottom:5px;}

/* ================= SECTION HEADER ================= */
.section-head{display:flex;align-items:center;justify-content:space-between;margin:40px 0 18px;}
.section-head h2{font-size:21px;font-weight:700;display:flex;align-items:center;gap:10px;}
.section-head h2::before{content:"";width:5px;height:22px;background:var(--red-600);border-radius:2px;}
.section-head a.view-all{
  font-family:'Inter',sans-serif;font-size:13px;font-weight:600;color:var(--red-700);
  display:flex;align-items:center;gap:4px;
}
.section-head a.view-all:hover{color:var(--red-800);}

/* ================= CARD GRID ================= */
.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.news-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow-sm);transition:transform .15s,box-shadow .15s;display:flex;flex-direction:column;}
.news-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}
.news-card .thumb{aspect-ratio:16/9;background:linear-gradient(135deg,var(--navy-800),var(--navy-700));position:relative;overflow:hidden;}
.news-card .thumb img{width:100%;height:100%;object-fit:cover;}
.news-card .thumb .cut-tag{position:absolute;left:0;top:12px;}
.news-card .body{padding:14px;flex:1;display:flex;flex-direction:column;gap:8px;}
.news-card h3{font-size:15.5px;font-weight:600;line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.news-card:hover h3{color:var(--red-700);}
.card-meta{margin-top:auto;display:flex;align-items:center;gap:8px;font-family:'Inter',sans-serif;font-size:11.5px;color:var(--ink-300);}

/* ================= SIDEBAR WIDGETS ================= */
.widget{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;}
.widget-head{display:flex;align-items:center;gap:8px;padding:13px 16px;background:var(--navy-900);color:#fff;
  font-family:'Poppins',sans-serif;font-weight:700;font-size:13.5px;}
.widget-body{padding:14px 16px;}
.market-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px dashed var(--line);
  font-family:'Inter',sans-serif;font-size:13px;}
.market-row:last-child{border-bottom:0;}
.market-row .name{font-weight:600;color:var(--ink-700);}
.market-row .val{font-weight:700;}
.up{color:#0d8a4e;} .down{color:var(--red-700);}
.weather-row{display:flex;align-items:center;gap:14px;}
.weather-row .temp{font-family:'Poppins';font-size:32px;font-weight:700;color:var(--navy-900);}
.weather-row .desc{font-size:12.5px;color:var(--ink-500);font-family:'Inter';}
.most-read li{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);}
.most-read li:last-child{border-bottom:0;}
.most-read .rank{font-family:'Poppins';font-weight:800;font-size:20px;color:var(--line-strong);flex:0 0 auto;width:28px;}
.most-read a{font-size:13.5px;font-weight:500;line-height:1.4;}
.most-read a:hover{color:var(--red-700);}
.follow-widget .icons{display:flex;gap:10px;padding:14px 16px;}
.follow-widget .icons a{width:36px;height:36px;border-radius:50%;background:var(--paper);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;color:var(--navy-900);transition:.15s;}
.follow-widget .icons a:hover{background:var(--red-600);color:#fff;border-color:var(--red-600);transform:translateY(-2px);}

/* ================= FOOTER ================= */
.site-footer{background:var(--navy-900);color:#b9c3da;margin-top:40px;}
.footer-top{padding:48px 0 32px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;}
.footer-top h6{font-family:'Inter',sans-serif;font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;
  color:#fff;margin-bottom:16px;font-weight:700;}
.footer-about p{font-size:13.5px;line-height:1.7;color:#9fabc6;margin:14px 0;}
.footer-top ul li{margin-bottom:10px;}
.footer-top ul a{font-size:13.5px;color:#b9c3da;}
.footer-top ul a:hover{color:#fff;}
.footer-contact li{display:flex;gap:8px;font-size:13.5px;margin-bottom:12px;color:#b9c3da;}
.footer-social{display:flex;gap:10px;margin-top:16px;}
.footer-social a{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12.5px;color:#fff;}
.footer-social a:hover{background:var(--red-600);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;display:flex;
  align-items:center;justify-content:space-between;font-family:'Inter';font-size:12.5px;color:#8b96b3;flex-wrap:wrap;gap:8px;}
.footer-bottom .dnpa{display:flex;align-items:center;gap:7px;color:#c9d3e8;}
.footer-bottom .dnpa::before{content:"✓";width:16px;height:16px;border-radius:50%;background:var(--red-600);
  color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;}

/* ================= ARTICLE PAGE ================= */
.article-head{padding-top:18px;}
.article-head .cat-tag{margin-bottom:14px;}
.article-head h1{font-size:32px;font-weight:700;line-height:1.32;margin-bottom:14px;}
.article-dek{font-size:16px;color:var(--ink-500);margin-bottom:18px;font-family:'Noto Sans Devanagari';}
.byline{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);flex-wrap:wrap;gap:12px;}
.byline-author{display:flex;align-items:center;gap:12px;}
.byline-author .avatar{width:44px;height:44px;font-size:15px;}
.byline-author .name{font-weight:700;color:var(--ink-900);font-size:14.5px;}
.byline-author .name a:hover{color:var(--red-700);}
.byline-author .role{font-family:'Inter';font-size:11.5px;color:var(--ink-300);}
.byline-meta{font-family:'Inter';font-size:12px;color:var(--ink-300);}
.share-bar{display:flex;gap:8px;}
.share-bar a{width:34px;height:34px;border-radius:50%;border:1px solid var(--line-strong);
  display:flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:700;color:var(--ink-500);}
.share-bar a:hover{background:var(--red-600);border-color:var(--red-600);color:#fff;}
.article-hero-img{margin:22px 0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);}
.article-hero-img img{width:100%;aspect-ratio:16/9;object-fit:cover;}
.img-caption{font-family:'Inter';font-size:12px;color:var(--ink-300);padding-top:8px;text-align:center;}

/* Key-points / summary box (matches the live site's "मुख्य बातें" block) */
.summary-box{
  margin:22px 0;background:#fff7e6;border:1px solid #f0d999;border-left:4px solid var(--gold);
  border-radius:var(--radius-sm);padding:18px 20px;
}
.summary-head{font-family:'Poppins';font-weight:700;font-size:15px;color:var(--ink-900);margin-bottom:10px;}
.summary-box ul{padding-left:20px;}
.summary-box li{list-style:disc;font-size:14.5px;line-height:1.75;color:var(--ink-700);margin-bottom:6px;font-family:'Noto Sans Devanagari';}
.summary-box li:last-child{margin-bottom:0;}

.article-body{font-size:17px;line-height:1.9;color:var(--ink-700);}
.article-body p{margin:0 0 20px;}
.article-body h2{font-size:22px;margin:34px 0 14px;padding-left:14px;border-left:4px solid var(--red-600);}
.article-body blockquote{
  margin:26px 0;padding:18px 22px;background:var(--paper);border-radius:var(--radius-sm);
  border-left:4px solid var(--gold);font-style:normal;font-size:16.5px;color:var(--ink-900);font-weight:500;
}

/* data table */
.table-wrap{margin:26px 0;overflow-x:auto;border-radius:var(--radius-sm);border:1px solid var(--line);}
table.data-table{width:100%;border-collapse:collapse;font-size:14.5px;font-family:'Noto Sans Devanagari';min-width:480px;table-layout:auto;}
table.data-table thead th{background:var(--navy-900);color:#fff;text-align:left;padding:12px 16px;
  font-family:'Inter';font-weight:600;font-size:12.5px;letter-spacing:.02em;border:1px solid var(--navy-900);}
table.data-table tbody td{padding:12px 16px;border:1px solid var(--line);}
table.data-table tbody tr:nth-child(even){background:var(--paper);}
table.data-table tbody tr:last-child td{border-bottom:1px solid var(--line);}
table.data-table tbody tr:hover{background:#fdecec;}

/* embed block */
.embed-block{margin:26px 0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--card);box-shadow:var(--shadow-sm);}
.embed-block .embed-label{display:flex;align-items:center;gap:8px;padding:10px 16px;background:var(--paper);
  border-bottom:1px solid var(--line);font-family:'Inter';font-size:11.5px;font-weight:700;color:var(--ink-500);text-transform:uppercase;letter-spacing:.05em;}
.embed-video{aspect-ratio:16/9;background:var(--navy-900);display:flex;align-items:center;justify-content:center;}
.embed-video .play{width:64px;height:64px;border-radius:50%;background:var(--red-600);display:flex;align-items:center;
  justify-content:center;color:#fff;font-size:22px;box-shadow:0 8px 20px rgba(216,30,44,.4);}
.embed-tweet{padding:18px;font-family:'Inter';}
.embed-tweet .tw-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.embed-tweet .tw-name{font-weight:700;font-size:13.5px;color:var(--ink-900);}
.embed-tweet .tw-handle{font-size:12.5px;color:var(--ink-300);}
.embed-tweet p{font-size:14.5px;color:var(--ink-700);margin:0 0 10px;font-family:'Noto Sans Devanagari';}

/* FAQ accordion */
.faq-block{margin:30px 0;}
.faq-item{border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:10px;overflow:hidden;background:var(--card);}
.faq-item summary{padding:15px 18px;font-weight:600;font-size:15px;cursor:pointer;color:var(--ink-900);
  display:flex;justify-content:space-between;align-items:center;list-style:none;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-size:20px;color:var(--red-600);font-weight:700;}
.faq-item[open] summary::after{content:"−";}
.faq-item .faq-a{padding:0 18px 16px;font-size:14.5px;color:var(--ink-500);line-height:1.75;}

.tag-row{display:flex;gap:8px;flex-wrap:wrap;margin:28px 0;}
.tag-pill{font-family:'Inter';font-size:12px;font-weight:600;padding:6px 14px;border-radius:999px;
  background:var(--paper);border:1px solid var(--line-strong);color:var(--ink-500);}
.tag-pill:hover{background:var(--navy-900);color:#fff;border-color:var(--navy-900);}

/* Author bio box (end of article) */
.author-box{display:flex;gap:16px;padding:20px;background:var(--paper);border-radius:var(--radius);margin:32px 0;
  border:1px solid var(--line);}
.author-box .avatar{width:64px;height:64px;font-size:22px;flex:0 0 auto;}
.author-box h4{font-size:16px;margin-bottom:4px;}
.author-box h4 a:hover{color:var(--red-700);}
.author-box .desig{font-family:'Inter';font-size:12px;color:var(--red-700);font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px;}
.author-box p{font-size:13.5px;color:var(--ink-500);margin:0;}

/* trust strip */
.trust-strip{display:flex;gap:22px;flex-wrap:wrap;padding:16px 0;margin:10px 0 6px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.trust-item{display:flex;align-items:center;gap:8px;font-family:'Inter';font-size:12.5px;color:var(--ink-500);font-weight:600;}
.trust-item .ic{width:26px;height:26px;border-radius:50%;background:#fdecec;color:var(--red-700);display:flex;align-items:center;justify-content:center;font-size:13px;flex:0 0 auto;}

/* Related grid */
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px;}

/* ================= AUTHOR PAGE ================= */
.author-hero{background:linear-gradient(120deg,var(--navy-900),var(--navy-700));border-radius:var(--radius);
  padding:36px;display:flex;gap:24px;align-items:center;color:#fff;margin-top:20px;position:relative;overflow:hidden;}
.author-hero::after{content:"";position:absolute;right:-40px;top:-40px;width:220px;height:220px;
  background:var(--red-600);opacity:.18;clip-path:polygon(0 0,100% 0,100% 100%,30% 100%);}
.author-hero .avatar-lg{width:96px;height:96px;border-radius:50%;background:var(--red-600);color:#fff;
  display:flex;align-items:center;justify-content:center;font-family:'Poppins';font-weight:800;font-size:34px;
  flex:0 0 auto;border:4px solid rgba(255,255,255,.2);}
.author-hero h1{color:#fff;font-size:26px;margin-bottom:6px;}
.author-hero .desig{font-family:'Inter';font-size:12.5px;color:#ffd7da;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:10px;}
.author-hero .bio{font-size:14.5px;color:#c9d3e8;max-width:640px;line-height:1.7;}
.author-stats{display:flex;gap:28px;margin-top:16px;}
.author-stats .stat{font-family:'Inter';}
.author-stats .num{font-family:'Poppins';font-weight:800;font-size:20px;color:#fff;}
.author-stats .lbl{font-size:11px;color:#a9b6d4;text-transform:uppercase;letter-spacing:.05em;}
.author-social{display:flex;gap:8px;margin-top:16px;}
.author-social a{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;}
.author-social a:hover{background:var(--red-600);}

.expertise-row{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 6px;}
.filter-bar{display:flex;align-items:center;justify-content:space-between;margin:32px 0 16px;flex-wrap:wrap;gap:10px;}
.filter-bar h2{font-size:19px;}
.filter-chips{display:flex;gap:8px;flex-wrap:wrap;}
.filter-chips button{font-family:'Inter';font-size:12.5px;font-weight:600;padding:7px 15px;border-radius:999px;
  border:1px solid var(--line-strong);background:#fff;color:var(--ink-500);cursor:pointer;}
.filter-chips button.active,.filter-chips button:hover{background:var(--navy-900);color:#fff;border-color:var(--navy-900);}

.author-list-row{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);}
.author-list-row .thumb{width:150px;height:84px;border-radius:8px;flex:0 0 auto;object-fit:cover;background:var(--line);}
.author-list-row h3{font-size:16px;margin:2px 0 6px;}
.author-list-row h3:hover{color:var(--red-700);}
.pagination{display:flex;gap:8px;justify-content:center;margin-top:24px;}
.pagination a{width:36px;height:36px;border-radius:8px;border:1px solid var(--line);display:flex;align-items:center;
  justify-content:center;font-family:'Inter';font-size:13px;font-weight:600;color:var(--ink-500);}
.pagination a.active,.pagination a:hover{background:var(--navy-900);color:#fff;border-color:var(--navy-900);}

/* ================= RESPONSIVE ================= */
@media (max-width:1080px){
  .layout{grid-template-columns:1fr;}
  .side-col{position:static;}
  .card-grid{grid-template-columns:repeat(2,1fr);}
  .footer-top{grid-template-columns:1fr 1fr;}
  .related-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:760px){
  .site-logo{height:26px;}
  .search-box{display:none;}
  .nav-list{display:none;}
  .nav-burger{display:block;margin-left:auto;}
  .hero-grid{grid-template-columns:1fr;}
  .hero-lead{min-height:300px;}
  .card-grid{grid-template-columns:1fr 1fr;}
  .footer-top{grid-template-columns:1fr;gap:28px;padding:36px 0 24px;}
  .article-head h1{font-size:24px;}
  .related-grid{grid-template-columns:1fr;}
  .author-hero{flex-direction:column;text-align:center;padding:26px;}
  .author-stats{justify-content:center;}
  .author-list-row{flex-direction:column;}
  .author-list-row .thumb{width:100%;height:200px;}
}
@media (max-width:480px){
  .card-grid{grid-template-columns:1fr;}
}

/* ================= WORDPRESS INTEGRATION ================= */
/* Native Table block -> reuses the same look as .data-table */
.wp-block-table{margin:26px 0;overflow-x:auto;border-radius:var(--radius-sm);border:1px solid var(--line);}
.wp-block-table table{width:100%;border-collapse:collapse;font-size:14.5px;font-family:'Noto Sans Devanagari';min-width:480px;margin:0;}
.wp-block-table thead th{background:var(--navy-900);color:#fff;text-align:left;padding:12px 16px;font-family:'Inter';font-weight:600;font-size:12.5px;border:1px solid var(--navy-900);}
.wp-block-table tbody td{padding:12px 16px;border:1px solid var(--line);}
.wp-block-table tbody tr:nth-child(even){background:var(--paper);}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background:var(--paper);}

/* Native Embed block (YouTube/X/Instagram/etc.) -> reuses .embed-block look */
.wp-block-embed{margin:26px 0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--card);box-shadow:var(--shadow-sm);}
.wp-block-embed .wp-block-embed__wrapper{position:relative;}
.wp-block-embed iframe{width:100%;aspect-ratio:16/9;border:0;display:block;}
.wp-block-embed-twitter .wp-block-embed__wrapper,.wp-block-embed-instagram .wp-block-embed__wrapper{padding:16px;}

.alignwide{max-width:900px;margin-left:auto;margin-right:auto;}
.alignfull{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;}
figure.wp-block-image{margin:22px 0;border-radius:var(--radius);overflow:hidden;}
figure.wp-block-image img{width:100%;border-radius:var(--radius);}
.wp-block-image figcaption,.wp-caption-text{font-family:'Inter';font-size:12px;color:var(--ink-300);text-align:center;padding-top:8px;}
.wp-block-quote{margin:26px 0;padding:18px 22px;background:var(--paper);border-radius:var(--radius-sm);border-left:4px solid var(--gold);font-size:16.5px;color:var(--ink-900);font-weight:500;}

/* Pagination (the_posts_pagination) */
.pagination-wrap{margin-top:28px;}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;
  border-radius:8px;border:1px solid var(--line);margin-right:6px;font-family:'Inter';font-size:13px;font-weight:600;color:var(--ink-500);}
.page-numbers.current,.page-numbers:hover{background:var(--navy-900);color:#fff;border-color:var(--navy-900);}

/* Comments */
.comments-area{margin-top:36px;}
.comment-respond input[type=text],.comment-respond input[type=email],.comment-respond input[type=url],.comment-respond textarea{
  width:100%;padding:10px 14px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);font:inherit;margin-bottom:12px;}
.comment-respond .form-submit input{background:var(--red-600);color:#fff;border:0;padding:10px 22px;border-radius:999px;font-weight:700;cursor:pointer;}

/* Mobile nav-open state (toggled by assets/main.js) */
.nav-list.nav-open{display:flex !important;position:absolute;top:100%;left:0;right:0;flex-direction:column;
  background:var(--navy-900);padding:8px 0;box-shadow:var(--shadow-lg);z-index:60;}
.nav-list.nav-open a{height:auto;padding:12px 20px;}
@media (max-width:760px){.nav{position:relative;}}

/* WP admin bar offset for the sticky nav */
.admin-bar .nav{top:32px;}
@media (max-width:782px){.admin-bar .nav{top:46px;}}
