/*
 * RawNews redesign (Nov 2026, third pass): the live news dashboard.
 *
 * Art direction: a newsroom control room. A dark app bar with a live status
 * strip and section tabs that carry today's counts; a cool grey canvas with
 * white panels; one dramatic dark lead panel; RawNews red for everything that
 * is live or asks for action; one small colour per desk, used only as a dot
 * and a panel's top edge. Inter Tight for the interface and headlines,
 * Newsreader for reading. Every figure on screen is counted from the site.
 *
 * Loaded after main.css. New components are prefixed rx-; the old stylesheet's
 * tokens are re-pointed here so untouched templates follow the new look.
 */

/* ---------------------------------------------------------------- fonts -- */

@font-face {
	font-family: "Newsreader RX";
	src: url("../fonts/newsreader-var-latin.woff2") format("woff2-variations"), url("../fonts/newsreader-var-latin.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
	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: "Newsreader RX";
	src: url("../fonts/newsreader-var-italic-latin.woff2") format("woff2-variations"), url("../fonts/newsreader-var-italic-latin.woff2") format("woff2");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
	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: "Inter Tight RX";
	src: url("../fonts/intertight-var-latin.woff2") format("woff2-variations"), url("../fonts/intertight-var-latin.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
	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;
}

/* --------------------------------------------------------------- tokens -- */

:root {
	--rx-canvas: #eceef2;
	--rx-panel: #ffffff;
	--rx-soft: #f4f5f8;
	--rx-line: #dde1e7;
	--rx-line-2: #c6ccd5;
	--rx-ink: #0d1117;
	--rx-ink-2: #39424f;
	--rx-mute: #687180;
	--rx-accent: #e11d2e;
	--rx-accent-2: #b8131f;
	--rx-on-accent: #ffffff;

	/* The app bar, the lead panel and the footer stay dark in both themes. */
	--rx-dark: #0a0d13;
	--rx-dark-2: #131925;
	--rx-dark-3: #1b2331;
	--rx-dark-line: #232b3a;
	--rx-dark-ink: #f3f5f9;
	--rx-dark-mute: #9aa3b3;

	--rx-sans: "Inter Tight RX", "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--rx-serif: "Newsreader RX", "Newsreader", Georgia, "Times New Roman", serif;

	--rx-wrap: 1340px;
	--rx-pad: 24px;
	--rx-gap: 18px;
	--rx-radius: 10px;
	--sec: var(--rx-accent);

	/* The old stylesheet's tokens, re-pointed so legacy templates follow. */
	--paper: var(--rx-panel);
	--ink: var(--rx-ink);
	--ink-soft: var(--rx-ink-2);
	--mute: var(--rx-mute);
	--mute-soft: var(--rx-mute);
	--rule: var(--rx-line);
	--rule-dim: var(--rx-line);
	--rule-strong: var(--rx-ink);
	--wash: var(--rx-soft);
	--accent: var(--rx-accent);
	--inverse: var(--rx-ink);
	--inverse-ink: var(--rx-panel);
	--panel: var(--rx-soft);
	--panel-ink: var(--rx-ink);
	--panel-rule: var(--rx-line);
	--font-display: var(--rx-sans);
	--font-body: var(--rx-sans);
	--font-mono: var(--rx-sans);
	--wrap: var(--rx-wrap);
	--gutter: var(--rx-pad);
}

:root[data-theme="dark"] {
	--rx-canvas: #06080c;
	--rx-panel: #10141c;
	--rx-soft: #161c27;
	--rx-line: #1f2734;
	--rx-line-2: #2d3646;
	--rx-ink: #eef1f6;
	--rx-ink-2: #b6bfcd;
	--rx-mute: #7f899a;
	--rx-accent: #ff3b4b;
	--rx-accent-2: #ff6370;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--rx-canvas: #06080c;
		--rx-panel: #10141c;
		--rx-soft: #161c27;
		--rx-line: #1f2734;
		--rx-line-2: #2d3646;
		--rx-ink: #eef1f6;
		--rx-ink-2: #b6bfcd;
		--rx-mute: #7f899a;
		--rx-accent: #ff3b4b;
		--rx-accent-2: #ff6370;
	}
}

@media (max-width: 760px) {
	:root {
		--rx-pad: 14px;
		--rx-gap: 14px;
	}
}

/* One small colour per desk: a dot, a panel's top edge. Nothing else. */
.s-politics { --sec: #3b82f6; }
.s-crime    { --sec: #f97316; }
.s-health   { --sec: #10b981; }
.s-money    { --sec: #eab308; }
.s-sports   { --sec: #8b5cf6; }
.s-records  { --sec: #64748b; }

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

html {
	background: var(--rx-canvas);
}

body {
	background: var(--rx-canvas);
	color: var(--rx-ink);
	font-family: var(--rx-sans);
	font-size: 16px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
	font-family: var(--rx-sans);
	font-weight: 800;
	letter-spacing: -0.02em;
}

a {
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--rx-accent);
	outline-offset: 2px;
}

.rx-wrap {
	width: 100%;
	max-width: var(--rx-wrap);
	margin-inline: auto;
	padding-inline: var(--rx-pad);
	box-sizing: border-box;
}

svg[class*="wordmark"] {
	font-family: "Archivo", "Inter Tight RX", sans-serif !important;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* --------------------------------------------------------------- atoms -- */

.rx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid var(--rx-line-2);
	border-radius: 8px;
	background: var(--rx-panel);
	color: var(--rx-ink);
	font: 700 14px/1 var(--rx-sans);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 140ms ease, transform 140ms ease, border-color 140ms ease;
}

.rx-btn:hover {
	border-color: var(--rx-ink);
}

.rx-btn:active {
	transform: translateY(1px);
}

.rx-btn--accent {
	background: var(--rx-accent);
	border-color: var(--rx-accent);
	color: var(--rx-on-accent);
}

.rx-btn--accent:hover {
	background: var(--rx-accent-2);
	border-color: var(--rx-accent-2);
}

.rx-btn--ghost {
	background: transparent;
}

.rx-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font: 600 17px/1 var(--rx-sans);
	text-decoration: none;
	cursor: pointer;
}

.rx-iconbtn:hover {
	background: rgba(255, 255, 255, 0.08);
}

.rx-live {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rx-accent);
}

.rx-live::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--rx-accent);
	opacity: 0;
	animation: rx-pulse 2s ease-out infinite;
}

@keyframes rx-pulse {
	0% {
		transform: scale(0.5);
		opacity: 0.9;
	}
	100% {
		transform: scale(1.7);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rx-live::after {
		animation: none;
	}
}

.rx-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 10px 4px;
	border-radius: 999px;
	font: 800 11px/1 var(--rx-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.rx-pill--hot {
	background: var(--rx-accent);
	color: #fff;
}

.rx-pill--hot .rx-live {
	background: #fff;
	width: 6px;
	height: 6px;
}

.rx-pill--hot .rx-live::after {
	border-color: #fff;
}

.rx-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 800 11px/1 var(--rx-sans);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--rx-ink-2);
	text-decoration: none;
	white-space: nowrap;
}

.rx-tag::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--sec);
}

.rx-tag:hover {
	color: var(--rx-ink);
}

.rx-avatar {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--rx-ink);
	color: var(--rx-panel);
	font: 800 14px/1 var(--rx-sans);
	text-decoration: none;
}

.rx-avatar--sm {
	width: 26px;
	height: 26px;
	font-size: 10px;
}

.rx-avatar--lg {
	width: 58px;
	height: 58px;
	font-size: 18px;
}

.rx-avatar--xl {
	width: 96px;
	height: 96px;
	font-size: 32px;
	background: var(--rx-accent);
	color: #fff;
}

/* --------------------------------------------------------------- header -- */

/* The status strip scrolls away; the app bar below it stays on screen. */
.rx-top {
	position: sticky;
	top: -34px;
	z-index: 80;
	background: var(--rx-dark);
	color: var(--rx-dark-ink);
	--ink: #ffffff;
	--paper: var(--rx-dark);
}

.admin-bar .rx-top {
	top: -2px;
}

.rx-status {
	height: 34px;
	border-bottom: 1px solid var(--rx-dark-line);
	font: 500 12px/1 var(--rx-sans);
	color: var(--rx-dark-mute);
}

.rx-status__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.rx-status__live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ff4d5b;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rx-status__clock {
	color: var(--rx-dark-ink);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.rx-status__stat {
	padding-left: 18px;
	border-left: 1px solid var(--rx-dark-line);
}

.rx-status__stat strong {
	color: var(--rx-dark-ink);
	font-weight: 800;
}

.rx-status__stat time {
	color: var(--rx-dark-ink);
	font-weight: 700;
}

.rx-status__links {
	display: flex;
	gap: 18px;
	margin-left: auto;
}

.rx-status__links a {
	color: var(--rx-dark-mute);
	text-decoration: none;
}

.rx-status__links a:hover {
	color: #fff;
}

.rx-bar {
	border-bottom: 1px solid var(--rx-dark-line);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.rx-bar__inner {
	display: flex;
	align-items: center;
	gap: 22px;
	min-height: 64px;
}

.rx-bar__menu {
	display: none;
}

.rx-bar__brand {
	flex: 0 0 auto;
	display: block;
	line-height: 0;
	color: #fff;
}

.rx-bar__wordmark {
	display: block;
	height: 30px;
	width: auto;
}

.rx-tabs {
	flex: 1 1 auto;
	min-width: 0;
}

.rx-tabs__list {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.rx-tabs__list::-webkit-scrollbar {
	display: none;
}

.rx-tabs__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 8px;
	font: 700 14px/1 var(--rx-sans);
	color: #d9dee8;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 140ms ease, color 140ms ease;
}

.rx-tabs__link:hover {
	background: var(--rx-dark-3);
	color: #fff;
}

.rx-tabs__link[aria-current="page"] {
	background: #fff;
	color: var(--rx-dark);
}

.rx-tabs__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sec);
}

.rx-tabs__n {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--rx-accent);
	color: #fff;
	font: 800 11px/1 var(--rx-sans);
	font-variant-numeric: tabular-nums;
	box-sizing: border-box;
}

.rx-bar__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
}

.rx-bar__subscribe {
	margin-left: 8px;
}

.rx-burger {
	display: grid;
	gap: 4px;
	width: 20px;
}

.rx-burger span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.rx-mobilenav {
	margin: 0;
	padding: 6px var(--rx-pad) 18px;
	list-style: none;
	border-top: 1px solid var(--rx-dark-line);
	background: var(--rx-dark);
}

.rx-mobilenav[hidden] {
	display: none;
}

.rx-mobilenav li {
	border-bottom: 1px solid var(--rx-dark-line);
}

.rx-mobilenav li:last-child {
	border-bottom: 0;
	padding-top: 14px;
}

.rx-mobilenav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 0;
	font: 700 17px/1.2 var(--rx-sans);
	color: #fff;
	text-decoration: none;
}

.rx-mobilenav .rx-btn {
	width: 100%;
	min-height: 48px;
}

@media (min-width: 1101px) {
	.rx-mobilenav {
		display: none !important;
	}
}

@media (max-width: 1100px) {
	.rx-bar__inner {
		flex-wrap: wrap;
		row-gap: 0;
		padding-top: 10px;
	}

	.rx-bar__menu {
		display: inline-grid;
		margin-left: -8px;
	}

	.rx-bar__actions {
		margin-left: auto;
	}

	.rx-tabs {
		order: 3;
		flex-basis: 100%;
		margin-inline: calc(var(--rx-pad) * -1);
		padding: 6px var(--rx-pad) 8px;
	}

	.rx-status__links {
		display: none;
	}
}

@media (max-width: 760px) {
	.rx-status__clock,
	.rx-status__stat--upd {
		display: none;
	}

	.rx-status__stat {
		padding-left: 0;
		border-left: 0;
	}

	.rx-bar__wordmark {
		height: 24px;
	}

	.rx-bar__subscribe {
		padding-inline: 12px;
		min-height: 34px;
		font-size: 13px;
	}

	.rx-bar__actions .rx-iconbtn:first-child {
		display: none;
	}

	.rx-tabs__link {
		padding: 8px 10px;
		font-size: 13.5px;
	}
}

@media (max-width: 359px) {
	.rx-bar__subscribe {
		display: none;
	}
}

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

.ticker {
	background: var(--rx-dark-2);
	border-bottom: 1px solid var(--rx-dark-line);
}

