/* CNTV Bihar — public site
   Palette taken from the logo: royal blue lettering, saffron / silver / green strokes,
   and the red-to-maroon underline. */
:root {
    --neel: #16307A;
    --neel-deep: #0E1D4D;
    --blue: #2458C6;
    --kesari: #E8651F;
    --silver: #C3C9D6;
    --hara: #1E8C45;
    --sindoor: #D42A2A;
    --maroon: #6A1C1C;
    --ink: #141A33;
    --muted: #5A6282;
    --line: #E2E6F0;
    --surface: #F2F4F9;
    --paper: #FFFFFF;
    --f-display: 'Khand', 'Mukta', sans-serif;
    --f-ui: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-read: 'Noto Serif Devanagari', 'Mukta', Georgia, serif;
    --radius: 6px;
    --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--f-ui);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--neel); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Signature: the tilak stripe (saffron / silver / green, slanted like the logo strokes) ---------- */
.tilak {
    display: inline-block;
    width: 15px;
    height: 0.95em;
    margin-right: 10px;
    vertical-align: -0.08em;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, var(--kesari) 0 33.3%, var(--silver) 33.3% 66.6%, var(--hara) 66.6%);
    border-radius: 1px;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.topbar-in { display: flex; align-items: center; gap: 20px; min-height: 36px; }
