/* Hindi News CMS - theme stylesheet (no framework) */
:root{
  --primary:#d71920;--secondary:#0f1b2d;
  --bg:#f3f4f6;--surface:#fff;--text:#16181d;--muted:#5f6673;--line:#e3e6eb;--soft:#f7f8fa;
  --font:"Noto Sans Devanagari","Mangal","Nirmala UI",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --radius:8px;--post-fs:19px;--wrap:1240px;
}
html.dark{--bg:#0e1116;--surface:#161b22;--text:#e8eaed;--muted:#9aa3ae;--line:#2a313b;--soft:#1c222b}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:70px}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.6;overflow-x:hidden}
a{color:inherit;text-decoration:none}
a:hover{color:var(--primary)}
img{max-width:100%;height:auto;display:block}
button{font:inherit;cursor:pointer}
h1,h2,h3,h4{line-height:1.35;margin:0 0 .5em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 16px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;background:var(--primary);color:#fff;padding:8px 14px;z-index:999}
.skip:focus{left:8px}
.muted{color:var(--muted)}.small{font-size:13px}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}

/* Top bar */
.topbar{background:var(--secondary);color:#cfd6e0;font-size:13px}
.topbar-in{display:flex;align-items:center;gap:18px;min-height:34px}
.top-links{display:flex;gap:16px;flex:1;overflow:hidden;white-space:nowrap}
.top-links a:hover{color:#fff}
.social{display:flex;gap:6px;align-items:center}
.social a{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%}
.social svg{width:16px;height:16px}
.topbar .social a:hover{background:rgba(255,255,255,.12);color:#fff}

/* Header */
.site-header{background:var(--surface);position:relative;z-index:50}
.header-in{display:flex;align-items:center;gap:16px;min-height:84px}
.logo{display:flex;flex-direction:column;justify-content:center;flex-shrink:0}
.logo img{max-height:62px;width:auto}
.logo .logo-dark{display:none}
html.dark .logo-dark{display:block}html.dark .logo-dark+.logo-light,html.dark .logo-light:has(+.logo-dark){display:none}
.logo-text{font-size:32px;font-weight:800;letter-spacing:-.5px;color:var(--secondary);line-height:1.1}
html.dark .logo-text{color:#fff}
.logo-text em{font-style:normal;color:var(--primary)}
.tagline{font-size:12.5px;color:var(--muted);margin-top:2px}
.header-ad{flex:1;display:flex;justify-content:flex-end;overflow:hidden}
.header-actions{margin-left:auto;display:flex;gap:4px}
.header-ad+.header-actions{margin-left:0}
.icon-btn{background:none;border:0;color:var(--text);width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}
.icon-btn:hover{background:var(--soft)}
.menu-btn{display:none}

/* Nav */
/* only the red menu bar (+ search box) sticks on scroll - logo row scrolls away */
.nav-sticky{position:sticky;top:0;z-index:40}
.main-nav{background:var(--primary);box-shadow:0 2px 6px rgba(0,0,0,.08)}
.site-header{position:static}
html{scroll-padding-top:56px}
.nav-in{display:flex;align-items:stretch}
.nav-home{display:flex;align-items:center;padding:0 14px 0 0;color:#fff}
.nav-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.nav-list::-webkit-scrollbar{display:none}
.nav-list>li{position:relative}
.nav-list>li>a{display:block;color:#fff;padding:11px 13px;font-weight:600;font-size:16.5px;white-space:nowrap}
.nav-list>li>a:hover,.nav-list>li>a.active,.nav-home.active{background:rgba(0,0,0,.18);color:#fff}
.nav-list .sub{display:none;position:absolute;left:0;top:100%;background:var(--surface);min-width:200px;list-style:none;margin:0;padding:6px 0;box-shadow:0 8px 24px rgba(0,0,0,.15);border-radius:0 0 8px 8px}
.nav-list .sub a{display:block;padding:8px 16px;font-size:15px}
.has-sub:hover .sub,.has-sub:focus-within .sub{display:block}
.searchbar{background:var(--surface);border-top:1px solid var(--line);padding:12px 0}
.searchbar form,.search-inline{display:flex;gap:8px}
.searchbar input,.search-inline input{flex:1;min-width:0;padding:11px 14px;border:1px solid var(--line);border-radius:var(--radius);font:inherit;background:var(--surface);color:var(--text)}
.searchbar button,.search-inline button,.btn{background:var(--primary);color:#fff;border:0;border-radius:var(--radius);padding:10px 20px;font-weight:700;display:inline-block}

/* Drawer */
.drawer{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:100}
.drawer-panel{background:var(--surface);width:min(320px,86vw);height:100%;overflow-y:auto;padding:16px}
.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.drawer ul{list-style:none;margin:10px 0;padding:0}
.drawer li a{display:block;padding:10px 4px;border-bottom:1px solid var(--line);font-weight:600}
.drawer li.d1 a{padding-left:20px;font-weight:400}.drawer li.d2 a{padding-left:36px;font-weight:400}
.drawer-search input{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius);font:inherit;background:var(--soft);color:var(--text)}

/* Ticker */
.ticker{background:var(--surface);border-bottom:1px solid var(--line)}
.ticker-in{display:flex;align-items:center;gap:12px;height:42px;overflow:hidden}
.ticker-label{background:var(--primary);color:#fff;font-weight:700;font-size:14px;padding:4px 12px;border-radius:4px;display:inline-flex;gap:4px;align-items:center;white-space:nowrap;flex-shrink:0}
.ticker-label svg{width:16px;height:16px}
.ticker-track{overflow:hidden;flex:1;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.ticker-move{display:inline-flex;white-space:nowrap;animation:tick 60s linear infinite}
.ticker-track:hover .ticker-move{animation-play-state:paused}
.ticker-move a{padding:0 22px;position:relative;font-weight:500}
.ticker-move a::before{content:"";position:absolute;left:6px;top:50%;width:6px;height:6px;border-radius:50%;background:var(--primary);transform:translateY(-50%)}
@keyframes tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.ticker-move{animation:none}}

/* Layout */
.main{padding-top:16px;padding-bottom:24px}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.content{min-width:0}
.sidebar{position:sticky;top:60px;display:flex;flex-direction:column;gap:20px}
.widget,.cat-block,.hero-latest,.post,.archive-head,.related,.notfound{background:var(--surface);border-radius:var(--radius);padding:16px}
.cat-block{margin-bottom:20px}
.section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--line);margin-bottom:14px}
.section-head h2{font-size:20px;margin:0;padding-bottom:6px;border-bottom:3px solid var(--primary);margin-bottom:-2px;font-weight:800}
.section-head .more{font-size:14px;color:var(--primary);font-weight:600}
.subcats{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 12px}
.subcats a{font-size:13.5px;padding:3px 10px;border:1px solid var(--line);border-radius:20px}
.subcats a:hover{border-color:var(--primary)}

/* Cards */
.thumb{display:block;overflow:hidden;border-radius:6px;background:var(--soft);position:relative}
.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.card:hover .thumb img{transform:scale(1.04)}
.r16x9{aspect-ratio:16/9}.r4x3{aspect-ratio:4/3}
.img-ph{display:block;width:100%;height:100%;background:linear-gradient(135deg,var(--soft),var(--line))}
.badge{display:inline-block;background:var(--primary);color:#fff !important;font-size:12.5px;font-weight:700;padding:2px 9px;border-radius:3px;margin-bottom:6px}
.badge-live{background:#111;margin-left:4px}
.card-title{font-weight:700;margin:0}
.card-big .card-body{padding-top:10px}
.card-big .card-title{font-size:25px;line-height:1.35}
.card-excerpt{color:var(--muted);margin:6px 0 0;font-size:15.5px}
.meta{font-size:13px;color:var(--muted);margin-top:5px}
.card-grid .card-title{font-size:16.5px;margin-top:8px;line-height:1.45}
.card-list{display:grid;grid-template-columns:118px 1fr;gap:12px;align-items:start}
.card-list .card-title{font-size:15.5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card-list .badge{font-size:11px;padding:1px 7px;margin-bottom:3px}
.stack{display:flex;flex-direction:column;gap:14px}
.stack .card-list+.card-list{border-top:1px solid var(--line);padding-top:14px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.block-split{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}
.cat-block.style-2 .block-split{grid-template-columns:1fr 1.15fr}
.cat-block.style-2 .block-split>div:first-child{order:2}

/* Hero */
.hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;margin-bottom:20px;align-items:stretch}
/* top block: big story (3 of 5 columns, 2 rows) + 4 beside it + 5 in a row below */
.hero-block{background:var(--surface);border-radius:var(--radius);padding:14px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px 14px;align-content:start;min-width:0}
.hero-block>.card-big{grid-column:1/4;grid-row:1/3}
.hero-block .card-big .card-title{font-size:28px;line-height:1.3}
.hero-block .card-grid .card-title{font-size:15px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.text-list{list-style:none;margin:0;padding:0;counter-reset:n}
.text-list li{padding:9px 0 9px 16px;border-bottom:1px dashed var(--line);position:relative}
.text-list li:last-child{border:0}
.text-list li::before{content:"";position:absolute;left:0;top:18px;width:7px;height:7px;background:var(--primary);border-radius:50%}
.text-list li a{font-weight:600;font-size:15.5px;line-height:1.45;display:block}
.text-list time{font-size:12.5px;color:var(--muted)}
.live-list li:first-child::before{animation:pulse 1.4s infinite}
/* home "ताज़ा खबरें" + देश block list: only bold headlines, dot on the first line */
.hero-latest .live-list li,.pm-list li{padding:9px 0 9px 18px}
.hero-latest .live-list li::before,.pm-list li::before{top:17px;width:8px;height:8px}
.hero-latest .live-list li a,.pm-list li a{font-weight:700;font-size:16px;line-height:1.5;color:var(--text)}
.hero-latest .live-list li a:hover,.pm-list li a:hover{color:var(--primary)}
/* home "रेवाड़ी" / "बिज़नेस": big story + 4 beside + 6 small below (3 columns) */
.big-split{grid-template-columns:1.05fr 1fr}
.big-split .card-big .card-title{font-size:23px}
.big-split .card-list{grid-template-columns:130px 1fr}
.big-split .card-list .card-title{font-size:16px;font-weight:700}
.mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.mini-grid .card-list{grid-template-columns:84px 1fr;gap:9px}
.mini-grid .card-list .card-title{font-size:14.5px;-webkit-line-clamp:3}
/* home "हरियाणा": 4 photo cards + 6 headlines in 3 columns */
.gl3-list{display:grid;grid-template-columns:repeat(3,1fr);gap:0 22px;margin-top:16px;padding-top:6px;border-top:1px solid var(--line)}
.gl3-list li{padding:9px 0 9px 18px;border-bottom:0}
.gl3-list li::before{top:17px;width:8px;height:8px;animation:none !important}
.gl3-list li a{font-weight:700;font-size:15.5px;line-height:1.5;color:var(--text)}
.gl3-list li a:hover{color:var(--primary)}
/* home "देश" + "मनोरंजन": one row inside the content column (sidebar untouched) */
.home-pair{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:16px;align-items:start;margin-bottom:20px}
.home-pair.pair-solo{grid-template-columns:minmax(0,1fr)}
.home-pair .cat-block{margin-bottom:0}
.pm-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.pm-left{padding-right:20px;border-right:1px solid var(--line);margin-right:-20px}
.pm-left .card-big .card-title{font-size:20px}
.pm-left .stack{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.pm-left .card-list{grid-template-columns:96px 1fr;gap:10px}
.pm-left .card-list .card-title,.pair-side .card-list .card-title{font-size:14.5px}
.pm-list{padding-left:20px}
.pm-list li a{font-size:15.5px}
.pm-list li:first-child{padding-top:0}.pm-list li:first-child::before{top:8px;animation:none}
.pair-side{padding-left:12px;padding-right:12px}
.pair-side .card-list{grid-template-columns:72px 1fr;gap:9px}
.pair-side .card-list .card-title{-webkit-line-clamp:4;line-height:1.42}
.pair-side .stack .card-list+.card-list{padding-top:12px}
@keyframes pulse{50%{box-shadow:0 0 0 5px rgba(215,25,32,.2)}}
.trending{list-style:none;margin:0;padding:0;counter-reset:t}
.trending li{counter-increment:t;display:grid;grid-template-columns:38px 1fr;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}
.trending li:last-child{border:0}
.trending li::before{content:counter(t);font-size:28px;font-weight:800;color:var(--primary);opacity:.8;line-height:1}
.trending a{font-weight:600;font-size:15.5px;line-height:1.45}
.follow-btns{display:grid;gap:8px}
.follow-btns a{display:flex;gap:8px;align-items:center;color:#fff;padding:10px 14px;border-radius:var(--radius);font-weight:700}
.fb-wa{background:#25d366}.fb-gn{background:#1a73e8}.fb-tg{background:#229ed9}.fb-yt{background:#ff0000}

/* Ads */
.ad{text-align:center;margin:0 auto 20px;overflow:hidden;min-height:0}
.ad-in-article{margin:22px 0}
.header-ad.ad{margin:0}

/* Breadcrumb */
.breadcrumb{font-size:13.5px;color:var(--muted);margin:0 0 12px;display:flex;flex-wrap:wrap;gap:6px}
.breadcrumb span:last-child{color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60ch}

/* Single post */
.post{padding:22px 26px}
.post-title{font-size:34px;font-weight:800;line-height:1.3;margin:6px 0 10px}
.post-subtitle{font-size:19px;color:var(--muted);margin:0 0 14px;line-height:1.55;font-weight:500;border-left:4px solid var(--primary);padding-left:12px}
.post-meta{display:flex;flex-wrap:nowrap;gap:12px;align-items:center;padding:12px 0;margin-bottom:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pm-avatar{flex-shrink:0;line-height:0;color:inherit}
.pm-avatar .avatar{width:48px;height:48px}
.avatar-ph.pm-ph{background:var(--soft);color:var(--text)}.pm-ph svg{width:30px;height:30px}
.pm-text{flex:1;min-width:0}
.pm-line{font-size:15.5px;line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-line b{font-weight:700}
.pm-name{color:var(--text)}.pm-name:hover{color:var(--primary)}
.pm-share{position:relative;flex-shrink:0}
.share-toggle{width:46px;height:46px;border-radius:50%;border:2px solid var(--text);background:var(--surface);color:var(--text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.share-toggle svg{width:24px;height:24px}
.share-toggle:hover,.share-toggle[aria-expanded="true"]{background:var(--primary);border-color:var(--primary);color:#fff}
.share-pop{position:absolute;right:0;top:calc(100% + 8px);z-index:30;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.share-pop .share{flex-wrap:nowrap}
.dateline{font-weight:700}
.byline{display:flex;gap:10px;align-items:center}
.byline strong{display:block;font-size:15.5px}
.byline small{display:block;color:var(--muted);font-size:12.5px}
.avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0}
.avatar-ph{display:inline-flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;font-weight:700;font-size:18px}
.dates{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13.5px;color:var(--muted)}
.dates span{display:inline-flex;align-items:center;gap:4px}
.dates svg{width:15px;height:15px}
.dates .loc{font-weight:700;color:var(--text)}
.post-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0}
.share{display:flex;gap:8px;flex-wrap:wrap}
.share a,.share button{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;border:0}
.s-wa{background:#25d366}.s-fb{background:#1877f2}.s-x{background:#111}.s-tg{background:#229ed9}.s-in{background:#0a66c2}.s-copy{background:#6b7280}
.share a:hover{color:#fff;opacity:.88}
.share .copied{background:#16a34a}
.fs-tools{display:flex;gap:6px}
.fs-tools button{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:6px;padding:5px 10px;font-weight:700}
.post-figure{margin:16px 0 18px}
.post-figure img{width:100%;border-radius:6px}
.post-figure figcaption,.post-content figcaption{font-size:14px;color:var(--muted);padding:8px 2px 0;line-height:1.5}
.credit{font-style:italic}
.post-content{font-size:var(--post-fs);line-height:1.85;overflow-wrap:break-word}
.post-content p{margin:0 0 1.1em}
.post-content h2{font-size:1.3em;margin:1.4em 0 .6em}
.post-content h3{font-size:1.15em;margin:1.3em 0 .5em}
.post-content a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}
.post-content img{border-radius:6px;margin:0 auto}
.post-content figure{margin:1.4em 0}
.post-content blockquote{margin:1.4em 0;padding:14px 18px;border-left:4px solid var(--primary);background:var(--soft);border-radius:0 6px 6px 0;font-weight:500}
.post-content ul,.post-content ol{padding-left:1.4em;margin:0 0 1.1em}
.post-content li{margin-bottom:.4em}
.post-content table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:.9em;display:block;overflow-x:auto}
.post-content th,.post-content td{border:1px solid var(--line);padding:8px 10px;text-align:left}
.post-content th{background:var(--soft)}
.post-content iframe{max-width:100%;border:0}
.post-content .video,.post-content .embed{position:relative;aspect-ratio:16/9;margin:1.4em 0}
.post-content .video iframe{position:absolute;inset:0;width:100%;height:100%}
.post-content hr{border:0;border-top:1px solid var(--line);margin:2em 0}
.post-content .highlight,.post-content .note{background:#fff7e0;border:1px solid #f2d27a;padding:12px 16px;border-radius:6px}
html.dark .post-content .highlight,html.dark .post-content .note{background:#2b2513;border-color:#5c4a17}
.post-content .also-read{font-weight:600}
.post-content .also-read strong{color:var(--text);font-weight:800;margin-right:4px}
.post-content .also-read a{color:var(--primary) !important;text-decoration:none !important;font-weight:600}
.post-content .also-read a:hover{text-decoration:underline !important}
.post-source{font-size:14px;color:var(--muted)}
.post-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:20px 0}
.post-tags a{background:var(--soft);border:1px solid var(--line);padding:4px 12px;border-radius:20px;font-size:14px}
.post-tags a:hover{border-color:var(--primary)}
.share-bottom{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:20px;font-weight:700}
.author-box{display:grid;grid-template-columns:88px minmax(0,1fr);gap:18px;align-items:start;background:var(--soft);border:1px solid var(--line);padding:18px 20px;border-radius:var(--radius);margin-bottom:20px}
.author-box .avatar{width:88px;height:88px;font-size:34px;box-shadow:0 0 0 3px var(--surface),0 0 0 5px var(--primary)}
.ab-img{line-height:0;margin-top:4px}
.ab-kicker{margin:0 0 2px !important;font-size:12.5px !important;font-weight:700;letter-spacing:.3px;color:var(--muted);text-transform:uppercase}
.author-box .ab-name{font-size:20px;margin:0 0 4px;line-height:1.3}
.author-box .ab-name a{color:var(--text)}.author-box .ab-name a:hover{color:var(--primary)}
.author-box p{margin:4px 0;font-size:15px}
.ab-bio{color:var(--text);line-height:1.6}
.ab-more{font-weight:700;white-space:nowrap}
.ab-role-in{font-weight:700;color:var(--text)}
.ab-bio-more{margin:4px 0;font-size:15px;line-height:1.6}
.ab-bio-more summary{list-style:none;cursor:pointer}
.ab-bio-more summary::-webkit-details-marker{display:none}
.ab-toggle{color:var(--primary);font-weight:700;white-space:nowrap}
.ab-bio-more[open] summary{display:none}
.ab-bio-more .ab-bio{margin:0}
.ab-role{color:var(--primary);font-weight:600;font-size:14px !important}
.author-box .social a{background:var(--surface);color:var(--text)}
.related{padding:16px 0 0}
.progress{position:fixed;left:0;top:0;height:3px;width:100%;z-index:60;pointer-events:none}
.progress span{display:block;height:100%;width:0;background:var(--primary)}
.preview-bar{background:#fef3c7;color:#92400e;padding:10px 14px;border-radius:var(--radius);margin-bottom:12px;font-weight:700}

/* Google News follow */
.gnews-follow{display:flex;align-items:center;gap:12px;border:1px solid #d2e3fc;background:#e8f0fe;color:#174ea6;padding:12px 16px;border-radius:var(--radius);margin:0 0 20px;font-size:15.5px}
.gnews-follow svg{width:28px;height:28px;color:#1a73e8;flex-shrink:0}
.gnews-follow:hover{color:#174ea6;background:#dbe7fd}
html.dark .gnews-follow{background:#15233b;border-color:#28406a;color:#aecbfa}

/* Web Stories */
.story-strip{background:var(--surface);border-radius:var(--radius);padding:16px;margin-bottom:20px}
.story-row{display:grid;grid-auto-flow:column;grid-auto-columns:170px;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:thin}
.story-card{position:relative;display:block;aspect-ratio:3/4;border-radius:12px;overflow:hidden;background:var(--soft);scroll-snap-align:start;color:#fff}
.story-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.story-card:hover img{transform:scale(1.05)}
.story-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,0) 45%,rgba(0,0,0,.85))}
.story-card:hover{color:#fff}
.story-title{position:absolute;left:10px;right:10px;bottom:10px;z-index:1;font-weight:700;font-size:15px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.story-ico{position:absolute;top:8px;left:8px;right:8px;z-index:1;display:flex;gap:3px}
.story-ico i{flex:1;height:3px;border-radius:2px;background:rgba(255,255,255,.75)}
.story-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-bottom:20px}
@media (max-width:768px){.story-row{grid-auto-columns:140px}.story-grid{grid-template-columns:repeat(2,1fr);gap:10px}.story-title{font-size:14px}}

/* Archive */
.archive-head{margin-bottom:16px}
.archive-head h1{font-size:28px;font-weight:800;margin:0;border-left:5px solid var(--primary);padding-left:12px}
.archive-head .muted{margin:8px 0 0}
.archive-head .subcats{margin:12px 0 0}
.author-hero{display:flex;gap:18px;align-items:center}
.author-hero .avatar{width:96px;height:96px;font-size:36px}
.author-hero h1{border:0;padding:0}
.archive-top{background:var(--surface);padding:16px;border-radius:var(--radius);margin-bottom:16px}
.archive-list{background:var(--surface);border-radius:var(--radius);padding:4px 16px}
.card-archive{display:grid;grid-template-columns:260px 1fr;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}
.card-archive:last-child{border:0}
.card-archive .card-title{font-size:20px;line-height:1.4}
.empty{background:var(--surface);padding:30px;text-align:center;border-radius:var(--radius)}
.pagination{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:20px 0}
.pagination a,.pagination span{min-width:40px;height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background:var(--surface);border:1px solid var(--line);font-weight:600}
.pagination .current{background:var(--primary);border-color:var(--primary);color:#fff}
.search-inline{margin-top:12px}
.notfound{text-align:center;padding:40px 16px;margin-bottom:20px}
.notfound h1{font-size:80px;color:var(--primary);margin:0;line-height:1}
.notfound .search-inline{max-width:480px;margin:18px auto}
.static-page .post-content{font-size:17.5px}

/* Footer: logo + important links (centre), about | apps + follow, copyright */
.site-footer{--f-bg:var(--secondary);--f-text:#c9d1dc;--f-head:#fff;--f-line:rgba(255,255,255,.12);--f-chip:rgba(255,255,255,.08);--f-btn:#0b0f17;--f-btn-text:#fff;
  background:var(--f-bg);color:var(--f-text);margin-top:24px;font-size:15px}
.site-footer.f-light{--f-bg:var(--surface);--f-text:var(--muted);--f-head:var(--text);--f-line:var(--line);--f-chip:var(--soft);--f-btn:#111827;--f-btn-text:#fff;border-top:1px solid var(--line)}
html.dark .site-footer.f-light{--f-bg:var(--surface);--f-btn:#000}
.site-footer a:hover{color:var(--f-head)}
.site-footer ul{list-style:none;margin:0;padding:0}
.f-top{text-align:center;padding:30px 0 18px;border-bottom:1px solid var(--f-line)}
.logo-footer{display:inline-block;margin-bottom:6px}
.logo-footer .logo-text{color:var(--f-head);font-size:26px}
.logo-footer img{max-height:60px;width:auto;max-width:260px;margin:0 auto}
.f-title{color:var(--f-head);font-size:20px;font-weight:700;margin:8px 0 10px}
.f-menu ul{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px}
.f-menu a{font-size:14.5px;color:var(--f-text)}
.f-menu a:hover{color:var(--primary)}
.site-footer:not(.f-light) .f-menu a:hover{color:#fff}
.f-cats{margin-top:12px}.f-cats a{font-size:13.5px;opacity:.85}
.f-cols{display:grid;grid-template-columns:1fr 1fr;padding:22px 0 24px}
.f-about{padding-right:28px;border-right:1px solid var(--f-line)}
.f-about p{margin:0 0 10px;line-height:1.7}
.f-contact{margin:4px 0;font-size:14px}
.f-contact a{color:inherit}
.f-side{padding-left:28px;display:flex;flex-direction:column;align-items:center;text-align:center}
.f-apps{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:14px;width:100%}
.app-btn{display:inline-flex;align-items:center;gap:10px;background:var(--f-btn);color:var(--f-btn-text) !important;border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:9px 18px;min-width:200px;flex:1;max-width:260px;justify-content:center}
.app-btn svg{width:24px;height:24px;flex-shrink:0}
.app-btn span{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15;font-size:18px;font-weight:700;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.app-btn small{font-size:11px;font-weight:500;letter-spacing:.3px;text-transform:uppercase;opacity:.9}
.app-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.25)}
.f-label{font-size:14px;font-weight:600;color:var(--f-head);margin:0 0 8px;padding-top:10px;border-top:1px solid var(--f-line);min-width:60%}
.f-apps+.f-label,.f-side>.f-label:first-child{border-top:0;padding-top:0}
.f-apps+.f-label{border-top:1px solid var(--f-line);padding-top:10px}
.site-footer .f-social{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0}
.site-footer .f-social a{width:42px;height:42px;background:var(--f-chip);color:var(--f-head)}
.site-footer .f-social a:hover{background:var(--primary);color:#fff}
.site-footer .f-social svg{width:18px;height:18px}
.copyright{border-top:1px solid var(--f-line);padding:14px 0;font-size:13.5px;text-align:center}
.to-top{position:fixed;right:16px;bottom:calc(16px + var(--anchor-ad,0px) + env(safe-area-inset-bottom,0px));transition:bottom .2s;width:44px;height:44px;border-radius:50%;border:0;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.2);z-index:30}
.to-top[hidden]{display:none}

/* Responsive */
@media (max-width:1100px){
  .hero{grid-template-columns:minmax(0,1fr)}
  .home-pair{grid-template-columns:minmax(0,1fr)}
  .layout{grid-template-columns:minmax(0,1fr) 300px}
}
@media (max-width:900px){
  .layout{grid-template-columns:minmax(0,1fr)}
  .layout>*{min-width:0}
  .sidebar{position:static}
  .hero-block{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-pair{grid-template-columns:minmax(0,1fr)}
  .hero-block>.card-big{grid-column:1/-1;grid-row:auto}
  .grid-4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
  body{font-size:15.5px}
  .topbar .top-links{display:none}
  .topbar-in{justify-content:space-between}
  .header-in{min-height:60px;gap:6px}
  .menu-btn{display:inline-flex}
  .logo{flex:1;align-items:center;text-align:center}
  .logo img{max-height:44px}
  .logo-text{font-size:23px}
  .tagline{display:none}
  .header-ad{display:none}
  .header-actions{margin-left:0}
  .theme-btn{display:none}
  .nav-list>li>a{padding:9px 11px;font-size:15.5px}
  .has-sub .sub{display:none !important}
  .main{padding-top:10px}
  .card-big .card-title,.hero-block .card-big .card-title{font-size:21px}
  .pm-grid{grid-template-columns:1fr}
  .gl3-list{grid-template-columns:1fr}
  .mini-grid{grid-template-columns:1fr;gap:12px}
  .big-split .card-list{grid-template-columns:118px 1fr}
  .gl3-list li{border-bottom:1px dashed var(--line)}.gl3-list li:last-child{border-bottom:0}
  .pm-left{padding-right:0;border-right:0;margin-right:0}
  .pm-list{padding-left:0;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
  .pm-list li{padding-left:18px}
  .pm-list li:first-child{padding-top:9px}.pm-list li:first-child::before{top:17px}
  .block-split,.cat-block.style-2 .block-split{grid-template-columns:1fr}
  .cat-block.style-2 .block-split>div:first-child{order:0}
  .grid-3{grid-template-columns:1fr 1fr}
  .card-grid .card-title{font-size:15px}
  .post{padding:14px}
  .post-title{font-size:25px}
  .post-subtitle{font-size:17px}
  .post-tools{flex-wrap:wrap}
  :root{--post-fs:18px}
  .card-archive{grid-template-columns:120px 1fr;gap:12px;padding:12px 0}
  .card-archive .card-title{font-size:16px}
  .card-archive .card-excerpt{display:none}
  .card-archive .badge{display:none}
  .archive-head h1{font-size:22px}
  .author-hero{flex-direction:column;text-align:center}
  .f-cols{grid-template-columns:1fr;gap:18px}
  .f-about{padding-right:0;border-right:0;border-bottom:1px solid var(--f-line);padding-bottom:16px;text-align:center}
  .f-side{padding-left:0}
  .f-menu ul{gap:6px 16px}
  .copyright .wrap{padding-left:56px;padding-right:56px} /* room for the "back to top" button */
  .widget,.cat-block,.hero-latest,.archive-head{padding:12px}
  .breadcrumb span:last-child{max-width:30ch}
}
@media (max-width:600px){
  .hero-block{grid-template-columns:1fr 1fr;gap:14px 12px}
  .hero-block>.card:nth-child(10){display:none} /* 2 columns: 8 small cards, no single one left alone */
}
@media (max-width:420px){
  .post-meta{gap:10px}.pm-avatar .avatar{width:42px;height:42px}.pm-ph svg{width:26px;height:26px}
  .pm-line{font-size:14px}.share-toggle{width:42px;height:42px}.share-toggle svg{width:22px;height:22px}
  .logo-text{font-size:20px;white-space:nowrap;letter-spacing:-.3px}
  .grid-4,.grid-3{grid-template-columns:1fr 1fr;gap:12px}
  .card-list{grid-template-columns:100px 1fr}
  .share a,.share button{width:34px;height:34px}
}
/* ===== Rashifal ===== */
.rs-ic{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;flex-shrink:0;box-shadow:inset 0 -3px 0 rgba(0,0,0,.14);transition:transform .2s}
.rs-ic svg{width:100%;height:100%;fill:#fff}
.rs-fire{background:linear-gradient(145deg,#f0642c,#c81e1e)}.rs-earth{background:linear-gradient(145deg,#4caf50,#1f7a3a)}
.rs-air{background:linear-gradient(145deg,#38bdf8,#1d6fb8)}.rs-water{background:linear-gradient(145deg,#7c8cf8,#3b3fb0)}
.rs-home{background:var(--surface);border-radius:var(--radius);padding:16px;margin-bottom:20px}
.rs-date{font-size:14px;color:var(--muted);margin:-6px 0 10px}
.rs-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px}
.rs-item{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 2px;border-radius:10px;text-align:center}
.rs-item:hover{background:var(--soft)}.rs-item:hover .rs-ic{transform:translateY(-2px)}
.rs-item b{font-size:15px}
.rs-page{background:var(--surface);border-radius:var(--radius);padding:18px}
.rs-page h1{font-size:28px;margin:0 0 4px}
.rs-by{font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 14px;margin-bottom:14px}
.rs-by b{color:var(--text)}
.panchang{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 12px;background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:14px}
.panchang div{font-size:13px;color:var(--muted)}.panchang b{display:block;font-size:15px;color:var(--text)}
.rs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.rs-card{border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:start}
.rs-card:hover{border-color:var(--primary)}
.rs-card h2{font-size:19px;margin:0}
.rs-card .al{font-size:12.5px;color:var(--muted);margin:1px 0 6px}
.rs-card p{margin:0;font-size:14.5px;line-height:1.5;color:var(--text)}
.rs-card .go{font-size:13.5px;color:var(--primary);font-weight:700;display:inline-block;margin-top:6px}
.rs-tabs{display:flex;gap:6px;overflow-x:auto;padding:4px 2px 12px;margin-bottom:14px;border-bottom:1px solid var(--line);scrollbar-width:none}
.rs-tabs::-webkit-scrollbar{display:none}
.rs-tabs a{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:58px;font-size:12.5px;font-weight:600;padding:4px 2px;border-radius:8px}
.rs-tabs .rs-ic{width:40px;height:40px}
.rs-tabs a.on{background:var(--soft);outline:2px solid var(--primary)}
.rs-head{display:flex;gap:16px;align-items:center;margin-bottom:6px}
.rs-head .rs-ic{width:84px;height:84px}
.rs-head .al{font-size:14px;color:var(--muted)}
.rs-note{background:#fff7e6;border:1px solid #f5d18a;color:#7a4b00;border-radius:10px;padding:10px 12px;font-size:14.5px;margin:10px 0}
html.dark .rs-note{background:#2a2112;border-color:#5c4518;color:#f3cf8a}
.rs-today{font-size:17.5px;line-height:1.75}.rs-today p{margin:0 0 .8em}
.rs-areas{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:14px 0}
.rs-areas div{border:1px solid var(--line);border-radius:10px;padding:10px;text-align:center;font-size:13.5px}
.rs-areas b{display:block;font-size:15px;margin-bottom:2px}
.stars{color:#f5a300;letter-spacing:1px;font-size:15px}.stars i{color:var(--line);font-style:normal}
.rs-lucky{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:var(--soft);border-radius:10px;padding:12px;margin-bottom:22px}
.rs-lucky div{font-size:13px;color:var(--muted)}.rs-lucky b{display:block;font-size:15.5px;color:var(--text)}
.rs-lucky .dot{display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:-1px;margin-right:5px;border:1px solid rgba(0,0,0,.15)}
.rs-sec{font-size:21px;border-bottom:2px solid var(--line);padding-bottom:6px;margin:6px 0 12px;font-weight:800}
.rs-sec span{border-bottom:3px solid var(--primary);padding-bottom:6px}
.rs-sub{font-size:18px;margin:4px 0 6px}
.rs-month-sum{font-size:16px;line-height:1.7}.rs-month-sum p{margin:0 0 .7em}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-bottom:8px}
.cal .wd{font-size:12.5px;text-align:center;color:var(--muted);font-weight:700}
.cal .d{aspect-ratio:1.6;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;border:1px solid var(--line);background:var(--soft)}
.cal .g{background:#e6f6ea;border-color:#b9e2c3;color:#1f7a3a}.cal .c{background:#fdeee4;border-color:#f6c9a8;color:#b4480c}
.cal .t{outline:3px solid var(--primary);outline-offset:1px}
html.dark .cal .g{background:#12301b;color:#8fe0a6;border-color:#1f5a30}html.dark .cal .c{background:#3a2112;color:#f7b27f;border-color:#6a3a1a}
.legend{display:flex;gap:16px;font-size:13px;color:var(--muted);margin-bottom:16px;flex-wrap:wrap}
.legend span::before{content:"";display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.legend .lg::before{background:#7cc98f}.legend .lc::before{background:#f0a06b}.legend .ln::before{background:#cfd4db}
.days{list-style:none;margin:0;padding:0;columns:2;column-gap:22px}
.days li{break-inside:avoid;display:grid;grid-template-columns:56px 1fr;gap:10px;padding:8px 0;border-bottom:1px dashed var(--line);font-size:14.5px;line-height:1.5}
.days .dt{font-weight:800;text-align:center;border-radius:6px;padding:2px 0;font-size:13px;height:max-content;background:var(--soft);color:var(--muted)}
.days .dt small{display:block;font-weight:600;font-size:11px}
.days .g .dt{background:#e6f6ea;color:#1f7a3a}.days .c .dt{background:#fdeee4;color:#b4480c}
.days li.t{background:rgba(215,25,32,.06);border-radius:6px;padding-left:4px}
.rs-links{display:flex;flex-direction:column;gap:6px;margin:16px 0 0;font-weight:700;color:var(--primary)}
.rs-links a{color:var(--primary)}
.upd{font-size:13px;color:var(--muted);margin-top:14px}
@media (max-width:1100px){.rs-row{grid-template-columns:repeat(6,1fr)}}
@media (max-width:900px){.rs-grid{grid-template-columns:1fr 1fr}.rs-areas{grid-template-columns:repeat(3,1fr)}}
@media (max-width:600px){
 .rs-row{grid-template-columns:repeat(4,1fr);gap:4px}.rs-row .rs-ic{width:54px;height:54px}
 .rs-grid{grid-template-columns:1fr}.panchang{grid-template-columns:1fr 1fr}.rs-lucky{grid-template-columns:1fr 1fr}
 .rs-areas{grid-template-columns:1fr 1fr}.rs-areas div:last-child{grid-column:1/-1}.days{columns:1}
 .rs-page{padding:14px 10px;border-radius:0}.rs-home{padding:12px 10px;border-radius:0}.rs-page h1{font-size:23px}
 .rs-head .rs-ic{width:66px;height:66px}.rs-today{font-size:17px}
}

/* ===== Photo gallery ===== */
.gl-badge{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;gap:4px;background:rgba(0,0,0,.72);color:#fff;font-size:12.5px;font-weight:700;padding:2px 8px;border-radius:14px;line-height:1.5;pointer-events:none}
.gl-badge svg{width:14px;height:14px}
.gl-chips{display:flex;gap:8px;align-items:center;margin:2px 0 8px}
.gl-chip{display:inline-flex;align-items:center;gap:5px;background:#111;color:#fff;font-size:13px;font-weight:700;padding:3px 10px;border-radius:20px}
.gl-chip svg{width:15px;height:15px}.gl-chip-n{background:var(--primary)}
.post-header .gl-chips+.post-title{margin-top:0}
.gl-progress{position:sticky;top:48px;z-index:6;background:var(--surface);border-bottom:1px solid var(--line);margin:14px -16px 0;padding:8px 16px;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700}
.gl-progress i{flex:1;height:4px;background:var(--line);border-radius:4px;overflow:hidden}
.gl-progress b{display:block;height:100%;background:var(--primary);transition:width .3s}
.gl-item{margin:22px 0 0;padding-bottom:22px;border-bottom:1px solid var(--line)}
.gl-item:last-child{border-bottom:0}
.gl-fig{position:relative;border-radius:10px;overflow:hidden;background:#0b0b0b;display:flex;justify-content:center}
.gl-fig img{width:auto;max-width:100%;height:auto;max-height:78vh;object-fit:contain}
.gl-num{position:absolute;left:12px;top:12px;background:rgba(0,0,0,.72);color:#fff;font-weight:800;font-size:14px;padding:4px 12px;border-radius:20px;display:inline-flex;gap:6px;align-items:center}
.gl-num svg{width:15px;height:15px}
.gl-fig .pm-share{position:absolute;right:12px;top:12px}
.gl-fig .share-toggle{background:rgba(0,0,0,.6);color:#fff;border-color:transparent}
.gl-item figcaption{color:var(--text);font-size:inherit;text-align:left;padding:0;margin:0;background:none;border:0}
.post-content .gl-title,.gl-title{font-size:22px;margin:14px 0 6px;line-height:1.4;color:var(--text);font-weight:800}
.gl-title span{color:var(--primary);font-weight:800}
.gl-item figcaption p{font-size:var(--post-fs);line-height:1.75;margin:0 0 6px}
.gl-credit{font-size:13px;color:var(--muted)}
.gl-ad{margin:22px 0 0}
.gl-home{background:#12151c;color:#fff;border-radius:var(--radius);padding:16px;margin-bottom:20px}
.gl-home .section-head{border-color:rgba(255,255,255,.15)}.gl-home .section-head h2,.gl-home .section-head a{color:#fff}
.gl-home-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;grid-auto-rows:1fr;gap:14px}
.gl-home-grid.gl-n1{grid-template-columns:1fr}.gl-home-grid.gl-n1 .gl-card:first-child img{aspect-ratio:21/9;max-height:460px}
.gl-home-grid.gl-n2{grid-template-columns:1fr 1fr}.gl-home-grid.gl-n2 .gl-card:first-child{grid-row:auto}.gl-home-grid.gl-n2 .gl-card:first-child img{aspect-ratio:3/2}
.gl-home-grid.gl-n3{grid-template-columns:1.6fr 1fr}
.gl-home-grid .gl-card:first-child{grid-row:span 2}
.gl-card{position:relative;border-radius:10px;overflow:hidden;display:block;background:#000;min-height:0;color:#fff}
.gl-card img,.gl-card .img-ph{width:100%;height:100%;object-fit:cover;aspect-ratio:3/2;display:block}
.gl-home-grid .gl-card:first-child img{aspect-ratio:auto}
.gl-card .gl-cap{position:absolute;left:0;right:0;bottom:0;padding:44px 12px 12px;background:linear-gradient(transparent,rgba(0,0,0,.88));font-weight:700;font-size:15.5px;line-height:1.4}
.gl-home-grid .gl-card:first-child .gl-cap{font-size:22px;padding:60px 16px 16px}
.gl-card .gl-badge{position:static;background:var(--primary);margin-bottom:6px;display:inline-flex}
.gl-card:hover{color:#fff}.gl-card:hover img{transform:scale(1.03)}.gl-card img{transition:transform .3s}
@media (max-width:768px){
 .gl-progress{margin:10px -10px 0;padding:8px 10px;top:42px}
 .gl-title{font-size:20px}
 .gl-home{padding:12px 10px;border-radius:0}
 .gl-home-grid{grid-template-columns:1fr 1fr;grid-auto-rows:auto}
 .gl-home-grid .gl-card:first-child{grid-column:1/-1;grid-row:auto}
 .gl-home-grid .gl-card:first-child img{aspect-ratio:3/2}
 .gl-home-grid .gl-card:first-child .gl-cap{font-size:19px}
 .gl-card .gl-cap{font-size:14px;padding:36px 10px 10px}
}

@media print{
  .topbar,.nav-sticky,.main-nav,.ticker,.follow-bar,.sidebar,.share,.post-tools,.ad,.related,.site-footer,.to-top,.author-box{display:none !important}
  .layout{display:block}
}

/* Mobile: 10px left/right gap everywhere so content uses the full screen width */
@media (max-width:768px){
  .wrap{padding-left:10px;padding-right:10px}
  .widget,.cat-block,.hero-latest,.archive-head,.related,.notfound,.hero-block,.story-strip,.archive-top,.post,.static-page,.rs-home,.rs-page{padding-left:10px;padding-right:10px}
  .archive-list{padding-left:10px;padding-right:10px}
  /* cards run edge to edge, text keeps exactly 10px from the screen edge */
  .main.wrap{padding-left:0;padding-right:0}
  .widget,.cat-block,.hero-latest,.archive-head,.related,.notfound,.hero-block,.story-strip,.archive-top,.archive-list,.post,.empty,.rs-home,.rs-page{border-radius:0}
  .main>.breadcrumb,.main>.story-grid,.main>.pagination,.main>.preview-bar,.main>section:not([class]),.content>.pagination{padding-left:10px;padding-right:10px}
  .main>.ad,.content>.ad,.sidebar>.ad{margin-left:10px;margin-right:10px;max-width:calc(100% - 20px)}
  .related{padding-left:0;padding-right:0}
  .post-content blockquote{padding:12px 12px}
  .logo-footer img{max-height:48px}
  .app-btn{min-width:0;padding:8px 12px}.app-btn span{font-size:16px}
}

/* Follow on Google News + share (below the story) */
.follow-bar{display:flex;align-items:center;gap:14px;padding:14px 16px;margin:0 0 20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.fb-left{flex:1;min-width:0;display:flex;align-items:center;gap:14px;color:var(--text)}
.fb-left:hover{color:var(--text)}
.gn-badge{flex-shrink:0;width:48px;height:48px}
.fb-text{font-size:17px;line-height:1.55}
.fb-text .gn{color:#1a4fa0;font-weight:800}
.fb-text .sn{color:var(--primary);font-weight:800}
html.dark .fb-text .gn{color:#8ab4f8}
.share-red{border-color:var(--primary);color:var(--primary);width:52px;height:52px}
.share-red svg{width:26px;height:26px}
.share-pop-up{top:auto;bottom:calc(100% + 8px)}
@media (max-width:420px){
  .follow-bar{padding:12px;gap:10px}.fb-left{gap:10px}
  .gn-badge{width:40px;height:40px}.fb-text{font-size:15px}
  .share-red{width:44px;height:44px}.share-red svg{width:22px;height:22px}
}

/* Next Story (latest stories one after another below the article) */
.next-stories{min-height:40px}
.next-story.post{padding:6px 0 26px}
.next-story .post-title a{color:inherit}.next-story .post-title a:hover{color:var(--primary)}
.next-story .ns-body{margin-top:4px}
.ns-label{display:flex;align-items:center;gap:14px;margin:18px 0 16px;font-size:20px;font-weight:700;color:var(--text)}
.ns-label::before,.ns-label::after{content:"";flex:1;height:2px;background:var(--text);opacity:.85}
.ns-body{position:relative}
.ns-clip{max-height:190px;overflow:hidden}
.ns-clip::after{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(to bottom,transparent,var(--surface))}
.ns-more-wrap{text-align:center;margin:10px 0 0}
.ns-more{display:inline-block;border:1.5px solid var(--primary);color:var(--primary);background:var(--surface);border-radius:999px;padding:8px 24px;font-weight:700;font-size:15px}
.ns-more:hover{background:var(--primary);color:#fff}
.ns-more.loading{opacity:.6;pointer-events:none}
.next-stories .ad{margin:10px 0 18px}
@media (max-width:420px){.ns-label{font-size:18px}}
@media print{.next-stories{display:none}}

/* ---- Auto ads / CLS guards ----
   1) Nothing may make the page wider than the screen (auto ads sometimes add wide elements; on phones the
      whole page then slides sideways and fixed buttons like "back to top" end up off-screen).
      overflow-x:clip (not hidden) so the sticky menu keeps working. */
@supports (overflow-x:clip){html,body{overflow-x:clip}}
.layout,.content,.post,.post-content{min-width:0}
.post-content ins.adsbygoogle,.ad ins.adsbygoogle{max-width:100%}
/* 2) Our own ad slots keep their space while the ad loads (no jump); an unfilled slot collapses. */
@media (max-width:768px){
  .ad-after_title,.ad-in-article,.ad-after_article,.ad-home_middle,.ad-next_story{min-height:280px}
  .ad:has(ins.adsbygoogle[data-ad-status="unfilled"]){min-height:0}
  .ad ins.adsbygoogle[data-ad-status="unfilled"]{display:none!important}
}

/* Author profile: stats, beat, follow button */
.author-hero{align-items:flex-start}
.author-hero .avatar{width:110px;height:110px;font-size:40px;flex-shrink:0}
.ah-body{min-width:0;flex:1}
.ah-body h1{margin:0 0 2px}
.ah-stats{margin:6px 0;font-size:15px;color:var(--muted)}.ah-stats strong{color:var(--text)}
.ah-beat,.ab-beat{margin:6px 0;font-size:14.5px}
.ah-beat span{display:inline-block;background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:1px 10px;margin:2px 4px 2px 0;font-size:13.5px}
.ah-bio{margin:8px 0;line-height:1.65}
.ah-actions,.ab-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}
.ah-actions .social a,.ab-actions .social a{background:var(--soft);color:var(--text);border:1px solid var(--line);width:34px;height:34px}
.ah-actions .social a:hover,.ab-actions .social a:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.ah-mail{display:flex;align-items:center;gap:6px;margin:10px 0 0;font-size:14.5px}.ah-mail svg{width:17px;height:17px;color:var(--muted)}
.follow-wrap{position:relative}
.follow-btn{display:inline-flex;align-items:center;gap:6px;background:var(--primary);color:#fff !important;border:0;border-radius:999px;padding:7px 16px 7px 12px;font-weight:700;font-size:15px;cursor:pointer;line-height:1.3}
.follow-btn svg{width:18px;height:18px}
.follow-btn:hover{filter:brightness(.93)}
.follow-pop{position:absolute;left:0;top:calc(100% + 6px);z-index:30;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:6px;min-width:220px}
.follow-pop a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;color:var(--text);font-size:14.5px;white-space:nowrap}
.follow-pop a:hover{background:var(--soft);color:var(--primary)}
.follow-pop svg{width:18px;height:18px}
@media (max-width:600px){
  .author-hero{flex-direction:column;align-items:center;text-align:center}
  .ah-actions{justify-content:center}.ah-mail{justify-content:center}
  .follow-pop{left:50%;transform:translateX(-50%)}
}

/* Team page ([team] in a page) */
.team{margin-top:10px}
.team-group h2{font-size:21px;margin:26px 0 14px;padding-bottom:8px;border-bottom:2px solid var(--primary);display:inline-block}
.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.team-card{display:flex;gap:14px;background:var(--soft);border:1px solid var(--line);border-radius:var(--radius);padding:16px}
.tc-img{flex-shrink:0;line-height:0}
.tc-img .avatar{width:84px;height:84px;font-size:32px}
.tc-body{min-width:0;flex:1}
.post-content .tc-name{font-size:19px;margin:0 0 2px;line-height:1.3}
.post-content .tc-name a{color:var(--text);text-decoration:none}.post-content .tc-name a:hover{color:var(--primary)}
.post-content .team-card p{margin:4px 0;font-size:14.5px;line-height:1.55}
.tc-stats{color:var(--muted)}.tc-stats strong{color:var(--text)}
.post-content .tc-more{display:inline-block;margin-top:4px;font-size:14px;font-weight:600;color:var(--primary);text-decoration:none}
.team-card .ah-actions{margin-top:10px}
.post-content .team-card .social a{text-decoration:none}
.post-content a.follow-btn,.post-content .follow-pop a{text-decoration:none}
.ah-team{margin:8px 0 0;font-size:14.5px}.ah-team a{font-weight:600}
@media (max-width:700px){.team-grid{grid-template-columns:1fr}}
@media (max-width:420px){.team-card{flex-direction:column;align-items:center;text-align:center}.team-card .ah-actions{justify-content:center}.team-card .follow-pop{left:50%;transform:translateX(-50%)}}

/* WhatsApp channel bar under the featured image */
.wa-cta{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:12px 14px;border:1px solid #bfe8cd;background:#eefbf2;border-radius:var(--radius);color:#0b3d1f;text-decoration:none}
.wa-cta:hover{color:#0b3d1f;background:#e3f8ea}
.wa-ico{flex-shrink:0;width:42px;height:42px;border-radius:50%;background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center}
.wa-ico svg{width:24px;height:24px}
.wa-text{flex:1;min-width:0;font-weight:600;font-size:15.5px;line-height:1.45}
.wa-btn{flex-shrink:0;background:#25d366;color:#fff;font-weight:700;font-size:14.5px;padding:8px 16px;border-radius:999px;white-space:nowrap}
.wa-cta:hover .wa-btn{background:#1ebe5b}
html.dark .wa-cta{background:#10281a;border-color:#1f5134;color:#d5f5e0}
@media (max-width:420px){.wa-cta{gap:10px;padding:10px 12px}.wa-ico{width:36px;height:36px}.wa-ico svg{width:20px;height:20px}.wa-text{font-size:14px}.wa-btn{padding:7px 12px;font-size:13.5px}}
@media print{.wa-cta{display:none}}

/* Author box on phones: photo on top, everything centred */
@media (max-width:600px){
  .author-box{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:20px 14px}
  .ab-img{margin-top:0}
  .author-box .avatar{width:92px;height:92px;font-size:36px}
  .author-box .ah-beat{text-align:center}
  .author-box .ab-actions{justify-content:center}
  .author-box .follow-pop{left:50%;transform:translateX(-50%)}
}