.ticker__inner {
	max-width: var(--rx-wrap);
	padding-inline: var(--rx-pad);
	gap: 14px;
}

.ticker__label {
	padding: 5px 9px 4px;
	border: 0;
	border-radius: 6px;
	background: var(--rx-accent);
	color: #fff;
	font: 800 11px/1.2 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ticker__window {
	padding-block: 11px;
	min-height: 40px;
}

.ticker__track,
.ticker__track a {
	color: #fff;
	font: 700 14.5px/1.25 var(--rx-sans);
	letter-spacing: 0;
	text-transform: none;
}

.ticker__track a:hover {
	color: #ffb3ba;
	text-decoration: none;
}

.ticker__flag {
	color: #ff6b77;
}

/* --------------------------------------------------------------- panels -- */

.rx-panel {
	min-width: 0;
	background: var(--rx-panel);
	border: 1px solid var(--rx-line);
	border-radius: var(--rx-radius);
	overflow: hidden;
}

.rx-panel__head {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 10px 18px;
	border-bottom: 1px solid var(--rx-line);
	box-sizing: border-box;
}

.rx-panel__head--desk {
	box-shadow: inset 0 3px 0 var(--sec);
	padding-top: 13px;
}

.rx-panel__title {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	font: 800 13px/1.1 var(--rx-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rx-ink);
}

.rx-panel__title a {
	color: inherit;
	text-decoration: none;
}

.rx-panel__title a:hover {
	color: var(--rx-accent);
}

.rx-panel__head--desk .rx-panel__title::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: var(--sec);
}

.rx-panel__badge {
	margin-left: auto;
	font: 600 12px/1.2 var(--rx-sans);
	color: var(--rx-mute);
	white-space: nowrap;
}

.rx-panel__more {
	margin-left: auto;
	font: 700 12.5px/1 var(--rx-sans);
	color: var(--rx-accent);
	text-decoration: none;
	white-space: nowrap;
}

.rx-panel__badge + .rx-panel__more {
	margin-left: 14px;
}

.rx-panel__more:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rx-rowtitle {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin: 12px 0 14px;
	font: 800 22px/1.1 var(--rx-sans);
	letter-spacing: -0.02em;
	color: var(--rx-ink);
}

.rx-rowtitle::before {
	content: "";
	align-self: center;
	width: 4px;
	height: 20px;
	border-radius: 2px;
	background: var(--rx-accent);
}

.rx-rowtitle span {
	font: 500 13.5px/1.3 var(--rx-sans);
	letter-spacing: 0;
	color: var(--rx-mute);
}

/* ------------------------------------------------------------ dashboard -- */

.rx-dash,
.rx-story,
.rx-sectionpage,
.rx-authorpage {
	padding-bottom: 64px;
}

.rx-dash__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
	gap: var(--rx-gap);
	padding-top: var(--rx-gap);
}

.rx-dash__lead {
	min-width: 0;
}

.rx-dash__feed {
	position: relative;
	min-width: 0;
}

.rx-dash__row {
	grid-column: 1 / -1;
	min-width: 0;
}

/* The live feed is exactly as tall as the lead and scrolls inside. */
.rx-dash__feed .rx-feedpanel {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
}

.rx-dash__feed .rx-timeline {
	flex: 1 1 auto;
	overflow-y: auto;
	scrollbar-width: thin;
	-webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent);
	mask-image: linear-gradient(to bottom, #000 88%, transparent);
}

@media (max-width: 980px) {
	.rx-dash__grid {
		grid-template-columns: 1fr;
	}

	.rx-dash__feed .rx-feedpanel {
		position: static;
	}

	.rx-dash__feed .rx-timeline {
		max-height: 430px;
	}
}

/* the lead panel */

.rx-lead {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 520px;
	border-radius: var(--rx-radius);
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(225, 29, 46, 0.42) 0%, rgba(225, 29, 46, 0) 50%),
		radial-gradient(80% 60% at 0% 100%, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 60%),
		linear-gradient(165deg, #151c2b 0%, #0a0d13 65%);
	box-sizing: border-box;
	isolation: isolate;
}

/* A faint grid: the control-room texture. */
.rx-lead.no-media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 36px 36px;
	-webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 70%);
	mask-image: linear-gradient(160deg, #000 0%, transparent 70%);
}

.rx-lead__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
}

.rx-lead__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms ease;
}

.rx-lead.has-media:hover .rx-lead__media img {
	transform: scale(1.02);
}

.rx-lead.has-media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(6, 8, 13, 0.96) 0%, rgba(6, 8, 13, 0.72) 42%, rgba(6, 8, 13, 0.1) 78%);
	pointer-events: none;
}

.rx-lead__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 30px 36px 30px;
}

.rx-lead.has-media .rx-lead__body {
	justify-content: flex-end;
}

.rx-lead__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 20px;
}

.rx-lead.has-media .rx-lead__tags {
	margin-top: auto;
}

.rx-lead .rx-tag {
	color: rgba(255, 255, 255, 0.86);
}

.rx-lead__ago {
	font: 600 13px/1 var(--rx-sans);
	color: rgba(255, 255, 255, 0.66);
}

.rx-lead__title {
	margin: 0;
	font: 800 clamp(32px, 3.5vw, 54px)/1.03 var(--rx-sans);
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.rx-lead__title a {
	color: #fff;
	text-decoration: none;
}

.rx-lead__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.rx-lead__dek {
	max-width: 720px;
	margin: 16px 0 0;
	font: 400 18px/1.5 var(--rx-sans);
	color: rgba(255, 255, 255, 0.8);
}

.rx-lead__facts {
	display: grid;
	gap: 12px;
	max-width: 760px;
	margin: 24px 0 0;
	padding: 20px 0 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rx-lead__facts li {
	position: relative;
	padding-left: 22px;
	font: 500 15.5px/1.45 var(--rx-sans);
	color: rgba(255, 255, 255, 0.9);
}

.rx-lead__facts li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--rx-accent);
}

.rx-lead__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-top: auto;
	padding-top: 26px;
}

.rx-lead.has-media .rx-lead__foot {
	margin-top: 0;
	padding-top: 22px;
}

.rx-lead__by {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font: 700 14px/1 var(--rx-sans);
	color: #fff;
}

.rx-lead__by .rx-avatar {
	background: #fff;
	color: var(--rx-dark);
}

.rx-lead__read {
	font: 600 13px/1 var(--rx-sans);
	color: rgba(255, 255, 255, 0.66);
}

.rx-lead__cta {
	margin-left: auto;
	min-height: 44px;
	padding-inline: 20px;
	border-radius: 999px;
}

@media (max-width: 760px) {
	.rx-lead {
		min-height: 0;
	}

	.rx-lead.has-media {
		min-height: 460px;
	}

	.rx-lead__body {
		padding: 22px 20px 22px;
	}

	.rx-lead__cta {
		margin-left: 0;
		width: 100%;
	}
}

/* live feed */

.rx-timeline {
	margin: 0;
	padding: 6px 0;
	list-style: none;
}

.rx-timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 12px;
	padding: 10px 18px 10px 14px;
}

.rx-timeline__item::before {
	content: "";
	position: absolute;
	left: 85px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--rx-line);
}

.rx-timeline__item::after {
	content: "";
	position: absolute;
	left: 81px;
	top: 15px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--rx-panel);
	border: 2px solid var(--sec);
	box-sizing: border-box;
}

.rx-timeline__item:first-child::after {
	background: var(--sec);
}

.rx-timeline__time {
	padding-top: 2px;
	font: 700 12px/1.2 var(--rx-sans);
	color: var(--rx-mute);
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.rx-timeline__body {
	padding-left: 18px;
	min-width: 0;
}

.rx-timeline__section {
	display: block;
	margin-bottom: 3px;
	font: 800 10.5px/1 var(--rx-sans);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--rx-mute);
}

.rx-timeline__body a {
	font: 600 14.5px/1.35 var(--rx-sans);
	color: var(--rx-ink);
	text-decoration: none;
}

.rx-timeline__body a:hover {
	color: var(--rx-accent);
}

/* top-story tiles */

.rx-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--rx-gap);
}

.rx-tiles--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.rx-tiles,
	.rx-tiles--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.rx-tiles,
	.rx-tiles--3 {
		grid-template-columns: 1fr;
	}
}

.rx-card {
	min-width: 0;
}

.rx-card__title {
	margin: 0;
	font-family: var(--rx-sans);
	color: var(--rx-ink);
}

.rx-card__title a {
	color: inherit;
	text-decoration: none;
}

.rx-card__title a:hover {
	color: var(--rx-accent);
}

.rx-card--tile {
	display: flex;
	flex-direction: column;
	background: var(--rx-panel);
	border: 1px solid var(--rx-line);
	border-top: 3px solid var(--sec);
	border-radius: var(--rx-radius);
	overflow: hidden;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.rx-card--tile:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(13, 17, 23, 0.1);
}

.rx-card--tile .rx-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--rx-soft);
}

.rx-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rx-card--tile .rx-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 15px 18px 16px;
}

