/* =====================================================================
   miniialtai.mn — redesign 2026 ("photo desk")
   Visual-first regional newsroom: cinematic lead, dark media stages,
   Govi-orange accents. Oswald (display) + Golos Text (text).
   Loaded last: after the old theme, newsplus design.css and site-newsplus.css.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --rd-brand: #d1461a;          /* buttons / bars (white text 4.56:1) */
  --rd-brand-hover: #a8380f;
  --rd-brand-text: #b23a12;     /* orange text on light paper (≥5.5:1) */
  --rd-brand-lite: #ff8257;     /* orange text on dark stages (≥6:1) */
  --rd-ink: #141312;
  --rd-ink-2: #3a3734;
  --rd-muted: #5f5a54;          /* warm grey, 6.6:1 on white */
  --rd-line: #e5dfd7;
  --rd-bg: #faf8f5;             /* warm paper */
  --rd-surface: #ffffff;
  --rd-tint: #f3ece3;           /* Govi sand */
  --rd-stage: #0f0f10;          /* dark media sections */
  --rd-stage-2: #1b1a1a;
  --rd-stage-line: #2e2c2b;
  --rd-stage-ink: #f4f1ec;
  --rd-stage-muted: #b3ada5;
  --rd-display: 'Oswald', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --rd-text: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --rd-r: 4px;
  --rd-r-lg: 10px;
  --rd-shadow: 0 1px 2px rgba(20, 19, 18, .06), 0 8px 24px rgba(20, 19, 18, .07);
  --rd-shadow-lg: 0 20px 50px rgba(0, 0, 0, .35);
  --rd-gap: clamp(16px, 2.2vw, 28px);
  --rd-sec: clamp(36px, 5vw, 64px);
  --rd-max: 1280px;
  --rd-ease: cubic-bezier(.2, .7, .2, 1);

  /* hand the type system to the old theme and to newsplus widgets */
  --font-family-primary: var(--rd-text);
  --font-family-tertiary: var(--rd-text);
  --font-family-secondary: var(--rd-display);
  --heading-font-typeface: var(--rd-display);
  --np-font: var(--rd-text);
  --np-read-font: var(--rd-text);
  --np-accent: var(--rd-brand);
  --np-read-size: 19px;
  --np-read-line: 1.72;
  --np-read-color: #1f1d1b;
  --np-surface: var(--rd-surface);
  --np-text: var(--rd-ink);
  --np-muted: var(--rd-muted);
  --np-border: var(--rd-line);
}

/* Real dark mode (the generic newsplus inversion stays off) */
html[data-theme=dark], html.uc-dark {
  --rd-brand-text: #ff8257;
  --rd-ink: #f1ede7;
  --rd-ink-2: #d4cfc8;
  --rd-muted: #aaa39a;
  --rd-line: #2c2a29;
  --rd-bg: #111110;
  --rd-surface: #19181a;
  --rd-tint: #1f1c19;
  --rd-stage: #080808;
  --rd-stage-2: #151414;
  --rd-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  --np-read-color: #e8e4de;
  --np-surface: #19181a;
  --np-text: #f1ede7;
  --np-muted: #aaa39a;
  --np-border: #2c2a29;
  --np-soft: rgba(255, 255, 255, .05);
  color-scheme: dark;
}
html[data-theme=dark] { filter: none !important; }
html[data-theme=dark] img, html[data-theme=dark] video, html[data-theme=dark] iframe { filter: none !important; }

