/* Bishwokhabar — BK design system (mobile first). */

@font-face { font-family: "BK Font"; src: url(../fonts/bk-font-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BK Font"; src: url(../fonts/bk-font-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "BK Font Display"; src: url(../fonts/bk-font-display.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #fff;
  --ink: #151515;
  --text: #222;
  --soft: #222;
  --muted: #333;
  --rule: #e3e5ea;
  --band: #f1f3f7;
  --blue: #204090;
  --blue-deep: #172f6c;
  --red: #e01c3c;
  --night: #0d1530;
  --night-2: #16204a;
  --night-line: #2a3563;
  --night-text: #e6e9f2;
  --font: "BK Font", "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
  --display: "BK Font Display", "BK Font", "Noto Sans Devanagari", system-ui, sans-serif;
  --gutter: 16px;
  --max: 1240px;
  --head-h: 56px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.75 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 14px; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }
.night { background: var(--night); color: var(--night-text); }
.night h1, .night h2, .night h3, .night h4 { color: #fff; }
.night :focus-visible { outline-color: #fff; }
.scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }

/* hover: the headline alone turns brand blue. No underlines: they cut through Devanagari's lower matras (ु ू ृ). */
.hl h1, .hl h2, .hl h3, .hl h4 { transition: color .15s ease; }
.hl:hover h1, .hl:hover h2, .hl:hover h3, .hl:hover h4 { color: var(--blue); }
.night .hl:hover h2, .night .hl:hover h3 { color: #b9c8f5; }

/* small shared pieces */
.label { display: block; font: 700 15px/1.45 var(--font); color: var(--blue); }
.night .label { color: #9fb2ef; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.meta b { color: var(--ink); font-weight: 700; }
.avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.byline { display: inline-flex; align-items: center; gap: 8px; }
.lead-text { font-size: 19px; line-height: 1.7; color: var(--soft); }
.night .lead-text { color: var(--night-text); }
.thumb { position: relative; display: block; overflow: hidden; background: var(--band); aspect-ratio: 3 / 2; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; } /* when a grid crops, keep faces (upper part) */
/* Lead photos show whole, at their own shape; only very tall ones are limited (and letterboxed, not cut). */
.banner .thumb, .highlight .thumb, .article__figure .thumb, .eco-main .thumb, .world-lead .thumb, .live .hl > .thumb { aspect-ratio: auto; background: none; }
.banner .thumb img, .highlight .thumb img, .article__figure .thumb img, .eco-main .thumb img, .world-lead .thumb img, .live .hl > .thumb img { height: auto; max-height: 82vh; object-fit: contain; }
.play { position: absolute; left: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; }
.play .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; margin-left: 2px; }
.duration { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .72); color: #fff; font: 700 12.5px/1.6 var(--font); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; border-radius: 8px; color: var(--ink); }
.icon-btn:hover { background: var(--band); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 700; line-height: 1.5; }
.btn:hover { background: var(--blue-deep); }
.btn--ghost { background: none; color: var(--blue); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: var(--band); }
.night .btn { background: #fff; color: var(--night); }
.night .btn:hover { background: #dfe5f5; }

/* ---------- topline: date + rates + tools ---------- */
.util { background: var(--band); font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.util__info { display: flex; align-items: center; gap: 20px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.util__info::-webkit-scrollbar { display: none; }
.util time { color: var(--ink); font-weight: 700; }
.rates { display: flex; gap: 18px; }
.rates b { color: var(--ink); font-weight: 700; margin-left: 4px; }
.up { color: #0b7a3e; font-style: normal; margin-left: 4px; }
.util__tools { display: none; }

/* ---------- masthead ---------- */
.mast { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--rule); transition: transform .25s ease; }
.mast.is-hidden { transform: translateY(-100%); }
.mast__in { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: var(--head-h); }
.mast__logo { justify-self: center; }
.mast__logo img { height: 24px; width: auto; }
.tagline { display: none; }
.nav { display: none; }

/* ---------- header ad + trending ---------- */
.head-ad { display: none; padding-block: 14px 4px; } /* desktop only, as in the original header */
.ad__label { display: block; text-align: center; font-size: 12.5px; line-height: 1.6; color: #444; }
.ad__slot { display: block; margin-inline: auto; max-width: 300px; aspect-ratio: 3 / 2; background: var(--band); }
.ad__slot img { width: 100%; height: 100%; object-fit: contain; }
.head-ad .ad__slot { max-width: 840px; aspect-ratio: 1220 / 120; }

.trend { padding-block: 12px; }
.trend__slider { display: none; } /* phones get the compact topic row; cards from 640px */
.trend__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.trend__head h2 { font: 700 16px/1.4 var(--font); color: var(--red); }
.arrows { display: flex; gap: 6px; }
.arrows button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--ink); }
.arrows button:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.arrows .icon { width: 18px; height: 18px; }
.night .arrows button { box-shadow: inset 0 0 0 1.5px var(--night-line); color: #fff; }
.trend__cards { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; }
.trend-card { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.trend-card .thumb { aspect-ratio: 1; border-radius: 6px; }
.trend-card h3 { font: 700 16px/1.5 var(--font); }
.trend-card .meta { margin-top: 4px; }
.topics { display: flex; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.topics a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 15px; line-height: 1.5; font-weight: 700; color: var(--ink); white-space: nowrap; }
.topics a:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.topics img { width: 30px; height: 30px; border-radius: 4px; object-fit: cover; }

/* ---------- section scaffolding ---------- */
.block { padding-block: 28px; }
/* light sections get a hairline at the content edge; dark bands separate themselves */
.block.wrap { background: linear-gradient(var(--rule), var(--rule)) center top / calc(100% - var(--gutter) * 2) 1px no-repeat; }
main > .block.wrap:first-child { background: none; }
.removable { position: relative; }
.remove { position: absolute; top: 6px; right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--rule); background: var(--paper); }
.remove:hover { color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.remove .icon { width: 18px; height: 18px; }
.night .remove { background: transparent; color: var(--night-text); box-shadow: inset 0 0 0 1.5px var(--night-line); }

.sec-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 18px; }
.sec-head h2 { font-size: 26px; line-height: 1.3; color: var(--ink); }
.sec-head h2 a:hover { color: var(--blue); }
.night .sec-head h2 { color: #fff; }
.night .sec-head h2 a:hover, .night .viewall:hover { color: #b9c8f5; }
.subnav { order: 3; flex-basis: 100%; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; white-space: nowrap; padding: 5px 12px; border-radius: 6px; font-size: 15px; line-height: 1.5; font-weight: 700; color: var(--soft); box-shadow: inset 0 0 0 1px var(--rule); }
.subnav a:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.night .subnav a { color: var(--night-text); box-shadow: inset 0 0 0 1px var(--night-line); }
.night .subnav a:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.viewall { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--blue); }
.viewall:hover { color: var(--blue-deep); }
.night .viewall { color: #fff; }

/* ---------- 1. headlines ---------- */
.headlines { padding-block: 24px 8px; }
.banner { text-align: center; padding-block: 8px 24px; }
.banner + .banner { border-top: 1px solid var(--rule); padding-top: 24px; }
.banner h1 { font-size: clamp(32px, 5.2vw + 12px, 58px); line-height: 1.42; padding-inline: 40px; } /* clears the remove button */
.banner .meta { justify-content: center; margin-top: 12px; }
.banner .thumb { margin: 20px calc(var(--gutter) * -1) 0; }
.banner .lead-text { max-width: 64ch; margin: 14px auto 0; font-size: 19px; line-height: 1.7; }

/* ---------- 2. exclusive story ---------- */
.exclusive__grid { display: grid; gap: 20px; }
.exclusive h2 { font-size: 30px; line-height: 1.3; margin-top: 6px; }
.exclusive .lead-text { margin-top: 12px; }
.exclusive__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; }
.share-mini { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.share-mini a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--night-line); color: #fff; }
.share-mini a:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.share-mini svg { width: 18px; height: 18px; fill: currentColor; }
.video-btn { position: relative; display: block; width: 100%; text-align: left; }
.video-btn .thumb { aspect-ratio: 16 / 9; }
.video-btn:hover .play { transform: scale(1.06); }
.exclusive .play { width: 60px; height: 60px; left: 16px; bottom: 16px; }
.exclusive .play .icon { width: 24px; height: 24px; }

/* ---------- 3. live ---------- */
.live__grid { display: grid; gap: 24px; }
.live .thumb { aspect-ratio: 16 / 9; }
.live-flag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: 4px; background: var(--red); color: #fff; font: 700 14px/1.5 var(--font); }
.live-flag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } }
.live h2 { font-size: 26px; line-height: 1.32; margin-top: 16px; }
.live .lead-text { margin-top: 10px; }
.summary { margin-top: 16px; padding: 14px 16px; border-radius: 6px; background: var(--band); }
.summary .label { margin-bottom: 4px; }
.summary p { font-size: 17px; line-height: 1.7; color: var(--soft); }
.timeline { border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.timeline time { font: 700 15px/1.55 var(--font); color: var(--ink); }
.timeline li:first-child time { color: var(--red); }
.timeline h3, .timeline h4 { font: 700 17.5px/1.55 var(--font); }
.timeline p { font-size: 17px; line-height: 1.7; color: var(--soft); margin-top: 4px; }
.timeline:not(.is-open) li:nth-child(n + 6) { display: none; } /* phones: expand instead of scroll-in-scroll */
.timeline-more { margin-top: 16px; width: 100%; }

/* ---------- 4. main news ---------- */
.mainnews__grid { display: grid; gap: 24px; }
.highlight .label { margin-top: 14px; }
.highlight h2 { font-size: 26px; line-height: 1.4; margin-top: 4px; }
.highlight .lead-text { margin-top: 10px; }
.highlight .meta { margin-top: 10px; }
.general { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card .thumb { border-radius: 4px; }
.card .label { margin-top: 10px; font-size: 14.5px; }
.card h3 { font: 700 17px/1.5 var(--font); margin-top: 2px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 2px 14px; padding-block: 14px; border-top: 1px solid var(--rule); }
.row .thumb { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 4 / 3; border-radius: 4px; align-self: start; }
.row .label { grid-column: 1; font-size: 14.5px; }
.row h3, .row h4 { grid-column: 1; font: 700 16.5px/1.5 var(--font); }
.night .row { border-top-color: var(--night-line); }

/* ---------- 5. BikTok ---------- */
.bt-title { display: inline-flex; align-items: center; gap: 0; font: 700 28px/1.2 var(--display); color: #fff; letter-spacing: .01em; }
.bt-title span { color: var(--red); }
.bt-title svg { width: 24px; height: 28px; margin-right: 10px; }
.bt-note { font-size: 14px; color: var(--night-text); }
.bt-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.short { display: block; width: 100%; text-align: left; color: #fff; }
.short .thumb { aspect-ratio: 9 / 16; border-radius: 10px; background: var(--night-2); }
.short .badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .55); font: 700 12px/1.6 var(--font); }
.short .badge svg { width: 11px; height: 13px; }
.short .play { width: 40px; height: 40px; left: auto; right: 10px; bottom: 10px; }
.short h3 { margin-top: 8px; font: 700 15.5px/1.5 var(--font); color: #fff; }
.short:hover h3 { color: #b9c8f5; }

/* full-screen vertical feed */
.feed { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; }
.feed::backdrop { background: #000; }
.feed__scroller { height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.feed__scroller::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; }
.reel__frame { position: relative; width: min(100%, calc(100dvh * 9 / 16)); height: 100%; background: #111; }
.reel__frame img, .reel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.reel__cap { position: absolute; left: 0; right: 64px; bottom: 0; padding: 60px 16px calc(24px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0, 0, 0, .75)); pointer-events: none; }
.reel__cap span { font: 700 13px/1.5 var(--font); color: #ffb3c0; }
.reel__cap h3 { color: #fff; font: 700 18px/1.5 var(--font); }
.reel__actions { position: absolute; right: 8px; bottom: calc(28px + env(safe-area-inset-bottom)); display: grid; gap: 14px; justify-items: center; }
.reel__actions button { display: grid; justify-items: center; gap: 2px; width: 56px; font-size: 12px; color: #fff; }
.reel__actions .icon { width: 30px; height: 30px; }
.reel__actions [aria-pressed="true"] .icon { fill: var(--red); stroke: var(--red); }
.feed__bar { position: fixed; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: calc(8px + env(safe-area-inset-top)) 8px 8px 16px; background: linear-gradient(rgba(0, 0, 0, .6), transparent); pointer-events: none; }
.feed__bar > * { pointer-events: auto; }
.feed__bar .bt-title { font-size: 22px; }
.feed__bar .icon-btn { color: #fff; }
.feed__bar .icon-btn:hover { background: rgba(255, 255, 255, .15); }
.feed :focus-visible { outline-color: #fff; }

/* ---------- 6. अर्थ ---------- */
.economy__grid { display: grid; gap: 24px; }
.eco-main .label { margin-top: 14px; }
.eco-main h2 { font-size: 28px; line-height: 1.3; margin-top: 4px; }
.eco-main .lead-text { margin-top: 10px; }
.eco-main .meta { margin-top: 10px; }
.eco-sub { display: grid; gap: 0; margin-top: 8px; }
.watch h3 { font: 700 18px/1.4 var(--display); color: var(--ink); padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.watch .row:first-of-type { border-top: 0; }

/* ---------- 7. TV ---------- */
.tv__grid { display: grid; gap: 24px; }
.tv-feature .label { margin-top: 14px; }
.tv-feature h2 { font-size: 26px; line-height: 1.32; margin-top: 4px; }
.tv-feature .lead-text { margin-top: 10px; }
.tv-feature .play { width: 60px; height: 60px; }
.tv-item { display: grid; grid-template-columns: 132px 1fr; gap: 12px; padding-block: 12px; border-top: 1px solid var(--night-line); text-align: left; width: 100%; }
.tv-item:first-child { border-top: 0; padding-top: 0; }
.tv-item .thumb { aspect-ratio: 16 / 9; border-radius: 4px; }
.tv-item .play { width: 32px; height: 32px; left: 8px; bottom: 8px; }
.tv-item .play .icon { width: 13px; height: 13px; }
.tv-item .duration { font-size: 11.5px; right: 6px; bottom: 6px; padding: 0 6px; }
.tv-item h3 { font: 700 15.5px/1.5 var(--font); color: #fff; margin-top: 2px; }
.tv-item:hover h3 { color: #b9c8f5; }

/* ---------- 8. world ---------- */
.world__grid { display: grid; gap: 24px; }
.world-lead .label { margin-top: 14px; }
.world-lead h2 { font-size: 28px; line-height: 1.3; margin-top: 4px; }
.world-lead .lead-text { margin-top: 10px; }
.world-side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--night-text); font-size: 16px; line-height: 1.75; }
.foot .wrap { padding-block: 36px 24px; }
.foot__logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 6px; }
.foot__logo img { height: 26px; width: auto; }
.foot__grid { display: grid; gap: 28px; }
.foot h2 { font: 700 17px/1.5 var(--font); color: #fff; margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot__meta { margin-top: 16px; display: grid; gap: 2px; }
.foot__social { display: flex; gap: 8px; margin-top: 16px; }
/* our own pages, in each network's colour */
.soc { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; flex: none; }
.soc svg { width: 19px; height: 19px; fill: currentColor; }
.soc:hover { filter: brightness(1.12); }
.soc--fb { background: #1877f2; }
.soc--yt { background: #f00; }
.soc--x { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.soc--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.drawer__social { margin-top: 20px; }
.util__social { display: flex; gap: 6px; margin-left: 6px; }
.util__social .soc { width: 28px; height: 28px; }
.util__social .soc svg { width: 14px; height: 14px; }
.team li { display: grid; }
.team span { font-size: 14.5px; color: #cfd5e8; }
.team strong { color: #fff; }
.team li + li { margin-top: 10px; }
.foot__ad { margin-top: 28px; padding: 18px 0; border-block: 1px solid var(--night-line); }
.foot__ad h2 { margin-bottom: 4px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 18px; font-size: 14.5px; color: #cfd5e8; }
.foot__bottom ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* ---------- dialogs ---------- */
dialog.sheet { width: 100%; max-width: 560px; max-height: 88dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 14px 14px 0 0; background: var(--paper); color: var(--text); }
dialog.sheet::backdrop { background: rgba(13, 21, 48, .55); }
dialog.drawer { width: min(88vw, 380px); height: 100dvh; max-height: none; margin: 0 auto 0 0; border-radius: 0; }
.sheet__in { padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet__head h2 { font-size: 24px; }
.sheet .note { font-size: 16px; line-height: 1.65; color: var(--text); margin-top: 4px; }
.sheet__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.drawer__logo img { height: 28px; width: auto; }
.quick { display: grid; gap: 8px; margin-top: 18px; }
.quick .btn { justify-content: flex-start; }
.menu__list { margin-top: 18px; }
.menu__list a { display: block; padding: 11px 0; border-top: 1px solid var(--rule); font: 700 18px/1.5 var(--font); color: var(--ink); }
.menu__list a:hover { color: var(--blue); }
.auth { display: flex; gap: 8px; margin-top: 18px; }
.auth .btn { flex: 1; }
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.interest-grid label { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--rule); font-weight: 700; cursor: pointer; }
.interest-grid input { width: 20px; height: 20px; accent-color: var(--blue); margin: 0; }
.interest-grid label:has(:checked) { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); background: #f3f6fd; }
.search-field { width: 100%; height: 50px; margin-top: 16px; padding: 0 14px; border: 0; border-radius: 8px; box-shadow: inset 0 0 0 1.5px #c9cdd6; font-size: 17px; line-height: 1.5; }
.search-field:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 3px rgba(32, 64, 144, .18); }
dialog.video { width: min(100%, 960px); max-width: none; padding: 0; border: 0; background: #000; }
dialog.video::backdrop { background: rgba(0, 0, 0, .85); }
.video__frame { aspect-ratio: 16 / 9; }
.video__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
dialog.video .icon-btn { position: absolute; top: -52px; right: 0; color: #fff; }
dialog.video[open] { overflow: visible; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60; transform: translate(-50%, 20px); opacity: 0; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- article page ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 3px; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.article { max-width: calc(720px + var(--gutter) * 2); padding-top: 20px; }
.crumb { font: 700 15px/1.5 var(--font); color: var(--blue); }
.crumb:hover { color: var(--blue-deep); }
.article__title { margin-top: 6px; font-size: clamp(30px, 3.6vw + 16px, 46px); line-height: 1.42; }
.article__dek { margin-top: 12px; font-size: 20px; line-height: 1.7; color: var(--text); }
.article__by { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-block: 12px; border-block: 1px solid var(--rule); }
.article__by .avatar { width: 40px; height: 40px; }
.article__by .meta { display: grid; gap: 0; }
.tools { display: flex; gap: 4px; margin-left: auto; }
.tools .icon-btn { min-width: 40px; height: 40px; color: var(--ink); }
.tools .icon-btn:hover { color: var(--blue); }
.size-label { font: 700 16px/1 var(--font); }
.article__figure { margin: 18px calc(var(--gutter) * -1) 0; }
.article__figure figcaption { padding: 8px var(--gutter) 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.keypoints { margin-top: 24px; padding: 16px 18px; background: var(--band); border-radius: 6px; }
.keypoints h2 { font: 700 16px/1.5 var(--font); color: var(--blue); margin-bottom: 6px; }
.keypoints li { position: relative; padding-left: 18px; font-size: 18px; line-height: 1.7; }
.keypoints li + li { margin-top: 6px; }
.keypoints li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--blue); }
.body { --size: 20px; margin-top: 24px; font-size: var(--size); line-height: 1.82; color: var(--text); }
.body p + p, .body p + h2, .body h2 + p, .body * + .inline-link, .body .inline-link + *, .body .ad + p { margin-top: 1.1em; }
.body h2 { font-size: 1.3em; line-height: 1.35; margin-top: 1.5em; }
.body blockquote { margin: 1.3em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--blue); font: 700 1.1em/1.6 var(--display); color: var(--ink); }
.body .ad { margin-block: 1.5em; }
.inline-link { display: block; padding: 12px 0; border-block: 1px solid var(--rule); font-size: 16px; line-height: 1.55; }
.inline-link span { display: block; color: var(--blue); font-weight: 700; font-size: 14px; }
.inline-link b { color: var(--ink); }
.inline-link:hover b { color: var(--blue); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags a { padding: 4px 12px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px #c9cdd6; font-size: 15px; font-weight: 700; }
.tags a:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.share { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); }
.share h2, .react h2 { font: 700 17px/1.5 var(--font); color: var(--ink); margin-bottom: 10px; }
.share__row { display: flex; flex-wrap: wrap; gap: 8px; }
/* share buttons in each network's own colour (white text stays above 4:1 contrast) */
.sh { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; border-radius: 8px; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.4; cursor: pointer; }
.sh svg { width: 20px; height: 20px; fill: currentColor; stroke: none; flex: none; }
.sh:hover { filter: brightness(.9); }
.sh--facebook { background: #1877f2; }
.sh--whatsapp { background: #128c7e; }
.sh--viber { background: #7360f2; }
.sh--messenger { background: #0866ff; }
.sh--x { background: #000; }
.sh--copy { color: var(--ink); box-shadow: inset 0 0 0 1.5px #c9cdd6; }
.sh--copy .icon { width: 20px; height: 20px; }
.sh--copy:hover { filter: none; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.react { margin-top: 24px; }
.react__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.react__row button { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--rule); font-size: 14px; line-height: 1.4; font-weight: 700; color: var(--ink); }
.react__row button span:first-child { font-size: 24px; line-height: 1.2; }
.react__row [aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); background: #eef2fb; }
.related { max-width: calc(720px + var(--gutter) * 2); }
.related h2 { font-size: 24px; margin-bottom: 6px; }
.has-tabbar { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
/* phones: app-style tabs (footer.php) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
.tab { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 58px; padding: 6px 2px 5px; font: 700 12.5px/1.3 var(--font); color: var(--ink); }
.tab .icon { width: 24px; height: 24px; }
.tab[aria-current] { color: var(--blue); }
.tab--live { color: var(--red); }
.tab__dot { width: 24px; height: 24px; display: grid; place-items: center; }
.tab__dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red); animation: pulse-red 1.6s ease-out infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(224, 28, 60, .55); } 100% { box-shadow: 0 0 0 9px rgba(224, 28, 60, 0); } }
dialog.app-view { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--text); }
dialog.app-view::backdrop { background: var(--paper); }
.app-view__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; height: 56px; padding: env(safe-area-inset-top) 8px 0 var(--gutter); background: var(--paper); border-bottom: 1px solid var(--rule); }
.app-view__bar h2 { flex: 1; font-size: 22px; line-height: 1.3; }
.btn--sm { min-height: 36px; padding: 4px 12px; font-size: 14.5px; }
.app-view__body { height: calc(100dvh - 56px - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
.app-view__end { padding: 18px 0; text-align: center; font-size: 15px; color: var(--muted); }
.vcard { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.vcard__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.vcard__media img, .vcard__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vcard h3 { margin-top: 10px; font: 700 18px/1.5 var(--font); }
.fy-choose { padding-top: 16px; }
.fy-save { width: 100%; margin-top: 18px; }
.fy-list .row:first-child { border-top: 0; }

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .head-ad { display: block; }
  .trend { padding-block: 18px 8px; }
  .trend__slider { display: block; margin-bottom: 14px; }
  .trend__cards { grid-auto-columns: calc(50% - 6px); }
  .bt-strip { grid-auto-columns: 28%; }
  .banner .thumb, .article__figure { margin-inline: 0; }
  .article__figure figcaption { padding-inline: 0; }
  .eco-sub { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .eco-sub .row { display: block; border-top: 0; padding: 0; }
  .eco-sub .row .thumb { aspect-ratio: 3 / 2; margin-bottom: 10px; }
  .world-side { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- desktop ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 32px; --head-h: 64px; }
  .has-tabbar { padding-bottom: 0; }
  .tabbar { display: none; }
  .util__tools { display: flex; align-items: center; gap: 6px; }
  .util__tools a, .util__tools button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-weight: 700; color: var(--ink); white-space: nowrap; }
  .util__tools a:hover, .util__tools button:hover { background: #e4e8f0; }
  .util__tools .icon { width: 17px; height: 17px; }
  .util__tools .signup { background: var(--blue); color: #fff; }
  .util__tools .signup:hover { background: var(--blue-deep); }
  .mast { position: static; }
  .mast__in { display: flex; justify-content: center; height: auto; padding-top: 22px; }
  .mast__in .icon-btn { display: none; }
  .mast__logo img { height: 46px; }
  .tagline { display: block; text-align: center; font-size: 15px; color: var(--text); padding: 6px 0 14px; }
  .nav { display: block; position: sticky; top: 0; z-index: 40; background: var(--paper); border-block: 1px solid var(--rule); }
  .nav ul { display: flex; justify-content: center; gap: 4px; }
  .nav a { display: block; padding: 11px 16px 9px; font: 700 17px/1.5 var(--font); color: var(--ink); border-bottom: 3px solid transparent; }
  .nav a:hover { color: var(--blue); }
  .nav a[aria-current] { color: var(--blue); border-bottom-color: var(--blue); }
  .block { padding-block: 44px; }
  .sec-head { flex-wrap: nowrap; }
  .sec-head h2 { font-size: 30px; }
  .subnav { order: 0; flex-basis: auto; }

  .trend__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
  .trend__slider { margin-bottom: 0; }
  .trend__cards { grid-auto-columns: 100%; }
  .topics { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; }

  .headlines { padding-top: 36px; }
  .banner h1 { padding-inline: 48px; }
  .banner .thumb { max-width: 960px; margin-inline: auto; }

  .exclusive__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
  .exclusive h2 { font-size: 36px; }

  .live__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; }
  .live h2 { font-size: 32px; }
  .timeline { max-height: 720px; overflow-y: auto; overscroll-behavior: contain; }
  .timeline:not(.is-open) li:nth-child(n + 6) { display: grid; }
  .timeline-more { display: none; }

  .mainnews__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; }
  .mainnews__mid { grid-column: 2; grid-row: 1; }
  .mainnews__left { grid-column: 1; grid-row: 1; }
  .mainnews__right { grid-column: 3; grid-row: 1; }
  .highlight h2 { font-size: 32px; }
  .general { grid-template-columns: 1fr; align-content: start; gap: 24px; }
  .mainnews .rows .row:first-child { border-top: 0; padding-top: 0; }

  .bt-strip { grid-auto-columns: calc((100% - 50px) / 6); margin-inline: 0; padding-inline: 0; }

  .economy__grid { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 40px; }
  .eco-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
  .eco-main .thumb { grid-column: 2; grid-row: 1; }
  .eco-main .eco-copy { grid-column: 1; grid-row: 1; }
  .eco-main .label { margin-top: 0; }
  .eco-main h2 { font-size: 32px; }
  .eco-sub { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }

  .tv__grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; }
  .tv-feature h2 { font-size: 32px; }
  .tv-rail { max-height: 620px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--night-line) transparent; padding-right: 8px; }

  .world__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
  .world-lead h2 { font-size: 32px; }
  .world-side { grid-template-columns: 1fr 1fr; align-content: start; }

  .foot__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  dialog.sheet { margin: auto; border-radius: 14px; }
  dialog.drawer { margin: 0 auto 0 0; border-radius: 0; }
  .body { --size: 22px; }
  .body p { text-align: justify; text-justify: inter-word; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- WordPress listings ---------- */
.archive__title { font-size: 30px; line-height: 1.3; }
.archive-list { display: grid; }
.pagination { margin-top: 28px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--rule); font-weight: 700; }
.pagination .page-numbers.current { background: var(--blue); color: #fff; box-shadow: none; }
.pagination a.page-numbers:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.team-list { margin-top: 24px; }
.team-list li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding-block: 16px; border-top: 1px solid var(--rule); }
.team-list img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.team-list h2 { font-size: 22px; margin-top: 2px; }
.body img { height: auto; }
.body a { color: var(--blue); font-weight: 700; }
.body a:hover { color: var(--blue-deep); }
.body ul, .body ol { margin: 1em 0; padding-left: 1.4em; }
.body ul { list-style: disc; }
.body ol { list-style: decimal; }
.body li + li { margin-top: .45em; }
.body .wp-caption, .body figure { max-width: 100%; margin: 1.3em 0; }
.body .wp-caption-text, .body figcaption { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 6px; }
.body iframe { max-width: 100%; }
.tags a + a { margin-left: 0; }
@media (min-width: 1024px) {
  .archive-list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
.forex { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.forex th, .forex td { padding: 10px 8px; border-bottom: 1px solid var(--rule); text-align: left; }
.forex th { color: var(--muted); font-weight: 700; }

/* ---------- ads (one handler: inc/ads.php) ---------- */
.ad { padding-block: 14px; }
.ad-unit + .ad-unit { margin-top: 10px; }
.ad-unit img { display: block; margin-inline: auto; max-width: 100%; height: auto; }
.ad-unit--desktop { display: none; }
.ad--side .ad-unit img { max-width: 300px; }
.mainnews .ad--side { padding-top: 24px; }
.ad-popup { position: fixed; padding: 28px 12px 12px; border: 0; border-radius: 12px; max-width: min(92vw, 600px); background: var(--paper); }
.ad-popup::backdrop { background: rgba(13, 21, 48, .65); }
.ad-popup__close { position: absolute; top: 0; right: 0; }
.ad-popup .ad__label { margin-bottom: 6px; }
@media (min-width: 768px) {
  .ad-unit--desktop { display: block; }
  .ad-unit--mobile { display: none; }
}

/* ---------- AI brief (inc/brief.php): points to scan, then the stories as thumbnails ---------- */
.brief__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.brief__head h2 { font-size: 28px; line-height: 1.35; }
.brief__head p { font-size: 14.5px; color: var(--ink); }
.brief__ai { display: block; color: var(--blue); font-weight: 700; }
.brief__points ul { border-top: 2px solid var(--ink); padding-top: 6px; }
.brief__points li { position: relative; padding: 10px 0 10px 20px; border-bottom: 1px solid var(--rule); font-size: 19px; line-height: 1.7; color: var(--text); break-inside: avoid; }
.brief__points li::before { content: ""; position: absolute; left: 0; top: calc(10px + .85em); width: 9px; height: 2px; background: var(--blue); }
.brief__points strong { color: var(--ink); }
.brief__points a:hover strong { color: var(--blue); }
.brief__src { white-space: nowrap; }
.brief__src a { margin-left: 6px; font-size: 14.5px; font-weight: 700; color: var(--blue); }
.brief__cards { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px; margin: 18px calc(var(--gutter) * -1) 0; padding-inline: var(--gutter); }
.brief__cards .thumb { border-radius: 4px; }
.brief__cards h3 { margin-top: 8px; font: 700 16px/1.5 var(--font); }
@media (min-width: 1024px) {
  .brief__points ul { columns: 2; column-gap: 48px; }
  .brief__cards { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; }
}

/* ---------- live story page (single-bk_live.php) ---------- */
.live-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.live-state .live-flag { position: static; }
.live-ended { padding: 3px 10px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--ink); font: 700 14px/1.5 var(--font); color: var(--ink); }
.live-feed { margin-top: 36px; }
.live-feed > h2, .related-live > h2 { font-size: 26px; line-height: 1.4; margin-bottom: 8px; }
.timeline time small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.timeline li.is-key time { color: var(--red); }
.timeline--full li { grid-template-columns: 64px minmax(0, 1fr); padding-block: 18px; }
.timeline--full h3 { font: 700 20px/1.5 var(--font); }
.timeline--full p { font-size: 19px; line-height: 1.75; color: var(--text); margin-top: 6px; }
.timeline--full p + p { margin-top: .8em; }
.tl-photo { margin-top: 12px; }
.tl-photo img { border-radius: 4px; }
.tl-link { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 12px; padding-block: 10px; border-block: 1px solid var(--rule); }
.tl-link .thumb { aspect-ratio: 4 / 3; border-radius: 4px; }
.tl-link h4 { font: 700 16.5px/1.5 var(--font); }
.tl-src { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.tl-src a { color: var(--blue); font-weight: 700; }
.related-live { margin-top: 36px; }
.timeline-all { margin-top: 16px; width: 100%; }
@media (min-width: 1024px) {
  .timeline--full { max-height: none; overflow: visible; }
}

/* small pieces added with the live/brief work */
.readtime { display: inline-flex; align-items: center; gap: 4px; }
.readtime .icon { width: 16px; height: 16px; }
.thumb:has(.thumb__logo) { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.thumb .thumb__logo { object-fit: contain; padding: 16% 12%; }

/* ---------- article with side ads ---------- */
@media (min-width: 1200px) {
  .article-layout { display: grid; grid-template-columns: minmax(0, 784px) 300px; justify-content: center; column-gap: 40px; max-width: var(--max); margin-inline: auto; }
  .article-layout .article { margin: 0; }
  .article-aside { position: sticky; top: 24px; align-self: start; padding: 20px 0 0; }
}
