/* update.mn — redesign 2026-10 ("Pulse")
   Punchy, digital-native: Montserrat (display) + Inter (text), brand teal-blue #006593 on a deep
   night-teal header, logo yellow as the signal accent, content-type badges in the logo's colours.
   Loaded last; replaces the old theme CSS (assets/css/style.css) on every page. */

/* ---------- Tokens ---------- */
:root {
  --brand: #006593;          /* 6.4:1 on white */
  --brand-strong: #004e72;
  --brand-soft: #e3f1f7;
  --night: #071c27;          /* header / footer */
  --night-2: #04121a;
  --signal: #ffc21a;         /* logo yellow */
  --hot: #d2321f;            /* video (white text 4.9:1) */
  --wave: #2f5fd0;           /* audio (white text 5.6:1) */
  --blush: #ffd3dd;          /* photo (ink text) */
  --ink: #0b1620;
  --ink-2: #33414c;
  --muted: #5a6873;          /* 5.6:1 on white */
  --line: #e2e8ec;
  --bg: #f3f6f8;
  --surface: #ffffff;
  --surface-2: #f7fafb;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(7, 28, 39, .06), 0 6px 20px rgba(7, 28, 39, .06);
  --shadow-lg: 0 14px 40px rgba(7, 28, 39, .16);
  --gap: clamp(16px, 2.2vw, 28px);
  --wrap: 1240px;
  --f-display: 'Montserrat', 'Inter', system-ui, sans-serif;  /* Unbounded has no Ө/Ү: they fell back to another font */
  --f-text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* shared newsplus widgets follow the site tokens */
  --np-accent: var(--brand);
  --np-text: var(--ink);
  --np-muted: var(--muted);
  --np-border: var(--line);
  --np-surface: var(--surface);
  --np-soft: var(--surface-2);
  --np-font: var(--f-text);
  --np-read-font: var(--f-text);
  --np-read-color: #1b2731;
  --np-read-size: 19px;
  --np-read-size-sm: 18px;
  --np-read-line: 1.7;
  --np-radius: var(--radius);
}
html[data-theme=dark] {
  --brand: #5cc0ea;
  --brand-strong: #8bd3f1;
  --brand-soft: #0f2c3a;
  --night: #050f15;
  --night-2: #03090d;
  --ink: #e9f0f4;
  --ink-2: #c2cfd7;
  --muted: #98a8b3;
  --line: #22333e;
  --bg: #0a141b;
  --surface: #111e27;
  --surface-2: #162632;
  --blush: #f7b9c7;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  --np-read-color: #dbe5eb;
  color-scheme: dark;
  /* designed dark mode instead of the shared invert filter */
  filter: none !important;
  background: var(--bg) !important;
}
html[data-theme=dark] img, html[data-theme=dark] video, html[data-theme=dark] iframe,
html[data-theme=dark] .np-keep-colors, html[data-theme=dark] .np-lb, html[data-theme=dark] .np-gallery__track { filter: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body.u-body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-text);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
img { height: auto; border: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--signal); color: #111; }
.u-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .u-wrap { padding: 0 24px; } }
.u-skip { position: absolute; left: 8px; top: -60px; z-index: 10000; background: var(--signal); color: #111; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.u-skip:focus { top: 8px; }
.u-main { display: block; min-height: 50vh; padding-bottom: 32px; }
svg { flex: none; }

/* headline helpers */
.u-hl { text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
.u-hl a { color: inherit; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .22s var(--ease), color .18s; }
.u-hl a:hover { color: var(--brand); background-size: 100% 2px; }
/* Headlines stored in ALL CAPS: a notch smaller with a touch of tracking so they don't shout */
.u-hl[data-caps="1"] { font-size: .9em; letter-spacing: .012em; line-height: 1.22; }

/* ---------- Header ---------- */
.u-header { background: var(--night); color: #dbe7ee; position: relative; z-index: 50; }
.u-util { background: var(--night-2); font-size: 13px; color: #b7c8d2; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.u-util__in { display: flex; align-items: center; gap: 22px; min-height: 36px; white-space: nowrap; }
.u-util b { color: #fff; font-weight: 600; }
.u-util__clock { color: var(--signal); font-variant-numeric: tabular-nums; margin-left: 4px; font-weight: 600; }
.u-util__wx { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.u-util__wx svg { width: 15px; height: 15px; fill: var(--signal); color: var(--signal); }
.u-util__rates { margin-left: auto; display: flex; gap: 16px; }
.u-rate { font-variant-numeric: tabular-nums; }
.u-rate b { color: #fff; margin-right: 2px; font-weight: 600; }
.u-up, .u-down { font-style: normal; font-size: 9px; margin-left: 3px; vertical-align: 1px; }
.u-up { color: #4ade9a; } .u-down { color: #ff7a6b; }

.u-bar__in { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.u-logo { flex: none; display: flex; align-items: center; min-height: 44px; }
.u-logo img { height: 46px; width: auto; display: block; }
.u-nav { flex: 1; min-width: 0; display: flex; align-items: center; }
.u-nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.u-nav__link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; position: relative;
  color: #e3edf3; font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  background: none; border: 0; cursor: pointer; border-radius: 8px; transition: color .15s, background-color .15s;
}
.u-nav__link svg { width: 16px; height: 16px; transition: transform .18s; }
.u-nav__link:hover, .u-nav__link:focus-visible { color: #fff; background: rgba(255, 255, 255, .07); }
.u-nav__link.is-active { color: #fff; }
.u-nav__link.is-active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--signal); }
.u-nav__has { position: relative; }
.u-sub {
  list-style: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; padding: 8px;
  background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s, transform .16s, visibility 0s linear .16s; z-index: 60;
}
.u-nav__toggle[aria-expanded="true"] + .u-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
.u-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1100px) {
  .u-nav__has:hover > .u-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
  .u-nav__has::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
}
.u-sub__link { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 15px; }
.u-sub__link:hover, .u-sub__link.is-active { background: var(--brand-soft); color: var(--brand); }

.u-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.u-search { display: flex; align-items: center; position: relative; }
.u-search input {
  width: 190px; height: 42px; padding: 0 44px 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07); color: #fff; font-size: 14px; outline: none; transition: width .2s var(--ease), background-color .15s, border-color .15s;
}
.u-search input::placeholder { color: #9fb3bf; }
.u-search input:focus { width: 240px; background: rgba(255, 255, 255, .12); border-color: var(--signal); }
.u-search button { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #dbe7ee; cursor: pointer; display: grid; place-items: center; }
.u-search button svg { width: 18px; height: 18px; }
.u-search button:hover { color: var(--signal); }
.u-search--drawer { display: none; }
.u-icon-btn, .u-tools .np-theme-toggle {
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; border-radius: 50%;
  background: transparent; border: 1px solid rgba(255, 255, 255, .14); color: #e3edf3; cursor: pointer; padding: 0; transition: background-color .15s, border-color .15s;
}
.u-tools .np-theme-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.u-icon-btn:hover, .u-tools .np-theme-toggle:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.u-burger { display: none; flex-direction: column; gap: 4px; }
.u-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.u-menu-open .u-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.u-menu-open .u-burger span:nth-child(2) { opacity: 0; }
.u-menu-open .u-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) { .u-search--bar input { width: 150px; } .u-nav__link { padding: 0 9px; font-size: 14.5px; } }
@media (max-width: 1099px) {
  .u-bar__in { min-height: 64px; gap: 12px; }
  .u-logo img { height: 36px; }
  .u-burger { display: inline-flex; }
  .u-search--bar { display: none; }
  .u-nav {
    position: fixed; inset: 0; z-index: 900; background: var(--night); padding: 84px 20px 32px; display: flex; align-items: stretch; flex-direction: column-reverse; justify-content: flex-end; gap: 18px;
    overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  }
  .u-menu-open { overflow: hidden; }
  .u-menu-open .u-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .u-menu-open .u-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--night); }
  .u-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .u-nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .u-nav__link { width: 100%; justify-content: space-between; min-height: 56px; font-family: var(--f-display); font-weight: 600; font-size: 19px; padding: 0 4px; }
  .u-nav__link.is-active::after { left: 4px; right: auto; width: 28px; bottom: 8px; }
  .u-sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 10px 8px; }
  .u-nav__toggle[aria-expanded="true"] + .u-sub { display: block; }
  .u-sub__link { color: #c9d8e1; min-height: 46px; font-size: 16px; }
  .u-sub__link:hover, .u-sub__link.is-active { background: rgba(255, 255, 255, .06); color: #fff; }
  .u-search--drawer { display: flex; }
  .u-search--drawer input, .u-search--drawer input:focus { width: 100%; height: 52px; font-size: 16px; }
  .u-search--drawer button { width: 48px; height: 48px; }
}
@media (max-width: 640px) {
  .u-util__date { display: none; }
  .u-util__in { gap: 12px; }
  .u-util__rates { gap: 10px; }
  .u-util__rates .u-rate:nth-child(n+2) { display: none; }
  .u-bar__in { min-height: 60px; }
  .u-logo img { height: 32px; }
  .u-tools .np-theme-toggle, .u-icon-btn { border-color: transparent; }
}

/* newsplus slim sticky bar in the header colours */
.np-sticky { background: var(--night) !important; box-shadow: 0 6px 20px rgba(0, 0, 0, .25) !important; }
.np-sticky__nav a { color: #e3edf3 !important; font-weight: 600; }
.np-sticky__nav a:hover { color: var(--signal) !important; }
.np-sticky .np-theme-toggle { color: #e3edf3; background: transparent; border: 0; }
.np-sticky .np-theme-toggle svg { fill: currentColor; }
.np-progress { background: var(--signal) !important; }

/* ---------- Banners, messages ---------- */
.u-banner { margin: 20px 0 0; }
.u-banner .np-banner img, .u-banner .np-banner video { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.u-banner--middle { margin: 36px 0 8px; }
.u-banner--footer { margin: 40px 0; }
.u-banner--article { margin: 32px 0; }
.u-messages { margin-top: 16px; }
.u-alert { padding: 14px 18px; border-radius: 12px; background: var(--brand-soft); color: var(--ink); border-left: 4px solid var(--brand); font-weight: 500; }
.u-alert.error { border-left-color: var(--hot); }

/* ---------- Atoms: kicker, chips, badges, meta ---------- */
.u-kicker {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 8px; min-height: 20px;
}
.u-kicker::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--k, var(--brand)); flex: none; }
.u-kicker:hover { color: var(--ink); }
.u-chip {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25);
}
.u-chip:hover { color: #111; background: var(--signal); border-color: var(--signal); }
.u-chip--solid { color: var(--brand); background: var(--brand-soft); border-color: transparent; backdrop-filter: none; }
.u-chip--solid:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
html[data-theme=dark] .u-chip--solid:hover { color: #071c27; }
.u-flash {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 6px; background: var(--signal); color: #111;
  font-family: var(--f-display); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
.u-badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.u-badge svg { width: 13px; height: 13px; fill: currentColor; }
.u-badge--video { background: var(--hot); color: #fff; }
.u-badge--audio { background: var(--wave); color: #fff; }
.u-badge--photo { background: var(--blush); color: #4a0f1d; }
.u-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.u-eq i { display: block; width: 2.5px; height: 100%; background: currentColor; border-radius: 2px; transform-origin: bottom; animation: u-eq 1s ease-in-out infinite; }
.u-eq i:nth-child(2) { animation-delay: -.3s; } .u-eq i:nth-child(3) { animation-delay: -.6s; } .u-eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes u-eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.u-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(210, 50, 31, .92); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); z-index: 2; transition: transform .2s var(--ease); }
.u-play::after { content: ''; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.u-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 10px; }
.u-meta .u-badge { height: 22px; font-size: 10.5px; }
.u-counts { display: inline-flex; gap: 12px; margin-left: auto; }
.u-counts > span { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.u-counts svg { width: 14px; height: 14px; fill: currentColor; opacity: .75; }
.u-meta--light { color: rgba(255, 255, 255, .82); }
.u-meta--light .u-counts { margin-left: 0; }
.u-meta--light .u-counts > span::before { content: '·'; margin-right: 8px; }
.u-pulse { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--hot); margin-right: 10px; vertical-align: .18em; box-shadow: 0 0 0 0 rgba(210, 50, 31, .5); animation: u-pulse 1.8s infinite; }
@keyframes u-pulse { 70% { box-shadow: 0 0 0 10px rgba(210, 50, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(210, 50, 31, 0); } }

/* media frames */
.u-card__media, .u-lead__media, .u-tile__media, .u-row__media, .u-mini__media, .u-feature__media {
  position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, var(--brand-soft), var(--surface-2));
}
.u-card__media img, .u-lead__media img, .u-tile__media img, .u-row__media img, .u-mini__media img, .u-feature__media img {
  display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease);
}
.u-card__media .u-badge, .u-tile__media .u-badge, .u-mini__media .u-badge, .u-feature__media .u-badge { position: absolute; left: 12px; top: 12px; z-index: 2; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
article:hover .u-card__media img, article:hover .u-tile__media img, article:hover .u-row__media img, article:hover .u-mini__media img, article:hover .u-feature__media img, .u-lead:hover .u-lead__media img { transform: scale(1.03); }
article:hover .u-play { transform: scale(1.08); }

/* ---------- Section heads ---------- */
.u-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.u-sec-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 1.4vw + 12px, 26px); letter-spacing: -.02em; line-height: 1.15; }
.u-sec-title small { font-family: var(--f-text); font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.u-sec-title a { color: inherit; }
.u-sec-title a:hover { color: var(--brand); }
.u-sec-title--cat { display: flex; align-items: center; gap: 10px; }
.u-sec-title--cat::before { content: ''; width: 14px; height: 14px; border-radius: 4px; background: var(--k, var(--brand)); flex: none; }
.u-sec-more { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.u-sec-more:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* ---------- Home: front ---------- */
.u-front { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--gap); margin-top: 28px; }
.u-lead { position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--night); min-height: 460px; display: flex; isolation: isolate; box-shadow: var(--shadow); }
.u-lead__media { position: absolute; inset: 0; z-index: -1; background: var(--night); }
.u-lead__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 18, 26, 0) 25%, rgba(4, 18, 26, .55) 55%, rgba(4, 18, 26, .94) 100%); }
.u-lead__body { margin-top: auto; padding: clamp(20px, 3vw, 40px); color: #fff; width: 100%; }
.u-lead__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.u-lead__title { font-family: var(--f-display); font-weight: 700; color: #fff; font-size: clamp(24px, 2.2vw + 10px, 44px); line-height: 1.12; letter-spacing: -.025em; max-width: 22ch; }
.u-lead__title[data-caps="1"] { font-size: clamp(21px, 1.8vw + 9px, 36px); letter-spacing: -.01em; max-width: 26ch; line-height: 1.16; }
.u-lead__title a:hover { color: var(--signal); }
.u-lead__dek { margin: 14px 0 0; max-width: 62ch; color: rgba(255, 255, 255, .86); font-size: 16.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.u-lead .u-meta { padding-top: 16px; }

.u-front__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.u-tile { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; flex: 1; }
.u-tile__media { aspect-ratio: 16 / 9; }
.u-tile__body { padding: 16px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.u-tile__title { font-weight: 800; font-size: clamp(18px, .6vw + 13px, 21px); line-height: 1.22; letter-spacing: -.015em; }
.u-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.u-row__media { aspect-ratio: 4 / 3; border-radius: 10px; }
.u-row__body { display: flex; flex-direction: column; min-width: 0; padding: 2px 4px 0 0; }
.u-row .u-kicker { margin-bottom: 4px; font-size: 11px; }
.u-row__title { font-weight: 750; font-size: 15.5px; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.u-row .u-meta { padding-top: 6px; font-size: 12.5px; }

/* ---------- Home: latest + most read ---------- */
.u-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 44px); margin-top: 44px; align-items: start; }
.u-grid { display: grid; gap: var(--gap); }
.u-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.u-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.u-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s, transform .2s var(--ease), border-color .2s; }
.u-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.u-card__media { aspect-ratio: 16 / 9; }
.u-card__body { padding: 14px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.u-card__title { font-weight: 750; font-size: 17px; line-height: 1.27; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.u-card .u-meta { font-size: 12.5px; }

.u-pollcard { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.u-pollcard .np-poll { margin: 0; border: 0; padding: 0; background: transparent; }
.u-pollcard .np-poll__img { border-radius: 10px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.u-pollcard .np-poll__q { font-weight: 800; font-size: 17px; line-height: 1.3; color: var(--ink); }

.u-more { display: flex; justify-content: center; margin-top: 28px; }
.u-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--brand); color: #fff; border: 0; font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .15s, transform .15s var(--ease);
}
.u-btn svg { width: 18px; height: 18px; }
.u-btn:hover { background: var(--brand-strong); color: #fff; }
.u-btn:active { transform: translateY(1px); }
.u-btn[disabled] { opacity: .6; cursor: progress; }
.u-btn--big { min-height: 54px; padding: 0 30px; font-size: 16px; background: var(--ink); color: var(--surface); }
.u-btn--big:hover { background: var(--brand); color: #fff; }
html[data-theme=dark] .u-btn { color: #04121a; }
html[data-theme=dark] .u-btn--big { background: var(--signal); color: #111; }

.u-aside { position: sticky; top: 72px; }
.u-top { background: var(--night); color: #fff; border-radius: calc(var(--radius) + 4px); padding: 22px 22px 10px; position: relative; overflow: hidden; }
.u-top::before { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 101, 147, .9), rgba(0, 101, 147, 0) 70%); }
.u-top__title { position: relative; font-family: var(--f-display); font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -.02em; margin-bottom: 10px; }
.u-top__title::after { content: ''; display: block; width: 38px; height: 4px; border-radius: 4px; background: var(--signal); margin-top: 10px; }
.u-top__list { list-style: none; counter-reset: none; position: relative; }
.u-top__list li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
.u-top__list a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 14px 0; color: #eef4f7; }
.u-top__n { font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--signal); }
.u-top__t { font-weight: 650; font-size: 15px; line-height: 1.32; }
.u-top__t .u-hl { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.u-top__t small { display: block; margin-top: 5px; font-size: 12px; color: #9fb3bf; font-weight: 500; }
.u-top__list a:hover .u-hl { color: var(--signal); }

/* ---------- Home: category sections ---------- */
.u-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gap); margin-top: 56px; }
.u-catsec .u-sec-head { border-bottom-color: var(--line); border-bottom-width: 1px; }
.u-catsec__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; }
.u-mini { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; }
.u-mini + .u-mini:not(.u-mini--big) { padding-top: 14px; border-top: 1px solid var(--line); }
.u-mini__media { aspect-ratio: 4 / 3; border-radius: 10px; }
.u-mini__title { font-weight: 700; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.u-mini .u-meta { padding-top: 6px; font-size: 12.5px; }
.u-mini--big { display: flex; flex-direction: column; gap: 0; grid-row: span 2; }
.u-mini--big .u-mini__media { aspect-ratio: 16 / 9; border-radius: var(--radius); margin-bottom: 12px; }
.u-mini--big .u-mini__title { font-size: 18px; font-weight: 800; line-height: 1.25; -webkit-line-clamp: 4; }
.u-catsec__body > .u-mini:nth-child(2) { border-top: 0; padding-top: 0; }

/* ---------- Category / search / page band ---------- */
.u-band { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.u-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, rgba(0, 101, 147, .75), transparent 70%), radial-gradient(400px 200px at 10% 120%, color-mix(in srgb, var(--k, #006593) 45%, transparent), transparent 70%); pointer-events: none; }
.u-band__in { position: relative; padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(26px, 3.5vw, 44px); }
.u-crumbs { display: flex; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: #9fb3bf; letter-spacing: .02em; }
.u-crumbs a { color: #cfe0e9; }
.u-crumbs a:hover { color: var(--signal); }
.u-band__title { font-family: var(--f-display); font-weight: 800; color: #fff; font-size: clamp(30px, 4vw + 10px, 64px); line-height: 1.05; letter-spacing: -.035em; overflow-wrap: break-word; }
.u-band__title::after { content: ''; display: block; width: 64px; height: 6px; border-radius: 6px; background: var(--signal); margin-top: 16px; }
.u-band__desc { margin: 14px 0 0; max-width: 64ch; color: #cbd9e1; font-size: 17px; }
.u-band__count { margin: 14px 0 0; color: #cbd9e1; font-size: 14px; }
.u-band__count b { color: var(--signal); font-family: var(--f-display); font-size: 18px; margin-right: 4px; }
.u-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; margin: 32px 0 var(--gap); }
.u-feature__media { aspect-ratio: 16 / 9; }
.u-feature__body { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.u-feature__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 1.5vw + 12px, 34px); line-height: 1.15; letter-spacing: -.02em; }
.u-feature__title[data-caps="1"] { font-size: clamp(19px, 1.2vw + 11px, 28px); letter-spacing: -.005em; }
.u-feature__dek { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.u-feature .u-meta { width: 100%; }
.u-band + .u-wrap > .u-grid:first-child { margin-top: 32px; }
.u-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); margin: 0; }
.u-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 28px 0 8px; }
.u-pager__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14.5px; }
a.u-pager__btn:hover { border-color: var(--ink); color: var(--ink); }
.u-pager__btn.is-current { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.u-pager__gap { color: var(--muted); padding: 0 4px; }
.u-page { background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 4vw, 48px); margin-top: 32px; max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------- Article ---------- */
.u-article__head { max-width: 920px; padding-top: clamp(24px, 4vw, 48px); text-align: left; }
.u-article__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.u-article__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(27px, 3vw + 12px, 52px); line-height: 1.12; letter-spacing: -.03em; color: var(--ink); }
.u-article__title[data-caps="1"] { font-size: clamp(23px, 2.3vw + 11px, 42px); letter-spacing: -.012em; line-height: 1.16; }
.u-article__dek { margin: 18px 0 0; font-size: clamp(18px, .5vw + 15px, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.u-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 26px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.u-byline__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.u-byline__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--signal); }
.u-byline__name { font-weight: 750; font-size: 15.5px; color: var(--ink); }
.u-byline__name a { color: inherit; }
.u-byline__name a:hover { color: var(--brand); }
.u-byline__role { font-size: 13px; color: var(--muted); }
.u-byline__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.u-byline__facts > * { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.u-byline__facts svg { width: 16px; height: 16px; fill: currentColor; }
.u-byline__facts a:hover { color: var(--brand); }
.u-article__hero { margin: 28px auto 0; max-width: 1200px; position: relative; }
.u-article__hero .u-article__img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius) + 4px); }
.u-video { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: #000; }
.u-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.u-hero-count { position: absolute; right: 36px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(4, 18, 26, .82); color: #fff; font-weight: 700; font-size: 14px; backdrop-filter: blur(6px); }
.u-hero-count svg { width: 18px; height: 18px; fill: var(--signal); }
.u-hero-count:hover { color: var(--signal); }
.u-read { max-width: 720px; margin: 0 auto; }
.u-body-text { margin-top: 36px; }
.np-article-body.u-body-text { color: var(--np-read-color); }
.u-body-text :is(h2, h3, h4) { font-family: var(--f-display) !important; letter-spacing: -.02em; color: var(--ink); }
.u-body-text a { color: var(--brand) !important; text-decoration-thickness: 1.5px; }
.u-body-text blockquote {
  position: relative; margin: 1.8em 0 !important; padding: 1.1em 1.3em 1.1em 3.4em !important; border: 0 !important; border-radius: var(--radius);
  background: var(--brand-soft); font-style: normal !important; font-weight: 600; font-size: 1.08em !important; line-height: 1.5 !important; color: var(--ink);
}
.u-body-text blockquote::before { content: '“'; position: absolute; left: .35em; top: .05em; font-family: var(--f-display); font-size: 3.6em; line-height: 1; color: var(--brand); }
.u-body-text blockquote p { margin: 0 !important; color: inherit !important; }
.u-body-text img { max-width: 100%; height: auto !important; border-radius: var(--radius-sm); }
.u-body-text figure { margin: 1.6em 0; }
.u-body-text figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.u-body-text hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.u-body-text iframe { border: 0; border-radius: var(--radius-sm); }
.u-body-text table { border-collapse: collapse; font-size: .9em; }
.u-body-text td, .u-body-text th { border: 1px solid var(--line); padding: 6px 10px; }
html[data-theme=dark] .u-body-text :is(p, li, span, font, strong, b, em, td, div)[style*="color"] { color: var(--np-read-color) !important; }
html[data-theme=dark] .u-body-text [style*="background"] { background: transparent !important; }

.u-audio { margin-top: 32px; padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(120deg, var(--wave), #1d3f99); color: #fff; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.u-audio__label { display: flex; align-items: center; gap: 14px; }
.u-audio__label b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 17px; }
.u-audio__label span span, .u-audio__label > span:last-child { font-size: 13px; color: rgba(255, 255, 255, .85); }
.u-eq--big { height: 28px; gap: 3px; }
.u-eq--big i { width: 5px; }
.u-audio audio { width: 100%; height: 44px; }

.u-react { margin: 40px 0 0; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.u-react__h { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; margin-bottom: 16px; }
.u-react__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.u-react__item { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; transition: transform .15s var(--ease), border-color .15s, background-color .15s; }
.u-react__item:hover, .u-react__item:focus-visible { transform: translateY(-2px); border-color: var(--brand); background: var(--brand-soft); }
.u-react__emoji img { width: 36px; height: 36px; display: block; }
.u-react__n { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 1ch; color: var(--ink); }
.u-react__desc { min-height: 22px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--brand); }

.u-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.u-actions .np-share, .u-actions .np-rating { margin: 0 !important; }
.np-share__label, .np-rating__label { font-weight: 700; color: var(--ink); }
.np-rating__summary { color: var(--muted); }
.np-author-box { margin-top: 28px !important; background: var(--surface) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; }
.np-author-box__name a { color: var(--ink) !important; }
.np-gallery { margin-top: 32px; }
.u-wide { max-width: 1200px; margin: 0 auto; }
.np-related { margin-top: 56px !important; }
.np-related__title { font-family: var(--f-display) !important; font-size: clamp(20px, 1.4vw + 12px, 26px) !important; letter-spacing: -.02em !important; border-bottom: 2px solid var(--ink) !important; }
.np-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: var(--gap) !important; }
.np-related__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; gap: 0 !important; transition: box-shadow .2s; }
.np-related__card:hover { box-shadow: var(--shadow); }
.np-related__img { border-radius: 0 !important; aspect-ratio: 16 / 9 !important; }
.np-related__name { padding: 12px 14px 0; font-weight: 750 !important; font-size: 16px !important; color: var(--ink); }
.np-related__date { padding: 6px 14px 14px; color: var(--muted) !important; }

/* comments */
.u-discuss { margin-top: 56px; }
.u-discuss > .u-sec-title { padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 20px; }
.u-comments { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.u-comments--nested { grid-column: 1 / -1; margin: 6px 0 0 28px; padding-left: 16px; border-left: 2px solid var(--line); }
.u-comment { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; }
.u-comment__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.u-comments--search .u-comment { grid-template-columns: minmax(0, 1fr); }
.u-comment__body { background: var(--surface); border: 1px solid var(--line); border-radius: 4px var(--radius) var(--radius) var(--radius); padding: 12px 16px; min-width: 0; }
.u-comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.u-comment__name { font-weight: 750; color: var(--ink); }
.u-comment__date { font-size: 12.5px; color: var(--muted); }
.u-comment__text { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; }
.u-comment__reply { margin-top: 8px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--brand); font-weight: 700; font-size: 13px; cursor: pointer; }
.u-comment__reply:hover { background: var(--brand-soft); border-color: var(--brand); }
.u-comment__src { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 14px; }
.np-comment-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 700; vertical-align: 1px; }
.u-respond { margin-top: 28px; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.u-respond__h { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; margin-bottom: 14px; }
.u-form { display: flex; flex-direction: column; gap: 12px; }
.u-form input[type=text], .u-form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-size: 16px; outline: none; transition: border-color .15s, background-color .15s;
}
.u-form textarea { min-height: 120px; resize: vertical; }
.u-form input:focus, .u-form textarea:focus { border-color: var(--brand); background: var(--surface); }
.u-form__note { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.u-form .u-btn { align-self: flex-start; }
.u-replybox { margin-bottom: 12px; padding: 12px 14px; border-radius: 10px; background: var(--brand-soft); font-size: 14px; color: var(--ink); }
.u-replybox button { float: right; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; margin-left: 10px; }
.np-login, .np-reader { border-radius: var(--radius) !important; }
.u-morenews { margin-top: 64px; }

/* ---------- Footer ---------- */
.u-footer { background: var(--night); color: #b9cad4; margin-top: 24px; position: relative; }
.u-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #4f86f7 0 25%, var(--signal) 25% 50%, #f0442c 50% 75%, #f7b2c1 75% 100%); }
.u-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 36px; padding: 56px 0 40px; }
.u-footer__logo { height: 44px; width: auto; display: block; }
.u-footer__desc { margin: 14px 0 16px; color: #d5e2e9; font-weight: 600; }
.u-footer__contact { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.u-footer__contact span { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #8aa0ad; font-weight: 700; }
.u-footer__h { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.u-footer__links { list-style: none; display: grid; gap: 2px; }
.u-footer a { color: #dbe7ee; }
.u-footer a:hover { color: var(--signal); }
.u-footer__links a { display: inline-flex; align-items: center; min-height: 34px; font-size: 14.5px; }
.u-footer__quote { margin-top: 18px; font-size: 13.5px; font-style: italic; color: #9fb3bf; line-height: 1.5; }
.u-footer__news .np-newsletter { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 20px; margin: 0; }
.u-footer__news .np-newsletter__title { color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 17px; line-height: 1.3; }
.u-footer__news .np-newsletter__text { color: #b9cad4; opacity: 1; font-size: 14px; }
.u-footer__news .np-newsletter input[type=email] { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; min-height: 46px; border-radius: 10px; }
.u-footer__news .np-newsletter input[type=email]::placeholder { color: #9fb3bf; }
.u-footer__news .np-newsletter button { background: var(--signal); color: #111; font-weight: 800; min-height: 46px; border-radius: 10px; border: 0; }
.u-footer__news .np-newsletter button:hover { filter: brightness(1.05); }
.u-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #9fb3bf; }
.u-footer__bottom a { color: #c9d8e1 !important; }
.u-footer__bottom a:hover { color: var(--signal) !important; }

/* ---------- newsplus pages (authors, legal…) inside the new frame ---------- */
.np-page { color: var(--ink); }
.np-card, .np-tile { background: var(--surface); border-color: var(--line); }
.np-h1 { font-family: var(--f-display); letter-spacing: -.02em; }
.np-poll__answer { color: var(--ink); background: var(--surface-2); border-color: var(--line); }
.np-poll__foot { color: var(--muted); }
html[data-theme=dark] .np-poll__bar { background: rgba(92, 192, 234, .22); }
html[data-theme=dark] .np-share__btn { color: #fff; }
html[data-theme=dark] .np-star { color: #3a4a55; }
html[data-theme=dark] .np-star.is-on, html[data-theme=dark] .np-rating__stars:hover .np-star { color: var(--signal); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .u-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .u-split { grid-template-columns: minmax(0, 1fr) 300px; }
  .u-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .u-front { grid-template-columns: minmax(0, 1fr); }
  .u-front__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-tile { grid-row: span 2; }
  .u-split { grid-template-columns: minmax(0, 1fr); }
  .u-aside { position: static; }
  .u-sections { grid-template-columns: minmax(0, 1fr); }
  .u-feature { grid-template-columns: minmax(0, 1fr); }
  .u-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  .u-grid--4, .u-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .u-card__body { padding: 12px 12px 12px; }
  .u-card__title { font-size: 15px; -webkit-line-clamp: 5; }
  .u-card .u-counts { display: none; }
  .u-card .u-kicker { font-size: 10.5px; }
  .u-card__media .u-badge { left: 8px; top: 8px; height: 22px; font-size: 10px; padding: 0 8px 0 6px; }
  .u-front__side { grid-template-columns: minmax(0, 1fr); }
  .u-tile { grid-row: auto; }
}
@media (max-width: 640px) {
  .u-front { margin-top: 16px; }
  .u-lead { min-height: 0; flex-direction: column; background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
  .u-lead__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
  .u-lead__media::after { background: linear-gradient(180deg, rgba(4, 18, 26, 0) 55%, rgba(4, 18, 26, .35)); }
  .u-lead__body { color: var(--ink); padding: 16px 16px 18px; }
  .u-lead__chips { position: absolute; left: 12px; top: 12px; margin: 0; }
  .u-lead__title { color: var(--ink); font-size: 24px; }
  .u-lead__title[data-caps="1"] { font-size: 21px; }
  .u-lead__title a:hover { color: var(--brand); }
  .u-lead__dek { color: var(--ink-2); font-size: 15.5px; }
  .u-meta--light { color: var(--muted); }
  .u-lead .u-chip { background: rgba(4, 18, 26, .7); }
  .u-row { grid-template-columns: 104px minmax(0, 1fr); }
  .u-catsec__body { grid-template-columns: minmax(0, 1fr); }
  .u-mini--big { grid-row: auto; }
  .u-catsec__body > .u-mini:nth-child(2) { border-top: 1px solid var(--line); padding-top: 14px; }
  .u-sections { gap: 40px; margin-top: 44px; }
  .u-split { margin-top: 32px; }
  .u-article__hero { padding: 0; }
  .u-article__hero .u-article__img, .u-video { border-radius: 0; }
  .u-hero-count { right: 12px; bottom: 12px; }
  .u-byline__facts { gap: 6px 12px; font-size: 13px; }
  .u-comments--nested { margin-left: 10px; padding-left: 10px; }
  .u-comment { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
  .u-comment__avatar { width: 36px; height: 36px; }
  .u-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 44px; }
  .u-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .u-sec-head { margin-bottom: 14px; }
  .np-related__name { font-size: 14.5px !important; }
}
@media (max-width: 400px) {
  .u-grid--4, .u-grid--3 { gap: 10px; }
  .u-card__title { font-size: 14.5px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
  .u-eq i { transform: scaleY(.7); }
}
@media print {
  .u-header, .u-footer, .u-banner, .u-actions, .u-discuss, .u-morenews, .np-sticky { display: none !important; }
}

/* ---------- Pass 2 tweaks ---------- */
.u-wrap:has(.u-banner--header) + .u-main > .u-band:first-child { margin-top: 24px; }
.u-article__head { max-width: 768px; }
.u-article__hero .u-article__img { max-height: 720px; object-fit: cover; }
@media (max-width: 760px) { .u-pollcard { grid-column: 1 / -1; } }
html[data-theme=dark] .np-x { background: #24343f; }
html[data-theme=dark] .u-top { border: 1px solid var(--line); background: var(--surface); }
/* tap targets (phones): no link under 24px tall */
.u-kicker { min-height: 24px; }
.u-util [data-np-wx] { display: inline-flex; align-items: center; min-height: 28px; cursor: pointer; }
.u-hl a { padding: 3px 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (max-width: 640px) { .u-lead .u-chip { background: var(--night); border-color: var(--night); } }
.u-sec-title a, .u-byline__facts > a, .u-crumbs a, .u-footer__contact a { display: inline-flex; align-items: center; min-height: 28px; }
@media (max-width: 1099px) { .u-logo, .u-tools { position: relative; z-index: 950; } }

/* Article text on a white sheet just as wide as the text column, 20px around it (16px on phones) */
.u-read.u-paper { max-width: calc(720px + 40px); margin: 28px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px; box-shadow: 0 1px 2px rgba(11, 22, 32, .04); }
@media (max-width: 600px) { .u-read.u-paper { margin-top: 20px; padding: 16px; border-radius: 10px; } }
.u-paper > .u-body-text:first-child { margin-top: 0; }
.u-paper .u-body-text > :first-child { margin-top: 0 !important; }
