/* ==========================================================================
   ErdenetNews.mn — redesign v2 ("digital-native")
   Display: Inter Tight 700–900 (headlines, numerals, section heads)
   Text/UI: Onest 400–700 (body, navigation, meta) — both with full Cyrillic incl. Ө Ү
   Dark navy "stage" sections + clean white reading sections, brand red accents.
   Loaded last; the old theme (bootstrap + style.css) stays for pages that still use it.
   ========================================================================== */

:root {
    --navy: #0b2f63;            /* brand structure colour */
    --stage: #070f22;           /* deep navy-black surfaces */
    --stage-2: #0e1a35;         /* raised tile on the stage */
    --stage-line: rgba(255, 255, 255, .12);
    --red: #c20017;             /* brand red */
    --red-hot: #ff3348;         /* red accents on dark surfaces */
    --red-ink: #b10015;         /* red small text on white (6.4:1) */
    --ink: #0d1220;
    --ink-2: #333b4b;
    --muted: #5a6273;           /* 6.1:1 on white */
    --line: #e2e5eb;
    --line-2: #eff1f5;
    --bg: #ffffff;
    --surface: #f2f4f8;
    --card: #ffffff;
    --on-dark: #ffffff;
    --on-dark-2: #b9c3d6;
    --up: #39d98a;
    --down: #ff6b7a;
    --f-display: 'Inter Tight', 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --f-text: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --r-sm: 8px;
    --r: 12px;
    --r-lg: 18px;
    --shadow: 0 1px 2px rgba(7, 15, 34, .06), 0 12px 32px rgba(7, 15, 34, .10);
    --gap: clamp(14px, 1.8vw, 22px);
    --wrap: 1280px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* newsplus reading vars (design.css) */
    --np-accent: #c20017;
    --np-read-font: var(--f-text);
    --np-read-size: 19px;
    --np-read-size-sm: 18px;
    --np-read-line: 1.7;
    --np-read-color: var(--ink);
    --np-read-measure: 100%;
    --np-r-sm: 8px;
}

/* Designed dark mode on the redesigned pages (the generic invert filter is switched off there) */
html[data-theme=dark] {
    filter: none !important;
    color-scheme: dark;
    --stage: #050a17;
    --stage-2: #0d1730;
    --bg: #0a1020;
    --surface: #121b2f;
    --card: #111a2d;
    --ink: #eef1f6;
    --ink-2: #c4cbd8;
    --muted: #9aa4b6;
    --line: #222d44;
    --line-2: #18223a;
    --red-ink: #ff5a6c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .4);
    background: var(--bg) !important;
}
html[data-theme=dark] img { filter: none !important; }
html.rd-new[data-theme=dark] :is(img, picture, video, iframe, embed, object, svg image, [style*="background-image"], .np-keep-colors, .np-lb, .np-gallery__track) { filter: none !important; }

/* Old-theme pages (video, podcast, search...): only their content area keeps the generic invert,
   with light tokens inside it; the new header/footer/drawer use the designed dark tokens. */
html:not(.rd-new)[data-theme=dark] .rd-main {
    filter: invert(.9) hue-rotate(180deg); background: #fff;
    --bg: #ffffff; --surface: #f2f4f8; --card: #ffffff; --ink: #0d1220; --ink-2: #333b4b; --muted: #5a6273;
    --line: #e2e5eb; --line-2: #eff1f5; --red-ink: #b10015;
    color: var(--ink);
}
html:not(.rd-new)[data-theme=dark] .rd-main :is(img, video, iframe) { filter: invert(1) hue-rotate(180deg) !important; }

