/*
 * R34C8 Mini reader experience.
 *
 * This layer intentionally sits after style.css. It keeps WordPress template
 * semantics and theme settings while replacing the classic blog visual model
 * with a spacious editorial reader application.
 */

:root {
	--r34-canvas: color-mix(in srgb, var(--color-soft) 72%, var(--color-bg));
	--r34-paper: var(--color-panel);
	--r34-ink: var(--color-text);
	--r34-muted: color-mix(in srgb, var(--color-text) 66%, var(--color-bg));
	--r34-faint: color-mix(in srgb, var(--color-text) 61%, var(--color-bg));
	--r34-line: color-mix(in srgb, var(--color-text) 13%, var(--color-bg));
	--r34-accent-ink: color-mix(in srgb, var(--color-accent) 62%, #6c1d09);
	--r34-button-hover: color-mix(in srgb, var(--r34-night) 84%, var(--color-accent));
	--r34-night: #171826;
	--r34-night-soft: #25273b;
	--r34-lilac: #7667f2;
	--r34-mint: #82e8cf;
	--r34-ui: var(--font-sans);
	--r34-display: var(--r34-ui);
	--r34-card-radius: calc(var(--radius) + 11px);
	--r34-shadow: 0 4px 20px -12px rgba(19, 22, 38, 0.14);
}

body.r34c8-color-dark {
	--r34-accent-ink: color-mix(in srgb, var(--color-accent) 55%, #fff);
}

@media (prefers-color-scheme: dark) {
	body.r34c8-color-system {
		--r34-accent-ink: color-mix(in srgb, var(--color-accent) 55%, #fff);
	}
}

body {
	background: var(--r34-canvas);
	font-family: var(--r34-ui);
	font-size: 17px;
	font-optical-sizing: auto;
}

a,
button,
input,
select,
summary,
textarea {
	transition: color 170ms ease, background-color 170ms ease, border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

:focus-visible {
	outline: 3px solid #1d5fd1;
	outline-offset: 4px;
}

/* Publication masthead. */
.site-header {
	border: 0;
	background: color-mix(in srgb, var(--color-panel) 88%, transparent);
	box-shadow: 0 1px 0 var(--r34-line);
	backdrop-filter: blur(18px) saturate(135%);
}

.header-inner {
	min-height: 76px;
}

.site-branding {
	position: relative;
	display: grid;
	gap: 2px;
	align-content: center;
	overflow: visible;
}

.site-branding::before {
	position: absolute;
	width: 9px;
	height: 9px;
	margin: 2px 0 0 -17px;
	border-radius: 3px 50% 50%;
	background: var(--color-accent);
	content: "";
	transform: rotate(45deg);
}

.site-title {
	font-family: var(--r34-ui);
	font-size: clamp(20px, 5vw, 28px);
	font-weight: 800;
	letter-spacing: -0.045em;
}

.site-branding__descriptor {
	display: block;
	color: var(--r34-faint);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.17em;
	line-height: 1;
	text-transform: uppercase;
}

.mobile-control > summary {
	width: 48px;
	height: 48px;
	border: 1px solid transparent;
	border-radius: 15px;
}

.mobile-control > summary:hover,
.mobile-control[open] > summary {
	border-color: var(--r34-line);
	background: var(--r34-paper);
	box-shadow: 0 12px 24px -18px rgba(17, 20, 35, 0.55);
	color: var(--r34-accent-ink);
}

.mobile-panel {
	border-color: var(--r34-line);
	border-radius: 0 0 24px 24px;
	background: color-mix(in srgb, var(--color-panel) 96%, transparent);
	box-shadow: 0 30px 60px -36px rgba(12, 14, 27, 0.65);
}

.mobile-navigation a {
	min-height: 50px;
	font-size: 16px;
}

.search-form .search-field,
.search-form .category-filter,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	min-height: 48px;
	border: 1px solid var(--r34-line);
	border-radius: calc(var(--radius) + 5px);
	background: var(--r34-paper);
	color: var(--r34-ink);
}

.search-field:focus,
.category-filter:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--r34-accent-ink);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-accent) 13%, transparent);
}

/* Story desk. */
.content-layout {
	padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px);
}

.page-header--stories {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: end;
	min-height: 260px;
	padding: clamp(28px, 3.5vw, 44px);
	margin: 0 0 28px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: calc(var(--radius) + 15px);
	background: var(--r34-night);
	box-shadow: none;
	color: #fff;
	overflow: hidden;
}

.page-header--stories::before,
.page-header--stories::after {
	content: none;
}

.page-header__copy,
.page-header__count {
	position: relative;
	z-index: 1;
}

.page-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	color: #d8c9b5;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.page-kicker::before {
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	content: "";
}