.rx-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 0 0 9px;
	font: 600 12px/1 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-card--tile .rx-card__title {
	font-size: 19px;
	font-weight: 750;
	line-height: 1.22;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.rx-card__dek {
	margin: 9px 0 0;
	font: 400 14.5px/1.5 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-card__stat {
	display: grid;
	gap: 4px;
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: var(--rx-soft);
	border-left: 3px solid var(--rx-accent);
}

.rx-card__stat strong {
	font: 800 28px/1 var(--rx-sans);
	letter-spacing: -0.02em;
	color: var(--rx-accent);
	font-variant-numeric: tabular-nums;
}

.rx-card__stat span {
	font: 500 13px/1.4 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-card__by {
	margin: auto 0 0;
	padding-top: 14px;
	font: 700 12.5px/1 var(--rx-sans);
	color: var(--rx-mute);
}

/* widgets row */

.rx-dash__widgets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--rx-gap);
	margin-top: 10px;
}

@media (max-width: 1100px) {
	.rx-dash__widgets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rx-dash__widgets .rx-nl {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {
	.rx-dash__widgets {
		grid-template-columns: 1fr;
	}
}

/* by the numbers */

.rx-numbers__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rx-numbers__list li + li {
	border-top: 1px solid var(--rx-line);
}

.rx-numbers__list a {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	text-decoration: none;
	transition: background-color 140ms ease;
}

.rx-numbers__list a:hover {
	background: var(--rx-soft);
}

.rx-numbers__fig {
	font: 800 30px/1 var(--rx-sans);
	letter-spacing: -0.03em;
	color: var(--rx-accent);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.rx-numbers__fig.is-long {
	font-size: 22px;
	white-space: normal;
}

/* the editors */

.rx-editors__list {
	margin: 0;
	padding: 4px 0;
	list-style: none;
}

.rx-editors__list li + li {
	border-top: 1px solid var(--rx-line);
}

.rx-editors__list a {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 11px 18px;
	text-decoration: none;
	transition: background-color 140ms ease;
}

.rx-editors__list a:hover {
	background: var(--rx-soft);
}

.rx-editors .rx-avatar {
	width: 38px;
	height: 38px;
	font-size: 13px;
}

.rx-editors__who {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.rx-editors__name {
	font: 800 14.5px/1.2 var(--rx-sans);
	color: var(--rx-ink);
}

.rx-editors__beat {
	overflow: hidden;
	font: 500 12.5px/1.3 var(--rx-sans);
	color: var(--rx-mute);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rx-editors__n {
	font: 700 12px/1 var(--rx-sans);
	color: var(--rx-mute);
	white-space: nowrap;
}

/* the wire */

.rx-wiredesk {
	margin-top: 10px;
}

.rx-wiredesk__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rx-wiredesk__grid .rx-card--text {
	padding: 14px 18px;
	border-top: 1px solid var(--rx-line);
	border-left: 1px solid var(--rx-line);
}

.rx-wiredesk__grid .rx-card--text:nth-child(4n + 1) {
	border-left: 0;
}

.rx-wiredesk__grid .rx-card--text:nth-child(-n + 4) {
	border-top: 0;
}

@media (max-width: 1000px) {
	.rx-wiredesk__grid {
		grid-template-columns: 1fr;
	}

	.rx-wiredesk__grid .rx-card--text {
		border-left: 0;
		border-top: 1px solid var(--rx-line) !important;
	}

	.rx-wiredesk__grid .rx-card--text:first-child {
		border-top: 0 !important;
	}
}

.rx-numbers__fact {
	font: 500 13.5px/1.4 var(--rx-sans);
	color: var(--rx-ink-2);
}

/* trending */

.rx-trending__list {
	margin: 0;
	padding: 6px 0;
	list-style: none;
}

.rx-trending__list a {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) auto;
	grid-template-areas: "rank name count" "rank bar bar";
	align-items: center;
	gap: 6px 10px;
	padding: 9px 18px;
	text-decoration: none;
	transition: background-color 140ms ease;
}

.rx-trending__list a:hover {
	background: var(--rx-soft);
}

.rx-trending__rank {
	grid-area: rank;
	font: 800 15px/1 var(--rx-sans);
	color: var(--rx-mute);
	font-variant-numeric: tabular-nums;
}

.rx-trending__list li:first-child .rx-trending__rank {
	color: var(--rx-accent);
}

.rx-trending__name {
	grid-area: name;
	overflow: hidden;
	font: 700 14.5px/1.25 var(--rx-sans);
	color: var(--rx-ink);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rx-trending__count {
	grid-area: count;
	font: 600 12px/1 var(--rx-sans);
	color: var(--rx-mute);
	white-space: nowrap;
}

.rx-trending__bar {
	grid-area: bar;
	height: 5px;
	border-radius: 999px;
	background: var(--rx-soft);
	overflow: hidden;
}

.rx-trending__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--rx-accent), #ff7a59);
}

/* newsletter */

.rx-nl {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px 22px 20px;
	border-radius: var(--rx-radius);
	color: #fff;
	background:
		radial-gradient(90% 70% at 100% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(155deg, #ef2b3c 0%, #b3101d 70%, #8e0c17 100%);
	overflow: hidden;
	box-sizing: border-box;
}

.rx-nl__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	font: 800 12px/1 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rx-nl__eyebrow span:last-child {
	padding: 4px 8px 3px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	font-size: 10.5px;
}

.rx-nl__mark {
	font-size: 15px;
	letter-spacing: 0;
}

.rx-nl__heading {
	margin: 0;
	font: 800 25px/1.12 var(--rx-sans);
	letter-spacing: -0.02em;
}

.rx-nl__preview {
	padding: 12px 14px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.2);
}

.rx-nl__label {
	margin: 0 0 8px;
	font: 800 10.5px/1 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.rx-nl__preview ol {
	display: grid;
	gap: 7px;
	margin: 0;
	padding-left: 18px;
	font: 600 13.5px/1.35 var(--rx-sans);
}

.rx-nl__form {
	display: flex;
	gap: 8px;
	margin: 0;
}

.rx-nl__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: #0d1117;
	font: 500 15px/1 var(--rx-sans);
}

.rx-nl__input:focus {
	outline: 3px solid rgba(255, 255, 255, 0.5);
	outline-offset: 0;
}

.rx-nl .rx-btn--accent {
	min-height: 46px;
	background: var(--rx-dark);
	border-color: var(--rx-dark);
	color: #fff;
}

.rx-nl .rx-btn--accent:hover {
	background: #000;
	border-color: #000;
}

.rx-nl__note {
	margin: 0;
	font: 500 12.5px/1.4 var(--rx-sans);
	color: rgba(255, 255, 255, 0.82);
}

.rx-nl--rail .rx-nl__heading {
	font-size: 21px;
}

.rx-nl--rail .rx-nl__form {
	flex-direction: column;
}

@media (max-width: 420px) {
	.rx-nl__form {
		flex-direction: column;
	}
}

/* desks */

.rx-dash__desks {
	margin-top: 10px;
}

.rx-desks {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--rx-gap);
	align-items: start;
}

@media (max-width: 1100px) {
	.rx-desks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.rx-desks {
		grid-template-columns: 1fr;
	}
}

.rx-card--desk {
	display: flex;
	gap: 14px;
	padding: 16px 18px;
	border-bottom: 1px solid var(--rx-line);
}

.rx-card--desk .rx-card__body {
	flex: 1 1 auto;
	min-width: 0;
}

.rx-card--desk .rx-card__media {
	order: 2;
	flex: 0 0 104px;
	height: 78px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--rx-soft);
}

.rx-card--desk .rx-card__meta {
	margin-bottom: 6px;
}

.rx-card--desk .rx-card__title {
	font-size: 17px;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -0.012em;
}

.rx-card--desk .rx-card__dek {
	display: -webkit-box;
	margin-top: 6px;
	font-size: 13.5px;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rx-desk__list {
	padding: 4px 0 6px;
}

.rx-card--row {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 10px;
	padding: 9px 18px;
}

.rx-card--row.has-media {
	grid-template-columns: 58px minmax(0, 1fr) 72px;
	align-items: start;
}

.rx-card__thumb {
	display: block;
	width: 72px;
	height: 50px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--rx-soft);
}

.rx-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rx-card--row + .rx-card--row {
	border-top: 1px solid var(--rx-line);
}

.rx-card__time {
	padding-top: 2px;
	font: 700 11.5px/1.2 var(--rx-sans);
	color: var(--rx-mute);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.rx-card--row .rx-card__title {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
}

.rx-card--text {
	padding: 10px 18px;
}

.rx-card--text + .rx-card--text {
	border-top: 1px solid var(--rx-line);
}

.rx-card__source {
	margin: 0 0 4px;
	font: 800 10.5px/1 var(--rx-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rx-mute);
}

.rx-card--text .rx-card__title {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
}

.rx-out {
	color: var(--rx-mute);
	font-size: 12px;
}

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

.rx-progress.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: 3px;
	background: transparent;
}

.rx-progress .reading-progress__bar {
	height: 100%;
	background: var(--rx-accent);
}

.rx-story__wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: var(--rx-gap);
	align-items: start;
	padding-top: var(--rx-gap);
}

.rx-story__main {
	padding: 38px 48px 40px;
	border-top: 3px solid var(--sec);
}

.rx-story__head {
	max-width: 780px;
	margin-bottom: 28px;
}

.rx-story__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 14px;
}

.rx-story__ago {
	font: 600 13px/1 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-story__title {
	margin: 0;
	font: 800 clamp(30px, 3.4vw, 48px)/1.06 var(--rx-sans);
	letter-spacing: -0.03em;
	text-wrap: balance;
	color: var(--rx-ink);
}

.rx-story__dek {
	margin: 16px 0 0;
	font: 400 clamp(18px, 1.6vw, 20px)/1.5 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-story__byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--rx-line);
}

.rx-story__who {
	display: grid;
	gap: 4px;
}

.rx-story__by {
	font: 700 15px/1.2 var(--rx-sans);
	color: var(--rx-ink);
}

.rx-story__by a {
	color: inherit;
	text-decoration: none;
}

.rx-story__by a:hover {
	color: var(--rx-accent);
}

.rx-story__when {
	font: 500 13px/1.3 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}

.rx-share__label {
	margin-right: 4px;
	font: 800 11px/1 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rx-mute);
}

.rx-share__btn {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid var(--rx-line-2);
	border-radius: 999px;
	background: var(--rx-panel);
	color: var(--rx-ink);
	font: 700 13px/1 var(--rx-sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.rx-share__btn:hover {
	border-color: var(--rx-ink);
	background: var(--rx-ink);
	color: var(--rx-panel);
}

.rx-story__media {
	margin: 0 0 30px;
}

.rx-story__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 620px;
	object-fit: cover;
	border-radius: 8px;
	background: var(--rx-soft);
}

.rx-story__media figcaption {
	margin-top: 10px;
	font: 500 13px/1.45 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-credit {
	margin-left: 4px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.rx-know {
	position: relative;
	max-width: 780px;
	margin: 0 0 32px;
	padding: 22px 26px 24px;
	border-radius: var(--rx-radius);
	color: #fff;
	background:
		radial-gradient(100% 90% at 100% 0%, rgba(225, 29, 46, 0.36) 0%, rgba(225, 29, 46, 0) 55%),
		linear-gradient(165deg, #151c2b 0%, #0a0d13 70%);
	box-sizing: border-box;
}

.rx-know__title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 14px;
	font: 800 12.5px/1 var(--rx-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ff6b77;
}

.rx-know__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rx-know__list li {
	position: relative;
	padding-left: 22px;
	font: 500 16.5px/1.5 var(--rx-sans);
	color: rgba(255, 255, 255, 0.92);
}

.rx-know__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--rx-accent);
}

/* body copy */

.rx-story__body {
	max-width: 720px;
	font: 400 19.5px/1.72 var(--rx-serif);
	color: var(--rx-ink);
	font-optical-sizing: auto;
}

.rx-story__body p {
	margin: 0 0 1.1em;
}

.rx-story__body > p:first-of-type::first-line {
	font-weight: 600;
}

.rx-story__body a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--rx-accent);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.rx-story__body a:hover {
	color: var(--rx-accent);
}

.rx-story__body h2,
.rx-story__body h3 {
	margin: 1.5em 0 0.5em;
	font-family: var(--rx-sans);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.rx-story__body h2 {
	font-size: 25px;
}

.rx-story__body h3 {
	font-size: 21px;
}

.rx-story__body ul,
.rx-story__body ol {
	margin: 0 0 1.1em;
	padding-left: 1.2em;
}

.rx-story__body blockquote {
	margin: 1.5em 0;
	padding: 6px 0 6px 22px;
	border-left: 4px solid var(--rx-accent);
	font-size: 22px;
	font-style: italic;
	line-height: 1.45;
}

.rx-story__body img {
	max-width: 100%;
	height: auto;
}

.rx-story__body .article__inline-ad:empty {
	display: none;
}

.rx-story__body .ree-sources {
	margin: 2em 0 0;
	padding: 18px 22px;
	border-radius: 8px;
	background: var(--rx-soft);
	font: 400 14px/1.5 var(--rx-sans);
	color: var(--rx-ink-2);
	scroll-margin-top: 90px;
}

.rx-story__body .ree-sources h2,
.rx-story__body .ree-sources h3 {
	margin: 0 0 10px;
	font: 800 11.5px/1 var(--rx-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rx-mute);
}

.rx-story__body .ree-sources ul {
	margin: 0;
	padding-left: 1.1em;
}

.rx-topics {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 32px;
}

.rx-topics__label {
	margin-right: 4px;
	font: 800 11px/1 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rx-mute);
}

.rx-topics a {
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--rx-soft);
	border: 1px solid var(--rx-line);
	font: 700 13px/1 var(--rx-sans);
	color: var(--rx-ink-2);
	text-decoration: none;
}

.rx-topics a::before {
	content: "+ ";
	color: var(--rx-accent);
}

.rx-topics a:hover {
	border-color: var(--rx-ink);
	color: var(--rx-ink);
}

.rx-editor {
	display: flex;
	gap: 16px;
	max-width: 780px;
	margin-top: 32px;
	padding: 20px;
	border-radius: var(--rx-radius);
	background: var(--rx-soft);
	box-sizing: border-box;
}

.rx-editor__name {
	margin: 0;
	font: 800 18px/1.2 var(--rx-sans);
}

.rx-editor__name a {
	color: var(--rx-ink);
	text-decoration: none;
}

.rx-editor__bio {
	margin: 6px 0 0;
	font: 400 14.5px/1.5 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-editor__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 10px 0 0;
	font: 700 13px/1.3 var(--rx-sans);
}

.rx-editor__links a {
	color: var(--rx-accent);
	text-decoration: none;
}

.rx-editor__links a:hover {
	text-decoration: underline;
}

/* rail */

.rx-story__rail {
	display: grid;
	gap: var(--rx-gap);
	min-width: 0;
}

.rx-story__sticky {
	position: sticky;
	top: 82px;
}

.rx-story__sticky .rx-timeline {
	max-height: 560px;
	overflow-y: auto;
	scrollbar-width: thin;
}

.rx-glance__stat {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 16px 18px;
	border-bottom: 1px solid var(--rx-line);
}

.rx-glance__stat strong {
	font: 800 36px/1 var(--rx-sans);
	letter-spacing: -0.03em;
	color: var(--rx-accent);
	font-variant-numeric: tabular-nums;
}

.rx-glance__stat span {
	font: 500 13.5px/1.4 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-glance__list {
	margin: 0;
	padding: 6px 0;
}

.rx-glance__list > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 18px;
}

.rx-glance__list > div + div {
	border-top: 1px solid var(--rx-line);
}