/* ---------- Base ---------- */
body.rd {
    font-family: var(--f-text);
    color: var(--ink);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
/* style.css forces "Roboto Condensed" on every a/p/span/button: inherit instead (low specificity) */
:where(.rd) :is(a, p, span, button, input, textarea, select, li, div, label, small, b, strong, time, h1, h2, h3, h4) { font-family: inherit; }
.rd a { color: inherit; }
.rd a:hover, .rd a:focus { text-decoration: none; color: inherit; }
.rd :focus-visible { outline: 3px solid #4d8dff; outline-offset: 2px; border-radius: 4px; }
.rd img { max-width: 100%; }
.rd-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; box-sizing: border-box; }
.rd-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #fff; color: var(--stage) !important; padding: 10px 16px; font-weight: 700; border-radius: var(--r-sm); }
.rd-skip:focus { top: 12px; }
.rd-main { display: block; min-height: 40vh; }
.rd svg { width: 1em; height: 1em; }

/* Headlines stored in ALL CAPS: a size step down, no negative tracking */
.is-caps { font-size: calc(var(--fs, 1em) * .84) !important; letter-spacing: .005em !important; line-height: 1.12 !important; }

/* ---------- Chips, meta, headings ---------- */
.rd-chip {
    display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 99px;
    font: 700 11.5px/1 var(--f-text); letter-spacing: .06em; text-transform: uppercase;
    background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.rd-chip--red { background: var(--red); color: #fff !important; }
a.rd-chip--red:hover { background: #9e0013; }
.rd-chip--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; min-height: 36px; padding: 0 14px; margin: 0 6px 6px 0; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; transition: background .18s, border-color .18s; }
.rd-chip--ghost:hover { background: var(--red); border-color: var(--red); }
.rd-label { display: inline-block; font: 700 11.5px/1 var(--f-text); letter-spacing: .07em; text-transform: uppercase; color: var(--red-ink); margin: 0 0 8px; }

.rd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font: 500 12.5px/1.4 var(--f-text); color: var(--muted); }
.rd-meta .fa { opacity: .75; }
.rd-meta--light { color: rgba(255, 255, 255, .8); }

.rd-h {
    display: flex; align-items: center; gap: 16px; margin: 0 0 24px;
    font: 900 clamp(26px, 2.6vw, 38px)/1 var(--f-display); letter-spacing: -.03em; color: var(--ink);
}
.rd-h > span:first-child { display: inline-flex; align-items: center; gap: 12px; }
.rd-h > span:first-child::before { content: ""; width: 12px; height: 12px; background: var(--red); border-radius: 3px; flex: none; transform: translateY(1px); }
.rd-h::after { content: ""; flex: 1; height: 2px; background: var(--ink); opacity: .9; order: 1; }
.rd-h__more { order: 2; font: 700 14px/1 var(--f-text); letter-spacing: 0; color: var(--red-ink) !important; white-space: nowrap; padding: 12px 0; }
.rd-h__more:hover { text-decoration: underline !important; text-underline-offset: 4px; }
.rd-h--dark { color: #fff; }
.rd-h--dark::after { background: var(--stage-line); opacity: 1; }
.rd-h--dark .rd-h__more { color: #fff !important; }
.rd-h--sm { font-size: 22px; margin-bottom: 10px; }
.rd-h--sm > span:first-child::before { width: 10px; height: 10px; }
.rd-live { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: rd-pulse 1.8s infinite; flex: none; }
@keyframes rd-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

/* ---------- Header ---------- */
.rd-head { margin: 0; background: var(--stage); color: #fff; position: relative; z-index: 50; }
.rd-util { background: #030817; color: var(--on-dark-2); font: 500 12.5px/1 var(--f-text); border-bottom: 1px solid var(--stage-line); }
.rd-util__in { display: flex; align-items: center; gap: 20px; min-height: 36px; white-space: nowrap; }
.rd-util__date b { color: #fff; font-weight: 700; margin-right: 4px; }
.rd-util__wx { display: inline-flex; align-items: center; cursor: pointer; padding-left: 20px; border-left: 1px solid var(--stage-line); }
.rd-wx { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; }
.rd-wx img { width: 18px; height: 18px; }
.rd-wx b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.rd-rates { display: inline-flex; gap: 16px; padding-left: 20px; border-left: 1px solid var(--stage-line); }
.rd-rate abbr { text-decoration: none; border: 0; color: var(--on-dark-2); font-weight: 600; letter-spacing: .04em; }
.rd-rate b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.rd-rate i { font-style: normal; font-size: 9px; margin-left: 4px; vertical-align: 1px; }
.rd-up { color: var(--up); }
.rd-down { color: var(--down); }
.rd-flat { color: var(--on-dark-2); }
.rd-util__links { margin-left: auto; display: flex; gap: 18px; }
.rd-util__links a { color: var(--on-dark-2) !important; padding: 11px 0; }
.rd-util__links a:hover { color: #fff !important; }
.rd-social { display: inline-flex; gap: 6px; }
.rd-social a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff !important; background: rgba(255, 255, 255, .08); font-size: 13px; transition: background .18s; }
.rd-social a:hover { background: var(--red); }

.rd-mast { background: var(--stage); }
.rd-mast__in { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.rd-logo { display: block; line-height: 0; flex: none; }
.rd-logo img { height: 40px; width: auto; display: block; }
.rd-mast__tools { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.rd-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--stage-line); border-radius: 12px; background: rgba(255, 255, 255, .04); color: #fff; font-size: 20px; cursor: pointer; transition: background .18s, border-color .18s; flex: none; }
.rd-iconbtn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); }
.rd-iconbtn svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.rd-theme.np-theme-toggle { width: 44px; height: 44px; color: #fff; border: 1px solid var(--stage-line); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.rd-theme.np-theme-toggle:hover { background: rgba(255, 255, 255, .1); }
.rd-search { position: relative; display: flex; align-items: center; }
.rd-search input {
    width: 44px; height: 44px; padding: 0 44px 0 16px; border: 1px solid var(--stage-line); border-radius: 12px;
    background: rgba(255, 255, 255, .06); color: #fff; font: 500 14px var(--f-text); transition: background .18s, width .25s var(--ease), border-color .18s;
}
.rd-search input::placeholder { color: transparent; }
.rd-search input { cursor: pointer; padding-right: 0; }
.rd-search input:focus { cursor: text; padding-right: 44px; }
.rd-search input:focus { outline: none; background: #fff; color: var(--ink); border-color: #fff; width: 240px; }
.rd-search button { pointer-events: none; }
.rd-search input:focus + button, .rd-search input:valid + button { pointer-events: auto; }
.rd-search input:focus::placeholder { color: var(--muted); }
.rd-search button { position: absolute; right: 3px; width: 38px; height: 38px; border: 0; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.rd-search input:focus + button { color: var(--stage); }
.rd-search button svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; }

.rd-nav { flex: 1; min-width: 0; }
@media (min-width: 1280px) { .rd-nav { overflow: hidden; } .rd-nav:hover, .rd-nav:focus-within { overflow: visible; } }
.rd-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.rd-nav__item { position: relative; }
.rd-nav__link {
    display: flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 10px;
    color: rgba(255, 255, 255, .86) !important; font: 700 15px/1.1 var(--f-display); letter-spacing: -.005em;
    position: relative; white-space: nowrap; transition: background .18s, color .18s;
}
.rd-nav__link:hover, .rd-nav__item:focus-within > .rd-nav__link { background: rgba(255, 255, 255, .08); color: #fff !important; }
.rd-nav__link.is-active { color: #fff !important; background: rgba(255, 255, 255, .06); }
.rd-nav__link.is-active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--red-hot); }
.rd-nav__item.has-sub > .rd-nav__link { padding-right: 26px; }
.rd-nav__item.has-sub > .rd-nav__link::before { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); opacity: .6; }
.rd-nav__sub {
    list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
    background: var(--card); box-shadow: var(--shadow); border-radius: var(--r); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60;
}
.rd-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.rd-nav__item:hover > .rd-nav__sub, .rd-nav__item:focus-within > .rd-nav__sub { opacity: 1; visibility: visible; transform: none; }
.rd-nav__sub a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--ink) !important; font: 600 14.5px var(--f-text); }
.rd-nav__sub a:hover { background: var(--surface); color: var(--red-ink) !important; }

/* Breaking ticker */
.rd-ticker { background: var(--stage-2); border-top: 1px solid var(--stage-line); border-bottom: 1px solid var(--stage-line); }
.rd-ticker__in { display: flex; align-items: center; gap: 16px; min-height: 46px; }
.rd-ticker__label {
    flex: none; display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 12px 0 11px; border-radius: 8px;
    background: var(--red); color: #fff; font: 800 12.5px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase;
}
.rd-ticker__vp { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 48px), transparent); }
.rd-ticker__track { display: flex; width: max-content; animation: rd-ticker 90s linear infinite; }
.rd-ticker__vp:hover .rd-ticker__track, .rd-ticker__vp:focus-within .rd-ticker__track { animation-play-state: paused; }
.rd-ticker__list { display: flex; list-style: none; margin: 0; padding: 0; }
.rd-ticker__list li { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px 0 0; white-space: nowrap; font: 500 14px/1 var(--f-text); }
.rd-ticker__list li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red-hot); margin-left: 18px; }
.rd-ticker__list time { color: var(--red-hot); font: 800 13px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.rd-ticker__list a { color: rgba(255, 255, 255, .9) !important; padding: 14px 0; }
.rd-ticker__list a:hover { color: #fff !important; text-decoration: underline !important; text-underline-offset: 4px; }
@keyframes rd-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sticky bar (newsplus) */
.np-sticky { background: var(--stage) !important; border-bottom: 1px solid var(--stage-line); }
.np-sticky__nav a { color: #fff !important; font-family: var(--f-display); font-weight: 700; }
.np-sticky__nav a:hover { color: var(--on-dark-2) !important; }
.np-sticky .np-theme-toggle { color: #fff; border-color: var(--stage-line); }
.np-progress { background: var(--red-hot) !important; }

/* ---------- Banners ---------- */
.rd-ad { display: block; }
.rd-ad .np-banner img { width: 100%; height: auto; border-radius: var(--r-sm); display: block; }
.rd-ad--top { margin: 0 auto; padding-top: 22px; padding-bottom: 4px; }
.rd-ad--bottom { margin: 56px auto 0; }
.rd-ad--rail .np-banner img { width: auto; max-width: 100%; max-height: 320px; object-fit: contain; margin: 0 auto; }
.rd-ad--span { grid-column: 1 / -1; }
/* Top banner on pages that open with a dark stage: keep the stage colour around it */
html.rd-darktop .rd-ad--top { box-shadow: 0 0 0 100vmax var(--stage); clip-path: inset(0 -100vmax); background: var(--stage); }
.np-banners[data-rotate] { display: grid; }
.np-banners[data-rotate] > .np-banner { grid-area: 1 / 1; display: flex; align-items: flex-start; justify-content: center; }
.np-banners[data-rotate] > .np-banner.is-hidden { display: flex; visibility: hidden; }

/* ---------- Cards (white sections) ---------- */
.rd-card { --fs: 19px; position: relative; display: flex; flex-direction: column; min-width: 0; }
.rd-card__media { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); border-radius: var(--r); margin-bottom: 14px; }
.rd-card__media img, .rd-tile__media img, .rd-catlead__media img, .rd-vcard__link img, .rd-mini__img img, .rd-story__ring img {
    width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease);
}
.rd-card:hover .rd-card__media img, .rd-tile:hover .rd-tile__media img, .rd-catlead:hover .rd-catlead__media img,
.rd-vcard:hover img, .rd-mini__link:hover img { transform: scale(1.04); }
.rd-card__title { font: 800 var(--fs)/1.15 var(--f-display); margin: 0 0 8px; color: var(--ink); letter-spacing: -.015em; }
.rd-card__title a { background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease); }
.rd-card:hover .rd-card__title a, .rd-card__title a:focus { background-size: 100% 2px; }
.rd-card__dek { font: 400 15px/1.55 var(--f-text); color: var(--ink-2); margin: 0 0 10px; }

.rd-card--row { --fs: 21px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 200px); gap: 24px; align-items: start; }
.rd-card--row .rd-card__media { margin: 0; order: 2; }
.rd-card--row .rd-card__dek { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Home: dark stage ---------- */
.rd-stage { background: var(--stage); color: #fff; padding: 22px 0 44px; }

.rd-stories { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 22px; margin-bottom: 4px; }
.rd-stories::-webkit-scrollbar { display: none; }
.rd-story { flex: none; width: 84px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff !important; text-align: center; }
.rd-story__ring { position: relative; width: 74px; height: 74px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--red-hot), #ff9a3d, var(--red), #6f7dff, var(--red-hot)); box-sizing: border-box; transition: transform .2s var(--ease); }
.rd-story__ring img { border-radius: 50%; border: 3px solid var(--stage); box-sizing: border-box; background: var(--stage-2); }
.rd-story:hover .rd-story__ring { transform: scale(1.06); }
.rd-story__name { font: 600 12.5px/1.25 var(--f-text); color: rgba(255, 255, 255, .9); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rd-story__play { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); display: grid; place-items: center; border: 2px solid var(--stage); }
.rd-story__play svg { width: 12px; height: 12px; fill: #fff; margin-left: 2px; }

.rd-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 300px 300px 290px; gap: var(--gap); }
.rd-bento__more { display: contents; }
.rd-tile { --fs: 21px; position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--stage-2); min-width: 0; display: flex; align-items: flex-end; isolation: isolate; }
.rd-tile__media { position: absolute; inset: 0; z-index: -2; }
.rd-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 10, 23, 0) 30%, rgba(5, 10, 23, .62) 62%, rgba(5, 10, 23, .95) 100%); pointer-events: none; }
.rd-tile__body { padding: 22px; width: 100%; box-sizing: border-box; }
.rd-tile__title { font: 800 var(--fs)/1.12 var(--f-display); letter-spacing: -.02em; margin: 12px 0 10px; color: #fff; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rd-tile__title a { color: #fff !important; background: linear-gradient(var(--red-hot), var(--red-hot)) 0 100% / 0 3px no-repeat; transition: background-size .3s var(--ease); }
.rd-tile:hover .rd-tile__title a, .rd-tile__title a:focus { background-size: 100% 3px; }
.rd-tile__dek { font: 400 17px/1.5 var(--f-text); color: rgba(255, 255, 255, .86); margin: 0 0 16px; max-width: 640px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rd-tile--lead { --fs: clamp(32px, 3.7vw, 56px); grid-column: 1 / span 8; grid-row: 1 / span 2; }
.rd-tile--lead .rd-tile__body { padding: clamp(22px, 3vw, 40px); }
.rd-tile--lead .rd-tile__title { letter-spacing: -.03em; line-height: 1.02; margin: 16px 0 14px; -webkit-line-clamp: 5; }
.rd-tile--lead .rd-tile__title.is-caps { line-height: 1.06 !important; }
.rd-tile--a { grid-column: 9 / span 4; grid-row: 1; }
.rd-tile--b { grid-column: 9 / span 4; grid-row: 2; }
.rd-tile--c { grid-column: 1 / span 4; grid-row: 3; }
.rd-tile--d { grid-column: 5 / span 4; grid-row: 3; }
.rd-tile--data { grid-column: 9 / span 4; grid-row: 3; }
.rd-tile--a, .rd-tile--b { --fs: 20px; }

/* Data tile: weather (rotating places) + rates */
.rd-tile--data { flex-direction: column; align-items: stretch; justify-content: space-between; padding: 22px; box-sizing: border-box; background: radial-gradient(120% 90% at 100% 0%, rgba(194, 0, 23, .55), transparent 60%), linear-gradient(160deg, #123a78, var(--navy) 55%, #08214a); }
.rd-tile--data::after { display: none; }
.rd-data__head { font: 800 12.5px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.rd-data__wx { cursor: pointer; min-height: 72px; }
.rd-dwx { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 10px; }
.rd-dwx img { width: 46px; height: 46px; }
.rd-dwx__temp { font: 900 54px/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rd-dwx__temp small { font-size: 20px; font-weight: 700; letter-spacing: 0; color: rgba(255, 255, 255, .7); margin-left: 4px; }
.rd-dwx__txt { font: 500 13px/1.35 var(--f-text); color: rgba(255, 255, 255, .85); min-width: 0; }
.rd-dwx__txt b { display: block; color: #fff; font-weight: 700; font-size: 14.5px; }
.rd-data__rates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rd-data__rates li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(3, 8, 23, .35); }
.rd-data__rates abbr { text-decoration: none; border: 0; font: 700 11.5px/1 var(--f-text); letter-spacing: .06em; color: rgba(255, 255, 255, .78); }
.rd-data__rates b { font: 800 16px/1 var(--f-display); font-variant-numeric: tabular-nums; text-align: right; }
.rd-data__rates span { grid-column: 1 / -1; font: 700 11.5px/1.3 var(--f-text); margin-top: 3px; font-variant-numeric: tabular-nums; }
.rd-data__src { font: 500 11.5px/1 var(--f-text); color: rgba(255, 255, 255, .7); }

/* ---------- Home: white sections ---------- */
.rd-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; margin-top: 56px; align-items: start; }
.rd-split__aside { min-width: 0; }

.rd-timeline { list-style: none; margin: 0; padding: 0; }
.rd-timeline__item { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 22px; position: relative; padding-bottom: 26px; }
.rd-timeline__item::before { content: ""; position: absolute; left: 70px; top: 8px; bottom: 0; width: 1px; background: var(--line); }
.rd-timeline__item::after { content: ""; position: absolute; left: 66px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--red); box-sizing: border-box; }
.rd-timeline__item:first-child::after { background: var(--red); }
.rd-timeline__time { font: 800 17px/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; padding-right: 4px; }
.rd-timeline__time small { display: block; font: 500 12px/1 var(--f-text); color: var(--muted); margin-top: 6px; }
.rd-timeline .rd-card--row { padding: 0 0 26px 12px; border-bottom: 1px solid var(--line); }
.rd-timeline__item:last-child .rd-card--row { border-bottom: 0; }

/* Popular — big outlined numerals */
.rd-rail > * + * { margin-top: 34px; }
.rd-rank { list-style: none; margin: 0; padding: 0; counter-reset: rd-rank; }
.rd-rank__item { counter-increment: rd-rank; border-bottom: 1px solid var(--line); }
.rd-rank__item:last-child { border-bottom: 0; }
.rd-rank__link { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 10px; padding: 16px 0; align-items: start; }
.rd-rank__link::before {
    content: counter(rd-rank); grid-row: span 2; font: 900 56px/.85 var(--f-display); letter-spacing: -.05em;
    color: transparent; -webkit-text-stroke: 1.6px var(--ink); font-variant-numeric: lining-nums;
}
.rd-rank__item:first-child .rd-rank__link::before { color: var(--red); -webkit-text-stroke: 0; }
.rd-rank__link:hover::before { color: var(--red); -webkit-text-stroke-color: var(--red); }
.rd-rank__title { --fs: 16px; font: 700 var(--fs)/1.25 var(--f-display); letter-spacing: -.01em; color: var(--ink); margin-bottom: 6px; }
.rd-rank__link:hover .rd-rank__title { color: var(--red-ink); }
.rd-mini { list-style: none; margin: 0; padding: 0; }
.rd-mini li { border-bottom: 1px solid var(--line); }
.rd-mini li:last-child { border-bottom: 0; }
.rd-mini__link { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 14px 0; align-items: start; }
.rd-mini__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-sm); background: var(--surface); }
.rd-mini__title { --fs: 15px; display: block; font: 700 var(--fs)/1.25 var(--f-display); color: var(--ink); margin-bottom: 5px; }
.rd-mini__link:hover .rd-mini__title { color: var(--red-ink); }

.rd .np-poll { background: var(--surface); border: 0; border-radius: var(--r); padding: 20px; }
.rd .np-poll__q { font: 800 18px/1.25 var(--f-display); color: var(--ink); }

.rd-section { margin-top: 64px; }
.rd-grid4 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-items: start; gap: 0 40px; }
.rd-grid4 > .rd-card--feature { --fs: clamp(26px, 2.6vw, 36px); grid-row: span 3; }
.rd-grid4 > .rd-card--feature .rd-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.rd-grid4 > .rd-card:not(.rd-card--feature) { --fs: 18px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rd-grid4 > .rd-card:not(.rd-card--feature):nth-child(2) { padding-top: 0; }
.rd-grid4 > .rd-card:not(.rd-card--feature):last-child { border-bottom: 0; }
.rd-grid4 > .rd-card:not(.rd-card--feature) .rd-card__media { margin: 0; }

/* Video reel — tall story cards */
.rd-reel { margin-top: 72px; padding: 52px 0 60px; background: var(--stage); color: #fff; }
.rd-reel__track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.rd-vcard { --fs: 17px; min-width: 0; }
.rd-vcard__link { position: relative; display: flex; align-items: flex-end; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r-lg); background: var(--stage-2); isolation: isolate; color: #fff !important; }
.rd-vcard__link img { position: absolute; inset: 0; z-index: -2; }
.rd-vcard__link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 10, 23, 0) 40%, rgba(5, 10, 23, .92) 100%); }
.rd-vcard__body { padding: 16px; display: block; width: 100%; }
.rd-vcard__title { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font: 800 var(--fs)/1.18 var(--f-display); letter-spacing: -.01em; margin-bottom: 8px; }
.rd-play { position: absolute; left: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); transition: transform .2s var(--ease); }
.rd-play svg { width: 18px; height: 18px; fill: currentColor; margin-left: 3px; }
.rd-vcard:hover .rd-play, .rd-card:hover .rd-play { transform: scale(1.1); }