.page-header--stories .page-title {
	max-width: 760px;
	margin: 0;
	color: #fff;
	font-family: var(--r34-display);
	font-size: clamp(34px, 4vw, 56px);
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1.12;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

.page-intro {
	max-width: 650px;
	margin: 18px 0 0;
	color: #c3c3cc;
	font-size: 16px;
	line-height: 1.6;
}

.page-header__count {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 7px;
	padding-block: 8px;
	border-top: 1px solid #50515c;
	white-space: nowrap;
}

.page-header__count strong {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
}

.page-header__count span {
	color: #c3c3cc;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.story-list,
.r34c8-list-cards .story-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(16px, 2.4vw, 25px);
	margin-top: 0;
}

.story-row,
.story-row.has-display-thumbnail,
.r34c8-list-cards .story-row,
.r34c8-list-cards .story-row.has-display-thumbnail {
	position: relative;
	display: grid;
	grid-template-columns: minmax(112px, 31%) minmax(0, 1fr);
	gap: clamp(16px, 2.2vw, 26px);
	align-items: stretch;
	min-height: 188px;
	padding: 13px;
	border: 1px solid var(--r34-line);
	border-radius: var(--r34-card-radius);
	background: color-mix(in srgb, var(--r34-paper) 96%, transparent);
	box-shadow: var(--r34-shadow);
	overflow: hidden;
	transform: none;
}

.story-row:not(.has-display-thumbnail),
.r34c8-list-cards .story-row:not(.has-display-thumbnail) {
	grid-template-columns: 1fr;
}

.story-row:hover,
.story-row:focus-within,
.r34c8-list-cards .story-row:hover,
.r34c8-list-cards .story-row:focus-within {
	border-color: color-mix(in srgb, var(--color-accent) 40%, var(--r34-line));
	box-shadow: 0 10px 24px -18px rgba(18, 20, 36, 0.28);
	transform: translateY(-2px);
}

/* Keep the saved list-style choice meaningful inside the new design. */
.r34c8-list-divided .story-row:not(:first-child) {
	padding: 4px 0 24px;
	border-width: 0 0 1px;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.r34c8-list-divided .story-row:not(:first-child):hover,
.r34c8-list-divided .story-row:not(:first-child):focus-within {
	border-color: var(--r34-line);
	box-shadow: none;
	transform: translateX(4px);
}

.story-thumbnail,
.r34c8-list-cards .story-thumbnail {
	min-height: 100%;
	border-radius: calc(var(--r34-card-radius) - 9px);
	background: var(--color-soft);
	box-shadow: none;
	overflow: hidden;
}

.story-thumbnail img,
.r34c8-list-cards .story-thumbnail img {
	width: 100%;
	height: 100%;
	min-height: 160px;
	border-radius: inherit;
	object-fit: cover;
	transition: filter 250ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.story-row:hover .story-thumbnail img,
.story-row:focus-within .story-thumbnail img {
	transform: scale(1.035);
}

.story-thumbnail .r34c8-default-thumbnail {
	filter: saturate(0.78) contrast(0.96);
}

.story-content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-self: stretch;
	padding: clamp(7px, 1.5vw, 16px) clamp(4px, 1vw, 10px) clamp(5px, 1vw, 10px) 0;
}

.story-meta {
	gap: 8px;
	color: var(--r34-faint);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.025em;
	line-height: 1.5;
	text-transform: uppercase;
}

.story-category,
.entry-category {
	color: var(--r34-accent-ink);
}

.story-title {
	margin-top: 12px;
	font-family: var(--r34-display);
	font-size: clamp(23px, 2.2vw, 30px);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.22;
	overflow-wrap: anywhere;
}

.story-title a:hover {
	color: var(--r34-accent-ink);
}

.story-excerpt {
	display: -webkit-box;
	margin-top: 12px;
	color: var(--r34-muted);
	font-size: 15px;
	line-height: 1.58;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.story-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 17px;
	margin-top: auto;
	color: var(--r34-faint);
	font-size: 12px;
	font-weight: 700;
}

.story-cta {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	gap: 9px;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--r34-accent-ink);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.story-cta:hover {
	background: color-mix(in srgb, var(--color-accent) 10%, var(--color-soft));
	color: var(--r34-accent-ink);
}

.story-cta span {
	font-size: 16px;
}

.load-more-wrap {
	margin-top: clamp(25px, 4vw, 44px);
}

.load-more-button,
.button,
.comment-form input[type="submit"] {
	min-height: 52px;
	border: 0;
	border-radius: calc(var(--radius) + 5px);
	background: var(--r34-night);
	box-shadow: none;
	color: #fff;
}

.load-more-button:hover,
.button:hover,
.comment-form input[type="submit"]:hover {
	background: var(--r34-button-hover);
	color: #fff;
	transform: translateY(-2px);
}

/* Designed discovery rail. */
.site-sidebar {
	position: sticky;
	top: 34px;
	align-self: start;
}

.admin-bar .site-sidebar {
	top: 66px;
}

.r34c8-sticky-header .site-sidebar {
	top: 104px;
}

.admin-bar.r34c8-sticky-header .site-sidebar {
	top: 136px;
}

/* A wrapped two-row masthead has no fixed height, so avoid covering the rail. */
.r34c8-header-stacked.r34c8-sticky-header .site-sidebar {
	position: static;
}

.sidebar-section,
.site-sidebar .widget {
	padding: 24px;
	margin: 0 0 20px;
	border: 1px solid var(--r34-line);
	border-radius: calc(var(--radius) + 11px);
	background: color-mix(in srgb, var(--r34-paper) 95%, transparent);
	box-shadow: var(--r34-shadow);
}

.sidebar-title,
.site-sidebar .widget-title {
	font-family: var(--r34-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.025em;
}

.category-list li {
	min-height: 50px;
	padding: 9px 0;
	border-bottom: 1px solid var(--r34-line);
}

.category-list li:last-child {
	border-bottom: 0;
}

.category-list a {
	font-size: 15px;
}

.category-count {
	display: grid;
	min-width: 34px;
	height: 28px;
	place-items: center;
	border-radius: 7px;
	background: var(--color-soft);
	color: var(--r34-muted);
	font-size: 12px;
	font-weight: 800;
}

.popular-list {
	gap: 0;
}

.popular-story {
	grid-template-columns: 70px minmax(0, 1fr);
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--r34-line);
}

.popular-story:last-child {
	border-bottom: 0;
}

.popular-story img {
	width: 70px;
	height: 70px;
	border-radius: 9px;
}

.popular-story__title {
	font-family: var(--r34-display);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.4;
}

.popular-story time {
	color: var(--r34-faint);
	font-size: 12px;
}

/* Immersive reading view. */
.single .site-main,
.page .site-main,
.error404 .site-main {
	background: var(--r34-canvas);
}

.single .article-shell,
.page .article-shell,
.error404 .article-shell {
	width: min(100% - (var(--gutter) * 2), 1180px);
	padding: clamp(34px, 7vw, 88px) 0 clamp(62px, 9vw, 120px);
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.single-entry,
.page-entry {
	position: relative;
}

.single-entry > .entry-header,
.single-entry > .entry-content,
.single-entry > .entry-read-more,
.single-entry > .post-tags,
.single-entry > .author-profile,
.single-entry > .post-navigation,
.single-entry > .ad-slot,
.page-entry > .entry-header,
.page-entry > .entry-content,
	.page-entry > .ad-slot,
	.single .comments-area,
	.single .article-shell > .comments-area {
	width: min(100%, var(--reading));
	margin-inline: auto;
}

.single-entry > .entry-featured-image,
.page-entry > .entry-featured-image {
	width: min(100%, 1060px);
	margin: clamp(32px, 5vw, 60px) auto clamp(40px, 6vw, 72px);
}

.ad-slot__delivery-state[hidden] {
	display: none !important;
}

.ad-slot [data-type="_mgwidget"] {
	width: 100%;
	max-width: 100%;
}

.ad-slot__delivery-state {
	display: flex;
	width: min(100%, 740px);
	min-height: 58px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 15px;
	margin: 10px auto;
	border: 1px dashed color-mix(in srgb, var(--color-accent) 35%, var(--r34-line));
	border-radius: 14px;
	background: color-mix(in srgb, var(--color-accent) 5%, var(--r34-paper));
	color: var(--r34-muted);
	font-family: var(--r34-ui);
	font-size: 12px;
	line-height: 1.45;
	text-align: left;
	text-transform: none;
}

.ad-slot__delivery-state strong {
	flex: 0 0 auto;
	color: var(--r34-accent-ink);
	font-size: 11px;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

.entry-featured-image img {
	width: 100%;
	max-height: 690px;
	border-radius: calc(var(--radius) + 11px);
	box-shadow: none;
	object-fit: cover;
}

.entry-header {
	margin-bottom: clamp(34px, 5vw, 58px);
}

.entry-category {
	min-height: 36px;
	align-items: center;
	padding: 7px 12px;
	margin-bottom: 22px;
	border: 1px solid color-mix(in srgb, var(--color-accent) 26%, var(--r34-line));
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-accent) 8%, var(--color-bg));
	font-size: 11px;
	letter-spacing: 0.12em;
}

.entry-title {
	font-family: var(--r34-display);
	font-size: clamp(32px, 4.2vw, 54px);
	font-weight: 650;
	letter-spacing: -0.03em;
	line-height: 1.16;
	overflow-wrap: anywhere;
}

.entry-deck {
	margin-top: 28px;
	color: var(--r34-muted);
	font-family: var(--r34-display);
	font-size: clamp(18px, 1.8vw, 22px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.6;
}

.entry-meta {
	gap: 12px 15px;
	margin-top: 26px;
	color: var(--r34-muted);
	font-size: 14px;
}

.entry-meta > * + *::before {
	width: 4px;
	height: 4px;
}

.entry-meta__author img {
	width: 38px;
	height: 38px;
	box-shadow: 0 8px 20px -14px rgba(12, 15, 29, 0.75);
}

.entry-content {
	color: var(--r34-ink);
	font-family: var(--r34-display);
	font-size: var(--article-font-size);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.75;
}

@media (min-width: 900px) {
	.single .entry-content .alignwide {
		width: min(1060px, calc(100vw - (var(--gutter) * 2)));
		max-width: none;
		margin-right: 0;
		margin-left: 50%;
		transform: translateX(-50%);
	}

	.single .entry-content .alignfull {
		width: min(1180px, calc(100vw - (var(--gutter) * 2)));
		max-width: none;
		margin-right: 0;
		margin-left: 50%;
		transform: translateX(-50%);
	}
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--r34-ink);
	font-family: var(--r34-ui);
	font-weight: 650;
	letter-spacing: -0.02em;
}

.entry-content a {
	color: var(--r34-accent-ink);
	font-weight: 650;
}

.entry-content blockquote {
	padding: clamp(22px, 4vw, 34px);
	border: 0;
	border-inline-start: 3px solid var(--r34-accent-ink);
	border-radius: 0;
	background: var(--r34-paper);
	color: var(--r34-ink);
	font-size: 1.12em;
	line-height: 1.58;
}

.post-tags a {
	min-height: 38px;
	padding: 8px 12px;
	border-color: var(--r34-line);
	border-radius: 999px;
	background: var(--r34-paper);
	color: var(--r34-muted);
}

.author-profile {
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 24px;
	padding: clamp(24px, 4vw, 36px);
	margin-top: 48px;
	border: 1px solid var(--r34-line);
	border-radius: calc(var(--radius) + 11px);
	background: var(--r34-paper);
	box-shadow: none;
	color: var(--r34-ink);
}

.author-profile__avatar img {
	width: 88px;
	height: 88px;
	border: 3px solid rgba(255, 255, 255, 0.14);
}

.author-profile__content > span {
	color: var(--r34-accent-ink);
}

.author-profile h2 a,
.author-profile__link {
	color: var(--r34-ink);
}

.author-profile p {
	color: var(--r34-muted);
	font-size: 15px;
}

.single-entry .post-navigation .nav-links {
	gap: 16px;
}

.single-entry .post-navigation a {
	min-height: 148px;
	padding: 24px;
	border: 1px solid var(--r34-line);
	border-radius: 20px;
	box-shadow: var(--r34-shadow);
}

.post-navigation__label {
	color: var(--r34-accent-ink);
}

.post-navigation__title {
	font-family: var(--r34-display);
	font-size: 17px;
}

.comments-area {
	padding-top: 48px;
	border-color: var(--r34-line);
}

.comment-body {
	padding: 24px;
	margin-bottom: 14px;
	border: 1px solid var(--r34-line);
	border-radius: 18px;
	background: var(--r34-paper);
}

.comment-list .children {
	padding-left: clamp(10px, 3vw, 24px);
}

/* Rich policy/about components found in existing WordPress page content. */
.page-entry:has(.amx-hero) > .entry-header {
	display: none;
}

.page-entry:has(.amx-hero) > .entry-content {
	width: 100%;
	max-width: none;
	font-family: var(--r34-ui);
}

.amx-hero {
	position: relative;
	padding: clamp(30px, 7vw, 76px);
	border-radius: clamp(24px, 3vw, 38px);
	background:
		radial-gradient(circle at 88% 10%, rgba(130, 232, 207, 0.24), transparent 24%),
		linear-gradient(140deg, #171826, #292d47 68%, #314b59);
	box-shadow: 0 38px 90px -52px rgba(10, 12, 25, 0.8);
	color: #fff;
	overflow: hidden;
}

.amx-hero > p:empty,
.amx-card > p:empty,
.amx-h > p:empty,
.amx-trust-strip > p:empty,
.amx-split-body > p:empty,
.amx-split-aside > p:empty {
	display: none;
}

.amx-hero-kicker,
.amx-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--r34-mint);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.amx-hero-title {
	max-width: 900px;
	margin: 16px 0 0;
	color: #fff;
	font-family: var(--r34-display) !important;
	font-size: clamp(48px, 8vw, 92px) !important;
	font-weight: 650 !important;
	letter-spacing: -0.035em !important;
	line-height: 1.12 !important;
}

.amx-hero-sub {
	max-width: 720px;
	margin: 24px 0 0 !important;
	color: rgba(239, 242, 249, 0.72);
	font-size: clamp(17px, 2.2vw, 22px);
	line-height: 1.6;
}

.amx-page-nav {
	display: flex;
	margin: 18px 0 34px;
}

.amx-page-home,
.amx-btn {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	gap: 9px;
	padding: 9px 15px;
	border: 1px solid var(--r34-line);
	border-radius: 999px;
	background: var(--r34-paper);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.amx-page-home i {
	width: 16px;
	overflow: hidden;
}

.amx-lede {
	max-width: 850px;
	margin: 0 auto clamp(34px, 5vw, 58px) !important;
	font-family: var(--r34-display);
	font-size: clamp(21px, 3vw, 31px);
	line-height: 1.5;
	text-align: center;
}

.amx-trust-strip,
.amx-grid-4,
.amx-grid-3,
.amx-split,
.amx-kv,
.amx-contact-list {
	display: grid;
	gap: 16px;
	margin: clamp(25px, 4vw, 46px) 0;
}

.amx-trust-strip,
.amx-grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.amx-grid-3 {
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.amx-trust-item,
.amx-stat,
.amx-card,
.amx-split-aside,
.amx-note,
.amx-quote,
.amx-kv-row,
.amx-contact-row,
.amx-faq-item {
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--r34-line);
	border-radius: 20px;
	background: var(--r34-paper);
	box-shadow: var(--r34-shadow);
}

.amx-trust-item {
	display: grid;
	gap: 7px;
	align-content: start;
}

.amx-trust-item > span:last-child,
.amx-stat-label {
	color: var(--r34-muted);
	font-size: 14px;
	line-height: 1.45;
}

.amx-ico {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	margin-bottom: 10px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--color-accent) 10%, var(--color-soft));
	color: var(--r34-accent-ink);
}

.amx-ico svg,
.amx-badge svg {
	width: 21px;
	height: 21px;
}

.amx-stat {
	text-align: center;
}

.amx-stat-number {
	display: block;
	font-family: var(--r34-display);
	font-size: clamp(37px, 5vw, 56px);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 1;
}

.amx-h {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-top: clamp(30px, 6vw, 72px);
	margin-top: clamp(34px, 6vw, 70px);
	border-top: 1px solid var(--r34-line);
}

.amx-h-num {
	display: grid;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	place-items: center;
	border-radius: 50%;
	background: var(--r34-night);
	color: #fff;
	font-size: 12px;
	font-weight: 850;
}

.amx-h h2 {
	margin: 0 !important;
	font-size: clamp(28px, 4vw, 46px) !important;
}

.amx-split {
	grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
	align-items: start;
}

.amx-split-body {
	padding: clamp(10px, 2vw, 20px) 0;
}

.amx-split-aside {
	background: var(--r34-night);
	color: #fff;
}

.amx-split-aside p,
.amx-split-aside a {
	color: rgba(242, 244, 250, 0.76);
}

.amx-pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 24px 0;
}

