/* tryvudoo: mock publisher styles. Hand-written, no build step. */

:root {
  --accent: #d1232a;
  --accent-dark: #a9161c;
  --ink: #141414;
  --ink-2: #3f3f3f;
  --muted: #6f6f6f;
  --line: #e6e6e3;
  --bg: #ffffff;
  --bg-soft: #f5f4f0;
  --img-bg: #e2e0da;
  --band: #101113;
  --band-ink: #f2f2f2;
  --band-line: rgba(255, 255, 255, 0.12);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --logo: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --container: 1240px;
  --radius: 4px;
  --header-h: 76px;
  color-scheme: light;
}

:root[data-theme='dark'] {
  --ink: #eeeeec;
  --ink-2: #c6c6c3;
  --muted: #999996;
  --line: #2a2b2e;
  --bg: #111214;
  --bg-soft: #18191c;
  --img-bg: #26272b;
  --band: #000000;
  color-scheme: dark;
}

/* ------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.25; }
p, figure, blockquote { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; }
.clamp-2, .clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }

/* ------------------------------------------------------------ buttons, chips */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: var(--radius);
  background: var(--accent); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--accent-dark); }
.btn--sm { height: 34px; padding: 0 14px; font-size: 11.5px; }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }

.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center;
  border-radius: 50%; transition: background 0.2s;
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 20px; height: 20px; }