.rd-talk { margin: 64px 0 8px; }
.rd-talk__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.rd-talk__list a { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--surface); border-radius: var(--r-lg); height: 100%; box-sizing: border-box; transition: background .2s, transform .2s var(--ease); }
.rd-talk__list a:hover { background: var(--line-2); transform: translateY(-2px); }
.rd-talk__count { display: flex; align-items: baseline; gap: 8px; font: 900 48px/1 var(--f-display); letter-spacing: -.04em; color: var(--red-ink); }
.rd-talk__count small { font: 600 13px/1 var(--f-text); letter-spacing: 0; color: var(--muted); }
.rd-talk__title { --fs: 17px; font: 700 var(--fs)/1.25 var(--f-display); color: var(--ink); display: block; letter-spacing: -.01em; }

/* ---------- Breadcrumbs ---------- */
.rd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font: 500 13px/1.4 var(--f-text); color: var(--muted); }
.rd-crumbs a { color: inherit !important; padding: 6px 0; }
.rd-crumbs a:hover { color: var(--red-ink) !important; }
.rd-crumbs a + a::before { content: "/"; margin: 0 10px; opacity: .5; }
.rd-crumbs--light { color: var(--on-dark-2); }
.rd-crumbs--light a:hover { color: #fff !important; }

/* ---------- Article ---------- */
.rd-ahero { position: relative; background: var(--stage); color: #fff; isolation: isolate; }
.rd-ahero__in { max-width: 1040px; }
.rd-ahero__body { width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 36px 28px 44px; box-sizing: border-box; }
.rd-ahero .rd-crumbs { color: var(--on-dark-2); margin-bottom: 14px; }
.rd-ahero .rd-crumbs a:hover { color: #fff !important; }
.rd-ahero__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.rd-ahero__title { --fs: clamp(32px, 4.4vw, 64px); font: 800 var(--fs)/1.04 var(--f-display); letter-spacing: -.03em; margin: 0 0 20px; color: #fff; text-wrap: balance; }
.rd-ahero__title.is-caps { line-height: 1.08 !important; }
.rd-ahero__dek { font: 400 clamp(18px, 1.6vw, 21px)/1.5 var(--f-text); color: rgba(255, 255, 255, .86); margin: 0 0 24px; max-width: 800px; }
.rd-byline { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--stage-line); max-width: 1040px; }
.rd-byline__avatar { flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.rd-byline__avatar svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.rd-byline__name { font: 700 15px/1.3 var(--f-text); color: #fff; margin-bottom: 3px; }
.rd-byline__name a { color: #fff !important; }
.rd-byline__name a:hover { text-decoration: underline !important; }
.rd-ahero .rd-meta { color: rgba(255, 255, 255, .78); }
.rd-ahero .rd-meta a:hover { color: #fff !important; }
.rd-ahero__media { margin: 0; }
.rd-ahero__media img { display: block; width: 100%; }
@media (min-width: 900px) {
    .rd-ahero.has-img { display: flex; align-items: flex-end; min-height: min(80vh, 760px); }
    .rd-ahero.has-img .rd-ahero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
    .rd-ahero.has-img .rd-ahero__media img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: center 35%; }
    .rd-ahero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
        background: linear-gradient(180deg, rgba(5, 10, 23, .35) 0%, rgba(5, 10, 23, 0) 22%, rgba(5, 10, 23, .55) 52%, rgba(5, 10, 23, .93) 82%, var(--stage) 100%); }
    .rd-ahero.has-img .rd-ahero__body { padding-top: 160px; padding-bottom: 52px; }
}

.rd-alayout { display: grid; grid-template-columns: 52px minmax(0, 700px) minmax(280px, 1fr); gap: 44px; align-items: start; margin-top: 48px; }
.rd-abody { min-width: 0; max-width: 700px; }
.rd-sharerail { min-width: 0; align-self: stretch; }
.rd-sharerail__in { position: sticky; top: 90px; }
.rd-sharerail .np-share { flex-direction: column; margin: 0; gap: 8px; }
.rd-sharerail .np-share__label { display: none; }
.rd-sharerail .np-share__btn { width: 48px; height: 48px; min-height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
.rd-sharerail .np-share__btn span { display: none; }
.rd-sticky { position: sticky; top: 76px; }
.rd-alayout__aside { min-width: 0; width: 100%; max-width: 320px; justify-self: end; }

.rd-prose.np-article-body { color: var(--ink); overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
.rd-prose.np-article-body :is(p, li, blockquote, div:not([class]), font, span:not([class]), td) { color: var(--ink) !important; }
.rd-prose.np-article-body img { max-width: 100% !important; height: auto !important; border-radius: var(--r); }
.rd-prose.np-article-body :is(strong, b) { font-weight: 700; }
.rd-prose.np-article-body :is(h2, h3, h4) { font-family: var(--f-display) !important; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 1.6em 0 .6em; color: var(--ink); }
.rd-prose.np-article-body a { color: var(--red-ink) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rd-prose.np-article-body blockquote {
    position: relative; margin: 1.8em 0; padding: 1.1em 1.3em 1.1em 1.5em; border: 0; border-left: 5px solid var(--red); border-radius: 0 var(--r) var(--r) 0;
    background: var(--surface); font-family: var(--f-display) !important; font-size: 1.2em !important; font-weight: 700; letter-spacing: -.01em; line-height: 1.45 !important; color: var(--ink) !important;
}
.rd-prose.np-article-body blockquote p { font-size: inherit !important; margin-bottom: .5em !important; font-family: inherit !important; }
.rd-prose.np-article-body table { max-width: 100%; display: block; overflow-x: auto; }
.rd-prose.np-article-body :is(iframe, video) { max-width: 100%; }

.rd-afoot { margin-top: 40px; padding-top: 26px; border-top: 2px solid var(--ink); display: grid; gap: 24px; }
.rd-afoot .np-share { margin: 0; }
.rd-react { background: var(--surface); border-radius: var(--r-lg); padding: 20px 22px 14px; }
.rd-react__label { font: 800 17px/1.3 var(--f-display); margin-bottom: 12px; color: var(--ink); }
.rd .reaction { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; text-align: left; }
.rd .reaction .each-reaction { position: relative; }
.rd .reaction .each-reaction .reaction-button { width: 56px; height: 56px; padding: 6px; border-radius: 50%; background: var(--card); display: grid; place-items: center; transition: transform .18s var(--ease), box-shadow .18s; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); border: 0; }
.rd .reaction .each-reaction .reaction-button:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow); }
.rd .reaction .each-reaction .reaction-button img { width: 40px; height: 40px; }
.rd .reaction .each-reaction .reaction-clicked { position: absolute; right: -2px; top: -4px; min-width: 22px; padding: 2px 6px; border-radius: 99px; background: var(--red); color: #fff; font: 700 11px/1.3 var(--f-text); text-align: center; }
.rd .reaction .each-reaction .reaction-clicked:empty { display: none; }
.rd .np-author-box { background: var(--surface); border-radius: var(--r-lg); padding: 22px; border: 0; }
.rd .np-author-box__name { font-family: var(--f-display); font-weight: 800; }
.rd .np-rating__label, .rd .np-share__label { font: 600 14px var(--f-text); color: var(--ink-2); }
html.rd-new[data-theme=dark] .np-share__btn.np-x { box-shadow: inset 0 0 0 1px #3a4560; }

/* Related */
.rd-related-wrap { margin-top: 64px; }
.rd .np-related { margin: 0; padding: 0; border: 0; }
.rd .np-related__title { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; padding: 0; border: 0; font: 900 clamp(26px, 2.6vw, 36px)/1 var(--f-display); color: var(--ink); text-transform: none; letter-spacing: -.03em; }
.rd .np-related__title::before { content: ""; width: 12px; height: 12px; background: var(--red); border-radius: 3px; flex: none; }
.rd .np-related__title::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.rd .np-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px var(--gap); }
.rd .np-related__card { display: flex; flex-direction: column; gap: 10px; color: var(--ink) !important; background: none; box-shadow: none; border: 0; }
.rd .np-related__img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: var(--r); background: var(--surface); }
.rd .np-related__name { font: 800 18px/1.2 var(--f-display); letter-spacing: -.01em; color: var(--ink); padding: 0; }
.rd .np-related__card:hover .np-related__name { color: var(--red-ink); }
.rd .np-related__date { font: 500 12.5px var(--f-text); color: var(--muted); padding: 0; }

/* Comments (also on video/podcast pages) */
.rd-comments { margin-top: 44px; }
.rd .comments-area[hidden] { display: none !important; }
.rd .comments-area .primary-heading, .rd .comment-form .primary-heading {
    margin: 0 0 18px; padding: 0; border: 0; font: 900 26px/1.1 var(--f-display); letter-spacing: -.02em; text-transform: none; color: var(--ink);
}
.rd .comments-area .comment-holder { padding: 0; background: none; box-shadow: none; }
.rd .comments-area .comment-holder .comment-wrap,
.rd .comments-area .comment-holder .comment-wrap.left,
.rd .comments-area .comment-holder .comment-wrap.right {
    display: flex; gap: 14px; margin: 0 0 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card);
}
.rd .comments-area .comment-holder .comment-wrap:hover { box-shadow: var(--shadow); }
.rd .comments-area .comment-holder .comment-wrap .comment-thumb { flex: 0 0 44px; width: 44px; float: none !important; }
.rd .comments-area .comment-holder .comment-wrap .comment-thumb img { width: 44px; height: 44px; object-fit: cover; border: 0; border-radius: 50%; }
.rd .comments-area .comment-holder .comment-wrap .comment-body { width: auto; flex: 1; min-width: 0; padding: 0; display: block; }
.rd .comments-area .comment-holder .comment-wrap .comment-body .comment-author { font: 700 15px/1.3 var(--f-text); text-transform: none; color: var(--ink); margin-bottom: 4px; }
.rd .comment-content { font: 400 16px/1.6 var(--f-text); color: var(--ink-2); overflow-wrap: anywhere; }
.rd .comments-area .post-meta { margin: 6px 0 0; padding: 0; list-style: none; font: 500 12.5px var(--f-text); color: var(--muted); }
.rd .comments-area .post-meta li { color: var(--muted); }
.rd .comment-form { margin: 32px 0 0; }
.rd .comment-form .comment-warning { margin: 0 0 18px; padding: 14px 16px; background: color-mix(in srgb, var(--red) 8%, var(--bg)); color: var(--ink-2); border-left: 4px solid var(--red); border-radius: var(--r-sm); font: 400 14px/1.5 var(--f-text); }
.rd .comment-form .comment-warning span { color: var(--red-ink); font-weight: 800; }
.rd .comment-form .avatars { display: flex; flex-wrap: wrap; gap: 8px; width: auto; margin: 0 0 14px; }
.rd .comment-form .avatars .comment-guest { width: 52px; height: 52px; margin: 0; border-radius: 50%; padding: 2px; border: 2px solid transparent; cursor: pointer; }
.rd .comment-form .avatars .comment-guest.active { border-color: var(--red); }
.rd .comment-form .avatars .comment-guest img { width: 100%; border-radius: 50%; }
.rd .comment-form .form { width: 100%; display: block; margin: 0; }
.rd .comment-form .form-control { height: auto; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--ink); font: 400 16px/1.5 var(--f-text); box-shadow: none; }
.rd .comment-form .form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 47, 99, .18); }
.rd .comment-form .form button, .rd .comment-form .btn.red {
    float: none; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; width: auto;
    border: 0; border-radius: 12px; background: var(--red); color: #fff; font: 700 15px var(--f-text); transition: background .18s;
}
.rd .comment-form .form button:hover { background: #9e0013; }
.rd .comment-form .np-comment-authed .form { width: 100%; }

/* ---------- Category ---------- */
.rd-band { background: var(--stage); color: #fff; padding: 30px 0 40px; position: relative; overflow: hidden; }
.rd-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(194, 0, 23, .35), transparent 65%); pointer-events: none; }
.rd-band .rd-wrap { position: relative; }
.rd-band__title { font: 900 clamp(44px, 7vw, 104px)/.95 var(--f-display); margin: 14px 0 18px; letter-spacing: -.045em; }
.rd-band__title a { color: #fff !important; }
.rd-band__title a::after { content: "."; color: var(--red-hot); }
.rd-band__stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.rd-band__stat { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .07); font: 500 13.5px/1 var(--f-text); color: var(--on-dark-2); }
.rd-band__stat b { font: 800 20px/1 var(--f-display); color: #fff; font-variant-numeric: tabular-nums; }
.rd-band__sub { font: 400 15px/1.5 var(--f-text); color: var(--on-dark-2); margin: 6px 0 0; max-width: 720px; }
.rd-band__chips { margin-top: 18px; }
.rd-split--cat { margin-top: 40px; }
.rd-catmain { min-width: 0; }
.rd-catlead { --fs: clamp(26px, 3vw, 42px); position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--stage-2); min-height: 460px; display: flex; align-items: flex-end; margin-bottom: 36px; isolation: isolate; }
.rd-catlead__media { position: absolute; inset: 0; z-index: -2; }
.rd-catlead__media img { width: 100% !important; height: 100% !important; object-fit: cover; }
.rd-catlead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 10, 23, 0) 25%, rgba(5, 10, 23, .65) 58%, rgba(5, 10, 23, .95) 100%); pointer-events: none; }
.rd-catlead__body { padding: clamp(20px, 3vw, 34px); color: #fff; }
.rd-catlead__title { font: 800 var(--fs)/1.06 var(--f-display); letter-spacing: -.03em; margin: 14px 0 12px; color: #fff; text-wrap: balance; }
.rd-catlead__title a { color: #fff !important; }
.rd-catlead__title a:hover { text-decoration: underline !important; text-decoration-color: var(--red-hot) !important; text-underline-offset: 6px; text-decoration-thickness: 3px !important; }
.rd-catlead__dek { font: 400 16.5px/1.5 var(--f-text); color: rgba(255, 255, 255, .86); margin: 0 0 14px; max-width: 640px; }
.rd-catgrid, .rd-vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gap); }
.rd-vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rd-vgrid .rd-card { --fs: 17px; }
.rd-catgrid .rd-card { --fs: 21px; }

.rd-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 48px 0 0; padding-top: 24px; border-top: 2px solid var(--ink); flex-wrap: wrap; }
.rd-pager__nums { display: flex; gap: 6px; flex-wrap: wrap; }
.rd-pager__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; height: 46px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink) !important; box-sizing: border-box;
    font: 800 15px var(--f-display); font-variant-numeric: tabular-nums; transition: background .18s, border-color .18s, color .18s;
}
.rd-pager__btn--wide { padding: 0 22px; }
a.rd-pager__btn:hover { border-color: var(--stage); background: var(--stage); color: #fff !important; }
.rd-pager__btn.is-current { background: var(--red); border-color: var(--red); color: #fff !important; }
.rd-pager__btn.is-disabled { opacity: .4; }

/* ---------- Footer ---------- */
.rd-foot { margin-top: 80px; background: var(--stage); color: var(--on-dark-2); padding: 64px 0 28px; position: relative; overflow: hidden; }
.rd-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 30%, var(--navy) 30% 100%); }
.rd-foot__hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--stage-line); }
.rd-foot__logo img { height: 48px; width: auto; display: block; }
.rd-foot__lede { font: 800 clamp(24px, 2.8vw, 38px)/1.1 var(--f-display); letter-spacing: -.025em; color: #fff; margin: 0; max-width: 660px; }
.rd-foot__lede span { color: var(--red-hot); }
.rd-foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.5fr; gap: 40px; }
.rd-foot__contact { list-style: none; margin: 0 0 18px; padding: 0; font: 400 14px/1.5 var(--f-text); }
.rd-foot__contact li { display: flex; gap: 10px; padding: 4px 0; }
.rd-foot__contact .fa { width: 14px; margin-top: 4px; color: var(--red-hot); }
.rd-foot__contact a { color: var(--on-dark-2) !important; }
.rd-foot__contact a:hover { color: #fff !important; }
.rd-foot__title { font: 800 12.5px/1.2 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 6px 0 14px; }
.rd-foot__links { list-style: none; margin: 0; padding: 0; }
.rd-foot__links a { display: inline-block; padding: 6px 0; color: var(--on-dark-2) !important; font: 500 14.5px/1.4 var(--f-text); }
.rd-foot__links a:hover { color: #fff !important; }
.rd-foot .np-newsletter { margin: 0; padding: 24px; background: var(--stage-2); border: 1px solid var(--stage-line); border-radius: var(--r-lg); color: #fff; }
.rd-foot .np-newsletter__title { font: 800 21px/1.2 var(--f-display); letter-spacing: -.01em; color: #fff; }
.rd-foot .np-newsletter__text { color: var(--on-dark-2); opacity: 1; font-size: 14px; }
.rd-foot .np-newsletter__row { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-foot .np-newsletter input[type=email] { flex: 1 1 180px; min-width: 0; height: 48px; border-radius: 12px; border: 0; padding: 0 16px; background: #fff; color: #0d1220; }
.rd-foot .np-newsletter button { height: 48px; border-radius: 12px; padding: 0 22px; border: 0; background: var(--red); color: #fff; font: 700 14.5px var(--f-text); }
.rd-foot .np-newsletter button:hover { background: #9e0013; }
.rd-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--stage-line); font: 400 13px/1.6 var(--f-text); }
.rd-foot__bottom a { color: #fff !important; }
.rd-foot__bottom a:hover { text-decoration: underline !important; }
.rd-social--foot a { width: 40px; height: 40px; font-size: 16px; }

/* ---------- Drawer ---------- */
.rd-drawer { position: fixed; inset: 0; z-index: 2000; background: rgba(3, 8, 23, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.rd-drawer[hidden] { display: none; }
.rd-drawer__panel {
    position: absolute; top: 0; left: 0; bottom: 0; width: min(400px, 90vw); overflow-y: auto; background: var(--stage); color: #fff;
    padding: 18px 22px 32px; box-sizing: border-box; animation: rd-slide .22s var(--ease);
}
@keyframes rd-slide { from { transform: translateX(-24px); opacity: .6; } to { transform: none; opacity: 1; } }
.rd-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.rd-drawer__logo img { height: 30px; width: auto; display: block; }
.rd-search--drawer input, .rd-search--drawer input:focus { width: 100%; }
.rd-search--drawer { margin-bottom: 14px; }
.rd-drawer__label { font: 800 11.5px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin: 26px 0 6px; }
.rd-drawer__nav { list-style: none; margin: 0; padding: 0; }
.rd-drawer__nav li { border-bottom: 1px solid var(--stage-line); }
.rd-drawer__nav a, .rd-drawer__nav summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; color: #fff !important; font: 800 22px/1.2 var(--f-display); letter-spacing: -.02em; cursor: pointer; list-style: none; }
.rd-drawer__nav a:hover, .rd-drawer__nav summary:hover { color: var(--red-hot) !important; }
.rd-drawer__nav summary::-webkit-details-marker { display: none; }
.rd-drawer__nav summary::after { content: "+"; font-size: 24px; font-weight: 400; opacity: .7; }
.rd-drawer__nav details[open] summary::after { content: "–"; }
.rd-drawer__nav ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; }
.rd-drawer__nav ul li { border: 0; }
.rd-drawer__nav ul a { min-height: 44px; font: 600 16px/1.3 var(--f-text); letter-spacing: 0; color: var(--on-dark-2) !important; }
.rd-drawer__nav--sm a { font: 500 15.5px/1.3 var(--f-text); letter-spacing: 0; min-height: 46px; color: var(--on-dark-2) !important; }
.rd-social--drawer { margin-top: 22px; }
.rd-social--drawer a { width: 44px; height: 44px; font-size: 18px; }
html.rd-drawer-open { overflow: hidden; }

/* ---------- Old-theme pages inside the new frame ---------- */
.rd-main > .container.main { padding-top: 26px; }
.container.main h1.title, .container.main .search-page-title, .container.main article .info h1.title { font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; text-transform: none; line-height: 1.12; }
.container.main .np-article-body, .container.main article .info .desc, .container.main article .info .desc p { font-family: var(--f-text) !important; }
.container.main .bread { font-family: var(--f-text); font-size: 13px; }
.container.main .bread .bread-item a { color: var(--muted); }
.np-embed iframe, .np-embed video { max-width: 100%; }
.np-podcast-player { display: flex; gap: 15px; align-items: center; background: var(--stage); padding: 15px; border-radius: var(--r); }
.np-podcast-cover img { width: 200px; max-width: 40vw; }
.np-podcast-audio { flex: 1; min-width: 0; color: #fff; }
.np-podcast-audio a { color: var(--on-dark-2); }
.container.main article .np-share { clear: both; }
.container.main article .info .meta::after { content: ""; display: table; clear: both; }
.container.main article, .container.main article .info, .container.main .np-article-body { max-width: 100%; min-width: 0; }
.container.main .np-article-body img { max-width: 100% !important; height: auto !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1279.98px) {
    .rd-mast__in { flex-wrap: wrap; gap: 12px 16px; padding-top: 14px; }
    .rd-nav { order: 5; flex: 1 0 100%; border-top: 1px solid var(--stage-line); margin-inline: -28px; padding: 6px 28px; }
    .rd-nav__list { overflow-x: auto; scrollbar-width: none; }
    .rd-nav__list::-webkit-scrollbar { display: none; }
    .rd-nav__item.has-sub > .rd-nav__link::before { display: none; }
    .rd-nav__item.has-sub > .rd-nav__link { padding-right: 13px; }
    .rd-nav__sub { display: none; }
    .rd-rates .rd-rate:nth-child(n+4) { display: none; }
    .rd-split { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
    .rd-alayout { grid-template-columns: 52px minmax(0, 1fr) 300px; gap: 32px; }
}
@media (max-width: 1023.98px) {
    .rd-util__links, .rd-util .rd-social { display: none; }
    .rd-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 280px; }
    .rd-tile--lead { grid-column: 1 / -1; grid-row: auto; min-height: 480px; }
    .rd-tile--a, .rd-tile--b, .rd-tile--c, .rd-tile--d, .rd-tile--data { grid-column: auto; grid-row: auto; }
    .rd-tile--data { grid-column: 1 / -1; }
    .rd-split { grid-template-columns: 1fr; }
    .rd-alayout { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 720px; margin-inline: auto; }
    .rd-sharerail { align-self: auto; margin-bottom: 22px; }
    .rd-sharerail__in { position: static; }
    .rd-sharerail .np-share { flex-direction: row; flex-wrap: wrap; }
    .rd-alayout__aside { margin-top: 44px; max-width: none; justify-self: stretch; }
    .rd-sticky { position: static; }
    .rd-split__aside .rd-rail, .rd-alayout__aside .rd-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
    .rd-split__aside .rd-rail > * + *, .rd-alayout__aside .rd-rail > * + * { margin-top: 0; }
    .rd-rail > .np-banners, .rd-rail > .np-poll { grid-column: 1 / -1; }
    .rd-reel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -28px; padding-inline: 28px; scroll-padding-inline: 28px; }
    .rd-reel__track::-webkit-scrollbar { display: none; }
    .rd-vcard { flex: 0 0 220px; scroll-snap-align: start; }
    .rd-talk__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rd-foot__grid { grid-template-columns: 1fr 1fr; }
    .rd-search input:focus { width: 200px; }
}
@media (max-width: 767.98px) {
    .rd-wrap { padding-inline: 16px; }
    .rd-util__in { gap: 12px; min-height: 34px; font-size: 12px; }
    .rd-util__wx, .rd-rates { padding-left: 12px; }
    .rd-rates { gap: 10px; }
    .rd-rates .rd-rate:nth-child(n+2) { display: none; }
    .rd-mast__in { min-height: 60px; padding-top: 8px; gap: 8px 10px; }
    .rd-logo img { height: 30px; }
    .rd-mast .rd-search { display: none; }
    .rd-nav { margin-inline: -16px; padding: 4px 8px; }
    .rd-nav__link { padding: 0 11px; font-size: 14.5px; }
    .rd-nav__link.is-active::after { left: 11px; right: 11px; }
    .rd-ticker__in { gap: 10px; min-height: 42px; }
    .rd-ticker__label { height: 28px; padding: 0 10px; font-size: 11.5px; }
    .rd-ticker__list li { font-size: 13.5px; }

    .rd-stage { padding: 14px 0 28px; }
    .rd-stories { gap: 14px; margin-inline: -16px; padding-inline: 16px; padding-bottom: 16px; }
    .rd-story { width: 70px; }
    .rd-story__ring { width: 64px; height: 64px; }
    .rd-story__name { font-size: 12px; }
    .rd-bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
    .rd-tile { min-height: 230px; border-radius: 14px; }
    .rd-tile--lead { --fs: 30px; min-height: 0; display: block; margin-inline: -16px; border-radius: 0; background: var(--stage); }
    .rd-tile--lead .rd-tile__media { position: relative; display: block; aspect-ratio: 4 / 3; z-index: 0; }
    .rd-tile--lead::after { top: 0; bottom: auto; height: calc((100vw) * .75); background: linear-gradient(180deg, rgba(5, 10, 23, 0) 55%, var(--stage) 100%); z-index: 0; }
    .rd-tile--lead .rd-tile__body { position: relative; z-index: 1; margin-top: -54px; padding: 0 16px 8px; }
    .rd-tile--lead .rd-tile__title { -webkit-line-clamp: 6; }
    .rd-tile__dek { font-size: 16px; }
    .rd-tile--a, .rd-tile--b, .rd-tile--c, .rd-tile--d { --fs: 19px; }
    .rd-bento__more { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px; scroll-padding-inline: 16px; }
    .rd-bento__more::-webkit-scrollbar { display: none; }
    .rd-bento__more > .rd-tile { flex: 0 0 78%; min-height: 300px; scroll-snap-align: start; }
    .rd-tile__body { padding: 16px; }
    .rd-tile__title a { display: inline-block; padding-block: 12px; margin-block: -12px; }
    .rd-tile--data { grid-column: auto; padding: 18px; gap: 14px; }

    .rd-split { margin-top: 36px; }
    .rd-timeline__item { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; }
    .rd-timeline__item::before { left: 53px; }
    .rd-timeline__item::after { left: 49px; }
    .rd-timeline__time { font-size: 14.5px; }
    .rd-timeline .rd-card--row { padding: 0 0 18px 6px; }
    .rd-card--row { --fs: 17px; grid-template-columns: minmax(0, 1fr) 104px; gap: 12px; }
    .rd-card--row .rd-card__media { border-radius: var(--r-sm); }
    .rd-card--row .rd-card__dek { display: none; }
    .rd-split__aside .rd-rail, .rd-alayout__aside .rd-rail { grid-template-columns: 1fr; }
    .rd-rank__link::before { font-size: 46px; }
    .rd-grid4 { grid-template-columns: 1fr; }
    .rd-grid4 > .rd-card--feature { grid-row: auto; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
    .rd-grid4 > .rd-card:not(.rd-card--feature) { --fs: 17px; grid-template-columns: 112px minmax(0, 1fr); }
    .rd-grid4 > .rd-card:not(.rd-card--feature):nth-child(2) { padding-top: 16px; }
    .rd-section { margin-top: 48px; }
    .rd-reel { margin-top: 48px; padding: 36px 0 40px; }
    .rd-reel__track { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; gap: 12px; }
    .rd-vcard { flex-basis: 64%; --fs: 16px; }
    .rd-talk__list { grid-template-columns: 1fr; gap: 10px; }
    .rd-talk__list a { flex-direction: row; align-items: center; gap: 16px; padding: 16px; }
    .rd-talk__count { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 34px; min-width: 70px; }
    .rd-talk__title { --fs: 16px; }
    .rd-h { font-size: 26px; margin-bottom: 18px; }

    .rd-ahero__body { padding: 20px 16px 30px; }
    .rd-ahero__media img { aspect-ratio: 16 / 10; object-fit: cover; height: auto !important; }
    .rd-ahero__title { --fs: 30px; }
    .rd-ahero__dek { font-size: 17px; }
    .rd-byline { align-items: flex-start; }
    .rd-alayout { margin-top: 26px; }
    .rd .np-share__label { display: none; }
    .rd .np-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
    .rd .np-related__name { font-size: 15.5px; }

    .rd-band { padding: 20px 0 28px; }
    .rd-catlead { min-height: 360px; margin-inline: -16px; border-radius: 0; margin-bottom: 20px; }
    .rd-catgrid { grid-template-columns: 1fr; gap: 0; }
    .rd-catgrid > .rd-card { --fs: 17px; display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
    .rd-catgrid > .rd-card .rd-card__media { margin: 0; order: 2; border-radius: var(--r-sm); }
    .rd-catgrid > .rd-card .rd-card__dek { display: none; }
    .rd-catgrid > .rd-ad { margin: 16px 0; }
    .rd-vgrid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
    .rd-pager { justify-content: center; }
    .rd-pager__btn--wide { flex: 1 1 40%; }
    .rd-pager__nums { order: -1; width: 100%; justify-content: center; }

    .rd-foot { padding-top: 44px; margin-top: 56px; }
    .rd-foot__hero { padding-bottom: 28px; margin-bottom: 28px; }
    .rd-foot__logo img { height: 36px; }
    .rd-foot__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .rd-foot__about, .rd-foot__news { grid-column: 1 / -1; }
    .rd-foot__bottom { flex-direction: column; }
    .rd-foot__bottom a { display: inline-block; min-height: 32px; line-height: 32px; }
    .rd-ad--top { padding-top: 14px; }
    .rd-byline .rd-meta a { display: inline-flex; align-items: center; min-height: 32px; min-width: 32px; }
    .rd-foot__contact a { display: inline-block; padding: 6px 0; }
}
@media (max-width: 420px) {
    .rd-util__date b { display: none; }
    .rd-wx__city { display: none; }
}

@media (hover: none) {
    .rd-card:hover .rd-card__media img, .rd-tile:hover .rd-tile__media img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .rd *, .rd *::before, .rd *::after { transition: none !important; animation: none !important; }
    .rd-ticker__vp { overflow-x: auto; scrollbar-width: none; }
    .rd-ticker__dup { display: none; }
}
@media print {
    .rd-util, .rd-nav, .rd-ticker, .rd-mast__tools, .rd-burger, .rd-alayout__aside, .rd-sharerail, .rd-foot, .rd-ad, .rd-comments, .np-share { display: none !important; }
    .rd-head, .rd-mast, .rd-ahero { background: #fff !important; color: #000 !important; }
    .rd-ahero__title, .rd-ahero__dek { color: #000 !important; }
}