.amx-pill,
.amx-badge {
	min-height: 38px;
	padding: 8px 12px;
	border: 1px solid var(--r34-line);
	border-radius: 999px;
	background: var(--r34-paper);
	color: var(--r34-muted);
	font-size: 13px;
	font-weight: 800;
}

.amx-check {
	display: grid;
	gap: 13px;
	padding: 0;
	margin: 25px 0;
	list-style: none;
}

.amx-check li {
	position: relative;
	padding: 18px 20px 18px 54px;
	border: 1px solid var(--r34-line);
	border-radius: 16px;
	background: color-mix(in srgb, var(--r34-paper) 96%, transparent);
}

.amx-check li::before {
	position: absolute;
	top: 19px;
	left: 19px;
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	border-radius: 50%;
	background: color-mix(in srgb, var(--r34-mint) 28%, var(--color-soft));
	color: #176652;
	content: "✓";
	font-size: 13px;
	font-weight: 900;
}

.amx-card h3 {
	margin-top: 15px !important;
	font-size: 22px !important;
}

.amx-note--info {
	border-color: color-mix(in srgb, var(--r34-lilac) 28%, var(--r34-line));
	background: color-mix(in srgb, var(--r34-lilac) 7%, var(--r34-paper));
}

.amx-note--ok {
	border-color: color-mix(in srgb, var(--r34-mint) 46%, var(--r34-line));
	background: color-mix(in srgb, var(--r34-mint) 9%, var(--r34-paper));
}

