/* UZ24 — public site styles. Plain CSS, no build step. */

/* ---------- Fonts (self-hosted variable fonts; only the scripts in use are downloaded) ---------- */
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap; src: url("/assets/onest-latin-wght-normal-9debe597.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap; src: url("/assets/onest-latin-ext-wght-normal-44721fb9.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap; src: url("/assets/onest-cyrillic-wght-normal-c98144ff.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap; src: url("/assets/onest-cyrillic-ext-wght-normal-4818fca9.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-display: swap; src: url("/assets/source-serif-4-latin-wght-normal-a86e57ca.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-display: swap; src: url("/assets/source-serif-4-latin-ext-wght-normal-2eacd2c3.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-display: swap; src: url("/assets/source-serif-4-cyrillic-wght-normal-2bc84d0c.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-display: swap; src: url("/assets/source-serif-4-cyrillic-ext-wght-normal-63f7e889.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --wash: #f1f4f9;
  --ink: #0f1b2d;
  --muted: #586579;
  --line: #dde3ec;
  --brand: #b61c1c;        /* the red of the UZ24 globe */
  --brand-deep: #8e1313;
  --focus: #1d5fd1;        /* keyboard focus ring: deliberately not the brand colour */
  --alert: #b61c1c;
  --partner-bg: #fff3d1;
  --partner-ink: #6f4e00;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
time { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 20; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.skip:focus { top: 8px; color: #fff; }
.icon { flex: none; }

/* ---------- Top strip: date, rates, weather ---------- */
.strip { background: var(--wash); font-size: .8125rem; color: var(--muted); }
.strip__in { position: relative; display: flex; align-items: center; gap: 8px 28px; min-height: 36px; flex-wrap: wrap; padding-block: 6px; }
.strip__date { color: var(--ink); font-weight: 500; }
.rates { display: flex; gap: 20px; font-variant-numeric: tabular-nums; }
.rates li { display: flex; gap: 6px; align-items: baseline; }
.rates__code { font-weight: 600; color: var(--ink); }
.rates__diff.is-up { color: #1a7f4b; }
.rates__diff.is-down { color: var(--alert); }
.city-now { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.gauge { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.gauge__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.gauge strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
a.gauge:hover .gauge__label { text-decoration: underline; text-underline-offset: 3px; }
.weather { position: relative; display: flex; align-items: center; gap: 10px; }
.weather__city { border: 0; background: transparent; padding: 2px 4px; font-weight: 600; color: var(--ink); cursor: pointer; border-radius: 4px; }
.weather__now { color: var(--ink); font-weight: 600; }
@media (max-width: 1499px) { .gauge__text { display: none; } }
@media (max-width: 999px) { .strip__date { display: none; } }
@media (max-width: 699px) {
  .strip__in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 18px; }
  .strip__in::-webkit-scrollbar { display: none; }
  .rates, .city-now, .weather { flex: none; }
  .city-now { margin-left: 0; gap: 16px; }
  .strip__date { display: none; }
  .rates { gap: 14px; }
  .rates__diff { display: none; }
  .weather__night { display: none; }
}

/* ---------- Masthead ---------- */
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); }
.masthead__in { display: flex; align-items: center; gap: 16px 24px; padding-block: 16px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { display: block; height: 44px; width: auto; }
.logo--light, .logo--light:hover { color: #fff; }

.searchbox { display: flex; flex: 1 1 260px; max-width: 420px; margin-left: auto; border: 1px solid var(--line); border-radius: 999px; background: var(--wash); overflow: hidden; }
.searchbox:focus-within { border-color: var(--brand); background: #fff; }
.searchbox input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 4px 9px 18px; outline: 0; }
.searchbox button { border: 0; background: transparent; padding: 0 14px; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.searchbox button:hover { color: var(--brand); }
.searchbox--page { max-width: 640px; margin: 20px 0 0; flex: none; border-radius: var(--radius); }
.searchbox--page input { padding: 13px 16px; font-size: 1.0625rem; }
.searchbox--page button { background: var(--brand); color: #fff; padding: 0 22px; font-weight: 600; }
.searchbox--page button:hover { background: var(--brand-deep); color: #fff; }

.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .875rem; font-weight: 500; }
.langs__item { padding: 5px 13px; border-radius: 999px; color: var(--muted); }
.langs__item.is-current { background: var(--ink); color: #fff; }

.sections { border-top: 1px solid var(--line); }
.sections__list { display: flex; gap: 0 22px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; white-space: nowrap; }
.sections__list::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .sections__list { flex-wrap: wrap; overflow: visible; } }
.sections__list a { display: block; padding: 13px 0 11px; font-weight: 600; font-size: .9375rem; border-bottom: 3px solid transparent; }
.sections__list a:hover { border-bottom-color: var(--line); }
.sections__list a[aria-current] { color: var(--brand); border-bottom-color: var(--brand); }
@media (max-width: 699px) {
  .masthead__in { padding-block: 12px; }
  .logo__mark { height: 34px; }
  .searchbox { order: 3; flex-basis: 100%; max-width: none; }
  .langs { margin-left: auto; }
}

/* ---------- Shared pieces ---------- */
.section-title { font-size: 1.375rem; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.more { display: inline-block; font-size: .875rem; font-weight: 600; color: var(--brand); border-bottom: 1px solid currentColor; }
.more:hover { color: var(--brand-deep); }
.partner { display: inline-block; padding: 1px 8px; border-radius: 4px; background: var(--partner-bg); color: var(--partner-ink); font-size: .75rem; font-weight: 600; }
.empty { padding: 32px 0; color: var(--muted); }
.button { display: inline-block; padding: 11px 20px; background: var(--brand); color: #fff; font-weight: 600; border-radius: var(--radius); }
.button:hover { background: var(--brand-deep); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; font-weight: 500; }
.chips a:hover { border-color: var(--brand); }
.noimg { display: block; width: 100%; height: 100%; background: var(--wash) repeating-linear-gradient(135deg, transparent 0 14px, rgba(182, 28, 28, .07) 14px 15px); }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--wash); }
.card__media picture, .card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__kind { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 4px; background: rgba(15, 27, 45, .82); color: #fff; font-size: .75rem; font-weight: 600; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .8125rem; color: var(--muted); }
.card__section { font-weight: 600; color: var(--brand); }
.card__section:hover { color: var(--brand-deep); text-decoration: underline; }
.card__title { margin-top: 6px; font-size: 1.0625rem; line-height: 1.3; font-weight: 600; letter-spacing: -.005em; overflow-wrap: anywhere; }
.card__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card__lead { margin-top: 8px; font-family: var(--serif); font-size: 1rem; line-height: 1.5; color: #2e3a4d; }

.card--lead .card__media { aspect-ratio: 16 / 9; }
.card--lead .card__title { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.375rem); line-height: 1.14; font-weight: 700; letter-spacing: -.02em; }
.card--lead .card__lead { font-size: 1.125rem; max-width: 62ch; }

.card--row { flex-direction: row; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.card--row .card__media { flex: 0 0 clamp(108px, 30%, 240px); align-self: flex-start; aspect-ratio: 4 / 3; }
.card--row .card__body { flex: 1; min-width: 0; }
.card--row .card__title { font-size: clamp(1.0625rem, 1rem + .5vw, 1.3125rem); }
@media (max-width: 599px) { .card--row .card__lead { display: none; } }

.grid { display: grid; gap: 28px 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 999px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 799px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .grid--3 { grid-template-columns: 1fr; } .grid { gap: 22px 14px; } }

/* ---------- "24 hours" rail: the newest stories on a time axis ---------- */
.rail { border-top: 4px solid var(--ink); padding-top: 14px; }
.rail__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.rail__title { display: flex; align-items: center; gap: 10px; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.rail__note { font-size: .8125rem; color: var(--muted); }
.live { width: 10px; height: 10px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 0 0 rgba(182, 28, 28, .5); animation: live 2s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(182, 28, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(182, 28, 28, 0); } }
@media (prefers-reduced-motion: reduce) { .live { animation: none; } html { scroll-behavior: auto; } }

.timeline { position: relative; margin-bottom: 16px; }
.timeline::before { content: ""; position: absolute; left: 58px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.timeline__item { position: relative; display: grid; grid-template-columns: 46px 1fr; column-gap: 26px; padding: 11px 0; }
.timeline__item::before { content: ""; position: absolute; left: 54px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand); }
.timeline__item:first-child::before { background: var(--brand); }
.timeline__time { grid-row: span 2; padding-top: 2px; font-size: .8125rem; font-weight: 600; color: var(--brand); text-align: right; white-space: nowrap; }
.timeline__title { font-size: .9375rem; line-height: 1.35; font-weight: 500; overflow-wrap: anywhere; }
.timeline__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.timeline .partner { justify-self: start; margin-top: 5px; }

/* ---------- Front page ---------- */
.front { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-block: 28px 44px; }
.front__main { display: grid; gap: 32px; align-content: start; }
@media (max-width: 1099px) { .front { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

.band { background: var(--wash); padding-block: 36px; }
.band__in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 899px) { .band__in { grid-template-columns: 1fr; gap: 32px; } }
.popular__list { counter-reset: rank; margin-top: 14px; }
.popular__list li { counter-increment: rank; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 4px 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.popular__list li::before { content: counter(rank); font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.popular__title { font-size: 1.0625rem; line-height: 1.3; font-weight: 600; }
.popular__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topics .chips { margin-top: 16px; }
.topics .chips a { background: var(--paper); }

/* ---------- Tashkent roads: daily figures ---------- */
.roads { padding-block: 36px; border-top: 4px solid var(--ink); }
.roads__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 22px; }
.roads__date { color: var(--muted); font-size: .9375rem; }
.roads__figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-block: 1px solid var(--line); }
.roads__figure { padding: 18px 20px 18px 0; }
.roads__figure + .roads__figure { padding-left: 20px; border-left: 1px solid var(--line); }
.roads__figure dt { font-size: .875rem; color: var(--muted); line-height: 1.3; min-height: 2.6em; }
.roads__figure dd { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.roads__number { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.125rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.roads__change { font-size: .8125rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.roads__note { font-size: .875rem; color: var(--muted); }
.roads__figure--alert .roads__number, .roads__figure--alert .roads__note { color: var(--brand); }
.roads__more { display: grid; gap: 10px; margin-top: 18px; font-size: .9375rem; max-width: 80ch; }
.roads__jams summary { cursor: pointer; font-weight: 600; }
.roads__jams ul { margin-top: 10px; columns: 2 220px; column-gap: 32px; color: #2e3a4d; }
.roads__jams li { padding: 3px 0; break-inside: avoid; }
.roads__source { color: var(--muted); font-size: .8125rem; }
.roads__source a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .roads__figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roads__figure:nth-child(odd) { padding-left: 0; border-left: 0; }
  .roads__figure:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .roads__figure dt { min-height: 0; }
}

/* ---------- Tashkent today: air by the hour, notices, works ---------- */
.air__advice { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; max-width: 70ch; }
.air__advice-note { display: block; margin-top: 2px; font-size: .875rem; font-weight: 400; color: var(--muted); }
.air__worst { margin-top: 10px; font-size: .9375rem; }
.airchart { margin-top: 18px; }
/* one bar per hour; height = AQI, colour = AQI band (named in the legend below, so colour is never the only cue) */
.airchart__bars { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; align-items: end; height: 132px; padding-bottom: 22px; border-bottom: 1px solid var(--line); position: relative; }
.airchart__bars li { position: relative; height: max(4px, calc(var(--v) / var(--top) * 100%)); background: var(--c); border-radius: 4px 4px 0 0; }
.airchart__bars li span { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); padding: 2px 6px; border-radius: 4px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; pointer-events: none; z-index: 2; }
.airchart__bars li:hover span, .airchart__bars li:focus-visible span { opacity: 1; }
.airchart__bars li:hover, .airchart__bars li:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.airchart__bars li:nth-child(3n + 1)::after { content: attr(data-hour) ":00"; position: absolute; top: calc(100% + 5px); left: 0; font-size: .6875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.airchart__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .8125rem; }
.airchart__legend li { display: inline-flex; align-items: center; gap: 6px; }
.airchart__range { color: var(--muted); }
.airchart__table { margin-top: 12px; font-size: .875rem; }
.airchart__table summary { cursor: pointer; color: var(--muted); }
.airchart__table table { margin-top: 8px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.airchart__table th, .airchart__table td { padding: 4px 18px 4px 0; text-align: left; border-bottom: 1px solid var(--line); }
.air .roads__source { margin-top: 12px; }
.air--compact .airchart__bars { height: 104px; }
.air--compact .air__advice { font-size: 1rem; }

.city { display: grid; gap: 44px; padding-block: 28px 44px; max-width: calc(980px + 2 * var(--gutter)); margin-inline: auto 0; margin-left: max(0px, calc((100% - var(--wrap) - 2 * var(--gutter)) / 2)); }
.city__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 16px; padding-top: 14px; border-top: 4px solid var(--ink); }
.city__now { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9375rem; }
.city__filters { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 8px; }
.city__filters label { display: grid; gap: 4px; font-size: .8125rem; color: var(--muted); }
.city__filters select { min-width: 190px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 1rem; color: var(--ink); }
.city__none { padding: 20px 0; color: var(--muted); }
.notice { padding: 16px 0; border-bottom: 1px solid var(--line); }
.notice__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .8125rem; color: var(--muted); }
.notice__kind { display: inline-block; padding: 1px 9px; border-radius: 4px; font-size: .75rem; font-weight: 700; color: #fff; background: var(--ink); }
.notice__kind--power { background: #9a6700; }
.notice__kind--gas { background: #1d5fd1; }
.notice__kind--water { background: #0a7f86; }
.notice__kind--heat { background: #b4441f; }
.notice__kind--road { background: #4a5568; }
.notice__when { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.notice__title { margin-top: 6px; font-size: 1.0625rem; line-height: 1.35; font-weight: 600; }
.notice__places { margin-top: 4px; color: #2e3a4d; font-size: .9375rem; }
.notice__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.notice__district { padding: 1px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.notice__foot a { text-decoration: underline; text-underline-offset: 3px; }
.works { columns: 3 240px; column-gap: 32px; }
.works__group { break-inside: avoid; margin-bottom: 18px; }
.works__group h3 { font-size: .875rem; font-weight: 700; margin-bottom: 4px; }
.works__group li { font-size: .9375rem; padding: 2px 0; color: #2e3a4d; }

.cityband__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
.cityband__in > :only-child { grid-column: 1 / -1; }
.cityband__sub { font-size: .9375rem; font-weight: 700; margin-bottom: 10px; }
.cityband__count { display: inline-block; min-width: 1.6em; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; text-align: center; }
.cityband__notices li { display: grid; gap: 4px; justify-items: start; padding: 11px 0; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.35; }
.cityband__notices a { font-weight: 600; }
.cityband__notices a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cityband__notices .notice__when { font-size: .8125rem; }
.cityband__calm { color: var(--muted); font-size: .9375rem; }
@media (max-width: 899px) { .cityband__in { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Daily quiz ---------- */
.quizband { background: var(--ink); color: #fff; padding-block: 28px; }
.quizband__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 36px; }
.quizband__date { margin-top: 2px; font-size: .8125rem; color: #a9b4c6; }
.quizband__q { font-size: clamp(1.0625rem, 1rem + .5vw, 1.3125rem); font-weight: 600; line-height: 1.3; }
.quizband .button { background: #fff; color: var(--ink); white-space: nowrap; }
.quizband .button:hover { background: var(--brand); color: #fff; }
@media (max-width: 799px) { .quizband__in { grid-template-columns: 1fr; } .quizband .button { justify-self: start; } }
.quizpage { max-width: calc(760px + 2 * var(--gutter)); margin-left: max(0px, calc((100% - var(--wrap) - 2 * var(--gutter)) / 2)); padding-block: 20px 56px; }
.quiz__item { padding: 26px 0; border-top: 1px solid var(--line); }
.quiz__item:first-child { border-top: 4px solid var(--ink); }
.quiz__q { font-size: clamp(1.125rem, 1.05rem + .5vw, 1.375rem); line-height: 1.3; font-weight: 700; }
.quiz__n { color: var(--brand); font-variant-numeric: tabular-nums; }
.quiz__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
@media (max-width: 599px) { .quiz__options { grid-template-columns: 1fr; } }
.quiz__option { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid #c3ccda; border-radius: var(--radius); background: var(--paper); font-size: 1rem; font-weight: 500; text-align: left; cursor: pointer; }
.quiz__option:hover:not(:disabled) { border-color: var(--ink); }
.quiz__option:disabled { cursor: default; color: var(--muted); }
.quiz__mark { flex: none; width: 1.1em; font-weight: 800; }
.quiz__option.is-right { border-color: #1a7f4b; background: #e9f6ee; color: var(--ink); }
.quiz__option.is-right .quiz__mark::before { content: "✓"; color: #1a7f4b; }
.quiz__option.is-wrong { border-color: var(--brand); background: #fdecea; color: var(--ink); }
.quiz__option.is-wrong .quiz__mark::before { content: "✕"; color: var(--brand); }
.quiz__reveal { margin-top: 14px; padding-left: 16px; border-left: 4px solid var(--line); font-family: var(--serif); font-size: 1.0625rem; line-height: 1.5; }
.quiz__reveal p + p { margin-top: 6px; }
.quiz__reveal a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.quiz__result { margin-top: 12px; padding: 28px; border-radius: var(--radius); background: var(--wash); }
.quiz__score { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; }
.quiz__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.quiz__earlier { margin-top: 44px; }
.quiz__earlier .chips { margin-top: 14px; }

.block { padding-block: 40px; }
.block + .block:not(.block--media) { border-top: 1px solid var(--line); }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.block > .wrap > .section-title { margin-bottom: 20px; }
.block__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; }
.block__body .card--lead .card__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.block__list .card--row:first-child { border-top: 0; padding-top: 0; }
.block__list .card--row .card__media { flex-basis: 132px; }
.block__list .card--row .card__title { font-size: 1.0625rem; }
@media (max-width: 899px) { .block__body { grid-template-columns: 1fr; gap: 20px; } .block__list .card--row:first-child { border-top: 1px solid var(--line); padding-top: 18px; } }

.video-tile .card__media img { width: 100%; height: 100%; object-fit: cover; }
.video-tile__play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: rgba(15, 27, 45, .78); color: #fff; padding-left: 3px; }
.video-tile .card__media:hover .video-tile__play { background: var(--brand); }
.channel { padding-block: 32px 40px; margin-top: 20px; }
.channel__shorts-title { margin: 40px 0 20px; }
.channel .grid + .channel__shorts-title { padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.shorts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 16px; }
.video-tile--short .card__media { aspect-ratio: 9 / 16; }
.video-tile--short .card__title { font-size: .9375rem; }
.video-tile--short .video-tile__play { width: 46px; height: 46px; }
@media (max-width: 999px) {
  .shorts { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .shorts::-webkit-scrollbar { display: none; }
  .shorts > * { flex: 0 0 150px; scroll-snap-align: start; }
}
.player__frame--short { width: min(100%, calc((100vh - 96px) * 9 / 16)); aspect-ratio: 9 / 16; }
.player { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(8, 14, 26, .94); }
.player__frame { width: min(100%, 1100px, calc((100vh - 96px) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.player__close { position: absolute; top: 12px; right: 16px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: transparent; color: #fff; font-weight: 600; cursor: pointer; }
.player__close:hover { background: rgba(255, 255, 255, .14); }
.block--media { background: var(--ink); color: #fff; }
.block--media a:hover { color: #fff; }
.block--media .more { color: #ffb4ae; }
.block--media .card__meta { color: #a9b4c6; }
.block--media .card__section { color: #ffb4ae; }
.block--media .card__media { background: rgba(255, 255, 255, .08); }

/* ---------- Listings (category, tag, search, all news) ---------- */
.page-head { padding-top: 22px; }
.page-title { margin-top: 10px; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.page-title__n { font-size: .5em; font-weight: 500; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.page-intro { margin-top: 12px; max-width: 70ch; color: var(--muted); font-size: 1.0625rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .8125rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #a9b3c2; }
.crumbs a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.listing { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-block: 24px 56px; }
.listing__main > .card--lead { padding-bottom: 24px; }
.listing__main > .card--row:first-child { border-top: 0; }
@media (max-width: 1099px) { .listing { grid-template-columns: minmax(0, 1fr); } }
.listing__rail .rail, .front__rail .rail { position: sticky; top: 16px; }

.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; padding-top: 28px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pager__pages { display: flex; align-items: center; gap: 4px; }
.pager__page, .pager__step { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius); font-weight: 600; }
.pager__page:hover, .pager__step:hover { background: var(--wash); }
.pager__page.is-current { background: var(--ink); color: #fff; }
.pager__step { border: 1px solid var(--line); }
.pager__gap { color: var(--muted); padding: 0 4px; }

/* ---------- Article ---------- */
.story { display: grid; grid-template-columns: minmax(0, 760px) 340px; justify-content: space-between; gap: 48px; padding-block: 14px 48px; }
.story--page { grid-template-columns: minmax(0, 760px); justify-content: start; }
@media (max-width: 1199px) { .story { grid-template-columns: minmax(0, 760px); justify-content: center; } .story .listing__rail { max-width: 760px; width: 100%; } }
.story__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .875rem; color: var(--muted); }
.story__updated { color: var(--ink); }
.story__twin { display: inline-block; margin-top: 12px; padding: 5px 12px; border: 1px solid var(--brand); border-radius: 999px; color: var(--brand); font-size: .8125rem; font-weight: 600; }
.story__twin:hover { background: var(--brand); color: #fff; }
.story__title { margin-top: 12px; font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.875rem); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; overflow-wrap: anywhere; text-wrap: balance; }
.story__lead { margin-top: 18px; font-family: var(--serif); font-size: clamp(1.1875rem, 1.1rem + .5vw, 1.375rem); line-height: 1.45; font-weight: 500; color: #25324a; }
.story__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.story__facts span { display: inline-flex; align-items: center; gap: 6px; }
.story__facts strong { color: var(--ink); font-weight: 600; }
.story__cover, .story__video { margin-top: 24px; }
.story__player { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--ink); }
.story__cover picture, .story__cover img { width: 100%; border-radius: var(--radius); background: var(--wash); }
.story__cover figcaption, .prose figcaption, .gallery figcaption { margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.preview-bar { margin: 0; padding: 10px var(--gutter); background: var(--partner-bg); color: var(--partner-ink); font-weight: 600; text-align: center; }

.prose { margin-top: 28px; font-family: var(--serif); font-size: clamp(1.125rem, 1.08rem + .25vw, 1.25rem); line-height: 1.65; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--sans); line-height: 1.2; letter-spacing: -.015em; margin-top: 1.7em; }
.prose h2 { font-size: 1.5em; font-weight: 700; }
.prose h3 { font-size: 1.25em; font-weight: 700; }
.prose h4 { font-size: 1.05em; font-weight: 700; }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-deep); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); font-family: var(--sans); font-weight: 600; }
.prose blockquote { padding: 4px 0 4px 22px; border-left: 4px solid var(--brand); font-size: 1.1em; font-style: italic; color: #25324a; }
.prose img { border-radius: var(--radius); margin-inline: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose .table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .875em; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 700; border-bottom: 2px solid var(--ink); }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gallery { margin-top: 36px; }
.gallery__count { font-size: .875rem; font-weight: 500; color: var(--muted); margin-left: 8px; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.gallery__grid a { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--wash); }
.gallery__grid picture, .gallery__grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 479px) { .gallery__grid { grid-template-columns: 1fr; } }
.zoom { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; border: 0; background: rgba(8, 14, 26, .94); cursor: zoom-out; }
.zoom img { max-width: 100%; max-height: calc(100vh - 32px); border-radius: var(--radius); }

.story__foot { display: grid; gap: 18px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.story__source { font-size: .9375rem; color: var(--muted); }
.story__source a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { font-size: .875rem; font-weight: 600; margin-right: 6px; }
.share__btn { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; }
.share__btn:hover { border-color: var(--brand); color: var(--brand); }
.share__status { font-size: .875rem; color: #1a7f4b; font-weight: 600; }
.share__twin { margin-left: auto; font-size: .875rem; font-weight: 600; color: var(--brand); border-bottom: 1px solid currentColor; }

/* ---------- Errors ---------- */
.error { padding-block: 56px 24px; }
.error__code { font-size: clamp(4rem, 3rem + 8vw, 8rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--brand); font-variant-numeric: tabular-nums; }
.error .button { margin-top: 24px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, .14); background: var(--ink); color: #c8d1df; font-size: .9375rem; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__in { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 40px; padding-block: 48px 36px; }
.footer__brand p { margin-top: 16px; max-width: 42ch; }
.footer__legal { font-size: .8125rem; color: #94a1b5; }
.footer__title { margin-bottom: 12px; font-size: .9375rem; font-weight: 700; color: #fff; }
.footer__links { display: grid; gap: 8px; margin-bottom: 26px; }
.footer__links--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .09); color: #fff; }
.socials a:hover { background: var(--brand); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .13); font-size: .8125rem; color: #94a1b5; }
@media (max-width: 899px) { .footer__in { grid-template-columns: 1fr; gap: 30px; padding-block: 36px 24px; } }

@media print {
  .strip, .masthead .searchbox, .langs, .sections, .listing__rail, .share, .footer, .block { display: none !important; }
  .story { display: block; }
}

/* Results widget: football, tennis, boxing */
.scores__in { display: grid; gap: 36px; align-items: start; }
.scores__in--3 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
.scores__in--2 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.scores__col--football .scores__group { break-inside: avoid; }
.scores__in--3 .scores__col--football, .scores__in--2 .scores__col--football, .scores__in--1 .scores__col { columns: 2; column-gap: 28px; }
.scores__in--1 .scores__col { columns: 3; }
.scores__sport { column-span: all; font-size: .9375rem; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.scores__group { padding-top: 12px; }
.scores__league { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.score { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); break-inside: avoid; }
.scores__list .score:first-child { border-top: 0; }
.score__when { font-size: .75rem; line-height: 1.3; color: var(--muted); font-variant-numeric: tabular-nums; }
.score__day { display: block; }
.score__live { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--brand); }
.score__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.score__side { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; line-height: 1.45; }
.score__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score__num { font-weight: 600; font-variant-numeric: tabular-nums; }
.score--finished .score__side:not(.is-winner) { color: var(--muted); }
.score--finished .score__side.is-winner, .score--live .score__num { font-weight: 700; color: var(--ink); }
.score__won { font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); align-self: center; }
.score__note { margin-top: 1px; font-size: .75rem; color: var(--muted); }
.scores__tabs { display: none; }
@media (max-width: 899px) {
  .scores__in--3, .scores__in--2 { grid-template-columns: 1fr; gap: 28px; }
  .scores__in .scores__col { columns: 1 !important; }
  .scores--tabs .scores__tabs { display: flex; gap: 8px; margin-bottom: 14px; }
  .scores__tab { font: inherit; font-size: .875rem; font-weight: 600; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
  .scores__tab[aria-selected=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .scores--tabs .scores__col:not(.is-active) { display: none; }
  .scores--tabs .scores__sport { display: none; }
}