.today i { margin-right: 4px; }
.topbar-links { display: flex; gap: 16px; margin-left: auto; }
.topbar-links a:hover { color: var(--neel); }
.social { display: flex; gap: 6px; }
.social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--neel); }
.social a:hover { background: var(--neel); color: #fff; }

/* ---------- Masthead ---------- */
.masthead { background: var(--paper); }
.masthead-in { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.brand img { width: 190px; height: auto; }
.brand-tag { font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--maroon); margin-top: 2px; letter-spacing: .01em; }
.masthead-ad { margin-left: auto; max-width: 728px; flex: 1; display: flex; justify-content: flex-end; }
.masthead-ad img { max-height: 110px; width: auto; border-radius: 4px; }
.masthead-ad .ad-slot { margin: 0; padding: 0; background: none; border: 0; }
.masthead-ad .ad-label { display: none; }
.rule { height: 3px; background: linear-gradient(90deg, var(--sindoor) 0%, var(--sindoor) 65%, var(--maroon) 100%); }
.icon-btn { display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 50%; color: var(--neel); font-size: 1.35rem; }
.icon-btn:hover { background: var(--surface); }

/* ---------- Category nav ---------- */
.catnav { background: var(--neel); position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 10px rgba(14, 29, 77, .18); }
.catnav-in { display: flex; align-items: center; gap: 16px; }
.catnav ul { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav li a {
    display: block;
    white-space: nowrap;
    padding: 11px 14px 9px;
    color: #fff;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 1.15rem;
    border-bottom: 3px solid transparent;
}
.catnav li a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.catnav li a.on { border-bottom-color: var(--kesari); background: rgba(255, 255, 255, .06); }
.nav-search { display: flex; background: rgba(255, 255, 255, .12); border-radius: 20px; overflow: hidden; }
.catnav .nav-search input { background: none; border: 0; color: #fff; padding: 6px 14px; width: 190px; font: inherit; font-size: .95rem; }
.nav-search input::placeholder { color: rgba(255, 255, 255, .7); }
.nav-search input:focus { outline: none; }
.nav-search:focus-within { background: rgba(255, 255, 255, .22); }
.nav-search button { background: none; border: 0; color: #fff; padding: 0 12px; }

.searchbar { background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 0; }
.searchbar form { display: flex; gap: 8px; }
.searchbar input { flex: 1; }

/* ---------- Drawer (mobile menu) ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(14, 29, 77, .5); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer-panel { width: min(300px, 85vw); height: 100%; background: var(--paper); transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 3px solid var(--sindoor); }
.drawer-head .icon-btn { display: grid; place-items: center; }
.drawer ul { list-style: none; margin: 0; padding: 8px 0; }
.drawer li a { display: block; padding: 11px 20px; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; border-bottom: 1px solid var(--line); }

/* ---------- Breaking ticker ---------- */
.ticker { border-bottom: 1px solid var(--line); background: var(--paper); }
.ticker-in { display: flex; align-items: stretch; min-height: 44px; }
.ticker-label {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
    background: var(--sindoor); color: #fff; padding: 0 16px;
    font-family: var(--f-display); font-weight: 700; font-size: 1.1rem;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    padding-right: 24px;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; display: inline-block; animation: pulse 1.4s ease-in-out infinite; }
.ticker-label .live-dot { background: #fff; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }
.ticker-viewport { overflow: hidden; flex: 1; min-width: 0; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker-track { display: flex; white-space: nowrap; animation: ticker var(--dur, 60s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-item { padding: 0 28px; font-weight: 500; position: relative; }
.ticker-item::after { content: ''; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--kesari); transform: rotate(45deg); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Shared bits ---------- */
.chip { display: inline-block; color: var(--kesari); font-weight: 700; font-size: .82rem; letter-spacing: .02em; margin-bottom: 4px; }
.chip:hover { color: var(--maroon); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: .82rem; color: var(--muted); }
.meta-author { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.meta-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.play {
    position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(212, 42, 42, .92); color: #fff; display: grid; place-items: center; font-size: .9rem;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .35);
}
.play i { margin-left: 3px; }
.play.lg { width: 58px; height: 58px; font-size: 1.3rem; left: 18px; bottom: 18px; }
.play.sm { width: 26px; height: 26px; font-size: .6rem; left: 6px; bottom: 6px; box-shadow: none; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 18px; }
.sec-title { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; line-height: 1.2; color: var(--neel); }
.sec-more { font-size: .9rem; font-weight: 600; color: var(--blue); white-space: nowrap; }
.sec-more:hover { color: var(--neel); }

/* ---------- Front page ---------- */
.front {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px;
    padding-top: 26px;
    padding-bottom: 10px;
}
.lead-img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.lead-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lead:hover .lead-img img { transform: scale(1.03); }
.lead-body { padding-top: 14px; }
.lead-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 2.5vw, 2.35rem); line-height: 1.18; margin-bottom: 10px; }
.lead-intro { color: #39405C; margin: 0 0 12px; font-size: 1.02rem; }
.front-second { display: flex; flex-direction: column; gap: 22px; }

.latest { background: var(--surface); border-top: 3px solid var(--sindoor); border-radius: 0 0 var(--radius) var(--radius); padding: 14px 16px; display: flex; flex-direction: column; }
.latest-head { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: var(--sindoor); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.latest-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.latest-list li { padding: 9px 0 9px 14px; border-bottom: 1px solid var(--line); position: relative; }
.latest-list li::before { content: ''; position: absolute; left: 0; top: 17px; width: 5px; height: 5px; border-radius: 50%; background: var(--kesari); }
.latest-list li:last-child { border-bottom: 0; }
.latest-list time { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; }
.latest-list a { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.latest-all { margin-top: 8px; font-weight: 600; color: var(--blue); font-size: .9rem; }

/* ---------- Layout with sidebar ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding-top: 28px; padding-bottom: 48px; }
.block { margin-bottom: 40px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; min-width: 0; }
.card-img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding-top: 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-title { font-family: var(--f-display); font-weight: 600; font-size: 1.22rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; padding-top: 6px; }
.card-feature .card-title { font-size: 1.5rem; line-height: 1.22; -webkit-line-clamp: 4; }
.card-wide { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.card-wide .card-body { padding-top: 0; }
.card-wide .card-title { font-size: 1.8rem; }
.list-lead { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }

.row-item { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row-item:first-child { padding-top: 0; }
.row-item:last-child { border-bottom: 0; }
.row-thumb { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: var(--surface); }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-title { font-family: var(--f-display); font-weight: 600; font-size: 1.07rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.cat-block-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }

/* Video band: the one dark section on the page */
.video-band { background: var(--neel-deep); border-radius: 10px; padding: 22px 22px 24px; color: #fff; }
.video-band .sec-head { border-bottom-color: rgba(255, 255, 255, .15); }
.video-band .sec-title { color: #fff; }
.video-band .sec-more { color: #FFB27F; }
.video-band .card-title a:hover { color: #FFB27F; }
.video-band .meta, .video-band .meta-author { color: #B9C3E6; }
.video-band .chip { color: #FFB27F; }

/* ---------- Sidebar ---------- */
.sidebar { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.side-box .sec-title { font-size: 1.35rem; }
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.ranked li { counter-increment: rank; display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ranked li:last-child { border-bottom: 0; }
.ranked li::before { content: counter(rank); grid-row: span 2; font-family: var(--f-display); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--kesari); opacity: .9; }
.ranked a { font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; line-height: 1.3; }
.ranked .meta { grid-column: 2; margin-top: 2px; }

.advertise { background: var(--surface); border-left: 4px solid var(--kesari); padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.advertise p { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
.advertise-kicker { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--neel) !important; margin-bottom: 4px !important; }
.advertise-phone { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: var(--sindoor); }
.advertise-phone:hover { color: var(--maroon); }

.ad-slot { position: relative; text-align: center; }
.ad-label { display: block; font-size: .7rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.ad-slot img { margin: 0 auto; border-radius: 4px; }
.ad-slot[data-rotate] .ad-item { display: none; }
.ad-slot[data-rotate] .ad-item.is-on { display: block; animation: fadein .5s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.ad-wide { margin-top: 18px; }
.ad-wide img { max-height: 120px; width: auto; }
.ad-article { margin: 28px 0; }

/* ---------- Page heads ---------- */
.page-head { padding-top: 22px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--blue); }
.crumbs i { margin: 0 6px; font-size: .75rem; }
.page-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 3.5vw, 2.7rem); line-height: 1.15; color: var(--neel); }
.page-sub { color: var(--muted); margin: 4px 0 0; font-size: .95rem; }

.author-head { display: flex; align-items: center; gap: 22px; padding-top: 28px; }
.author-avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--kesari); }
.author-role { margin: 0; color: var(--kesari); font-weight: 700; font-size: .85rem; }
.author-bio { margin: 6px 0 0; max-width: 60ch; }

/* ---------- Article ---------- */
.article-layout { padding-top: 22px; }
.article-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 3.3vw, 2.75rem); line-height: 1.18; margin: 6px 0 18px; color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline { display: flex; align-items: center; gap: 10px; }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.byline strong { display: block; font-weight: 600; line-height: 1.2; }
.byline small { color: var(--muted); font-size: .85rem; }
.article-stats { display: flex; gap: 16px; color: var(--muted); font-size: .9rem; }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.share-label { font-size: .85rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; font-size: 1.05rem; transition: transform .15s; }
.share a:hover, .share button:hover { color: #fff; transform: translateY(-2px); }
.s-wa { background: #1FA855; }
.s-fb { background: #1877F2; }
.s-x { background: #111; }
.s-tg { background: #229ED9; }
.s-copy { background: var(--neel); position: relative; }
.s-copy.done::after { content: 'लिंक कॉपी हुआ'; position: absolute; bottom: 110%; white-space: nowrap; background: var(--ink); color: #fff; font-size: .75rem; padding: 3px 8px; border-radius: 4px; }

.article-hero { margin: 0 0 22px; }
.article-hero img { width: 100%; max-height: 72vh; object-fit: contain; background: var(--surface); border-radius: var(--radius); }
.video-frame { position: relative; aspect-ratio: 16 / 9; margin-bottom: 22px; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.article-body { font-family: var(--f-read); font-size: 1.14rem; line-height: 1.95; color: #1D2340; overflow-wrap: break-word; }
.article-body p { margin: 0 0 1.15em; }
.article-body img, .article-body video { max-width: 100% !important; height: auto !important; border-radius: 4px; margin: 10px auto; }
.article-body iframe { width: 100% !important; aspect-ratio: 16 / 9; height: auto !important; border: 0; border-radius: 4px; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-body h2, .article-body h3 { font-family: var(--f-display); color: var(--neel); margin: 1.2em 0 .4em; line-height: 1.25; }
.article-body blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--kesari); color: #39405C; }
.article-body table { width: 100%; border-collapse: collapse; font-family: var(--f-ui); font-size: .95rem; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 6px 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tags a { background: var(--surface); padding: 3px 12px; border-radius: 20px; font-size: .88rem; color: var(--neel); }
.tags a:hover { background: var(--neel); color: #fff; }
.related { margin-top: 36px; }

/* ---------- Pager / forms / states ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; }
.pager a:hover { border-color: var(--neel); color: var(--neel); }
.pager .current { background: var(--neel); border-color: var(--neel); color: #fff; }
.pager .gap { border: 0; }

input[type=search], input[type=text], input[type=email], input[type=tel], textarea {
    font: inherit; border: 1px solid #CDD3E1; border-radius: var(--radius); padding: 10px 12px; width: 100%; background: #fff; color: var(--ink);
}
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 88, 198, .15); }
.btn-primary, .search-big button, .searchbar button {
    background: var(--neel); color: #fff; border: 0; border-radius: var(--radius); padding: 10px 20px;
    font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; white-space: nowrap;
}
.btn-primary:hover, .search-big button:hover, .searchbar button:hover { background: var(--blue); }
.search-big { display: flex; gap: 8px; margin: 10px 0 4px; max-width: 640px; }
.search-big input { font-size: 1.05rem; }

.empty-state { text-align: center; padding: 60px 16px; }
.empty-state h1, .empty-state h2 { font-family: var(--f-display); color: var(--neel); font-size: 1.8rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); }
.empty-state a { color: var(--blue); text-decoration: underline; }
.empty-state .search-big { margin: 20px auto 0; }
.big-404 { font-family: var(--f-display); font-weight: 700; font-size: 6rem; line-height: 1; color: var(--kesari) !important; margin: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 36px; padding-top: 24px; padding-bottom: 56px; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: var(--surface); padding: 14px 18px; border-radius: var(--radius); border-left: 4px solid var(--neel); }
.contact-card i { font-size: 1.3rem; color: var(--kesari); width: 24px; text-align: center; }
.contact-card small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .92rem; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form button { align-self: flex-start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 16px; border-radius: var(--radius); }
.notice ul { margin: 0; padding-left: 18px; }
.notice.ok { background: #E6F5EC; color: #146234; }
.notice.err { background: #FDECEC; color: #9B1C1C; }

/* ---------- Footer ---------- */
.footer { background: var(--neel-deep); color: #C4CCEA; font-size: .95rem; }
.footer-rule { height: 4px; background: linear-gradient(90deg, var(--kesari) 0 33.3%, var(--silver) 33.3% 66.6%, var(--hara) 66.6%); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
.footer-logo { background: #fff; padding: 8px 12px; border-radius: var(--radius); margin-bottom: 14px; }
.footer-about p { margin: 0 0 14px; max-width: 42ch; }
.footer .social a { color: #fff; background: rgba(255, 255, 255, .08); width: 34px; height: 34px; }
.footer .social a:hover { background: var(--kesari); }
.footer-h { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: 10px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 3px 0; }
.footer-links a:hover, .footer-contact a:hover { color: #FFB27F; }
.footer-contact li { display: flex; gap: 10px; padding: 4px 0; }
.footer-contact i { color: var(--kesari); margin-top: 5px; width: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
.footer-bottom a { color: #fff; font-weight: 600; }

.to-top {
    position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: var(--kesari); color: #fff; font-size: 1.5rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .front { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .lead { grid-column: 1 / -1; }
    .front-second { flex-direction: column; }
    .with-sidebar { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
    .nav-search input { width: 140px; }
}
@media (max-width: 960px) {
    .with-sidebar { grid-template-columns: minmax(0, 1fr); }
    .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-search { display: none; }
    .search-toggle { display: grid; place-items: center; }
}
@media (max-width: 760px) {
    .topbar-links { display: none; }
    .topbar .social { margin-left: auto; }
    .masthead-in { flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
    .menu-toggle { display: grid; place-items: center; order: 0; }
    .brand { order: 1; flex: 1; align-items: center; }
    .brand img { width: 150px; }
    .brand-tag { font-size: .85rem; }
    .search-toggle { order: 2; }
    .masthead-ad { order: 3; flex-basis: 100%; justify-content: center; margin: 0; }
    .masthead-ad img { max-height: 70px; }
    .catnav li a { font-size: 1.05rem; padding: 9px 11px 7px; }
    .front { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 16px; }
    .front-second { display: grid; grid-template-columns: 1fr; gap: 0; }
    .cat-block-grid, .card-wide, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .card-wide .card-title { font-size: 1.5rem; }
    .sidebar { grid-template-columns: minmax(0, 1fr); }
    .author-head { flex-direction: column; text-align: center; }
    .ticker-label { font-size: 1rem; padding: 0 18px 0 10px; }
}
@media (max-width: 560px) {
    /* On phones, standard cards become compact rows so more headlines fit on screen */
    .grid-3, .grid-2, .front-second { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .grid-3 .card, .grid-2 .card, .front-second .card {
        display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line);
    }
    .grid-3 .card .card-img, .grid-2 .card .card-img, .front-second .card .card-img { aspect-ratio: 4 / 3; border-radius: 4px; }
    .grid-3 .card .card-body, .grid-2 .card .card-body, .front-second .card .card-body { padding-top: 0; }
    .grid-3 .card .card-title, .grid-2 .card .card-title, .front-second .card .card-title { font-size: 1.08rem; }
    .grid-3 .card .meta-author, .grid-2 .card .meta-author, .front-second .card .meta-author { display: none; }
    .video-band { padding: 16px; border-radius: 8px; }
    .video-band .card { border-bottom-color: rgba(255, 255, 255, .12); }
    .play { width: 30px; height: 30px; font-size: .7rem; left: 6px; bottom: 6px; box-shadow: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-form .two { grid-template-columns: 1fr; }
    .article-body { font-size: 1.08rem; }
    .search-big { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .ticker-viewport { overflow-x: auto; }
    html { scroll-behavior: auto; }
}
@media print {
    .topbar, .catnav, .ticker, .sidebar, .share, .footer, .to-top, .masthead-ad, .related, .ad-slot { display: none !important; }
    .with-sidebar { display: block; }
}