.chip {
  display: inline-block; padding: 5px 13px; border: 1px solid var(--line); border-radius: 99px;
  font-size: 12.5px; font-weight: 500; transition: border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chips, .tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------ ticker */

.ticker { background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 500; }
.ticker__inner { display: flex; align-items: center; gap: 14px; height: 34px; }
.ticker__label {
  flex: none; padding: 2px 8px; border-radius: 2px; background: rgba(0, 0, 0, 0.2);
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.ticker__viewport {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker__track li { position: relative; padding: 0 22px; white-space: nowrap; }
.ticker__track li::before { content: ''; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: rgba(255, 255, 255, 0.7); }
.ticker__track a:hover { text-decoration: underline; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ category nav */

.catnav { border-bottom: 1px solid var(--line); background: var(--bg); }
.catnav__inner { display: flex; align-items: center; gap: 10px; height: 46px; }
.catnav__home { flex: none; display: grid; place-items: center; width: 32px; height: 32px; }
.catnav__home svg { width: 18px; height: 18px; }
.catnav__list { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.catnav__list::-webkit-scrollbar { display: none; }
.catnav__list a { display: block; padding: 6px 11px; font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: color 0.2s; }
.catnav__list a:hover, .catnav__list a[aria-current] { color: var(--accent); }
.catnav__list a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }
.catnav__date { flex: none; font-size: 12.5px; color: var(--muted); }

/* Edition (region) switcher, in the section bar */
.edition { position: relative; flex: none; }
.edition summary {
  display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: var(--radius);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; cursor: pointer; list-style: none;
}
.edition summary::-webkit-details-marker { display: none; }
.edition summary:hover, .edition[open] summary { color: var(--accent); }
.edition summary svg { width: 15px; height: 15px; flex: none; }
.edition summary .i-chev { width: 13px; height: 13px; transition: transform 0.2s; }
.edition[open] summary .i-chev { transform: rotate(180deg); }
.edition__code { display: none; }
.edition__menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 200px; padding: 6px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}
.edition__menu a { display: flex; justify-content: space-between; gap: 16px; padding: 8px 10px; border-radius: var(--radius); font-size: 14px; }
.edition__menu a span { font-size: 12px; font-weight: 600; color: var(--muted); }
.edition__menu a:hover { background: var(--bg-soft); color: var(--accent); }
.edition__menu a[aria-current] { color: var(--accent); font-weight: 600; }

/* ------------------------------------------------------------ masthead */

.masthead { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.masthead__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.masthead__left { display: flex; align-items: center; gap: 14px; }
.masthead__right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.masthead__right .btn { margin-left: 8px; }

.logo {
  display: inline-flex; align-items: center; gap: 0.24em;
  font-family: var(--logo); font-weight: 700; font-size: 36px; line-height: 1;
  letter-spacing: -0.01em; color: var(--ink); white-space: nowrap;
}
.logo__mark { width: 0.95em; height: 0.95em; flex: none; }
.logo__word { padding-bottom: 0.08em; }
.logo__word em { font-style: italic; font-weight: 500; margin-right: 0.03em; }
.logo--sm { font-size: 26px; }
.logo--light { color: #fff; font-size: 30px; }

.live-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px;
  border: 1px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 600;
}
.live-pill:hover { border-color: var(--accent); }
.live-dot {
  display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(209, 35, 42, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(209, 35, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(209, 35, 42, 0); }
}

.i-sun { display: none; }
:root[data-theme='dark'] .i-sun { display: block; }
:root[data-theme='dark'] .i-moon { display: none; }

/* ------------------------------------------------------------ drawer + search overlay */

.drawer, .search-overlay { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open, .search-overlay.is-open { visibility: visible; }
.drawer__backdrop, .search-overlay__backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); opacity: 0; transition: opacity 0.3s;
}
.is-open > .drawer__backdrop, .is-open > .search-overlay__backdrop { opacity: 1; }

.drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); overflow-y: auto;
  padding: 18px 22px 28px; background: var(--bg);
  transform: translateX(-100%); transition: transform 0.3s ease;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 20px; font-weight: 600;
}
.drawer__nav a:hover { color: var(--accent); }
.drawer__nav svg { width: 16px; height: 16px; color: var(--muted); }
.drawer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.drawer__links a:hover { color: var(--accent); }
.drawer__note { margin-top: 24px; font-size: 12.5px; color: var(--muted); }

.search-overlay__panel {
  position: absolute; top: 0; left: 0; right: 0; padding: 28px 0 24px; background: var(--bg);
  transform: translateY(-100%); transition: transform 0.3s ease;
}
.search-overlay.is-open .search-overlay__panel { transform: none; }
.search-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.search-form > svg { width: 22px; height: 22px; color: var(--muted); }
.search-form input { flex: 1; min-width: 0; border: 0; background: none; font-family: var(--serif); font-size: 26px; outline: none; }
.search-form .form-msg { flex-basis: 100%; }
.search-overlay__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------ media + card primitives */

.media { position: relative; overflow: hidden; background: var(--img-bg); border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
a:hover > .media img, a:hover .media img { transform: scale(1.04); }

.card-title { transition: color 0.2s; }
a:hover > .card-title, .card-title a:hover, .card-list:hover .card-title, .popular a:hover .card-title { color: var(--accent); }

.cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.excerpt { color: var(--ink-2); font-size: 14.5px; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.meta > span { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { width: 13px; height: 13px; }

.byline { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.avatar {
  display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--av, #555); color: #fff; font: 700 9.5px/1 var(--sans); letter-spacing: 0.02em;
}
.avatar--lg { width: 44px; height: 44px; font-size: 14px; }
.avatar--xl { width: 72px; height: 72px; font-size: 22px; }

/* overlay card: image with gradient and white text */
.card-overlay { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--img-bg); color: #fff; isolation: isolate; }
.card-overlay .media { position: absolute; inset: 0; border-radius: 0; z-index: -1; }
.card-overlay::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%);
}
.card-overlay__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: 10px; padding: 22px; }
.card-overlay .cat { padding: 3px 8px; border-radius: 2px; background: var(--accent); color: #fff; font-size: 10px; }
.card-overlay .card-title { color: #fff; font-size: 21px; }
.card-overlay:hover .card-title { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.card-overlay .meta, .card-overlay .byline { color: rgba(255, 255, 255, 0.85); }
.card-overlay--md { aspect-ratio: 4 / 3; }
.card-overlay--tall { aspect-ratio: 4 / 5; }
.card-overlay--xl { height: 100%; min-height: 420px; }
.card-overlay--xl .card-overlay__body { padding: 32px; gap: 14px; }
.card-overlay--xl .card-title { font-size: clamp(26px, 3vw, 40px); font-weight: 500; line-height: 1.18; max-width: 22ch; }

/* list card: title left, thumbnail right */
.list { display: flex; flex-direction: column; }
.card-list { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.card-list:first-child { padding-top: 0; }
.card-list:last-child { border-bottom: 0; padding-bottom: 0; }
.card-list__text { display: grid; gap: 8px; }
.card-list .card-title { font-size: 16px; line-height: 1.32; }
.card-list .media { aspect-ratio: 4 / 3; }

/* stacked card: image on top */
.card-stack { display: grid; align-content: start; gap: 10px; }
.card-stack .media { aspect-ratio: 3 / 2; margin-bottom: 4px; }
.card-stack .card-title { font-size: 18px; line-height: 1.3; }
.card-stack--big .media { aspect-ratio: 4 / 3; }
.card-stack--big .card-title { font-size: 26px; line-height: 1.22; }

/* mini card (trending strip) */
.card-mini { display: flex; align-items: center; gap: 12px; }
.card-mini .media { flex: none; width: 72px; aspect-ratio: 4 / 3; }
.card-mini .card-title { font-size: 15px; line-height: 1.3; }

/* opinion card */
.card-opinion { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.card-opinion:first-child { padding-top: 0; }
.card-opinion:last-child { border-bottom: 0; }
.card-opinion > div { display: grid; gap: 6px; }
.card-opinion__author { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.card-opinion .card-title { font-size: 18px; font-style: italic; font-weight: 500; line-height: 1.3; }
.card-opinion:hover .card-title { color: var(--accent); }

/* row card: image left, text right */
.rows { display: flex; flex-direction: column; }
.card-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.card-row:first-child { padding-top: 0; }
.card-row[hidden] { display: none; }
.card-row__media .media { aspect-ratio: 4 / 3; }
.card-row__body { display: grid; align-content: center; justify-items: start; gap: 9px; }
.card-row .card-title { font-size: 23px; line-height: 1.25; }

/* ------------------------------------------------------------ section scaffolding */

.section { padding-block: 40px; }
.section--soft { background: var(--bg-soft); }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-top: 10px; border-top: 2px solid var(--ink); }
.sec-head h2 { display: flex; align-items: center; gap: 8px; font: 800 14px/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }
.sec-head h2 a { display: inline-flex; align-items: center; gap: 2px; }
.sec-head h2 a:hover { color: var(--accent); }
.sec-head svg { width: 16px; height: 16px; }
.mini-head { margin-bottom: 14px; font: 800 12px/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.grid-main-side { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-3 .col { display: flex; flex-direction: column; gap: 18px; }
.grid-3 .col > .sec-head { margin-bottom: 2px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }

/* ------------------------------------------------------------ trending strip + carousels */

.trending { padding: 20px 0; border-bottom: 1px solid var(--line); }
.carousel { position: relative; }
.hscroll {
  display: grid; grid-auto-flow: column; gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
.hscroll--4 { grid-auto-columns: calc((100% - 3 * 24px) / 4); }
.hscroll--5 { grid-auto-columns: calc((100% - 4 * 24px) / 5); }
.scroll-btn {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); transform: translateY(-50%); transition: opacity 0.2s;
}
.scroll-btn svg { width: 16px; height: 16px; }
.scroll-btn--prev { left: -16px; }
.scroll-btn--next { right: -16px; }
.scroll-btn[disabled] { opacity: 0; pointer-events: none; }
.section--soft .hscroll--5 .media { aspect-ratio: 4 / 3; }
.section--soft .scroll-btn { top: 32%; }

/* ------------------------------------------------------------ hero + slider */

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-top: 28px; padding-bottom: 8px; }
.slider { position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; background: var(--img-bg); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0.7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide .card-overlay { position: absolute; inset: 0; border-radius: 0; }
.slider__controls { position: absolute; top: 18px; right: 18px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.slider__btn {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.25); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background 0.2s;
}
.slider__btn:hover { background: var(--accent); border-color: var(--accent); }
.slider__btn svg { width: 16px; height: 16px; }
.slider__dots { display: flex; gap: 6px; }
.slider__dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.5); transition: width 0.3s, background 0.3s; }
.slider__dots button[aria-current='true'] { width: 22px; background: #fff; }

.hero__aside { display: flex; flex-direction: column; gap: 24px; }

/* ------------------------------------------------------------ ads */

.ad { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ad__label { font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ad__slot { --w: 300px; --h: 250px; position: relative; display: grid; place-items: center; width: var(--w); max-width: 100%; }
.ad__slot--wide { --w: 100%; --h: auto; aspect-ratio: 16 / 9; }
/* Once a tag is in, the banner area takes the creative's own size (centred) instead of a fixed 16:9 box. */
.ad__slot--wide.is-filled { aspect-ratio: auto; }
.ad__slot--halfpage { --w: 300px; --h: 600px; }
.ad__slot:not(.is-filled) {
  height: var(--h);
  border: 1px dashed color-mix(in srgb, var(--muted) 45%, transparent);
  background: repeating-linear-gradient(45deg, var(--bg-soft) 0 10px, transparent 10px 20px);
}
.ad__ph { display: grid; justify-items: center; gap: 2px; font-size: 11.5px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; }
.ad__ph strong { font-size: 13px; color: var(--ink-2); font-family: var(--sans); }
.ad-band { padding: 22px 0; border-bottom: 1px solid var(--line); }
html.ads-off .ad:not(.has-ad), html.ads-off .ad-band:not(:has(.has-ad)) { display: none; }
/* Viewport-only slots: the 16:9 top banner is desktop only, the sidebar 300x600 is mobile only. */
@media (max-width: 767px) { .ad--desktop-only { display: none; } }
@media (min-width: 768px) { .ad--mobile-only { display: none; } }
/* Set the in-article mobile ad apart from the text around it. */
.prose > .ad { padding-block: 16px; border-block: 1px solid var(--line); }

/* ------------------------------------------------------------ live band */

.band-dark { padding: 44px 0 52px; background: var(--band); color: var(--band-ink); }
.band-dark .sec-head { border-top-color: var(--band-ink); }
.band-dark .card-list { border-color: var(--band-line); }
.band-dark .meta { color: rgba(255, 255, 255, 0.6); }
.band-dark .mini-head { color: rgba(255, 255, 255, 0.6); }
.band-dark .card-list:hover .card-title { color: #ff6b70; }
.live-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; }

.player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.player > img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.player::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.85)); pointer-events: none; }
.player__play {
  position: absolute; left: 50%; top: 45%; z-index: 2; display: grid; place-items: center;
  width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: #fff;
  transform: translate(-50%, -50%); box-shadow: 0 0 0 10px rgba(209, 35, 42, 0.25); transition: transform 0.2s;
}
.player__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.player__play svg { width: 30px; height: 30px; margin-left: 4px; }
.player__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; justify-items: start; gap: 10px; padding: 24px 28px; }
.player__caption h3 { font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; color: #fff; }
.player__caption h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.player__caption .byline { color: #fff; }
.player__notice:not(:empty) {
  position: absolute; left: 50%; top: 45%; z-index: 3; padding: 10px 16px; border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.8); color: #fff; font-size: 13px; transform: translate(-50%, -50%); white-space: nowrap;
}
.badge-live {
  padding: 3px 8px; border-radius: 2px; background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ------------------------------------------------------------ latest + sidebar */

.load-more { display: flex; margin: 30px auto 0; }
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar > .ad { align-self: center; }
.widget { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.widget__title { margin-bottom: 14px; font: 700 11.5px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-align: center; color: var(--muted); }
.popular li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.popular li:first-child { padding-top: 0; }
.popular li:last-child { padding-bottom: 0; border-bottom: 0; }
.popular a { display: grid; gap: 6px; }
.popular__num { font: italic 500 34px/0.9 var(--serif); color: var(--accent); }
.popular .card-title { font-size: 15.5px; line-height: 1.32; }

.follow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.follow a { display: grid; justify-items: center; gap: 2px; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s; }
.follow a:hover { border-color: var(--accent); }
.follow__icon { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 4px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 800; }
.follow strong { font-size: 15px; }
.follow small { font-size: 11.5px; color: var(--muted); }

.widget--newsletter { text-align: center; background: var(--bg-soft); border-color: transparent; }
.widget__icon { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: var(--accent); color: #fff; }
.widget__icon svg { width: 20px; height: 20px; }
.widget__heading { font-size: 22px; margin-bottom: 6px; }
.widget--newsletter > p { margin-bottom: 14px; font-size: 14px; color: var(--ink-2); }

.newsletter { display: grid; gap: 8px; }
.newsletter input {
  height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); font-size: 14px;
}
.newsletter input:focus { outline: none; border-color: var(--accent); }
.form-msg { font-size: 12.5px; color: var(--accent); }
.form-msg:empty { display: none; }

/* ------------------------------------------------------------ category page */

.page-head { padding: 30px 0 28px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-top: 10px; font-size: clamp(36px, 5vw, 58px); font-weight: 600; line-height: 1.05; }
.page-head p { max-width: 640px; margin-top: 10px; color: var(--ink-2); font-size: 16.5px; }
.page-head .chips { margin-top: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; }
.lead-grid .card-overlay--xl { min-height: 480px; }
.lead-side { display: grid; gap: 24px; align-content: start; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; font-weight: 600; }
.pagination span { border-color: transparent; color: var(--muted); }
.pagination a:hover { border-color: var(--ink); }
.pagination a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pagination svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------ article page */

.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.article-layout { padding-top: 28px; }
.article-head { display: grid; justify-items: start; gap: 12px; }
.article-title { font-size: clamp(30px, 4vw, 46px); font-weight: 600; line-height: 1.14; letter-spacing: -0.01em; }
.article-dek { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.article-byline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; margin-top: 10px; padding: 14px 0; border-block: 1px solid var(--line);
}
.byline--lg { gap: 12px; font-weight: 400; }
.byline--lg .meta { margin-top: 2px; }
.byline__name { font-weight: 700; font-size: 14.5px; }
.byline__name:hover { color: var(--accent); }
.share { display: flex; gap: 8px; }
.share a, .share button {
  display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  font-size: 13px; font-weight: 800; transition: border-color 0.2s, color 0.2s;
}
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); }
.share svg { width: 16px; height: 16px; }
.share button.is-copied { border-color: var(--accent); background: var(--accent); color: #fff; }

.article-figure { margin: 24px 0 30px; }
.article-figure .media { aspect-ratio: 16 / 9; }
figcaption { padding-top: 8px; font-size: 12.5px; color: var(--muted); }

.prose { max-width: 720px; font-size: 17.5px; line-height: 1.78; color: var(--ink); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 1.6em; font-size: 27px; }
.prose .dropcap::first-letter {
  float: left; padding: 6px 10px 0 0; font: 700 4.1em/0.82 var(--serif); color: var(--accent);
}
.prose blockquote { margin-block: 1.8em; padding: 6px 0 6px 24px; border-left: 3px solid var(--accent); }
.prose blockquote p { font: italic 500 25px/1.4 var(--serif); }
.prose blockquote cite { display: block; margin-top: 10px; font: normal 600 13px/1.4 var(--sans); color: var(--muted); }
.glance { padding: 20px 24px; border-radius: var(--radius); background: var(--bg-soft); }
.glance h3 { margin-bottom: 8px; font: 800 12px/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.glance ul { display: grid; gap: 6px; font-size: 16px; }
.glance li { position: relative; padding-left: 18px; }
.glance li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.inline-figure .media { aspect-ratio: 3 / 2; }

.article-foot { display: grid; gap: 28px; max-width: 720px; margin-top: 36px; }
.author-box { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--bg-soft); }
.author-box__label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.author-box h2 { margin: 2px 0; font-size: 22px; }
.author-box__role { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--accent); }
.author-box p:last-child { font-size: 14.5px; color: var(--ink-2); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 0; border-block: 1px solid var(--line); }
.post-nav a { display: grid; gap: 6px; }
.post-nav span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.post-nav svg { width: 14px; height: 14px; }
.post-nav strong { font: 600 17px/1.3 var(--serif); transition: color 0.2s; }
.post-nav a:hover strong { color: var(--accent); }
.post-nav__next { text-align: right; justify-items: end; }

/* ------------------------------------------------------------ footer */

.site-footer { margin-top: 56px; padding-top: 56px; background: #0e0f11; color: #c9c9c9; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.5fr; gap: 36px; }
.footer-brand p { margin: 14px 0 18px; font-size: 14px; color: #a3a3a3; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #2c2d31; border-radius: 50%; font-size: 12px; font-weight: 800; color: #fff; transition: background 0.2s, border-color 0.2s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-col h2 { margin-bottom: 14px; font: 700 11.5px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.footer-col li a { display: inline-block; padding: 4px 0; font-size: 14px; transition: color 0.2s; }
.footer-col li a:hover { color: #fff; }
.footer-col--newsletter p { margin-bottom: 12px; font-size: 14px; color: #a3a3a3; }
.site-footer .newsletter input { border-color: #2c2d31; background: #17181b; color: #fff; }
.site-footer .form-msg { color: #ff8a8e; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding: 20px 0 24px; border-top: 1px solid #222326; font-size: 12.5px; color: #8b8b8b; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: #fff; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand, .footer-col--newsletter { grid-column: span 3; }
  .footer-col--newsletter { max-width: 420px; }
}

@media (max-width: 991px) {
  .catnav__date { display: none; }
  .hero, .grid-main-side, .with-sidebar, .live-grid, .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hscroll--4 { grid-auto-columns: calc((100% - 24px) / 2); }
  .hscroll--5 { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
  .lead-side { grid-template-columns: 1fr 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .sidebar > .ad { grid-column: 1 / -1; }
  .scroll-btn--prev { left: -8px; }
  .scroll-btn--next { right: -8px; }
}

@media (max-width: 767px) {
  :root { --header-h: 60px; }
  .container { padding-inline: 16px; }
  .catnav__inner { height: 42px; }
  .edition summary { padding-inline: 4px; }
  .edition__name { display: none; }
  .edition__code { display: inline; }
  .masthead__left { gap: 6px; }
  .live-pill { padding: 3px 9px; font-size: 12px; }
  .logo { font-size: 26px; }
  .hide-sm { display: none !important; }
  .section { padding-block: 30px; }


  .hero { padding-top: 18px; }
  .slider { min-height: 0; aspect-ratio: 4 / 5; }
  .card-overlay--xl { min-height: 0; }
  .card-overlay--xl .card-overlay__body { padding: 22px 18px; }
  .card-overlay--xl .card-title { font-size: 25px; }
  .slider__controls { top: 12px; right: 12px; }

  .split, .grid-3, .lead-side, .sidebar { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .grid-4 .card-title { font-size: 15.5px; }
  .grid-4 .meta { display: none; }
  .hscroll { gap: 14px; }
  .hscroll--4 { grid-auto-columns: 82%; }
  .hscroll--5 { grid-auto-columns: 66%; }
  .scroll-btn { display: none; }
  .card-stack--big .card-title { font-size: 22px; }
  .lead-grid .card-overlay--xl { min-height: 0; aspect-ratio: 4 / 5; }

  .card-row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .card-row__body { align-content: start; gap: 6px; }
  .card-row .card-title { font-size: 16.5px; line-height: 1.3; }
  .card-row .excerpt, .card-row .byline { display: none; }

  .player__play { width: 58px; height: 58px; top: 40%; }
  .player__caption { padding: 16px; }
  .player__caption .meta { display: none; }

  .article-layout { padding-top: 18px; }
  .article-dek { font-size: 17px; }
  .prose { font-size: 16.5px; }
  .prose blockquote p { font-size: 21px; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav__next { text-align: left; justify-items: start; }
  .author-box { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-col--newsletter { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 479px) {
  .live-pill { display: none; }
  .logo { font-size: 24px; }
  .masthead__right { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
}