.rx-glance__list dt {
	font: 600 13px/1.3 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-glance__list dd {
	margin: 0;
	font: 700 13.5px/1.3 var(--rx-sans);
	color: var(--rx-ink);
	text-align: right;
}

.rx-glance__list dd a {
	color: inherit;
	text-decoration: none;
}

.rx-glance__list dd a:hover {
	color: var(--rx-accent);
}

.rx-readnext {
	margin-top: 26px;
}

@media (max-width: 1060px) {
	.rx-story__wrap {
		grid-template-columns: minmax(0, 1fr);
	}

	.rx-story__rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.rx-story__sticky {
		position: static;
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {
	.rx-story__main {
		padding: 22px 18px 26px;
	}

	.rx-story__rail {
		grid-template-columns: 1fr;
	}

	.rx-story__body {
		font-size: 18.5px;
		line-height: 1.66;
	}

	.rx-know {
		padding: 18px 18px 20px;
	}

	.rx-know__list li {
		font-size: 15.5px;
	}
}

/* --------------------------------------------------------- section page -- */

.rx-sectionhead {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	margin-top: var(--rx-gap);
	padding: 26px 30px;
	border-top: 3px solid var(--sec);
}

.rx-sectionhead__eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font: 800 12px/1 var(--rx-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rx-mute);
}

.rx-sectionhead__title {
	margin: 0;
	font: 800 clamp(36px, 4.4vw, 60px)/1 var(--rx-sans);
	letter-spacing: -0.035em;
	color: var(--rx-ink);
}

.rx-sectionhead__sub {
	max-width: 640px;
	margin: 10px 0 0;
	font: 500 15px/1.45 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-sectionhead__stats {
	display: flex;
	gap: 10px;
	margin: 0;
}

.rx-sectionhead__stats > div {
	min-width: 96px;
	padding: 12px 16px;
	border-radius: 8px;
	background: var(--rx-soft);
}

.rx-sectionhead__stats dt {
	font: 700 11px/1.2 var(--rx-sans);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rx-mute);
}

.rx-sectionhead__stats dd {
	margin: 6px 0 0;
	font: 800 30px/1 var(--rx-sans);
	letter-spacing: -0.02em;
	color: var(--rx-ink);
	font-variant-numeric: tabular-nums;
}

.rx-sectionhead__stats > div:first-child dd {
	color: var(--rx-accent);
}

.rx-feedgrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: var(--rx-gap);
	align-items: start;
	margin-top: var(--rx-gap);
}

.rx-feedgrid__rail .rx-nl {
	position: sticky;
	top: 82px;
}

@media (max-width: 1000px) {
	.rx-feedgrid {
		grid-template-columns: 1fr;
	}

	.rx-feedgrid__rail .rx-nl {
		position: static;
	}
}

.rx-allstories .rx-feed {
	padding: 10px 18px 6px;
}

.rx-allstories .rx-loadmore {
	display: flex;
	width: calc(100% - 36px);
	min-height: 46px;
	margin: 10px 18px 18px;
}

/* The chronological run still renders through the legacy item markup, which
   the load-more endpoint also returns, so it is restyled here. */

.rx-feed .item {
	grid-template-columns: 58px minmax(0, 1fr);
	column-gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--rx-line);
}

.rx-feed .item__time {
	padding-top: 3px;
	font: 700 11.5px/1.3 var(--rx-sans);
	letter-spacing: 0;
	text-transform: none;
	color: var(--rx-mute);
}

.rx-feed .item__link,
.rx-feed .headline {
	font: 600 15px/1.35 var(--rx-sans);
	letter-spacing: 0;
	color: var(--rx-ink);
}

.rx-feed .headline:hover {
	color: var(--rx-accent);
}

.rx-feed .item__thumb {
	order: 2;
	width: 88px;
	height: 60px;
	margin-left: auto;
	border-radius: 6px;
}

.rx-feed .item--image .item__title {
	max-width: none;
	flex: 1;
}

.rx-feed .day-divider {
	margin-block: 16px 6px;
	padding-top: 10px;
	border-top: 0;
}

.rx-feed .day-divider .meta {
	display: inline-block;
	padding: 5px 9px 4px;
	border-radius: 6px;
	background: var(--rx-soft);
	font: 800 11px/1 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rx-ink-2);
}

.rx-feed .flag,
.item .flag {
	font-family: var(--rx-sans);
	color: var(--rx-accent);
}

/* --------------------------------------------------------- author page -- */

.rx-profile {
	margin-top: var(--rx-gap);
	border-top: 3px solid var(--rx-accent);
}

.rx-profile__inner {
	display: flex;
	align-items: flex-start;
	gap: 26px;
	padding: 32px 34px;
}

.rx-profile__role {
	margin: 2px 0 8px;
	font: 800 12px/1 var(--rx-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rx-accent);
}

.rx-profile__name {
	margin: 0;
	font: 800 clamp(32px, 4vw, 50px)/1.04 var(--rx-sans);
	letter-spacing: -0.03em;
}

.rx-profile__bio {
	max-width: 720px;
	margin: 12px 0 0;
	font: 400 16.5px/1.55 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-profile__stats {
	margin: 14px 0 0;
	font: 700 13px/1.4 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-profile__stats a {
	color: var(--rx-accent);
	text-decoration: none;
}

.rx-block {
	margin-top: var(--rx-gap);
}

.rx-empty {
	font: 500 16px/1.5 var(--rx-sans);
	color: var(--rx-mute);
}

@media (max-width: 640px) {
	.rx-profile__inner {
		flex-direction: column;
		gap: 16px;
		padding: 22px 18px;
	}

	.rx-avatar--xl {
		width: 72px;
		height: 72px;
		font-size: 24px;
	}

	.rx-sectionhead {
		padding: 20px 18px;
	}

	.rx-sectionhead__stats > div {
		min-width: 0;
		flex: 1;
	}
}

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

.rx-footer {
	--ink: #ffffff;
	--paper: var(--rx-dark);
	margin-top: auto;
	background: var(--rx-dark);
	color: var(--rx-dark-ink);
	font-family: var(--rx-sans);
}

.rx-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.4fr);
	gap: 56px;
	padding-block: 52px 40px;
}

.rx-footer__wordmark {
	display: block;
	height: 34px;
	width: auto;
}

.rx-footer__brand p {
	max-width: 300px;
	margin: 16px 0 22px;
	font: 500 15px/1.5 var(--rx-sans);
	color: var(--rx-dark-mute);
}

.rx-footer__brand .rx-btn {
	border-radius: 999px;
}

.rx-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
}

.rx-footer__heading {
	margin: 0 0 14px;
	font: 800 11.5px/1 var(--rx-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rx-dark-mute);
}

.rx-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rx-footer li + li {
	margin-top: 10px;
}

.rx-footer a {
	color: var(--rx-dark-ink);
	font-size: 14.5px;
	text-decoration: none;
}

.rx-footer a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 32px;
	padding-block: 22px 32px;
	border-top: 1px solid var(--rx-dark-line);
	font-size: 13px;
	line-height: 1.5;
	color: var(--rx-dark-mute);
}

