/*
Theme Name: Swatantra Loktantra V2 Enhanced
Version: 2.2.0
Description: Lightweight, fully editable Hindi news WordPress theme.
*/
:root{--red:#d71920;--dark:#10233d;--text:#171717;--muted:#6b7280;--line:#e5e7eb}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,"Noto Sans Devanagari","Segoe UI",Arial,sans-serif;color:var(--text);line-height:1.65}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto;display:block}.container{width:min(1180px,94%);margin:auto}.topbar{background:var(--dark);color:#fff;font-size:13px}.topbar .container{min-height:38px;display:flex;justify-content:space-between;align-items:center}.top-right a{font-weight:800}.site-header{background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 2px 12px #0000000d}.brand-row{min-height:84px;display:flex;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:10px;min-width:260px}.mark{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;font-weight:900}.title{font-size:24px;font-weight:900;line-height:1.05}.tagline{font-size:11px;color:var(--red);font-weight:800}.nav{margin-left:auto}.nav ul{display:flex;gap:18px;list-style:none;padding:0;margin:0}.nav a{font-weight:750;font-size:14px}.nav a:hover,.current-menu-item>a{color:var(--red)}.nav .sub-menu{display:none;position:absolute;background:#fff;padding:10px;box-shadow:0 10px 25px #0002;list-style:none}.nav li:hover>.sub-menu{display:block}.menu-toggle{display:none;border:0;background:none;font-size:26px}.search{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center}.strip{background:#fff4f4;border-bottom:1px solid #f2d3d3;padding:8px 0}.ticker{display:flex;gap:10px;align-items:center}.label{background:var(--red);color:#fff;padding:3px 9px;border-radius:4px;font-weight:900;font-size:12px}.section{padding:44px 0}.layout{display:grid;grid-template-columns:1fr 310px;gap:28px}.heading{border-bottom:3px solid #111;margin-bottom:18px}.heading h1,.heading h2{margin:0 0 7px;font-size:25px}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.card{border:1px solid var(--line);border-radius:10px;overflow:hidden}.thumb{aspect-ratio:16/9;background:#f1f3f5 center/cover}.body{padding:15px}.cat{color:var(--red);font-size:12px;font-weight:900}.post-title{font-size:20px;line-height:1.35;margin:6px 0;font-weight:850}.meta{font-size:12px;color:var(--muted)}.side{border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:18px}.side h3{margin:0 0 10px;border-bottom:2px solid var(--red);padding-bottom:6px}.side ul{list-style:none;padding:0;margin:0}.side li{padding:7px 0;border-bottom:1px solid var(--line)}.single{max-width:900px}.single h1{font-size:42px;line-height:1.2}.content{font-size:18px}.content img{margin:18px auto;border-radius:10px}.footer{background:#111827;color:#e5e7eb;padding-top:45px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:30px}.footer h3{color:#fff}.footer ul{list-style:none;padding:0}.footer li{margin:7px 0}.socials{display:flex;gap:8px}.socials a{width:36px;height:36px;border:1px solid #4b5563;border-radius:50%;display:grid;place-items:center}.bottom{border-top:1px solid #374151;margin-top:30px;padding:16px 0;font-size:13px;color:#9ca3af}@media(max-width:900px){.layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.nav ul{gap:10px}}@media(max-width:700px){.top-right{display:none}.brand-row{min-height:70px}.title{font-size:20px}.mark{width:46px;height:46px}.menu-toggle{display:block;margin-left:auto}.nav{display:none;position:absolute;top:108px;left:0;right:0;background:#fff;padding:10px;border-top:1px solid var(--line)}.nav.open{display:block}.nav ul{display:block}.nav li{padding:10px;border-bottom:1px solid #eee}.nav .sub-menu{display:block;position:static;box-shadow:none}.search{display:none}.grid,.footer-grid{grid-template-columns:1fr}.single h1{font-size:31px}.section{padding:30px 0}}

/* V2 Enhanced additions — original V2 visual design preserved */
.footer-menu ul{list-style:none;padding:0;margin:0}.footer-menu li{margin:7px 0}
.footer-title{margin-top:0}.custom-footer-note{font-size:13px;color:#9ca3af}
@media(max-width:700px){.nav .sub-menu{padding-left:12px}}


/* E-Paper — same V2 visual language */
.epaper-page{width:100%}.epaper-heading{border-bottom:3px solid #111;margin-bottom:22px;padding-bottom:8px}.epaper-heading>span{display:inline-block;background:var(--red);color:#fff;font-size:12px;font-weight:900;padding:4px 10px;border-radius:3px;margin-bottom:7px}.epaper-heading h1{margin:0;font-size:32px;line-height:1.2}.epaper-heading p{margin:3px 0 0;color:var(--muted);font-size:14px}.epaper-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.epaper-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 5px 18px #0000000a}.epaper-card>a{display:block;background:#f3f4f6}.epaper-card img{width:100%;aspect-ratio:3/4;object-fit:cover}.epaper-card-body{padding:15px}.epaper-date{font-size:12px;color:var(--red);font-weight:900}.epaper-card h2{font-size:20px;line-height:1.3;margin:5px 0 12px}.epaper-actions,.epaper-toolbar{display:flex;gap:9px;flex-wrap:wrap}.epaper-btn{display:inline-block;background:var(--red);color:#fff!important;border-radius:5px;padding:8px 13px;font-size:13px;font-weight:800}.epaper-btn.secondary{background:#111827}.epaper-single{max-width:1100px;margin:auto}.epaper-single .epaper-heading{text-align:left}.epaper-viewer{width:100%;height:820px;background:#eef0f3;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-top:18px}.epaper-viewer iframe{width:100%;height:100%;border:0}.epaper-large-cover{max-width:800px;margin:22px auto;border:1px solid var(--line);border-radius:10px}.epaper-description{margin-top:25px;font-size:17px}.epaper-empty{border:1px dashed #cfd4da;border-radius:10px;padding:45px;text-align:center;background:#fafafa;color:#6b7280}
@media(max-width:900px){.epaper-grid{grid-template-columns:repeat(2,1fr)}.epaper-viewer{height:700px}}
@media(max-width:700px){.epaper-grid{grid-template-columns:1fr}.epaper-heading h1{font-size:26px}.epaper-viewer{height:600px}.epaper-card img{aspect-ratio:4/5}}

/* Robust wide logo support */
.brand{min-width:0;flex:1;align-items:center}
.slv2-header-logo{width:clamp(280px,38vw,560px);max-width:100%;height:auto;max-height:86px;object-fit:contain;object-position:left center}
.brand-copy{display:none}
.slv2-footer-logo{display:block;width:min(420px,100%);max-height:110px;height:auto;object-fit:contain;object-position:left center;margin-bottom:12px;background:#fff;border-radius:5px;padding:5px}
.footer-bottom-row{border-top:1px solid #374151;margin-top:30px;padding-top:18px}
.footer-bottom-row .bottom{border-top:0;margin-top:0;padding:10px 0 16px}
.footer-bottom-logo img{display:block;width:min(360px,100%);height:auto;max-height:90px;object-fit:contain;object-position:left center;background:#fff;border-radius:4px;padding:4px}
@media(max-width:900px){
  .slv2-header-logo{width:min(430px,70vw);max-height:70px}
}
@media(max-width:700px){
  .slv2-header-logo{width:min(330px,68vw);max-height:58px}
  .slv2-footer-logo{width:min(330px,100%);max-height:90px}
  .footer-bottom-logo img{width:min(300px,100%);max-height:75px}
}


/* =========================================================
 * PROFESSIONAL CATEGORY + FOOTER REDESIGN
 * ========================================================= */
.cat{display:inline-block;color:var(--red);font-size:12px;font-weight:800;letter-spacing:.2px}.cat:hover{color:#9d0f15;text-decoration:underline}
.archive-hero,.category-hero{background:linear-gradient(135deg,#fff7f7,#fff 65%);border:1px solid #f0d7d9;border-left:5px solid var(--red);border-radius:12px;padding:22px 24px;margin-bottom:24px}.archive-kicker{display:inline-block;color:var(--red);font-size:11px;font-weight:900;letter-spacing:1.5px;margin-bottom:4px}.archive-hero h1,.category-hero h1{margin:0;font-size:34px;line-height:1.2;color:#16243a}.archive-hero p,.category-hero p{margin:6px 0 0;color:var(--muted)}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.archive-card{background:#fff;box-shadow:0 6px 24px rgba(16,35,61,.06);transition:transform .2s ease,box-shadow .2s ease}.archive-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(16,35,61,.11)}.archive-card .post-title{font-size:20px}.read-more{display:inline-block;margin-top:8px;color:var(--red);font-weight:800;font-size:13px}.archive-empty{grid-column:1/-1;border:1px dashed #d8dde5;border-radius:12px;text-align:center;padding:50px 20px;color:var(--muted);background:#fafbfc}
.premium-footer{background:linear-gradient(135deg,#8f1018 0%,#a9131d 52%,#7e0c14 100%);color:#fff;padding-top:48px}.premium-footer .footer-grid{grid-template-columns:1.45fr 1fr 1fr 1.15fr;gap:34px}.premium-footer h3{color:#fff;font-size:16px;margin:0 0 15px;padding-bottom:9px;border-bottom:1px solid rgba(255,255,255,.25)}.premium-footer .footer-about,.premium-footer .footer-contact-col p{color:#ffe9ea;font-size:14px;line-height:1.8;margin:0 0 15px}.premium-footer .footer-menu{list-style:none;padding:0;margin:0}.premium-footer .footer-menu li{margin:0;border-bottom:1px solid rgba(255,255,255,.13);padding:7px 0}.premium-footer .footer-menu a{color:#fff;font-size:14px}.premium-footer .footer-menu a:hover{color:#ffd85a;padding-left:3px}.premium-footer .socials{display:flex;gap:9px}.premium-footer .socials a{width:36px;height:36px;border:1px solid rgba(255,255,255,.35);border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.08)}.premium-footer .socials a:hover{background:#fff;color:var(--red)}.premium-footer .slv2-footer-logo{background:#fff;border-radius:6px;padding:6px;width:min(420px,100%);max-height:105px;object-fit:contain;object-position:left center;margin-bottom:15px}.footer-contact-btn{display:inline-block;background:#fff;color:#9a1019!important;border-radius:6px;padding:10px 16px;font-weight:900;font-size:13px}.premium-footer .footer-bottom-row{border-top:1px solid rgba(255,255,255,.22);margin-top:34px;padding-top:18px}.premium-footer .footer-bottom-logo img{background:#fff;border-radius:5px;padding:4px;width:min(300px,100%);max-height:70px}.premium-footer .bottom{color:#ffdfe1;font-size:12px}.premium-footer .footer-col{min-width:0}
@media(max-width:900px){.archive-grid{grid-template-columns:repeat(2,1fr)}.premium-footer .footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.archive-grid{grid-template-columns:1fr}.archive-hero h1,.category-hero h1{font-size:27px}.premium-footer .footer-grid{grid-template-columns:1fr}.premium-footer .footer-bottom-row{display:block}.premium-footer .bottom{padding-top:12px}}

/* =========================================================
 * V2.3 PREMIUM NEWS UX
 * ========================================================= */
.topbar{background:#172033;padding:0}.topbar .container{min-height:46px}.top-date{font-family:"Noto Serif Devanagari","Noto Sans Devanagari",serif;font-size:15px;font-weight:800;letter-spacing:.1px}.top-actions{display:flex;align-items:center;gap:10px}.top-actions a{display:inline-flex;align-items:center;min-height:30px;padding:4px 11px;border-radius:4px}.top-epaper{background:#d71920;color:#fff!important;font-weight:900;border:1px solid rgba(255,255,255,.2)}.top-right a{color:#fff;border:1px solid rgba(255,255,255,.28)}
.news-card{background:#fff;box-shadow:0 5px 20px rgba(16,35,61,.055);transition:transform .18s ease,box-shadow .18s ease}.news-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(16,35,61,.10)}.news-card .post-title{font-family:"Noto Serif Devanagari",serif;font-weight:650}.news-card .meta{font-family:"Noto Sans Devanagari",sans-serif}.card-author{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #eee;color:#667085;font-size:12px}.card-author img{width:28px;height:28px;border-radius:50%;object-fit:cover}.card-share{display:flex;justify-content:space-between;gap:8px;margin-top:10px}.card-share a{font-size:11px;font-weight:800;color:var(--red)}.news-single-section{background:#fafbfc}.single{background:#fff;padding:32px 38px;border:1px solid #e7e9ed;border-radius:12px;box-shadow:0 8px 28px rgba(16,35,61,.05)}.news-breadcrumb{font-size:13px;color:#7a8494;margin-bottom:12px}.news-breadcrumb a{color:var(--red);font-weight:800}.single h1{font-family:"Noto Serif Devanagari",serif;font-weight:650;font-size:42px;line-height:1.35;margin:8px 0 18px;color:#172033}.news-meta-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 0 18px;border-bottom:1px solid #e9ecf0}.editor-box{display:flex;align-items:center;gap:10px}.editor-box img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #f0d0d2}.editor-box span{display:block;font-size:11px;color:#8a93a2}.editor-box strong{display:block;font-size:14px;color:#172033}.news-share{display:flex;align-items:center;gap:7px}.news-share span{font-size:12px;color:#737b88;font-weight:700}.news-share a,.news-share-bottom a{padding:7px 10px;border-radius:5px;background:#f1f4f7;color:#273449;font-size:11px;font-weight:800}.news-featured{margin:25px 0}.news-featured img{width:100%;max-height:600px;object-fit:cover;border-radius:9px}.content{font-family:"Noto Serif Devanagari",Georgia,serif;font-size:18px;line-height:2;color:#292f39}.content p{margin:0 0 20px}.content h2,.content h3{font-family:"Noto Sans Devanagari",sans-serif;color:#172033}.news-share-bottom{margin-top:30px;padding:15px 0;border-top:1px solid #e5e7eb;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.premium-footer{padding-top:30px}.premium-footer .footer-grid{gap:24px}.premium-footer .footer-col{padding:0 6px}.premium-footer h3{font-size:14px;margin-bottom:9px;padding-bottom:7px}.premium-footer .footer-menu li{padding:5px 0;margin:0}.premium-footer .footer-about,.premium-footer .footer-contact-col p{font-size:13px;line-height:1.65;margin-bottom:10px}.premium-footer .slv2-footer-logo{width:min(300px,100%);max-height:75px;margin-bottom:10px}.premium-footer .footer-contact-btn{padding:8px 12px;font-size:12px;margin:2px 4px 4px 0}.footer-contact-second{display:block;width:max-content}.premium-footer .footer-bottom-row{margin-top:20px;padding-top:12px}.premium-footer .footer-bottom-logo img{width:min(210px,100%);max-height:55px}.premium-footer .bottom{padding:8px 0 12px}.premium-footer .socials a{width:32px;height:32px}.premium-footer .footer-brand-col{max-width:380px}
@media(max-width:700px){.topbar .container{min-height:42px}.top-date{font-size:12px}.top-actions{gap:5px}.top-actions a{padding:3px 7px;font-size:11px}.top-right{display:block}.single{padding:22px 17px}.single h1{font-size:30px}.news-meta-row{align-items:flex-start;flex-direction:column}.news-share{width:100%}.content{font-size:17px;line-height:1.9}.premium-footer{padding-top:25px}}