.amx-steps {
	counter-reset: amx-step;
	display: grid;
	gap: 13px;
	padding: 0;
	list-style: none;
}

.amx-steps > * {
	counter-increment: amx-step;
	position: relative;
	padding-left: 52px;
}

.amx-steps > *::before {
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 12px;
	background: var(--r34-night);
	color: #fff;
	content: counter(amx-step);
	font-size: 12px;
	font-weight: 850;
}

.amx-faq {
	display: grid;
	gap: 12px;
}

.amx-faq-item summary {
	min-height: 48px;
	cursor: pointer;
	font-weight: 800;
}

.amx-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	padding: clamp(26px, 5vw, 52px);
	margin-top: clamp(38px, 6vw, 72px);
	border-radius: 26px;
	background: var(--r34-night);
	color: #fff;
}

.amx-cta a {
	color: #fff;
}

/* Footer as a publication colophon. */
.site-footer {
	margin-top: 0;
	border: 0;
	background: var(--r34-night);
	color: #fff;
}

.footer-inner {
	padding-block: clamp(36px, 5vw, 60px) 24px;
}

.footer-primary {
	gap: clamp(34px, 6vw, 78px);
}

.footer-branding .site-title,
.footer-navigation a {
	color: #fff;
}

.footer-branding strong {
	display: block;
	margin-top: 16px;
	color: #f4f4f5;
	font-family: var(--r34-display);
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 600;
	letter-spacing: -0.04em;
}