.rx-footer__bottom a {
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 960px) {
	.rx-footer__top {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.rx-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* --------------------------------------------------- legacy page types -- */

/* About, Standards, legal pages, search, the archive and the status pages
   still use the original templates; these set them on the same canvas. */

.site-main.wrap {
	padding-top: var(--rx-gap);
	padding-bottom: 64px;
}

.page-doc {
	max-width: 820px;
	margin-inline: auto;
	padding: 38px 48px 44px;
	background: var(--rx-panel);
	border: 1px solid var(--rx-line);
	border-top: 3px solid var(--rx-accent);
	border-radius: var(--rx-radius);
	box-sizing: border-box;
}

.page-header {
	margin-bottom: var(--rx-gap);
	padding: 26px 30px;
	background: var(--rx-panel);
	border: 1px solid var(--rx-line);
	border-top: 3px solid var(--rx-accent);
	border-radius: var(--rx-radius);
}

.page-header__title,
.page-doc__title,
.article__title {
	font-family: var(--rx-sans);
	font-weight: 800;
	letter-spacing: -0.03em;
	text-transform: none;
	color: var(--rx-ink);
}

.page-header__title {
	font-size: clamp(32px, 4vw, 50px);
	line-height: 1.04;
}

.page-header__blurb {
	margin-top: 10px;
	font: 600 13.5px/1.4 var(--rx-sans);
	letter-spacing: 0;
	text-transform: none;
}

.page-doc__title {
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.06;
}

.page-doc__body,
.article__body {
	font: 400 18.5px/1.7 var(--rx-serif);
	color: var(--rx-ink);
}

.page-doc__body a,
.article__body a {
	color: inherit;
	text-decoration-color: var(--rx-accent);
	text-underline-offset: 3px;
}

.page-doc__body h2,
.article__body h2 {
	font-family: var(--rx-sans);
	font-size: 24px;
	font-weight: 800;
}

.meta {
	font-family: var(--rx-sans);
	letter-spacing: 0.04em;
}

.control--filled,
.search-form__submit {
	background: var(--rx-accent);
	color: #fff;
	border-radius: 8px;
	font-family: var(--rx-sans);
	font-weight: 800;
}

.search-form__input {
	font: 500 18px/1.3 var(--rx-sans);
	border-radius: 8px;
	background: var(--rx-panel);
}

.ledger__title {
	font-family: var(--rx-sans);
	font-weight: 600;
}

.pagination .page-numbers {
	font-family: var(--rx-sans);
	border-radius: 8px;
}

@media (max-width: 700px) {
	.page-doc {
		padding: 24px 18px 28px;
	}

	.page-header {
		padding: 20px 18px;
	}
}

/* -------------------------------------------------------------- print -- */

@media print {
	.rx-top,
	.ticker,
	.rx-story__rail,
	.rx-share,
	.rx-readnext,
	.rx-footer,
	.rx-nl {
		display: none !important;
	}

	.rx-story__wrap {
		display: block;
	}

	body,
	html {
		background: #fff;
	}
}

/* ------------------------------------------------- the Daily Raw popup -- */

/* The modal belongs to the rawnews-newsletter plugin; its markup is untouched
   and restyled here to match the dashboard: the red sign-up panel, the form on
   a white card, a live badge, the perks (added by rx.js), and a tick on
   success. Every selector is two classes deep to clear the plugin's own
   "nothing in the modal may round off" rule. */

.rn-modal .rn-modal__backdrop {
	background: rgba(6, 8, 13, 0.72);
	-webkit-backdrop-filter: blur(6px) saturate(120%);
	backdrop-filter: blur(6px) saturate(120%);
}

.rn-modal .rn-modal__panel {
	max-width: 500px;
	padding: 30px 28px 24px;
	border: 0;
	border-radius: 18px;
	color: #fff;
	font-family: var(--rx-sans);
	background:
		radial-gradient(90% 60% at 100% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 60%),
		radial-gradient(70% 50% at 0% 100%, rgba(10, 13, 19, 0.35) 0%, rgba(10, 13, 19, 0) 70%),
		linear-gradient(155deg, #f0303f 0%, #c0121f 55%, #8c0b16 100%);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
	overflow: hidden;
	isolation: isolate;
}

/* The control-room grid, faint, in the top corner. */
.rn-modal .rn-modal__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(120% 80% at 100% 0%, #000 0%, transparent 60%);
	mask-image: radial-gradient(120% 80% at 100% 0%, #000 0%, transparent 60%);
	pointer-events: none;
}

/* An envelope, drawn large and tilted, behind the heading. */
.rn-modal .rn-modal__panel::after {
	content: "✉";
	position: absolute;
	top: -18px;
	right: 18px;
	z-index: -1;
	font: 400 150px/1 var(--rx-sans);
	color: rgba(255, 255, 255, 0.09);
	transform: rotate(-12deg);
	pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
	.rn-modal[data-rn-shown] .rn-modal__panel {
		animation: rx-pop 380ms cubic-bezier(0.2, 0.9, 0.25, 1.15);
	}

	.rn-modal[data-rn-shown] .rn-modal__backdrop {
		animation: rx-fade 240ms ease-out;
	}
}

@keyframes rx-pop {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes rx-fade {
	from {
		opacity: 0;
	}
}

.rn-modal .rn-modal__close {
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.22);
	color: #fff;
	font-size: 22px;
	transition: background-color 140ms ease, transform 140ms ease;
}

.rn-modal .rn-modal__close:hover,
.rn-modal .rn-modal__close:focus-visible {
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	transform: rotate(90deg);
}

/* The eyebrow becomes a live badge. */
.rn-modal .rn-modal__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 6px 11px 5px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.24);
	font: 800 11px/1 var(--rx-sans);
	letter-spacing: 0.12em;
	color: #fff;
}

.rn-modal .rn-modal__kicker::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	animation: rx-beat 1.8s ease-out infinite;
}

@keyframes rx-beat {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	}
	70%,
	100% {
		box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.rn-modal .rn-modal__kicker::before {
		animation: none;
	}
}

.rn-modal .rn-modal__title {
	padding-right: 36px;
	font: 800 clamp(26px, 5vw, 32px)/1.08 var(--rx-sans);
	letter-spacing: -0.03em;
	color: #fff;
	text-wrap: balance;
}

/* Perks, added by rx.js under the heading. */
.rx-perks {
	display: grid;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.rx-perks li {
	display: flex;
	align-items: center;
	gap: 10px;
	font: 600 14.5px/1.35 var(--rx-sans);
	color: rgba(255, 255, 255, 0.95);
}

.rx-perks li::before {
	content: "✓";
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	color: #c0121f;
	font: 900 12px/1 var(--rx-sans);
}

/* The form on a white card. */
.rn-modal .rn-form {
	margin-top: 20px;
	padding: 16px;
	border-radius: 12px;
	background: #fff;
	color: #0d1117;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.rn-modal .rn-form__row {
	gap: 8px;
}

.rn-modal .rn-form__input {
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid #d5dae2;
	border-radius: 10px;
	background: #f6f7f9;
	color: #0d1117;
	font: 500 15.5px/1 var(--rx-sans);
	transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.rn-modal .rn-form__input:focus {
	border-color: #e11d2e;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.14);
}

.rn-modal .rn-form__input::placeholder {
	color: #8a93a3;
}

.rn-modal .rn-form__submit {
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(180deg, #ef2b3c 0%, #c8121f 100%);
	color: #fff;
	font: 800 14.5px/1 var(--rx-sans);
	letter-spacing: 0.01em;
	text-transform: none;
	box-shadow: 0 6px 16px rgba(225, 29, 46, 0.35);
	transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.rn-modal .rn-form__submit::after {
	content: " →";
}

.rn-modal .rn-form__submit:hover:not(:disabled) {
	opacity: 1;
	filter: brightness(1.06);
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(225, 29, 46, 0.42);
}

.rn-modal .rn-consent {
	gap: 10px;
	margin-top: 14px;
	font: 500 13px/1.45 var(--rx-sans);
	color: #39424f;
}

.rn-modal .rn-consent input {
	width: 18px;
	height: 18px;
	margin-top: 0;
	accent-color: #e11d2e;
}

.rn-modal .rn-modal__note {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #eceef2;
	font: 600 12px/1.4 var(--rx-sans);
	letter-spacing: 0;
	text-transform: none;
	color: #687180;
}

.rn-modal .rn-form__msg {
	margin-top: 10px;
	font: 600 13px/1.4 var(--rx-sans);
	letter-spacing: 0;
}

.rn-modal .rn-form__msg[data-state="error"] {
	color: #c8121f;
}

/* Success: the plugin swaps the body for a confirmation; add the tick. */
.rn-modal [data-rn-modal-body]:has(.rn-modal__sub)::before {
	content: "✓";
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: #fff;
	color: #c0121f;
	font: 900 32px/1 var(--rx-sans);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	animation: rx-tick 520ms cubic-bezier(0.2, 0.9, 0.25, 1.3);
}

@keyframes rx-tick {
	from {
		transform: scale(0.3) rotate(-30deg);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}

.rn-modal .rn-modal__sub {
	margin-top: 10px;
	font: 500 16px/1.5 var(--rx-sans);
	color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 480px) {
	.rn-modal .rn-modal__panel {
		padding: 26px 18px 18px;
		border-radius: 16px;
	}

	.rn-modal .rn-form {
		padding: 14px;
	}

	.rn-modal .rn-form__row {
		flex-direction: column;
	}

	.rn-modal .rn-form__input {
		border-right: 1.5px solid #d5dae2;
		border-bottom: 1.5px solid #d5dae2;
	}

	.rn-modal .rn-modal__panel::after {
		font-size: 110px;
	}
}

/* =================================================== spice: v3.1 ===== */

/* icons */

.rx-icon {
	display: inline-block;
	flex: 0 0 auto;
	vertical-align: -0.15em;
}

.rx-tag::before {
	content: none;
}

.rx-tag .rx-icon {
	color: var(--sec);
}

.rx-tabs__icon {
	display: inline-flex;
	color: var(--sec);
}

.rx-panel__icon {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background: color-mix(in srgb, var(--sec) 15%, transparent);
	color: var(--sec);
}

.rx-panel__head--desk .rx-panel__title::before {
	content: none;
}

.rx-panel__head--desk {
	background: linear-gradient(90deg, color-mix(in srgb, var(--sec) 11%, transparent) 0%, transparent 75%);
}

/* covers: the picture slot for a story with no photograph */

.rx-cover {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(70% 90% at 85% 0%, color-mix(in srgb, var(--sec) 60%, transparent) 0%, transparent 62%),
		radial-gradient(60% 70% at 0% 100%, color-mix(in srgb, var(--sec) 26%, transparent) 0%, transparent 70%),
		linear-gradient(160deg, #161d2c 0%, #0a0d13 75%);
	isolation: isolate;
}

.rx-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 24px 24px;
	-webkit-mask-image: radial-gradient(90% 90% at 80% 10%, #000 0%, transparent 70%);
	mask-image: radial-gradient(90% 90% at 80% 10%, #000 0%, transparent 70%);
}

.rx-cover__icon {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--sec) 24%, rgba(255, 255, 255, 0.04));
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--sec) 55%, transparent), 0 0 40px color-mix(in srgb, var(--sec) 45%, transparent);
	color: #fff;
	transition: transform 300ms ease;
}

.rx-card:hover .rx-cover__icon {
	transform: scale(1.06) rotate(-4deg);
}

.rx-cover__label {
	position: absolute;
	left: 14px;
	bottom: 12px;
	font: 800 11px/1 var(--rx-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.rx-cover--sm .rx-cover__icon {
	width: 44px;
	height: 44px;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--sec) 55%, transparent), 0 0 18px color-mix(in srgb, var(--sec) 45%, transparent);
}

.rx-cover--sm .rx-cover__icon .rx-icon {
	width: 22px;
	height: 22px;
}

.rx-cover--sm .rx-cover__label {
	display: none;
}

.rx-card--tile .rx-card__media {
	display: block;
	aspect-ratio: 16 / 9;
}

.rx-card--desk .rx-card__media--cover {
	display: block;
}

/* avatars with portraits */

.rx-avatar.has-photo {
	overflow: hidden;
	background: var(--rx-soft);
}

.rx-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.rx-avatar--xs {
	width: 22px;
	height: 22px;
	font-size: 9px;
}

.rx-avatar--xl {
	width: 132px;
	height: 132px;
	font-size: 40px;
	box-shadow: 0 0 0 4px var(--rx-panel), 0 0 0 7px var(--sec);
}

.rx-lead__by {
	text-decoration: none;
}

.rx-lead__by .rx-avatar--sm {
	width: 36px;
	height: 36px;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.rx-lead__by > span:last-child {
	display: grid;
	gap: 3px;
}

.rx-lead__by small {
	font: 600 11.5px/1 var(--rx-sans);
	color: rgba(255, 255, 255, 0.62);
}

.rx-card__by {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rx-story__role {
	margin-left: 8px;
	padding-left: 8px;
	border-left: 1px solid var(--rx-line-2);
	font: 600 12.5px/1 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-story__byline .rx-avatar {
	width: 46px;
	height: 46px;
}

.rx-editor__role {
	margin: 3px 0 0;
	font: 800 12.5px/1.3 var(--rx-sans);
	color: var(--sec);
}

.rx-disclose {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 0;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--rx-soft);
	border: 1px solid var(--rx-line);
	font: 700 11px/1.2 var(--rx-sans);
	color: var(--rx-mute);
	white-space: nowrap;
}

/* quick read: a preview of the key facts, without leaving the page */

.rx-quick {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px dashed var(--rx-line-2);
}

.rx-quick summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 800 12px/1 var(--rx-sans);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rx-accent);
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.rx-quick summary::-webkit-details-marker {
	display: none;
}

.rx-quick summary::after {
	content: "+";
	display: inline-grid;
	place-items: center;
	width: 16px;
	height: 16px;
	margin-left: 2px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--rx-accent) 14%, transparent);
	font-size: 13px;
	letter-spacing: 0;
}

.rx-quick[open] summary::after {
	content: "\2013";
}

.rx-quick ul {
	display: grid;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	animation: rx-fade 200ms ease-out;
}

.rx-quick li {
	position: relative;
	padding-left: 14px;
	font: 500 13.5px/1.45 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-quick li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 2px;
	background: var(--sec);
}

.rx-quick__more {
	display: inline-block;
	margin-top: 8px;
	font: 700 12.5px/1 var(--rx-sans);
	color: var(--rx-accent);
	text-decoration: none;
}

/* live feed thumbnails */

.rx-timeline__item:has(.rx-timeline__thumb) {
	grid-template-columns: 64px minmax(0, 1fr) 58px;
}

.rx-timeline__thumb {
	display: block;
	width: 58px;
	height: 44px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--rx-soft);
}

.rx-timeline__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* sections at a glance */

.rx-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: var(--rx-gap);
}

.rx-strip__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 16px 14px;
	border: 1px solid var(--rx-line);
	border-top: 3px solid var(--sec);
	border-radius: var(--rx-radius);
	background:
		radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--sec) 14%, transparent) 0%, transparent 55%),
		var(--rx-panel);
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.rx-strip__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(13, 17, 23, 0.1);
}

.rx-strip__top {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rx-strip__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: color-mix(in srgb, var(--sec) 16%, transparent);
	color: var(--sec);
}

.rx-strip__name {
	font: 800 15px/1 var(--rx-sans);
	color: var(--rx-ink);
}

.rx-strip__count {
	margin-left: auto;
	padding: 4px 8px 3px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--sec) 16%, transparent);
	font: 800 11px/1 var(--rx-sans);
	color: var(--rx-ink);
	white-space: nowrap;
}

.rx-strip__count:empty {
	display: none;
}

.rx-strip__headline {
	display: -webkit-box;
	overflow: hidden;
	font: 650 14.5px/1.35 var(--rx-sans);
	color: var(--rx-ink);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.rx-strip__card:hover .rx-strip__headline {
	color: var(--rx-accent);
}

.rx-strip__time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	font: 600 12px/1 var(--rx-sans);
	color: var(--rx-mute);
}

@media (max-width: 700px) {
	.rx-strip {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		margin-inline: calc(var(--rx-pad) * -1);
		padding: 2px var(--rx-pad) 6px;
		scrollbar-width: none;
	}

	.rx-strip::-webkit-scrollbar {
		display: none;
	}

	.rx-strip__card {
		flex: 0 0 74%;
		scroll-snap-align: start;
	}
}

/* the editor profile */

.rx-profile {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: start;
	gap: 30px;
	padding: 30px 32px;
	border-top: 3px solid var(--sec);
	background:
		radial-gradient(60% 120% at 100% 0%, color-mix(in srgb, var(--sec) 12%, transparent) 0%, transparent 60%),
		var(--rx-panel);
}

.rx-profile__photo {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding-top: 4px;
}

.rx-profile__role {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 10px;
	font: 800 12.5px/1 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sec);
}

.rx-profile__name {
	margin: 0;
	font: 800 clamp(34px, 4vw, 54px)/1.02 var(--rx-sans);
	letter-spacing: -0.035em;
	color: var(--rx-ink);
}

.rx-profile__bio {
	max-width: 640px;
	margin: 14px 0 0;
	font: 500 17.5px/1.5 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-profile__desks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
}

.rx-profile__desks .rx-tag {
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--rx-soft);
	border: 1px solid var(--rx-line);
}

.rx-profile__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 16px 0 0;
	font: 700 13.5px/1.3 var(--rx-sans);
}

.rx-profile__links a {
	color: var(--rx-accent);
	text-decoration: none;
}

.rx-profile__links a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rx-profile__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(108px, 1fr));
	gap: 10px;
	margin: 0;
}

.rx-profile__stats > div {
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--rx-soft);
}

.rx-profile__stats dt {
	font: 700 11px/1.2 var(--rx-sans);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rx-mute);
}