/* ---------- Base ---------- */
html { scroll-padding-top: 64px; }
html.rd-locked { overflow: hidden; }
body.rd-body {
  margin: 0; background: var(--rd-bg); color: var(--rd-ink);
  font-family: var(--rd-text); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.rd-body a { color: inherit; }
.rd-body :focus-visible { outline: 3px solid var(--rd-brand); outline-offset: 2px; border-radius: 2px; }
.rd-skip { position: absolute; left: 8px; top: -60px; z-index: 10000; background: var(--rd-brand); color: #fff !important; padding: 10px 14px; border-radius: var(--rd-r); font-weight: 600; text-decoration: none; }
.rd-skip:focus { top: 8px; }
.rd-wrap { width: 100%; max-width: var(--rd-max); margin-inline: auto; padding-inline: 16px; box-sizing: border-box; }
@media (min-width: 768px) { .rd-wrap { padding-inline: 24px; } }
.rd-main { display: block; min-height: 50vh; }
.rd-body img { max-width: 100%; }
.m-0 { margin: 0; }

/* Labels */
.rd-kicker {
  display: inline-block; font-family: var(--rd-text); font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--rd-brand-text) !important; text-decoration: none !important;
}
.rd-kicker:hover { text-decoration: underline !important; }
.rd-chip {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; background: var(--rd-brand); color: #fff !important;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important; border-radius: 2px;
}
.rd-chip--sm { min-height: 22px; padding: 0 8px; font-size: 11px; }
.rd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; color: var(--rd-muted); }
.rd-meta time { white-space: nowrap; }
.rd-meta__c { display: inline-flex; align-items: center; gap: 4px; color: inherit !important; text-decoration: none !important; }
.rd-meta__c:hover { color: var(--rd-brand-text) !important; }
.rd-meta__by a { color: var(--rd-ink) !important; font-weight: 600; text-decoration: none; }
.rd-meta--light { color: var(--rd-stage-muted); }
.rd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--rd-r); font: 600 16px/1 var(--rd-text); cursor: pointer; transition: background .18s; }
.rd-btn--brand { background: var(--rd-brand); color: #fff; }
.rd-btn--brand:hover { background: var(--rd-brand-hover); }

/* Section heads: Oswald caps with an orange block */
.rd-sec { padding-block: var(--rd-sec) 0; }
.rd-sec:last-child { padding-bottom: var(--rd-sec); }
.rd-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid var(--rd-line); position: relative; }
.rd-sechead::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--rd-brand); }
.rd-body .rd-sechead__t {
  --heading-font-typeface: var(--rd-display);
  display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--rd-display); font-weight: 600;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; color: var(--rd-ink);
}
.rd-sechead__t a { text-decoration: none; color: inherit !important; }
.rd-sechead__t a:hover { color: var(--rd-brand-text) !important; }
.rd-sechead__ico { color: var(--rd-brand); }
.rd-sechead--sm .rd-sechead__t { font-size: 22px; }
.rd-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--rd-brand-text) !important; text-decoration: none !important; white-space: nowrap; }
.rd-more::after { content: '→'; transition: transform .18s var(--rd-ease); }
.rd-more:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.rd-header { position: relative; z-index: 50; background: var(--rd-stage); color: var(--rd-stage-ink); }
.rd-util { border-bottom: 1px solid var(--rd-stage-line); font-size: 13px; color: var(--rd-stage-muted); }
.rd-util__in { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.rd-util__date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rd-util__place { color: var(--rd-brand-lite); font-weight: 600; margin-left: 6px; }
.rd-util__wr { flex: 1; min-width: 0; overflow: hidden; }
.rd-util .np-wr, .rd-drawer__wr .np-wr { display: flex; align-items: center; gap: 16px; white-space: nowrap; font-size: 13px; color: var(--rd-stage-muted); background: none; padding: 0; margin: 0; border: 0; }
.rd-util .np-wr b, .rd-drawer__wr .np-wr b { color: var(--rd-stage-ink); font-weight: 600; }
.rd-util .np-wr__weather { color: var(--rd-stage-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; }
.rd-util .np-wr__weather img { width: 18px; height: 18px; }
.rd-util .np-up { color: #5fd38a; font-style: normal; font-size: 10px; margin-left: 2px; }
.rd-util .np-down { color: #ff8a7a; font-style: normal; font-size: 10px; margin-left: 2px; }
.rd-util__social, .rd-drawer__social, .rd-footer__social { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.rd-util__social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--rd-stage-muted) !important; }
.rd-util__social a:hover { color: #fff !important; }

.rd-mast { border-top: 0; position: relative; }
.rd-mast::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 0; }
.rd-mast__in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.rd-logo { display: inline-flex; align-items: center; flex: none; text-decoration: none !important; }
.rd-logo img { display: block; width: auto; height: 34px; max-width: 220px; object-fit: contain; }
.rd-logo__text { font: 700 26px/1 var(--rd-display); color: #fff; letter-spacing: .01em; }
.rd-logo__text b { color: var(--rd-brand-lite); font-weight: 700; }
.rd-iconbtn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background .18s, color .18s;
}
.rd-iconbtn:hover { background: rgba(255, 255, 255, .1); }
.rd-mast__menu { margin-left: -10px; }
.rd-mast__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.rd-header .np-theme-toggle.rd-theme { border: 1px solid rgba(255, 255, 255, .22); color: #fff; background: transparent; }
.rd-header .np-theme-toggle.rd-theme svg { width: 18px; height: 18px; }

.rd-nav { display: none; flex: 1; min-width: 0; align-self: stretch; }
.rd-nav__list { display: flex; align-items: stretch; gap: 2px; list-style: none; margin: 0; padding: 0; height: 100%; }
.rd-nav__item { position: relative; display: flex; }
.rd-nav__item > a, .rd-nav__btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; min-height: 72px; background: none; border: 0; cursor: pointer;
  font: 500 15px/1 var(--rd-display); letter-spacing: .06em; text-transform: uppercase; color: #e9e5df !important; text-decoration: none !important;
  position: relative; white-space: nowrap; transition: color .18s;
}
.rd-nav__item > a::after, .rd-nav__btn::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 4px; background: var(--rd-brand); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--rd-ease); }
.rd-nav__item > a:hover, .rd-nav__btn:hover, .rd-nav__item > a.is-active, .rd-nav__item.is-active > .rd-nav__btn { color: #fff !important; }
.rd-nav__item > a:hover::after, .rd-nav__btn:hover::after, .rd-nav__item > a.is-active::after, .rd-nav__item.is-active > .rd-nav__btn::after { transform: scaleX(1); }
.rd-nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: var(--rd-stage-2);
  border-top: 3px solid var(--rd-brand); box-shadow: var(--rd-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s var(--rd-ease), visibility 0s linear .18s; z-index: 60;
}
.rd-nav__item.has-sub:hover .rd-nav__sub, .rd-nav__item.has-sub:focus-within .rd-nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rd-nav__sub a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; color: #e9e5df !important; text-decoration: none !important; font-size: 15px; border-radius: var(--rd-r); }
.rd-nav__sub a:hover, .rd-nav__sub a.is-active { background: rgba(255, 255, 255, .07); color: var(--rd-brand-lite) !important; }
@media (min-width: 1100px) {
  .rd-nav { display: flex; }
  .rd-mast__menu { display: none; }
  .rd-mast__in { gap: 28px; }
}
@media (max-width: 767px) {
  .rd-util__social, .rd-util__date { display: none; }
  .rd-util .np-wr__rate:nth-of-type(n+3) { display: none; }
  .rd-util__in { min-height: 34px; }
  .rd-util .np-wr { gap: 12px; font-size: 12.5px; }
  .rd-mast__in { min-height: 60px; gap: 8px; }
  .rd-logo img { height: 26px; max-width: 170px; }
  .rd-mast .rd-logo { margin-right: auto; }
  .rd-mast__actions { margin-left: 0; gap: 0; }
}

/* Overlays */
.rd-overlay { position: fixed; inset: 0; z-index: 10001; background: rgba(8, 8, 8, .72); opacity: 0; transition: opacity .2s; }
.rd-overlay.is-open { opacity: 1; }
.rd-overlay[hidden] { display: none; }
.rd-search { background: rgba(10, 10, 10, .96); display: flex; align-items: flex-start; justify-content: center; padding: 18vh 16px 0; color: #fff; }
.rd-overlay__close { position: absolute; top: 16px; right: 16px; color: #fff; }
.rd-search__form { width: 100%; max-width: 760px; }
.rd-search__label { display: block; font: 600 clamp(28px, 4vw, 48px)/1.1 var(--rd-display); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 22px; }
.rd-search__row { display: flex; gap: 10px; border-bottom: 3px solid var(--rd-brand); padding-bottom: 10px; }
.rd-search__row input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: 400 clamp(20px, 2.6vw, 28px)/1.3 var(--rd-text); outline: none; }
.rd-search__row input::placeholder { color: #8d8780; }
.rd-drawer { display: block; }
.rd-drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 380px); background: var(--rd-stage); color: var(--rd-stage-ink);
  display: flex; flex-direction: column; overflow-y: auto; transform: translateX(-100%); transition: transform .22s var(--rd-ease);
}
.rd-drawer.is-open .rd-drawer__panel { transform: none; }
.rd-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 10px 16px; border-bottom: 1px solid var(--rd-stage-line); }
.rd-drawer__head .rd-logo img { height: 28px; }
.rd-drawer__search { padding: 14px 16px; }
.rd-drawer__search input { width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px; background: var(--rd-stage-2); color: #fff; border: 1px solid var(--rd-stage-line); border-radius: var(--rd-r); font: 16px var(--rd-text); }
.rd-drawer__nav { list-style: none; margin: 0; padding: 0 8px; }
.rd-drawer__nav a, .rd-drawer__nav summary {
  display: flex; align-items: center; min-height: 50px; padding: 0 10px; border-bottom: 1px solid var(--rd-stage-line);
  font: 500 18px/1.2 var(--rd-display); letter-spacing: .05em; text-transform: uppercase; color: var(--rd-stage-ink) !important; text-decoration: none !important; cursor: pointer;
}
.rd-drawer__nav a.is-active { color: var(--rd-brand-lite) !important; box-shadow: inset 4px 0 0 var(--rd-brand); }
.rd-drawer__nav details ul { list-style: none; margin: 0; padding: 0 0 0 14px; }
.rd-drawer__nav details ul a { font: 400 16px var(--rd-text); text-transform: none; letter-spacing: 0; min-height: 44px; }
.rd-drawer__nav summary::-webkit-details-marker { display: none; }
.rd-drawer__nav summary::after { content: '+'; margin-left: auto; color: var(--rd-brand-lite); font-size: 22px; }
.rd-drawer__nav details[open] summary::after { content: '–'; }
.rd-drawer__foot { margin-top: auto; padding: 16px; border-top: 1px solid var(--rd-stage-line); }
.rd-drawer__wr .np-wr { flex-wrap: wrap; }
.rd-drawer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--rd-stage-ink) !important; }