.footer-branding p,
.footer-navigation--quick a,
.site-info {
	color: #b9b9c4;
}

.footer-navigation a {
	min-height: 44px;
	font-size: 14px;
}

.footer-navigation a:hover,
.footer-navigation a:focus-visible,
.footer-navigation .current-menu-item > a,
.footer-navigation .current_page_item > a {
	color: var(--r34-mint);
}

.r34c8-footer-menu-pills .footer-navigation a {
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
}

.r34c8-footer-menu-pills .footer-navigation a:hover,
.r34c8-footer-menu-pills .footer-navigation a:focus-visible,
.r34c8-footer-menu-pills .footer-navigation .current-menu-item > a,
.r34c8-footer-menu-pills .footer-navigation .current_page_item > a {
	border-color: rgba(130, 232, 207, 0.45);
	background: rgba(130, 232, 207, 0.12);
	color: var(--r34-mint);
}

.footer-secondary {
	border-color: rgba(255, 255, 255, 0.12);
}

@media (min-width: 700px) {
	.story-list,
	.r34c8-list-cards .story-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.story-row,
	.story-row.has-display-thumbnail,
	.r34c8-list-cards .story-row,
	.r34c8-list-cards .story-row.has-display-thumbnail {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
		min-height: 0;
	}

	.story-row:not(.has-display-thumbnail),
	.r34c8-list-cards .story-row:not(.has-display-thumbnail) {
		grid-template-rows: 1fr;
		min-height: 290px;
	}

	.r34c8-list-divided .story-row:not(:first-child):not(.has-display-thumbnail) {
		min-height: 0;
	}

	.story-thumbnail img,
	.r34c8-list-cards .story-thumbnail img {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.story-content {
		padding: 12px 10px 10px;
	}

	.story-row:first-child.has-display-thumbnail,
	.r34c8-list-cards .story-row:first-child.has-display-thumbnail {
		grid-column: 1 / -1;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-rows: minmax(320px, auto);
		min-height: 320px;
		padding: 15px;
	}

	.story-row:first-child:not(.has-display-thumbnail),
	.r34c8-list-cards .story-row:first-child:not(.has-display-thumbnail) {
		grid-column: 1 / -1;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		min-height: 0;
	}

	.story-row:first-child .story-thumbnail img {
		min-height: 100%;
	}

	.story-row:first-child .story-content {
		justify-content: center;
		padding: clamp(16px, 2vw, 28px);
	}

	.story-row:first-child .story-title {
		font-size: clamp(26px, 2.5vw, 34px);
	}

	.story-row:first-child .story-excerpt {
		font-size: 17px;
		-webkit-line-clamp: 3;
	}
}

@media (min-width: 1180px) {
	.header-inner {
		grid-template-columns: minmax(190px, auto) minmax(0, 1fr) 230px;
		min-height: 82px;
	}

	.primary-navigation a {
		min-height: 46px;
		padding-inline: 11px;
		font-size: 13px;
	}

	.content-layout.has-sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: clamp(34px, 4vw, 62px);
	}

	.site-sidebar {
		display: block;
	}
}

@media (min-width: 1024px) and (max-width: 1179px) {
	.content-layout.has-sidebar {
		display: block;
	}

	.site-sidebar {
		display: none;
	}
}