.rx-profile__stats dd {
	margin: 6px 0 0;
	font: 800 28px/1 var(--rx-sans);
	letter-spacing: -0.02em;
	color: var(--rx-ink);
	font-variant-numeric: tabular-nums;
}

.rx-profile__stats > div:first-child dd {
	color: var(--sec);
}

.rx-profile__stats .rx-profile__ago {
	font-size: 16px;
	line-height: 1.2;
	padding-top: 6px;
}

.rx-authorgrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: var(--rx-gap);
	align-items: start;
	margin-top: var(--rx-gap);
}

.rx-authorgrid__main .rx-rowtitle {
	margin-top: 0;
}

.rx-authorgrid__lead {
	margin-bottom: var(--rx-gap);
}

.rx-authorgrid__lead .rx-lead {
	min-height: 420px;
}

.rx-authorgrid__rail {
	display: grid;
	gap: var(--rx-gap);
	min-width: 0;
}

.rx-covers__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 14px 18px 18px;
}

.rx-covers__list a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 7px 6px 11px;
	border-radius: 999px;
	background: var(--rx-soft);
	border: 1px solid var(--rx-line);
	font: 700 13px/1 var(--rx-sans);
	color: var(--rx-ink-2);
	text-decoration: none;
}

.rx-covers__list a:hover {
	border-color: var(--rx-ink);
	color: var(--rx-ink);
}

.rx-covers__list span {
	padding: 3px 7px;
	border-radius: 999px;
	background: var(--rx-panel);
	font: 800 11px/1 var(--rx-sans);
	color: var(--rx-accent);
}

.rx-how__steps {
	margin: 0;
	padding: 6px 18px 4px;
	list-style: none;
}

.rx-how__steps li {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 12px;
	padding: 11px 0;
	font: 500 13.5px/1.45 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-how__steps li + li {
	border-top: 1px solid var(--rx-line);
}

.rx-how__steps strong {
	display: block;
	margin-bottom: 2px;
	font-weight: 800;
	font-size: 14px;
	color: var(--rx-ink);
}

.rx-how__icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--rx-accent) 12%, transparent);
	color: var(--rx-accent);
}

.rx-how__note {
	margin: 0;
	padding: 0 18px 16px;
	font: 500 12.5px/1.5 var(--rx-sans);
	color: var(--rx-mute);
}

@media (max-width: 1000px) {
	.rx-profile {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.rx-profile__stats {
		grid-column: 1 / -1;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.rx-authorgrid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.rx-profile {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 22px 18px;
	}

	.rx-profile__photo {
		justify-items: start;
	}

	.rx-avatar--xl {
		width: 96px;
		height: 96px;
	}

	.rx-profile__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ====================================================== wow: v3.2 ===== */

/* the rotating hero */

.rx-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 600px;
	border-radius: var(--rx-radius);
	overflow: hidden;
	background: var(--rx-dark);
	box-shadow: 0 24px 60px rgba(10, 13, 19, 0.28);
}

.rx-hero__slides {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
}

.rx-hero .rx-slide {
	position: absolute;
	inset: 0;
	min-height: 0;
	height: auto;
	border-radius: 0;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.015);
	transition: opacity 700ms ease, transform 900ms ease, visibility 0s linear 700ms;
}

.rx-hero .rx-slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 700ms ease, transform 900ms ease, visibility 0s;
	z-index: 1;
}

.rx-hero .rx-slide .rx-lead__body {
	padding-bottom: 24px;
}

/* A slow push-in on the photograph: the newsroom-monitor feel. */
@media (prefers-reduced-motion: no-preference) {
	.rx-slide.is-active.has-media .rx-lead__media img,
	.rx-dash__lead > .rx-lead.has-media .rx-lead__media img {
		animation: rx-kenburns 14s ease-out both;
	}
}

@keyframes rx-kenburns {
	from {
		transform: scale(1.12) translate3d(1.5%, 1%, 0);
	}
	to {
		transform: scale(1.0) translate3d(0, 0, 0);
	}
}

.rx-hero__tabs {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(6, 8, 13, 0.92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.rx-hero__tab {
	position: relative;
	display: flex;
	gap: 10px;
	min-width: 0;
	padding: 13px 16px 15px;
	border: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	background: transparent;
	color: rgba(255, 255, 255, 0.62);
	font-family: var(--rx-sans);
	text-align: left;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease;
}

.rx-hero__tab:first-child {
	border-left: 0;
}

.rx-hero__tab:hover,
.rx-hero__tab.is-active {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.rx-hero__num {
	font: 800 20px/1 var(--rx-sans);
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.35);
	font-variant-numeric: tabular-nums;
}

.rx-hero__tab.is-active .rx-hero__num {
	color: var(--sec);
}

.rx-hero__tabtext {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.rx-hero__tabsec {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font: 800 10.5px/1 var(--rx-sans);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--sec);
}

.rx-hero__tabhead {
	display: -webkit-box;
	overflow: hidden;
	font: 650 13px/1.3 var(--rx-sans);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.rx-hero__bar {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.rx-hero__bar span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--rx-accent);
}

.rx-hero__tab.is-active .rx-hero__bar span {
	width: 100%;
}

.rx-hero.is-ticking .rx-hero__tab.is-active .rx-hero__bar span {
	animation: rx-bar var(--rx-hero-ms, 8000ms) linear both;
}

@keyframes rx-bar {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

@media (max-width: 980px) {
	.rx-hero {
		min-height: 0;
	}

	.rx-hero__slides {
		display: grid;
	}

	.rx-hero .rx-slide {
		position: relative;
		grid-area: 1 / 1;
		min-height: 520px;
	}
}

@media (max-width: 760px) {
	.rx-hero__tabs {
		grid-template-columns: repeat(4, minmax(150px, 1fr));
		overflow-x: auto;
		scrollbar-width: none;
	}

	.rx-hero__tabs::-webkit-scrollbar {
		display: none;
	}

	.rx-hero .rx-slide {
		min-height: 560px;
	}
}

/* no photograph: the key figure is the picture */

.rx-lead.has-visual {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
}

.rx-lead.has-visual .rx-lead__body {
	grid-column: 1;
	grid-row: 1;
}

.rx-lead__visual {
	position: relative;
	grid-column: 2;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: 36px 34px 36px 8px;
	isolation: isolate;
}

/* Concentric rings behind the figure, lit in the section colour. */
.rx-lead__visual::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: -1;
	width: 420px;
	height: 420px;
	margin: -210px 0 0 -210px;
	border-radius: 50%;
	background:
		radial-gradient(circle, color-mix(in srgb, var(--sec) 34%, transparent) 0%, transparent 60%),
		repeating-radial-gradient(circle, transparent 0 34px, rgba(255, 255, 255, 0.05) 34px 35px);
	opacity: 0.9;
}

@media (prefers-reduced-motion: no-preference) {
	.rx-lead__visual::before {
		animation: rx-breathe 6s ease-in-out infinite;
	}
}

@keyframes rx-breathe {
	0%,
	100% {
		transform: scale(0.96);
		opacity: 0.75;
	}
	50% {
		transform: scale(1.04);
		opacity: 1;
	}
}

.rx-lead__emblem {
	display: inline-grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: color-mix(in srgb, var(--sec) 26%, rgba(255, 255, 255, 0.04));
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--sec) 60%, transparent), 0 0 34px color-mix(in srgb, var(--sec) 50%, transparent);
	color: #fff;
}

.rx-lead__figure {
	font: 800 clamp(64px, 7.6vw, 118px)/0.9 var(--rx-sans);
	letter-spacing: -0.05em;
	color: #fff;
	text-shadow: 0 0 40px color-mix(in srgb, var(--sec) 55%, transparent);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.rx-lead__figure.is-long {
	font-size: clamp(48px, 5.6vw, 84px);
}

.rx-lead__figcap {
	max-width: 300px;
	font: 600 14.5px/1.45 var(--rx-sans);
	color: rgba(255, 255, 255, 0.78);
	border-left: 3px solid var(--sec);
	padding-left: 12px;
}

@media (max-width: 1180px) {
	.rx-lead.has-visual {
		grid-template-columns: 1fr;
	}

	.rx-lead.has-visual .rx-lead__visual {
		grid-column: 1;
		grid-row: 1;
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		gap: 12px 18px;
		padding: 26px 30px 0;
	}

	.rx-lead.has-visual .rx-lead__body {
		grid-row: 2;
		padding-top: 18px;
	}

	.rx-lead__visual::before {
		width: 300px;
		height: 300px;
		margin: -150px 0 0 -150px;
		left: 18%;
	}

	.rx-lead__figure {
		font-size: clamp(54px, 9vw, 84px);
	}
}

/* sparklines in the strip */

.rx-strip__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
}

.rx-strip__foot .rx-strip__time {
	margin-top: 0;
}

.rx-spark {
	flex: 0 0 auto;
	overflow: visible;
}

.rx-spark__line {
	fill: none;
	stroke: var(--sec);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rx-spark__area {
	fill: color-mix(in srgb, var(--sec) 16%, transparent);
	stroke: none;
}

.rx-spark__dot {
	fill: var(--sec);
	stroke: var(--rx-panel);
	stroke-width: 1.5;
}

/* reveal on scroll (added by rx.js only to panels below the fold) */

.rx-pre {
	opacity: 0;
	transform: translateY(16px);
}

.rx-pre.rx-in {
	opacity: 1;
	transform: none;
	transition: opacity 600ms ease var(--rx-delay, 0ms), transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--rx-delay, 0ms);
}

/* a little more life on the tiles and covers */

.rx-card--tile .rx-card__media {
	position: relative;
}

.rx-card--tile.has-media .rx-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(6, 8, 13, 0.35), transparent 45%);
	pointer-events: none;
}

.rx-card--tile:hover .rx-card__media img {
	transform: scale(1.05);
}

.rx-card__media img {
	transition: transform 500ms ease;
}

@media (prefers-reduced-motion: no-preference) {
	.rx-cover::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 48%, transparent 66%);
		transform: translateX(-100%);
		pointer-events: none;
	}

	.rx-card:hover .rx-cover::after {
		transform: translateX(100%);
		transition: transform 900ms ease;
	}
}

/* Hero slides with the key-figure visual: keep the whole story on screen. */
.rx-hero .rx-lead.has-visual .rx-lead__title {
	font-size: clamp(28px, 2.7vw, 44px);
}

.rx-hero .rx-lead.has-visual .rx-lead__facts {
	display: none;
}

.rx-hero .rx-lead__dek {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.rx-hero .rx-lead.has-visual .rx-lead__body {
	padding-right: 12px;
}

.rx-hero .rx-lead.has-visual .rx-lead__foot {
	margin-top: auto;
}

/* Small phones: keep the app bar on one line. */
@media (max-width: 480px) {
	.rx-bar__inner {
		column-gap: 8px;
	}

	.rx-bar__wordmark {
		height: 21px;
	}

	.rx-bar__subscribe {
		margin-left: 2px;
		padding-inline: 10px;
		font-size: 12.5px;
	}

	.rx-bar__actions .rx-iconbtn {
		width: 34px;
	}
}

/* ================================================ conversion: v3.3 ===== */

/* the Daily Raw dock: a corner card that never blocks the page */

.rx-dock {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 70;
	width: 320px;
	max-width: calc(100vw - 36px);
	border-radius: 14px;
	color: #fff;
	background:
		radial-gradient(90% 70% at 100% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(155deg, #ef2b3c 0%, #b3101d 70%, #8e0c17 100%);
	box-shadow: 0 18px 50px rgba(10, 13, 19, 0.35);
	overflow: hidden;
	transform: translateY(140%);
	transition: transform 420ms cubic-bezier(0.2, 0.9, 0.25, 1.1), width 260ms ease;
}

.rx-dock.is-in {
	transform: none;
}

.rx-dock__pill {
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	padding: 11px 14px;
	border: 0;
	background: rgba(0, 0, 0, 0.16);
	color: #fff;
	font: 800 13px/1 var(--rx-sans);
	text-align: left;
	cursor: pointer;
}

.rx-dock__mark {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.2);
}

.rx-dock__pilltext {
	flex: 1;
}

.rx-dock__chev {
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform 200ms ease;
}

.rx-dock.is-folded .rx-dock__chev {
	transform: rotate(-135deg) translate(-2px, -2px);
}

.rx-dock__body {
	display: grid;
	gap: 10px;
	padding: 4px 16px 16px;
}

.rx-dock.is-folded {
	width: auto;
}

.rx-dock.is-folded .rx-dock__body {
	display: none;
}

.rx-dock.is-folded .rx-dock__pill {
	background: transparent;
	padding: 10px 14px 10px 10px;
}

.rx-dock__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 0;
	font: 800 10.5px/1 var(--rx-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.rx-dock__eyebrow .rx-live {
	background: #fff;
	width: 6px;
	height: 6px;
}

.rx-dock__eyebrow .rx-live::after {
	border-color: #fff;
}

.rx-dock__heading {
	margin: 0;
	font: 800 18px/1.2 var(--rx-sans);
	letter-spacing: -0.015em;
}

.rx-dock__form {
	display: flex;
	gap: 6px;
}

.rx-dock .rx-nl__input {
	height: 40px;
	font-size: 14px;
}

.rx-dock .rx-btn--accent {
	min-height: 40px;
	padding-inline: 14px;
	background: var(--rx-dark);
	border-color: var(--rx-dark);
	color: #fff;
}

.rx-dock__note {
	margin: 0;
	font: 600 11.5px/1.35 var(--rx-sans);
	color: rgba(255, 255, 255, 0.8);
}

/* On phones the up-next card and the dock would overlap: the dock steps aside. */
@media (max-width: 760px) {
	.rx-has-upnext .rx-dock {
		transform: translateY(160%);
	}
}

@media (max-width: 760px) {
	.rx-dock {
		left: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		width: calc(100vw - 24px);
	}

	.rx-dock.is-folded {
		width: auto;
	}
}

/* in-article sign-up */

.rx-inline-nl {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	margin: 1.6em 0;
	padding: 16px 18px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--rx-accent) 7%, var(--rx-panel));
	border: 1px solid color-mix(in srgb, var(--rx-accent) 30%, var(--rx-line));
	font-family: var(--rx-sans);
}

.rx-inline-nl__mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--rx-accent);
	color: #fff;
}