/* Sticky bar (shared): dark like the masthead */
.np-sticky { background: var(--rd-stage) !important; box-shadow: 0 1px 0 var(--rd-stage-line), 0 6px 18px rgba(0, 0, 0, .3) !important; }
.np-sticky__in { max-width: var(--rd-max) !important; }
.np-sticky__logo img { height: 26px !important; }
.np-sticky__nav a { color: #e9e5df !important; font-family: var(--rd-display) !important; font-weight: 500 !important; text-transform: uppercase !important; letter-spacing: .05em; font-size: 14px !important; }
.np-sticky__nav a:hover { color: var(--rd-brand-lite) !important; }
.np-sticky .np-theme-toggle { color: #fff; border-color: rgba(255, 255, 255, .22); background: transparent; }

/* ---------- Home: cinematic lead ---------- */
.rd-hero { background: var(--rd-stage); color: var(--rd-stage-ink); padding: 0 0 clamp(20px, 3vw, 36px); }
.rd-hero__grid { display: grid; gap: 0; padding-inline: 0; }
.rd-hero__stage { position: relative; aspect-ratio: 4 / 5; max-height: 78vh; overflow: hidden; background: #000; }
.rd-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.rd-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 1; }
.rd-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.rd-slide.is-active .rd-slide__img { transform: scale(1); }
.rd-slide::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 30%, rgba(0,0,0,.15) 62%, rgba(0,0,0,.35) 100%); }
.rd-slide__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 16px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rd-body .rd-slide__title {
  margin: 0; font-family: var(--rd-display); font-weight: 600; font-size: clamp(26px, 4.1vw, 54px); line-height: 1.1; letter-spacing: .005em;
  color: #fff; max-width: 22ch; text-wrap: balance; text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-slide__title a { color: #fff !important; text-decoration: none !important; background-image: linear-gradient(var(--rd-brand), var(--rd-brand)); background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--rd-ease); }
.rd-slide__title a:hover { background-size: 100% 3px; }
.rd-slide__dek { display: none; margin: 0; max-width: 62ch; font-size: 17px; line-height: 1.5; color: #ddd8d1; }
.rd-hero__ctrl { position: absolute; z-index: 3; right: 8px; bottom: 10px; display: flex; align-items: center; gap: 4px; color: #fff; font-variant-numeric: tabular-nums; }
.rd-hero__count { font: 500 14px/1 var(--rd-display); letter-spacing: .1em; padding: 0 6px; color: #cfc9c1; }
.rd-hero__count b { color: #fff; font-weight: 600; }
.rd-hero__arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; cursor: pointer; transition: background .18s, border-color .18s; }
.rd-hero__arrow:hover { background: var(--rd-brand); border-color: var(--rd-brand); }
.rd-hero.is-single .rd-hero__ctrl { display: none; }
.rd-hero__rail { display: none; list-style: none; margin: 0; padding: 0; }
.rd-rail {
  position: relative; display: grid; grid-template-columns: 34px 1fr 96px; gap: 12px; align-items: center; padding: 14px 0; text-decoration: none !important;
  color: #cfc9c1 !important; border-top: 1px solid var(--rd-stage-line); transition: color .18s;
}
.rd-rail__num { font: 600 20px/1 var(--rd-display); color: #6f6a64; transition: color .18s; }
.rd-rail__title { font-size: 15px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rd-rail__img { width: 96px; height: 64px; object-fit: cover; border-radius: 2px; opacity: .75; transition: opacity .18s; }
.rd-rail__bar { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--rd-brand); }
.rd-rail:hover, .rd-rail.is-active { color: #fff !important; }
.rd-rail.is-active .rd-rail__num { color: var(--rd-brand-lite); }
.rd-rail.is-active .rd-rail__img, .rd-rail:hover .rd-rail__img { opacity: 1; }
.rd-hero.is-running .rd-rail.is-active .rd-rail__bar { animation: rd-progress 7s linear forwards; }
.rd-rail.is-active .rd-rail__bar { width: 100%; }
.rd-hero.is-running .rd-rail.is-active .rd-rail__bar { width: 0; }
@keyframes rd-progress { from { width: 0; } to { width: 100%; } }
@media (min-width: 640px) {
  .rd-hero__stage { aspect-ratio: 16 / 10; }
  .rd-slide__dek { display: block; }
  .rd-slide__cap { padding: 32px 32px 72px; }
}
@media (min-width: 1024px) {
  .rd-hero { padding-top: 24px; }
  .rd-hero__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding-inline: 24px; }
  .rd-hero__stage { aspect-ratio: auto; height: clamp(480px, 62vh, 620px); border-radius: 2px; }
  .rd-slide__cap { padding: 40px 44px 44px; }
  .rd-hero__ctrl { right: 24px; bottom: 28px; }
  .rd-slide__cap { padding-right: 200px; }
  .rd-hero__rail { display: flex; flex-direction: column; justify-content: space-between; }
  .rd-hero__rail li { flex: 1; display: flex; }
  .rd-hero__rail .rd-rail { flex: 1; }
  .rd-hero__rail li:last-child .rd-rail { border-bottom: 1px solid var(--rd-stage-line); }
}

/* ---------- Cards ---------- */
.rd-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rd-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--rd-tint); border-radius: 2px; }
.rd-card__media img, .rd-feature__media img, .rd-vcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--rd-ease); }
.rd-card:hover .rd-card__media img, .rd-feature:hover .rd-feature__media img, .rd-vcard:hover .rd-vcard__media img { transform: scale(1.03); }
.rd-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.rd-body .rd-card__title {
  --heading-font-typeface: var(--rd-text);
  margin: 0; font-family: var(--rd-text); font-weight: 600; font-size: 18px; line-height: 1.32; color: var(--rd-ink); letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-card__title a { color: inherit !important; text-decoration: none !important; transition: color .18s; }
.rd-card__title a:hover { color: var(--rd-brand-text) !important; }
.rd-card__dek { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--rd-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rd-body .rd-card--lead .rd-card__title {
  --heading-font-typeface: var(--rd-display);
  font-family: var(--rd-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; letter-spacing: 0; -webkit-line-clamp: 4;
}
.rd-card--lead { gap: 16px; }
.rd-card--row { flex-direction: row; gap: 14px; align-items: flex-start; }
.rd-card--row .rd-card__media { flex: none; width: 112px; aspect-ratio: 3 / 2; }
.rd-body .rd-card--row .rd-card__title { font-size: 16px; -webkit-line-clamp: 3; }
.rd-card--row .rd-card__body { gap: 6px; }
.rd-card--row .rd-kicker { font-size: 11px; }

/* Latest + sidebar */
.rd-split { display: grid; gap: var(--rd-sec) var(--rd-gap); }
@media (min-width: 1024px) { .rd-split { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; } }
.rd-latest { display: grid; gap: var(--rd-gap); }
.rd-latest__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--rd-gap); }
@media (min-width: 900px) {
  .rd-latest { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
  .rd-latest__grid { grid-template-columns: 1fr 1fr; }
  .rd-latest__grid .rd-card__title { font-size: 16.5px; }
}
@media (max-width: 479px) {
  .rd-latest__grid { grid-template-columns: 1fr; }
  .rd-latest__grid .rd-card { flex-direction: row; gap: 14px; }
  .rd-latest__grid .rd-card__media { flex: none; width: 120px; }
  .rd-body .rd-latest__grid .rd-card__title { font-size: 16px; }
}
.rd-stream { display: grid; gap: 18px var(--rd-gap); margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rd-line); }
@media (min-width: 640px) { .rd-stream { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .rd-stream { grid-template-columns: repeat(4, minmax(0, 1fr)); } .rd-stream .rd-card--row { flex-direction: column; } .rd-stream .rd-card--row .rd-card__media { width: 100%; } }

.rd-split__side { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) { .rd-split__side > :last-child { position: sticky; top: 76px; } }
.rd-mostread { background: var(--rd-surface); border: 1px solid var(--rd-line); border-top: 4px solid var(--rd-brand); padding: 20px 20px 8px; }
.rd-mostread .rd-sechead__t { font-size: 24px; margin-bottom: 8px; }
.rd-mostread__list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.rd-mostread__list li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start; padding: 14px 0; border-top: 1px solid var(--rd-line); }
.rd-mostread__list li:first-child { border-top: 0; }
.rd-mostread__n { font: 600 36px/0.9 var(--rd-display); color: var(--rd-brand); font-variant-numeric: tabular-nums; }
.rd-mostread__list a { font-weight: 600; font-size: 15.5px; line-height: 1.38; color: var(--rd-ink) !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rd-mostread__list a:hover { color: var(--rd-brand-text) !important; }

/* Banners */
.rd-ad { text-align: center; }
.rd-ad--wide { padding-top: var(--rd-sec); }
.rd-ad--wide .np-banners, .rd-ad--inline .np-banners { margin: 0 auto; }
.rd-ad img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.rd-ad--inline { margin: 36px 0 0; }

/* Category blocks */
.rd-cat__grid { display: grid; gap: var(--rd-gap); }
.rd-cat__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--rd-gap); }
.rd-body .rd-cat__more .rd-card__title { font-size: 16.5px; }
@media (min-width: 900px) {
  .rd-cat__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
  .rd-cat__grid--flip .rd-cat__lead { order: 2; }
}
@media (max-width: 479px) {
  .rd-cat__more { grid-template-columns: 1fr; gap: 18px; }
  .rd-cat__more .rd-card { flex-direction: row; gap: 14px; }
  .rd-cat__more .rd-card__media { flex: none; width: 120px; }
  .rd-body .rd-cat__more .rd-card__title { font-size: 16px; }
}

/* Dark media stages */
.rd-dark { background: var(--rd-stage); color: var(--rd-stage-ink); margin-top: var(--rd-sec); padding-bottom: var(--rd-sec); }
.rd-dark .rd-sechead { border-color: var(--rd-stage-line); }
.rd-dark .rd-sechead__t, .rd-dark .rd-sechead__t a { color: #fff !important; }
.rd-dark .rd-more { color: var(--rd-brand-lite) !important; }
.rd-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--rd-brand); color: #fff; box-shadow: 0 0 0 8px rgba(209, 70, 26, .28);
  transition: transform .2s var(--rd-ease);
}
.rd-play svg { margin-left: 3px; }
.rd-play--sm { width: 44px; height: 44px; margin: -22px 0 0 -22px; box-shadow: 0 0 0 5px rgba(209, 70, 26, .25); left: auto; top: auto; right: 10px; bottom: 10px; margin: 0; }
.rd-vcard:hover .rd-play, .rd-card:hover .rd-play, .rd-feature:hover .rd-play { transform: scale(1.08); }
.rd-video__grid { display: grid; gap: var(--rd-gap); }
@media (min-width: 1024px) { .rd-video__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.rd-vcard { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rd-vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 2px; }
.rd-vcard--lead .rd-vcard__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 50%); }
.rd-vcard__body { display: flex; flex-direction: column; gap: 10px; }
.rd-body .rd-vcard__title {
  --heading-font-typeface: var(--rd-display);
  margin: 0; font-family: var(--rd-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-body .rd-vcard__title--sm { --heading-font-typeface: var(--rd-text); font-family: var(--rd-text); font-size: 15.5px; line-height: 1.35; font-weight: 600; }
.rd-vcard__title a { color: #fff !important; text-decoration: none !important; }
.rd-vcard__title a:hover { color: var(--rd-brand-lite) !important; }
.rd-vcard__dek { margin: 0; color: var(--rd-stage-muted); font-size: 15.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rd-video__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; align-content: start; }

/* Mosaic */
.rd-mosaic__grid { display: grid; gap: 4px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rd-mosaic__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rd-tile--big { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .rd-mosaic__grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); height: 560px; }
  .rd-tile--big { grid-column: 1; grid-row: 1 / 3; }
}
.rd-tile { position: relative; overflow: hidden; background: #000; min-height: 240px; aspect-ratio: 3 / 2; }
@media (min-width: 1024px) { .rd-tile { aspect-ratio: auto; min-height: 0; } }
.rd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--rd-ease), opacity .3s; opacity: .92; }
.rd-tile:hover img { transform: scale(1.03); opacity: 1; }
.rd-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 75%); pointer-events: none; }
.rd-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.rd-body .rd-tile__title {
  --heading-font-typeface: var(--rd-display);
  margin: 0; font-family: var(--rd-display); font-weight: 600; font-size: 20px; line-height: 1.18; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-tile--big .rd-tile__title { font-size: clamp(24px, 2.8vw, 38px); }
.rd-tile__title a { color: #fff !important; text-decoration: none !important; }
.rd-tile__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.rd-tile__time { font-size: 13px; color: #d0cac2; }
.rd-tile--big .rd-tile__cap { padding: 28px; }

/* Remaining categories in columns */
.rd-cols { display: grid; gap: 40px var(--rd-gap); }
@media (min-width: 640px) { .rd-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rd-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rd-col .rd-sechead { margin-bottom: 16px; }
.rd-col__list { list-style: none; margin: 14px 0 0; padding: 0; }
.rd-col__list li { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--rd-line); }
.rd-col__list a { font-weight: 600; font-size: 15.5px; line-height: 1.38; color: var(--rd-ink) !important; text-decoration: none !important; }
.rd-col__list a:hover { color: var(--rd-brand-text) !important; }
.rd-col__list time { font-size: 13px; color: var(--rd-muted); }

/* ---------- Article ---------- */
.rd-ahead { background: var(--rd-stage); color: var(--rd-stage-ink); padding: clamp(24px, 4vw, 48px) 0 clamp(120px, 16vw, 220px); }
.rd-ahead__in { max-width: 960px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.rd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--rd-stage-muted); }
.rd-crumbs a { color: var(--rd-stage-muted) !important; text-decoration: none !important; display: inline-flex; align-items: center; min-height: 32px; }
.rd-crumbs a:hover { color: #fff !important; }
.rd-crumbs span[aria-hidden] { opacity: .5; }
.rd-body .rd-ahead__title {
  --heading-font-typeface: var(--rd-display);
  margin: 0; font-family: var(--rd-display); font-weight: 600; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.1; letter-spacing: .003em; color: #fff; text-wrap: balance;
}
.rd-ahead__dek { margin: 0; max-width: 60ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: #d9d3cb; }
.rd-ahead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 6px; font-size: 14px; color: var(--rd-stage-muted); }
.rd-ahead__meta > * { display: inline-flex; align-items: center; gap: 6px; }
.rd-ahead__meta a { color: inherit !important; text-decoration: none !important; min-height: 32px; }
.rd-ahead__meta a:hover { color: #fff !important; }
.rd-ahead__author { gap: 10px !important; }
.rd-ahead__by, .rd-ahead__by a { color: #fff !important; font-weight: 600; }
.rd-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.rd-avatar--txt { display: inline-flex; align-items: center; justify-content: center; background: var(--rd-brand); color: #fff; font-weight: 700; }
.rd-ahero { max-width: 1200px; margin: calc(-1 * clamp(104px, 14.5vw, 200px)) auto 0; padding: 0; position: relative; }
.rd-ahero img, .rd-ahero__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--rd-shadow-lg); }
@media (min-width: 1240px) { .rd-ahero img { border-radius: 2px; } }
.rd-read { max-width: 760px; }
.rd-abody { margin-top: clamp(28px, 4vw, 48px); }
.rd-body .rd-abody > p:first-of-type { font-size: 1.08em !important; }
.np-article-body h2, .np-article-body h3 { --heading-font-typeface: var(--rd-display); font-family: var(--rd-display) !important; font-weight: 600; letter-spacing: .01em; color: var(--rd-ink); }
.np-article-body blockquote {
  position: relative; margin: 1.8em 0 !important; padding: .4em 0 .4em 1.2em !important; border-left: 4px solid var(--rd-brand) !important;
  font-style: normal !important; font-family: var(--rd-display) !important; font-size: 1.3em !important; line-height: 1.35 !important; color: var(--rd-ink) !important;
}
.np-article-body blockquote p { font-family: inherit !important; font-size: inherit !important; color: inherit !important; }
.np-article-body img { height: auto !important; max-width: 100% !important; }
.np-article-body a { color: var(--rd-brand-text) !important; }
.rd-body .np-article-body > p:first-child::first-letter { font-family: var(--rd-display); font-weight: 600; color: var(--rd-brand); font-size: 3.4em; line-height: .82; float: left; margin: .06em 10px 0 0; }
.rd-voice audio { width: 100%; margin-top: 16px; }
.rd-afoot { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rd-line); }
.rd-read .np-share, .rd-read .np-rating { margin: 0; }
.rd-read .np-author-box { margin: 28px 0 0; background: var(--rd-surface); border: 1px solid var(--rd-line); border-left: 4px solid var(--rd-brand); border-radius: 0; }
.rd-legacy-author { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 20px; background: var(--rd-surface); border: 1px solid var(--rd-line); border-left: 4px solid var(--rd-brand); }
.rd-legacy-author__img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }
.rd-legacy-author__name { font: 600 20px/1.2 var(--rd-display); margin-bottom: 6px; }
.rd-legacy-author p { margin: 0; color: var(--rd-ink-2); font-size: 15px; }
.rd-legacy-author__social { display: flex; gap: 4px; list-style: none; margin: 8px 0 0; padding: 0; }
.rd-legacy-author__social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--rd-muted) !important; }
.rd-prevnext { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .rd-prevnext { grid-template-columns: 1fr 1fr; } }
.rd-prevnext__item { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--rd-surface); border: 1px solid var(--rd-line); text-decoration: none !important; color: var(--rd-ink) !important; transition: border-color .18s, box-shadow .18s; }
.rd-prevnext__item:hover { border-color: var(--rd-brand); box-shadow: var(--rd-shadow); }
.rd-prevnext__item img { width: 84px; height: 56px; object-fit: cover; flex: none; }
.rd-prevnext__item span { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 15px; line-height: 1.35; min-width: 0; }
.rd-prevnext__item span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rd-prevnext__item small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rd-brand-text); }
.rd-prevnext__item--next { justify-content: space-between; text-align: right; }
.rd-related { background: var(--rd-tint); margin-top: var(--rd-sec); padding-bottom: var(--rd-sec); }
.rd-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--rd-gap); }
.rd-body .rd-related__grid .rd-card__title { font-size: 16px; }
@media (min-width: 900px) { .rd-related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .rd-body .rd-related__grid .rd-card__title { font-size: 17px; } }
.rd-comments { padding-bottom: var(--rd-sec); }
.rd-comments #comments { border-top: 0 !important; margin-top: var(--rd-sec) !important; }
.rd-comments #comments > h4, .rd-comments #comment-form > h4 { font-family: var(--rd-display) !important; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 24px; color: var(--rd-ink); padding-bottom: 12px; border-bottom: 1px solid var(--rd-line); position: relative; }
.rd-comments .np-comment-list > li { background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: var(--rd-r-lg); padding: 16px; }
.rd-comments .np-comment-list b { color: var(--rd-ink) !important; }
.rd-comments .np-comment-list p { color: var(--rd-ink-2); }
.rd-comments .np-comment-list time { color: var(--rd-muted); opacity: 1 !important; }
.rd-comments .form-control { background: var(--rd-surface) !important; color: var(--rd-ink) !important; border: 1px solid var(--rd-line) !important; border-radius: var(--rd-r) !important; min-height: 46px; font-size: 16px !important; }
.rd-comments .form-control:focus { border-color: var(--rd-brand) !important; box-shadow: 0 0 0 3px rgba(209, 70, 26, .18) !important; }
.rd-comments .btn-primary { min-height: 46px; padding: 0 26px; font-weight: 600; font-size: 16px; }
.rd-read .np-reactions { justify-content: flex-start; margin-top: 28px; }
.rd-read .np-reaction span { color: var(--rd-muted); }