@media (max-width: 699px) {
	.site-branding__descriptor {
		display: none;
	}

	.site-branding::before {
		display: none;
	}

	.page-header--stories {
		grid-template-columns: 1fr;
		gap: 20px;
		min-height: 0;
	}

	.page-header__count {
		width: auto;
		min-height: 0;
		gap: 8px;
		justify-self: start;
		padding: 12px 0 0;
	}

	.page-header__count strong {
		font-size: 18px;
	}

	.page-header__count span {
		margin: 0;
	}

	.story-row,
	.story-row.has-display-thumbnail,
	.r34c8-list-cards .story-row,
	.r34c8-list-cards .story-row.has-display-thumbnail {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		min-height: 0;
		padding: 12px;
	}

	.r34c8-list-cards .story-thumbnail {
		min-height: 0;
	}

	.r34c8-list-cards .story-thumbnail img {
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.r34c8-list-cards .story-content {
		padding: 12px 8px 4px;
	}

	.story-title {
		font-size: clamp(20px, 5.8vw, 27px);
	}

	.story-excerpt {
		display: -webkit-box;
	}

	.story-actions > span {
		display: inline;
	}

	.story-cta {
		min-height: 44px;
		padding-inline: 0;
	}

	.entry-title {
		font-size: clamp(30px, 7.2vw, 44px);
	}

	.entry-meta > * + *::before {
		display: none;
	}

	.entry-meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.author-profile {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 16px;
	}

	.author-profile__avatar img {
		width: 64px;
		height: 64px;
	}

	.amx-split {
		grid-template-columns: 1fr;
	}

	.amx-h {
		align-items: flex-start;
	}

	.amx-cta {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (max-width: 430px) {
	:root {
		--gutter: 16px;
	}

	body {
		font-size: 16px;
	}

	.page-header--stories {
		padding: 26px 24px;
	}

	.page-header--stories .page-title {
		font-size: clamp(34px, 9vw, 40px);
	}

	.story-row,
	.story-row.has-display-thumbnail,
	.r34c8-list-cards .story-row,
	.r34c8-list-cards .story-row.has-display-thumbnail {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		min-height: 0;
		padding: 12px;
	}

	.story-thumbnail img,
	.r34c8-list-cards .story-thumbnail img {
		min-height: 0;
	}

	.story-meta {
		font-size: 11px;
	}

	.story-meta time,
	.story-meta__dot {
		display: inline;
	}

	.story-title {
		margin-top: 8px;
		font-size: 24px;
	}

	.story-actions {
		padding-top: 8px;
	}

	.story-cta {
		font-size: 13px;
	}

	.single .article-shell,
	.page .article-shell,
	.error404 .article-shell {
		width: calc(100% - (var(--gutter) * 2));
	}

	.entry-content {
		font-size: var(--article-font-size);
		line-height: 1.75;
	}

	.single-entry .post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.single-entry .post-navigation .nav-next {
		grid-column: 1;
		text-align: left;
	}
}

/*
 * Compact list mode deliberately preserves the dense 2.x reading index.
 * The large feature grid above belongs only to the Editorial cards choice.
 */
.r34c8-list-divided .story-list {
	display: block;
	grid-template-columns: 1fr;
	margin-top: 6px;
}

.r34c8-list-divided .story-row,
.r34c8-list-divided .story-row.has-display-thumbnail,
.r34c8-list-divided .story-row:not(.has-display-thumbnail),
.r34c8-list-divided .story-row:first-child,
.r34c8-list-divided .story-row:first-child.has-display-thumbnail,
.r34c8-list-divided .story-row:first-child:not(.has-display-thumbnail) {
	display: grid;
	grid-column: auto;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: none;
	gap: 12px;
	align-items: start;
	min-height: 0;
	padding: 16px 0;
	border: 0;
	border-bottom: 1px solid var(--r34-line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
	transform: none;
}

.r34c8-list-divided .story-row.has-display-thumbnail,
.r34c8-list-divided .story-row:first-child.has-display-thumbnail {
	grid-template-columns: 92px minmax(0, 1fr);
}

.r34c8-list-divided .story-row:hover,
.r34c8-list-divided .story-row:focus-within,
.r34c8-list-divided .story-row:not(:first-child):hover,
.r34c8-list-divided .story-row:not(:first-child):focus-within {
	border-color: var(--r34-line);
	box-shadow: none;
	transform: none;
}

.r34c8-list-divided .story-thumbnail {
	width: 92px;
	height: 68px;
	min-height: 0;
	border-radius: 7px;
}

.r34c8-list-divided .story-row .story-thumbnail img,
.r34c8-list-divided .story-row:first-child .story-thumbnail img {
	width: 92px;
	height: 68px;
	min-height: 0;
	border-radius: inherit;
}

.r34c8-list-divided .story-row:hover .story-thumbnail img,
.r34c8-list-divided .story-row:focus-within .story-thumbnail img {
	transform: none;
}

.r34c8-list-divided .story-row .story-content,
.r34c8-list-divided .story-row:first-child .story-content {
	display: block;
	align-self: start;
	justify-content: initial;
	padding: 0;
}

.r34c8-list-divided .story-meta {
	gap: 5px 8px;
	margin-bottom: 4px;
	font-size: 11px;
	line-height: 1.25;
}

.r34c8-list-divided .story-meta time,
.r34c8-list-divided .story-meta__dot {
	display: inline;
}

.r34c8-list-divided .story-row .story-title,
.r34c8-list-divided .story-row:first-child .story-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.014em;
	line-height: 1.32;
}

.r34c8-list-divided .story-row .story-excerpt,
.r34c8-list-divided .story-row:first-child .story-excerpt {
	display: -webkit-box;
	margin: 5px 0 0;
	font-size: 13px;
	line-height: 1.5;
	-webkit-line-clamp: 2;
}

.r34c8-list-divided .story-actions {
	display: none;
}

@media (min-width: 640px) {
	.r34c8-list-divided .story-row,
	.r34c8-list-divided .story-row.has-display-thumbnail,
	.r34c8-list-divided .story-row:not(.has-display-thumbnail),
	.r34c8-list-divided .story-row:first-child,
	.r34c8-list-divided .story-row:first-child.has-display-thumbnail,
	.r34c8-list-divided .story-row:first-child:not(.has-display-thumbnail) {
		gap: 18px;
		padding: 22px 0;
	}

	.r34c8-list-divided .story-row.has-display-thumbnail,
	.r34c8-list-divided .story-row:first-child.has-display-thumbnail {
		grid-template-columns: 128px minmax(0, 1fr);
	}

	.r34c8-list-divided .story-thumbnail,
	.r34c8-list-divided .story-row .story-thumbnail img,
	.r34c8-list-divided .story-row:first-child .story-thumbnail img {
		width: 128px;
		height: 96px;
	}

	.r34c8-list-divided .story-meta {
		font-size: 12px;
	}

	.r34c8-list-divided .story-row .story-title,
	.r34c8-list-divided .story-row:first-child .story-title {
		font-size: 20px;
	}

	.r34c8-list-divided .story-row .story-excerpt,
	.r34c8-list-divided .story-row:first-child .story-excerpt {
		font-size: 14px;
	}
}

@media (max-width: 374px) {
	.r34c8-list-divided .story-row,
	.r34c8-list-divided .story-row.has-display-thumbnail {
		gap: 10px;
	}

	.r34c8-list-divided .story-row.has-display-thumbnail,
	.r34c8-list-divided .story-row:first-child.has-display-thumbnail {
		grid-template-columns: 84px minmax(0, 1fr);
	}

	.r34c8-list-divided .story-thumbnail,
	.r34c8-list-divided .story-row .story-thumbnail img,
	.r34c8-list-divided .story-row:first-child .story-thumbnail img {
		width: 84px;
		height: 64px;
	}

	.r34c8-list-divided .story-row .story-title,
	.r34c8-list-divided .story-row:first-child .story-title {
		font-size: 17px;
	}

	.r34c8-list-divided .story-row .story-excerpt,
	.r34c8-list-divided .story-row:first-child .story-excerpt {
		display: none;
	}
}

/* Always-visible, touch-friendly navigation for the mobile pill mode. */
@media (max-width: 1179px) {
	body.r34c8-mobile-menu-pills .header-inner {
		grid-template-columns: 48px minmax(0, 1fr) 48px;
		grid-template-rows: auto auto;
		gap: 0 8px;
		padding-block: 8px 12px;
	}

	body.r34c8-mobile-menu-pills .mobile-control--menu {
		display: none;
	}

	body.r34c8-mobile-menu-pills .site-branding,
	body.r34c8-mobile-menu-pills .mobile-control--search {
		grid-row: 1;
	}

	body.r34c8-mobile-menu-pills .primary-navigation {
		display: block;
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
		min-width: 0;
		padding-top: 10px;
		margin-top: 8px;
		border-top: 1px solid var(--r34-line);
	}

	body.r34c8-mobile-menu-pills .primary-navigation > ul {
		display: flex;
		max-width: 100%;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 8px;
	}

	body.r34c8-mobile-menu-pills .primary-navigation li {
		min-width: 0;
		max-width: 100%;
	}

	body.r34c8-mobile-menu-pills .primary-navigation > ul > li {
		flex: 0 1 auto;
	}

	body.r34c8-mobile-menu-pills .primary-navigation a {
		display: inline-flex;
		min-height: 44px;
		max-width: 100%;
		align-items: center;
		justify-content: center;
		padding: 9px 14px;
		border: 1px solid var(--r34-line);
		border-radius: 999px;
		background: var(--r34-paper);
		box-shadow: none;
		color: var(--r34-ink);
		font-size: 14px;
		font-weight: 600;
		line-height: 1.2;
		overflow-wrap: anywhere;
		text-align: center;
		text-decoration: none;
		white-space: normal;
	}

	body.r34c8-mobile-menu-pills .primary-navigation a:hover,
	body.r34c8-mobile-menu-pills .primary-navigation a:focus-visible,
	body.r34c8-mobile-menu-pills .primary-navigation a[aria-current="page"],
	body.r34c8-mobile-menu-pills .primary-navigation .current-menu-item > a,
	body.r34c8-mobile-menu-pills .primary-navigation .current-menu-parent > a,
	body.r34c8-mobile-menu-pills .primary-navigation .current-menu-ancestor > a,
	body.r34c8-mobile-menu-pills .primary-navigation .current_page_item > a,
	body.r34c8-mobile-menu-pills .primary-navigation .current_page_ancestor > a {
		border-color: color-mix(in srgb, var(--color-accent) 38%, var(--r34-line));
		background: color-mix(in srgb, var(--color-accent) 11%, var(--r34-paper));
		color: var(--r34-accent-ink);
	}

	body.r34c8-mobile-menu-pills .primary-navigation > ul > li.menu-item-has-children {
		display: flex;
		flex: 1 1 100%;
		flex-wrap: wrap;
		align-items: center;
		gap: 7px;
	}

	body.r34c8-mobile-menu-pills .primary-navigation .sub-menu {
		position: static;
		display: flex;
		width: auto;
		min-width: 0;
		flex: 1 1 100%;
		flex-wrap: wrap;
		gap: 6px;
		padding: 2px 0 0;
		padding-inline-start: 10px;
		margin: 0;
		border: 0;
		border-inline-start: 2px solid color-mix(in srgb, var(--color-accent) 22%, var(--r34-line));
		background: transparent;
		box-shadow: none;
	}

	body.r34c8-mobile-menu-pills .primary-navigation .sub-menu::before {
		display: none;
	}

	body.r34c8-mobile-menu-pills .primary-navigation .sub-menu li {
		flex: 0 1 auto;
	}

	body.r34c8-mobile-menu-pills .primary-navigation .sub-menu a {
		min-height: 44px;
		padding: 8px 12px;
		background: color-mix(in srgb, var(--color-panel) 70%, var(--color-soft));
		font-size: 13px;
		font-weight: 650;
	}
}

@media (max-width: 374px) {
	body.r34c8-mobile-menu-pills .primary-navigation > ul,
	body.r34c8-mobile-menu-pills .primary-navigation > ul > li.menu-item-has-children,
	body.r34c8-mobile-menu-pills .primary-navigation .sub-menu {
		gap: 6px;
	}

	body.r34c8-mobile-menu-pills .primary-navigation > ul > li:not(.menu-item-has-children),
	body.r34c8-mobile-menu-pills .primary-navigation .sub-menu li {
		flex: 1 1 calc(50% - 3px);
	}

	body.r34c8-mobile-menu-pills .primary-navigation > ul > li:not(.menu-item-has-children) > a,
	body.r34c8-mobile-menu-pills .primary-navigation .sub-menu a {
		width: 100%;
		padding-inline: 9px;
		font-size: 12px;
	}
}

/* Avoid trapping short screens behind a tall, wrapped sticky masthead. */
@media (max-width: 1179px) and (max-height: 620px) {
	body.r34c8-mobile-menu-pills.r34c8-sticky-header .site-header,
	body.admin-bar.r34c8-mobile-menu-pills.r34c8-sticky-header .site-header {
		position: relative;
		top: auto;
	}
}

/* Finish shared controls without changing embedded advertising surfaces. */
.r34c8-list-cards .story-thumbnail {
	position: relative;
	align-self: stretch;
	min-height: 0;
	aspect-ratio: 16 / 10;
}

.r34c8-list-cards .story-row .story-thumbnail img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
	object-fit: cover;
}

@media (min-width: 700px) {
	.r34c8-list-cards .story-row:first-child .story-thumbnail {
		aspect-ratio: auto;
	}
}

.page-header__copy,
.story-actions,
.site-sidebar,
.popular-story > div {
	min-width: 0;
}

.popular-story__title,
.category-list a,
.entry-content,
.comment-content {
	overflow-wrap: anywhere;
}

.search-form__field-wrap {
	min-width: 0;
}

.search-form__field-wrap .search-submit {
	width: 46px;
	height: 46px;
	border-radius: calc(var(--radius) + 4px);
}

.search-form .search-field {
	padding-inline-end: 50px;
}

.search-field::placeholder {
	color: var(--r34-faint);
	opacity: 1;
}

.comment-form input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	min-height: 0;
	margin: 3px 0 0;
	accent-color: var(--r34-accent-ink);
}

.comment-form-cookies-consent label {
	font-size: 14px;
	line-height: 1.6;
}

.category-list a {
	padding-block: 4px;
}

.single .site-main,
.page .site-main,
.error404 .site-main {
	padding: 0;
}

.empty-state {
	max-width: 680px;
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--r34-line);
	border-radius: calc(var(--radius) + 11px);
	background: var(--r34-paper);
}