.rx-inline-nl__text {
	display: grid;
	gap: 3px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--rx-ink-2);
}

.rx-inline-nl__text strong {
	font-size: 16px;
	font-weight: 800;
	color: var(--rx-ink);
}

.rx-inline-nl .rx-btn {
	border-radius: 999px;
}

@media (max-width: 560px) {
	.rx-inline-nl {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.rx-inline-nl .rx-btn {
		grid-column: 1 / -1;
		width: 100%;
	}
}

/* never miss a story */

.rx-followus {
	max-width: 780px;
	margin-top: 32px;
	padding: 18px 20px 20px;
	border-radius: var(--rx-radius);
	color: #fff;
	background:
		radial-gradient(100% 90% at 100% 0%, rgba(225, 29, 46, 0.36) 0%, rgba(225, 29, 46, 0) 55%),
		linear-gradient(165deg, #151c2b 0%, #0a0d13 70%);
	box-sizing: border-box;
}

.rx-followus__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font: 800 13px/1 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #ff6b77;
}

.rx-followus__actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.rx-followus__btn {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 12px 13px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-family: var(--rx-sans);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.rx-followus__btn:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.3);
	transform: translateY(-1px);
}

.rx-followus__btn > span:last-child {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.rx-followus__btn strong {
	font-size: 13.5px;
	font-weight: 800;
}

.rx-followus__btn small {
	font-size: 11.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.66);
}

.rx-followus__g,
.rx-followus__x,
.rx-followus__mail {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: #fff;
	color: #0a0d13;
	font: 900 17px/1 var(--rx-sans);
}

.rx-followus__g {
	color: #4285f4;
}

.rx-followus__mail {
	background: var(--rx-accent);
	color: #fff;
}

@media (max-width: 760px) {
	.rx-followus__actions {
		grid-template-columns: 1fr;
	}
}

/* up next */

.rx-upnext {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 71;
	display: flex;
	align-items: stretch;
	width: 380px;
	max-width: calc(100vw - 36px);
	border-radius: 14px;
	background: var(--rx-dark);
	color: #fff;
	box-shadow: 0 18px 50px rgba(10, 13, 19, 0.4);
	border-top: 3px solid var(--sec);
	overflow: hidden;
	transform: translateY(150%);
	transition: transform 420ms cubic-bezier(0.2, 0.9, 0.25, 1.1);
}

.rx-upnext.is-in {
	transform: none;
}

.rx-upnext__link {
	display: flex;
	flex: 1;
	gap: 12px;
	min-width: 0;
	padding: 12px;
	color: inherit;
	text-decoration: none;
}

.rx-upnext__media {
	flex: 0 0 96px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--rx-dark-2);
}

.rx-upnext__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rx-upnext__text {
	display: grid;
	align-content: center;
	gap: 5px;
	min-width: 0;
}

.rx-upnext__label {
	font: 800 11px/1 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sec);
}

.rx-upnext__head {
	display: -webkit-box;
	overflow: hidden;
	font: 700 14.5px/1.3 var(--rx-sans);
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.rx-upnext__link:hover .rx-upnext__head {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rx-upnext__close {
	align-self: flex-start;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	font-size: 22px;
	cursor: pointer;
}

.rx-upnext__close:hover {
	color: #fff;
}

@media (max-width: 760px) {
	.rx-upnext {
		left: 12px;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		width: auto;
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rx-dock,
	.rx-upnext {
		transition: none;
	}
}

@media print {
	.rx-dock,
	.rx-upnext,
	.rx-inline-nl,
	.rx-followus {
		display: none !important;
	}
}

/* ================================================== mobile + extras ===== */

/* greeting */

.rx-greeting {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: -4px;
}

.rx-greeting__text {
	margin: 0;
	font: 600 16px/1.35 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-greeting__text strong {
	font-weight: 800;
	color: var(--rx-ink);
}

.rx-greeting__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.rx-greeting__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px 5px;
	border-radius: 999px;
	background: var(--rx-panel);
	border: 1px solid var(--rx-line);
	font: 700 12.5px/1 var(--rx-sans);
	color: var(--rx-ink-2);
}

.rx-greeting__chip--new {
	background: var(--rx-accent);
	border-color: var(--rx-accent);
	color: #fff;
}

.rx-greeting__chip[hidden] {
	display: none;
}

/* "new since your last visit" */

.is-new .rx-card__title a::before,
.is-new.rx-timeline__item .rx-timeline__body a::before,
.rx-lead.is-new .rx-lead__title a::before {
	content: "NEW";
	display: inline-block;
	margin-right: 7px;
	padding: 3px 6px 2px;
	border-radius: 5px;
	background: var(--rx-accent);
	color: #fff;
	font: 800 10px/1.2 var(--rx-sans);
	letter-spacing: 0.08em;
	vertical-align: 0.25em;
}

.rx-lead.is-new .rx-lead__title a::before {
	font-size: 12px;
	padding: 4px 7px 3px;
	vertical-align: 0.6em;
}

/* native share */

.rx-share__native {
	gap: 6px;
	background: var(--rx-ink);
	border-color: var(--rx-ink);
	color: var(--rx-panel);
}

.rx-share__native[hidden] {
	display: none;
}

/* back to top */

.rx-totop {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 69;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--rx-dark);
	color: #fff;
	box-shadow: 0 10px 28px rgba(10, 13, 19, 0.3);
	cursor: pointer;
	opacity: 0;
	transform: translateY(20px) scale(0.9);
	pointer-events: none;
	transition: opacity 200ms ease, transform 200ms ease;
}

.rx-totop.is-in {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.rx-totop[hidden] {
	display: none;
}

.rx-has-upnext .rx-totop {
	opacity: 0;
	pointer-events: none;
}

/* ------------------------------------------------------ phones ------ */

@media (max-width: 760px) {
	/* Panel headings wrap rather than squeeze. */
	.rx-panel__head {
		flex-wrap: wrap;
		row-gap: 4px;
	}

	.rx-panel__badge {
		font-size: 11.5px;
	}

	/* Sections at a glance: a tidy two-column grid, no sideways scroll. */
	.rx-strip {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.rx-strip__card {
		flex: none;
		gap: 8px;
		padding: 11px 12px 11px;
	}

	.rx-strip__card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.rx-strip__top {
		gap: 8px;
	}

	.rx-strip__icon {
		width: 28px;
		height: 28px;
		border-radius: 8px;
	}

	.rx-strip__icon .rx-icon {
		width: 16px;
		height: 16px;
	}

	.rx-strip__name {
		font-size: 14px;
	}

	.rx-strip__count {
		padding: 3px 7px 2px;
		font-size: 10.5px;
	}

	.rx-strip__headline {
		font-size: 13px;
		line-height: 1.3;
	}

	.rx-strip__foot .rx-spark {
		width: 64px;
		height: 22px;
	}

	/* Top Stories and Read next: compact cards, thumbnail beside the text. */
	.rx-tiles,
	.rx-tiles--3 {
		gap: 10px;
	}

	.rx-card--tile {
		display: grid;
		grid-template-columns: 108px minmax(0, 1fr);
		align-items: stretch;
	}

	.rx-card--tile .rx-card__media {
		grid-row: 1;
		grid-column: 1;
		aspect-ratio: auto;
		height: 100%;
		min-height: 108px;
	}

	.rx-card--tile .rx-card__body {
		grid-column: 2;
		padding: 11px 12px 12px;
	}

	.rx-card--tile .rx-card__meta {
		margin-bottom: 6px;
	}

	.rx-card--tile .rx-card__title {
		font-size: 15.5px;
		line-height: 1.25;
	}

	.rx-card--tile .rx-card__dek,
	.rx-card--tile .rx-card__by {
		display: none;
	}

	.rx-card--tile .rx-quick {
		margin-top: 8px;
		padding-top: 8px;
	}

	.rx-card--tile .rx-cover__icon {
		width: 48px;
		height: 48px;
	}

	.rx-card--tile .rx-cover__icon .rx-icon {
		width: 24px;
		height: 24px;
	}

	.rx-card--tile .rx-cover__label {
		display: none;
	}

	/* Lead panels outside the hero: the standfirst is enough on a phone. */
	.rx-lead.no-media .rx-lead__facts {
		display: none;
	}

	.rx-lead__title {
		font-size: clamp(27px, 7.6vw, 34px);
	}

	.rx-greeting {
		margin-bottom: 0;
	}

	.rx-greeting__text {
		font-size: 14.5px;
	}

	.rx-totop {
		bottom: calc(76px + env(safe-area-inset-bottom, 0px));
		right: 12px;
		width: 42px;
		height: 42px;
	}

	/* Bigger tap targets on the small controls. */
	.rx-panel__more,
	.rx-head__more {
		padding: 8px 0;
	}

	.rx-share__btn {
		min-height: 40px;
	}

	.rx-topics a {
		padding: 9px 12px;
	}
}

@media (max-width: 760px) {
	.rx-strip__time {
		white-space: nowrap;
	}
}

@media (max-width: 420px) {
	.rx-strip__foot .rx-spark {
		width: 46px;
		height: 20px;
	}

	.rx-strip__time .rx-icon {
		display: none;
	}
}

/* ============================================================ v3.5 ===== */

/* smooth page-to-page transitions (cross-document view transitions) */

@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}

	.rx-top {
		view-transition-name: rx-top;
	}

	::view-transition-old(root),
	::view-transition-new(root) {
		animation-duration: 220ms;
	}
}

/* instant search */

.rx-search {
	position: fixed;
	inset: 0;
	z-index: 9500;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 9vh 16px 16px;
}

.rx-search[hidden] {
	display: none;
}

.rx-search__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 8, 13, 0.6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 180ms ease;
}

.rx-search__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 680px;
	max-height: 78vh;
	border-radius: 16px;
	background: var(--rx-panel);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	opacity: 0;
	transform: translateY(-10px) scale(0.98);
	transition: opacity 180ms ease, transform 200ms cubic-bezier(0.2, 0.9, 0.25, 1.1);
}

.rx-search.is-open .rx-search__backdrop {
	opacity: 1;
}

.rx-search.is-open .rx-search__panel {
	opacity: 1;
	transform: none;
}

.rx-search-open {
	overflow: hidden;
}

.rx-search__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--rx-line);
	color: var(--rx-mute);
}

.rx-search__input {
	flex: 1;
	min-width: 0;
	height: 40px;
	border: 0;
	background: transparent;
	color: var(--rx-ink);
	font: 600 19px/1 var(--rx-sans);
	outline: none;
}

.rx-search__input::-webkit-search-cancel-button {
	display: none;
}