/* ---------- Category ---------- */
.rd-band { background: var(--rd-stage); color: var(--rd-stage-ink); padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 4vw, 48px); border-bottom: 4px solid var(--rd-brand); }
.rd-body .rd-band__title {
  --heading-font-typeface: var(--rd-display);
  margin: 8px 0 0; font-family: var(--rd-display); font-weight: 700; font-size: clamp(38px, 6vw, 84px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; color: #fff;
}
.rd-band__desc { margin: 12px 0 0; max-width: 62ch; color: #d9d3cb; font-size: 17px; }
.rd-band__count { margin: 14px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-brand-lite); font-weight: 600; }
.rd-listing { padding-top: clamp(28px, 4vw, 48px); }
.rd-feature { position: relative; display: grid; gap: 20px; margin-bottom: clamp(32px, 4vw, 48px); padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--rd-line); }
.rd-feature__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--rd-tint); }
.rd-feature__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rd-body .rd-feature__title {
  --heading-font-typeface: var(--rd-display);
  margin: 0; font-family: var(--rd-display); font-weight: 600; font-size: clamp(26px, 3vw, 42px); line-height: 1.12; color: var(--rd-ink);
}
.rd-feature__title a { color: inherit !important; text-decoration: none !important; }
.rd-feature__title a:hover { color: var(--rd-brand-text) !important; }
@media (min-width: 900px) { .rd-feature { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: center; } }
.rd-grid3 { display: grid; gap: 32px var(--rd-gap); grid-template-columns: 1fr; }
@media (min-width: 560px) { .rd-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rd-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rd-empty { color: var(--rd-muted); }
.rd-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--rd-line); }
.rd-pager__n, .rd-pager__btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 14px; box-sizing: border-box;
  border: 1px solid var(--rd-line); background: var(--rd-surface); color: var(--rd-ink) !important; font-weight: 600; text-decoration: none !important; border-radius: var(--rd-r);
  transition: border-color .18s, background .18s, color .18s;
}
.rd-pager__n:hover, .rd-pager__btn:hover { border-color: var(--rd-brand); color: var(--rd-brand-text) !important; }
.rd-pager__n.is-current { background: var(--rd-brand); border-color: var(--rd-brand); color: #fff !important; }
.rd-pager__gap { display: inline-flex; align-items: center; padding: 0 4px; color: var(--rd-muted); }

/* ---------- Footer ---------- */
.rd-footer { background: #0a0a0a; color: #c9c3bb; margin-top: var(--rd-sec); padding: clamp(40px, 5vw, 64px) 0 24px; border-top: 4px solid var(--rd-brand); font-size: 15px; }
.rd-main > :last-child.rd-dark, .rd-main > :last-child.rd-related { margin-bottom: 0; }
.rd-footer__grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .rd-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .rd-footer__grid { grid-template-columns: 1.3fr 1fr .8fr 1.3fr; gap: 48px; } }
.rd-footer__logo img { height: 36px; max-width: 240px; }
.rd-footer__desc { margin: 16px 0 12px; line-height: 1.6; max-width: 38ch; }
.rd-footer__contacts { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rd-footer__contacts a, .rd-footer__links a { color: #e6e1da !important; text-decoration: none !important; }
.rd-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #1a1919; color: #fff !important; margin-right: 6px; transition: background .18s; }
.rd-footer__social a:hover { background: var(--rd-brand); }
.rd-body .rd-footer__h { --heading-font-typeface: var(--rd-display); margin: 0 0 14px; font: 600 15px/1 var(--rd-display); letter-spacing: .12em; text-transform: uppercase; color: var(--rd-brand-lite); }
.rd-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 18px; }
.rd-footer__links--2 { grid-template-columns: 1fr 1fr; }
.rd-footer__links a { display: inline-flex; align-items: center; min-height: 40px; }
.rd-footer__links a:hover, .rd-footer__contacts a:hover { color: var(--rd-brand-lite) !important; }
.rd-footer__news .np-newsletter { background: #151414; border: 1px solid #262524; padding: 22px; border-radius: var(--rd-r-lg); margin: 0; text-align: left; }
.rd-footer__news .np-newsletter__title { font: 600 22px/1.2 var(--rd-display); color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.rd-footer__news .np-newsletter__text { color: #b3ada5; opacity: 1; font-size: 14px; }
.rd-footer__news .np-newsletter__row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.rd-footer__news .np-newsletter input[type=email] { flex: 1 1 180px; min-height: 46px; background: #0a0a0a; color: #fff; border: 1px solid #34322f; border-radius: var(--rd-r); padding: 0 12px; font-size: 16px; }
.rd-footer__news .np-newsletter button { min-height: 46px; padding: 0 18px; background: var(--rd-brand); color: #fff; border: 0; border-radius: var(--rd-r); font-weight: 600; cursor: pointer; }
.rd-footer__news .np-newsletter button:hover { background: var(--rd-brand-hover); }
.rd-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #222120; font-size: 13.5px; color: #a9a39b; }
.rd-footer__bottom a { color: #e6e1da !important; text-decoration: none !important; display: inline-flex; align-items: center; min-height: 32px; }
.rd-footer__bottom a:hover { color: var(--rd-brand-lite) !important; }
.rd-footer .np-credit { opacity: 1; font-size: 13.5px; }

/* Back to top */
.rd-totop {
  position: fixed; right: 16px; bottom: 16px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--rd-brand); color: #fff !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.rd-totop.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.rd-totop:hover { background: var(--rd-brand-hover); }

/* ---------- Inner pages that still use the old theme markup ---------- */
.rd-body .breadcrumbs.bg-gray-800 { background: var(--rd-stage-2) !important; }
.rd-body #wrapper .bg-gray-900.position-absolute { background: var(--rd-stage) !important; }
.rd-body #wrapper :is(h1, .h1) { letter-spacing: .005em; }
html.uc-dark .rd-body, html[data-theme=dark] .rd-body { background: var(--rd-bg); color: var(--rd-ink); }

/* Dark-mode touches for light-surface components */
html[data-theme=dark] .rd-mostread, html[data-theme=dark] .rd-prevnext__item, html[data-theme=dark] .rd-pager__n, html[data-theme=dark] .rd-pager__btn { background: var(--rd-surface); }
html[data-theme=dark] .np-newsletter input[type=email] { background: #0a0a0a; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  .rd-body *, .rd-body *::before, .rd-body *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rd-slide__img, .rd-slide.is-active .rd-slide__img { transform: none !important; }
}

/* Small phones */
@media (max-width: 400px) {
  .rd-hero__stage { aspect-ratio: 4 / 5; }
  .rd-slide__cap { padding-bottom: 62px; }
  .rd-footer__links--2 { grid-template-columns: 1fr 1fr; }
}

/* Fixes after the first visual pass */
.rd-rail__num { color: #938c84; }
@media (max-width: 479px) { .rd-latest__grid .rd-card, .rd-cat__more .rd-card { align-items: flex-start; } }
@media (max-width: 991px) {
  /* tap targets ≥44px without moving the layout */
  .rd-card .rd-kicker { padding: 14px 8px 14px 0; margin: -14px 0; }
  .rd-meta__c { padding: 12px 8px; margin: -12px -8px; }
  .rd-meta__by a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .rd-card__title a, .rd-col__list a, .rd-mostread__list a { padding-block: 2px; }
}
.rd-grid4 { display: grid; gap: 28px var(--rd-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .rd-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) { .rd-grid4 { grid-template-columns: 1fr; } }
html[data-theme=dark] .np-x { border: 1px solid #4a4744 !important; }