.empty-state h2 {
	margin: 0;
	font-family: var(--r34-display);
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 600;
	letter-spacing: -0.025em;
}

.empty-state__eyebrow {
	display: block;
	margin-bottom: 18px;
	color: var(--r34-accent-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.error404 .empty-state {
	margin-inline: auto;
}

.load-more-button {
	border: 1px solid var(--r34-line);
}

.load-more-button[aria-busy="true"] .icon {
	border: 2px solid currentColor;
	border-inline-end-color: transparent;
	border-radius: 50%;
	stroke: transparent;
	animation: r34-loading 800ms linear infinite;
}

@keyframes r34-loading {
	to { transform: rotate(360deg); }
}

@media (min-width: 1180px) {
	.desktop-search .search-form .search-field {
		min-height: 44px;
		font-size: 14px;
	}

	.desktop-search .search-form__field-wrap .search-submit {
		width: 42px;
		height: 42px;
	}

	.no-js .primary-navigation > ul {
		flex-wrap: wrap;
	}

	.no-js .header-inner {
		padding-block: 12px;
	}
}

@media (max-width: 1179px) {
	.search-form .search-field,
	.search-form .category-filter {
		font-size: 16px;
	}

	.mobile-panel {
		max-height: calc(100dvh - var(--r34-header-bottom, 180px) - 12px);
		overscroll-behavior: contain;
	}

	.mobile-panel__header {
		flex-wrap: wrap;
		gap: 4px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.story-row,
	.story-thumbnail img,
	.story-cta,
	.load-more-button {
		transition: none !important;
	}
}

@media print {
	:root {
		--color-bg: #fff;
		--color-text: #000;
		--color-muted: #333;
		--color-meta: #444;
		--color-divider: #bbb;
		--color-soft: #fff;
		--color-panel: #fff;
		--r34-canvas: #fff;
		--r34-paper: #fff;
		--r34-ink: #000;
		--r34-muted: #333;
		--r34-faint: #444;
		--r34-line: #bbb;
		--r34-accent-ink: #000;
	}

	body,
	.single .site-main,
	.page .site-main {
		--r34-accent-ink: #000;
		background: #fff !important;
	}

	.single .article-shell,
	.page .article-shell {
		width: 100%;
		padding: 0;
	}

	.page-header--stories,
	.author-profile,
	.amx-hero,
	.amx-cta,
	.site-footer {
		border: 1px solid #bbb !important;
		background: #fff !important;
		box-shadow: none !important;
		color: #000 !important;
	}

	.page-header--stories *,
	.author-profile *,
	.amx-hero *,
	.amx-cta *,
	.site-footer * {
		color: #000 !important;
	}
}

/* Shared story discovery and companion sections; no reader controls required. */
.reader-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; padding:8px 12px; border:1px solid var(--r34-line); border-radius:9px; background:var(--color-panel); color:var(--r34-ink); font:600 13px/1.3 var(--r34-ui); text-decoration:none; cursor:pointer; }
.reader-button:hover { background:var(--color-soft); color:var(--r34-accent-ink); }
.reader-button:disabled { opacity:.45; cursor:default; }
.reader-button[aria-pressed="true"] { color:var(--r34-accent-ink); background:color-mix(in srgb,var(--color-accent) 9%,var(--color-panel)); }
.reader-topics { display:flex; gap:8px; padding:2px 2px 14px; margin:22px 0 8px; overflow-x:auto; scrollbar-width:thin; }
.reader-topics a { flex:none; padding:10px 16px; border:1px solid var(--r34-line); border-radius:100px; background:var(--color-panel); color:var(--r34-muted); font-size:13px; font-weight:600; text-decoration:none; }
.reader-topics a[aria-current] { background:var(--r34-night); border-color:var(--r34-night); color:#fff; }
.reader-card { min-width:0; overflow:hidden; border:1px solid var(--r34-line); border-radius:16px; background:var(--color-panel); }
.reader-card-image { display:block; }
.reader-card-image img { display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; }
.reader-card-copy { padding:20px; }
.reader-eyebrow { color:var(--r34-accent-ink); font-size:11px; line-height:1.4; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.reader-card h2 { margin:10px 0 16px; font:650 19px/1.35 var(--r34-ui); letter-spacing:-.03em; overflow-wrap:anywhere; }
.reader-card h2 a { color:var(--r34-ink); text-decoration:none; }
.reader-card h2 a:hover { text-decoration:underline; text-underline-offset:4px; }
.reader-card-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.reader-card-actions>a { color:var(--r34-accent-ink); font-size:13px; font-weight:650; text-decoration:none; padding-block:12px; }
.reader-card--featured { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; margin:16px 0 32px; }
.reader-card--featured .reader-card-image img { height:100%; min-height:280px; }
.reader-card--featured .reader-card-copy { display:flex; flex-direction:column; justify-content:center; padding:28px; }
.reader-card--featured h2 { font-size:clamp(23px,2.3vw,32px); line-height:1.22; }
.reader-card--featured p { margin:0 0 18px; font-size:15px; color:var(--r34-muted); }
.reader-card--featured:not(:has(.reader-card-image)) { grid-template-columns:1fr; }
.reader-next { margin-block:48px; }
.reader-section-heading { margin-bottom:22px; }
.reader-section-heading h2 { font-size:30px; margin:6px 0 0; letter-spacing:-.035em; }
.reader-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.reader-card-grid .reader-card-copy { padding:16px; }
.reader-card-grid .reader-card h2 { font-size:17px; }
.reader-series,.reader-newsletter { margin:32px 0; padding:24px; border:1px solid var(--r34-line); border-radius:16px; background:var(--color-soft); }
.reader-series h2,.reader-newsletter h2 { font-size:25px; margin:8px 0 12px; letter-spacing:-.03em; line-height:1.3; }
.reader-series-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.reader-series ol { padding-inline-start:22px; font-size:15px; }
.reader-series li { padding:6px 0; }
.reader-series a { color:var(--r34-accent-ink); }
.reader-newsletter { background:var(--r34-night); color:#fff; }
.reader-newsletter .reader-eyebrow { color:var(--r34-mint); }
.reader-newsletter p { color:#c9cada; font-size:15px; }
.reader-newsletter .reader-button { color:#171826; background:#fff; }
[hidden] { display:none!important; }
@media(max-width:700px) {
	.reader-card--featured { grid-template-columns:1fr; }
	.reader-card--featured .reader-card-image img { height:auto; min-height:0; aspect-ratio:16/9; }
	.reader-card--featured .reader-card-copy { padding:22px; }
	.reader-card-grid { grid-template-columns:1fr; }
	.reader-card-grid .reader-card { display:grid; grid-template-columns:110px 1fr; }
	.reader-card-grid .reader-card:not(:has(.reader-card-image)) { grid-template-columns:1fr; }
	.reader-card-grid .reader-card-image img { height:100%; aspect-ratio:auto; }
}