.rx-search__kbd,
.rx-search__foot kbd {
	display: inline-block;
	padding: 3px 6px;
	border: 1px solid var(--rx-line-2);
	border-bottom-width: 2px;
	border-radius: 5px;
	background: var(--rx-soft);
	font: 700 11px/1 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-search__close {
	display: none;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: var(--rx-soft);
	color: var(--rx-ink);
	font-size: 22px;
	cursor: pointer;
}

.rx-search__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 14px 16px 6px;
}

.rx-search__label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 4px 0 10px;
	font: 800 11.5px/1 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rx-mute);
}

.rx-search__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}

.rx-search__chip {
	padding: 8px 12px;
	border: 1px solid var(--rx-line);
	border-radius: 999px;
	background: var(--rx-soft);
	color: var(--rx-ink-2);
	font: 700 13px/1 var(--rx-sans);
	cursor: pointer;
}

.rx-search__chip:hover {
	border-color: var(--rx-accent);
	color: var(--rx-accent);
}

.rx-search__results {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rx-search__results a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 10px;
	color: var(--rx-ink);
	text-decoration: none;
}

.rx-search__results a:hover,
.rx-search__results a.is-active {
	background: var(--rx-soft);
}

.rx-search__results a.is-active {
	box-shadow: inset 3px 0 0 var(--rx-accent);
}

.rx-search__thumb {
	flex: 0 0 64px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--rx-dark-2);
}

.rx-search__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rx-search__noimg {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(80% 90% at 90% 0%, color-mix(in srgb, var(--sec, var(--rx-accent)) 55%, transparent) 0%, transparent 65%),
		linear-gradient(160deg, #161d2c 0%, #0a0d13 75%);
}

.rx-search__text {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.rx-search__meta {
	font: 800 10.5px/1 var(--rx-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sec, var(--rx-mute));
}

.rx-search__title {
	font: 650 15px/1.3 var(--rx-sans);
}

.rx-search__title mark {
	background: color-mix(in srgb, var(--rx-accent) 18%, transparent);
	color: inherit;
	border-radius: 3px;
	padding: 0 2px;
}

.rx-search__status {
	margin: 8px 4px 10px;
	font: 600 13px/1.4 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-search__status:empty {
	display: none;
}

.rx-search__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding: 10px 16px;
	border-top: 1px solid var(--rx-line);
	background: var(--rx-soft);
	font: 600 12px/1 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-search__foot kbd {
	margin-right: 3px;
}

@media (max-width: 760px) {
	.rx-search {
		padding: 0;
	}

	.rx-search__panel {
		max-width: none;
		max-height: none;
		height: 100%;
		border-radius: 0;
	}

	.rx-search__kbd,
	.rx-search__foot {
		display: none;
	}

	.rx-search__close {
		display: inline-grid;
		place-items: center;
	}
}

/* in case you missed it */

.rx-icymi {
	margin-top: 10px;
}

.rx-icymi__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.rx-icymi__nav {
	display: flex;
	gap: 6px;
	margin-bottom: 14px;
}

.rx-icymi__btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--rx-line-2);
	border-radius: 50%;
	background: var(--rx-panel);
	color: var(--rx-ink);
	cursor: pointer;
	transition: background-color 140ms ease, color 140ms ease;
}

.rx-icymi__btn:hover {
	background: var(--rx-ink);
	color: var(--rx-panel);
}

.rx-icymi__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(250px, 280px);
	gap: var(--rx-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 2px;
	padding-bottom: 8px;
	scrollbar-width: thin;
}

.rx-icymi__card {
	display: flex;
	flex-direction: column;
	scroll-snap-align: start;
	border-radius: var(--rx-radius);
	background: var(--rx-panel);
	border: 1px solid var(--rx-line);
	overflow: hidden;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.rx-icymi__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(13, 17, 23, 0.1);
}

.rx-icymi__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--rx-soft);
}

.rx-icymi__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.rx-icymi__card:hover .rx-icymi__media img {
	transform: scale(1.05);
}

.rx-icymi__media .rx-cover__icon {
	width: 60px;
	height: 60px;
}

.rx-icymi__body {
	padding: 12px 14px 14px;
}

.rx-icymi__title {
	margin: 0;
	font: 750 16px/1.25 var(--rx-sans);
	letter-spacing: -0.012em;
}

.rx-icymi__title a {
	color: var(--rx-ink);
	text-decoration: none;
}

.rx-icymi__title a:hover {
	color: var(--rx-accent);
}

@media (max-width: 760px) {
	.rx-icymi__nav {
		display: none;
	}

	.rx-icymi__track {
		grid-auto-columns: 74%;
		margin-inline: calc(var(--rx-pad) * -1);
		padding-inline: var(--rx-pad);
		scroll-padding: 0 var(--rx-pad);
		gap: 12px;
	}
}

/* section top topics */

.rx-sectopics {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
}

.rx-sectopics__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 4px;
	font: 800 11.5px/1 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rx-mute);
}

.rx-sectopics__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 7px 7px 12px;
	border-radius: 999px;
	background: var(--rx-panel);
	border: 1px solid var(--rx-line);
	font: 700 13px/1 var(--rx-sans);
	color: var(--rx-ink-2);
	text-decoration: none;
	transition: border-color 140ms ease, color 140ms ease;
}

.rx-sectopics__chip:hover {
	border-color: var(--sec, var(--rx-accent));
	color: var(--rx-ink);
}

.rx-sectopics__chip span {
	padding: 3px 7px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--sec, var(--rx-accent)) 15%, transparent);
	font: 800 11px/1 var(--rx-sans);
	color: var(--rx-ink);
}

@media (max-width: 760px) {
	.rx-sectopics {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		padding-bottom: 2px;
	}

	.rx-sectopics::-webkit-scrollbar {
		display: none;
	}

	.rx-sectopics__chip,
	.rx-sectopics__label {
		flex: 0 0 auto;
	}
}

/* article: share rail, drop cap, section-coloured progress */

.rx-story__main {
	position: relative;
	overflow: visible;
}

.rx-sharerail {
	display: none;
}

/* Wide screens only: a column of round buttons in the margin left of the
   article panel, sticking below the app bar as the reader scrolls. */
@media (min-width: 1380px) {
	.rx-sharerail {
		position: absolute;
		top: 120px;
		bottom: 40px;
		left: -66px;
		display: block;
	}

	.rx-sharerail__inner {
		position: sticky;
		top: 96px;
		display: flex;
		flex-direction: column;
		gap: 8px;
	}
}

.rx-sharerail__btn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--rx-line);
	border-radius: 50%;
	background: var(--rx-panel);
	color: var(--rx-ink-2);
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(13, 17, 23, 0.06);
	transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.rx-sharerail__btn:hover {
	background: var(--rx-ink);
	color: var(--rx-panel);
	transform: scale(1.06);
}

.rx-story__body > p:first-of-type::first-line {
	font-weight: inherit;
}

.rx-story__body > p:first-of-type::first-letter {
	float: left;
	margin: 0.08em 0.1em 0 0;
	font: 700 3.7em/0.82 var(--rx-serif);
	color: var(--sec, var(--rx-accent));
}

.rx-progress .reading-progress__bar {
	background: var(--sec, var(--rx-accent));
}

/* loading shimmer behind pictures until they arrive */

@media (prefers-reduced-motion: no-preference) {
	.rx-card__media:not(.is-loaded),
	.rx-lead__media:not(.is-loaded),
	.rx-icymi__media:not(.is-loaded),
	.rx-timeline__thumb:not(.is-loaded),
	.rx-card__thumb:not(.is-loaded) {
		background-image: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.35) 40%, transparent 60%);
		background-size: 200% 100%;
		animation: rx-shimmer 1.3s linear infinite;
	}
}

@keyframes rx-shimmer {
	from {
		background-position: 120% 0;
	}
	to {
		background-position: -80% 0;
	}
}

/* ================================================= translation v3.6 ===== */

.rx-lang {
	position: relative;
	display: inline-flex;
}

.rx-lang__btn {
	position: relative;
}

.rx-lang__code {
	position: absolute;
	right: -3px;
	bottom: -2px;
	padding: 2px 4px;
	border-radius: 5px;
	background: var(--rx-accent);
	color: #fff;
	font: 800 9.5px/1 var(--rx-sans);
	letter-spacing: 0.04em;
}

.rx-lang.is-loading .rx-lang__btn svg {
	animation: rx-spin 1s linear infinite;
}

@keyframes rx-spin {
	to {
		transform: rotate(360deg);
	}
}

.rx-lang__menu {
	position: absolute;
	top: calc(100% + 10px);
	right: -60px;
	z-index: 9200;
	width: 290px;
	padding: 12px;
	border-radius: 14px;
	background: var(--rx-panel);
	color: var(--rx-ink);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	border: 1px solid var(--rx-line);
}

.rx-lang__menu[hidden] {
	display: none;
}

.rx-lang__head {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 2px 4px 10px;
	font: 800 11.5px/1 var(--rx-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rx-mute);
}

.rx-lang__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	max-height: min(56vh, 420px);
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

.rx-lang__list li:first-child {
	grid-column: 1 / -1;
}

.rx-lang__list button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	width: 100%;
	min-height: 38px;
	padding: 8px 10px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--rx-ink);
	font: 650 14px/1.2 var(--rx-sans);
	text-align: left;
	cursor: pointer;
}

.rx-lang__list button small {
	font: 700 11px/1 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-lang__list button:hover,
.rx-lang__list button:focus-visible {
	background: var(--rx-soft);
	outline: none;
}

.rx-lang__list button[aria-checked="true"] {
	background: color-mix(in srgb, var(--rx-accent) 12%, transparent);
	box-shadow: inset 3px 0 0 var(--rx-accent);
}

.rx-lang__list button[aria-checked="true"]::after {
	content: "✓";
	font-weight: 800;
	color: var(--rx-accent);
}

.rx-lang__note {
	margin: 10px 4px 2px;
	font: 500 12px/1.45 var(--rx-sans);
	color: var(--rx-mute);
}

.rx-mobilenav__lang {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

/* phones: the menu becomes a bottom sheet; tiny screens keep the globe in
   the menu only, so the app bar never wraps */
@media (max-width: 760px) {
	.rx-lang__menu {
		position: fixed;
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		width: auto;
		max-height: 78vh;
		padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
		border-radius: 18px 18px 0 0;
	}

	.rx-lang__list {
		max-height: 52vh;
	}
}

@media (max-width: 400px) {
	.rx-lang__btn {
		display: none;
	}

	.rx-lang.is-translated .rx-lang__btn {
		display: inline-grid;
	}
}

/* the one-time offer, in the reader's own language */
.rx-langtip {
	position: fixed;
	top: 110px;
	right: 18px;
	z-index: 9100;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 12px;
	max-width: 380px;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--rx-dark, #0d1117);
	color: #fff;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 200ms ease, transform 220ms ease;
}

.rx-langtip.is-in {
	opacity: 1;
	transform: none;
}

.rx-langtip__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
}

.rx-langtip__text {
	flex: 1 1 180px;
	margin: 0;
	font: 700 14.5px/1.3 var(--rx-sans);
}

.rx-langtip__yes {
	min-height: 36px;
}

.rx-langtip__no {
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	font: 600 13px/1 var(--rx-sans);
	cursor: pointer;
}

@media (max-width: 760px) {
	.rx-langtip {
		top: auto;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom));
		left: 12px;
		max-width: none;
		z-index: 9300;
	}
}

/* Google's translator: keep the engine, hide its banner, tooltips and
   highlight; the page must not shift down when a translation starts */
.rx-gt-host,
.skiptranslate > iframe,
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-yAWNEb-L7lbkb {
	display: none !important;
}

body {
	top: 0 !important;
}

.goog-text-highlight,
font > font {
	background: transparent !important;
	box-shadow: none !important;
}

/* ============================================ reader accounts v3.6 ===== */

.rx-story__save {
	margin: 14px 0 -4px;
}

.rx-card__by {
	display: flex;
	align-items: center;
}

.rx-card__by .rnr-save--icon {
	margin-left: auto;
}

.rx-sectionhead__follow,
.rx-topic__follow {
	margin-top: 14px;
}

/* phones: the app bar keeps one row. Signed out, "Sign in" moves into the
   menu; signed in, the avatar stays down to 400px */
@media (max-width: 760px) {
	.rx-bar__actions .rnr-acct__signin {
		display: none;
	}
}

@media (max-width: 400px) {
	.rx-bar__actions .rnr-acct {
		display: none;
	}
}
