/*
Theme Name: R34C8 Mini
Author: R34C8
Description: An ultra-lightweight, mobile-first WordPress theme for calm, content-first story publishing.
Version: 2.8.3
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: r34c8-mini
Tags: blog, news, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
	--color-bg: #ffffff;
	--color-text: #111111;
	--color-muted: #666666;
	--color-meta: #777777;
	--color-divider: #eaeaea;
	--color-soft: #f7f7f7;
	--color-panel: #ffffff;
	--color-control: #ffffff;
	--color-accent: #f4511e;
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--container: 1320px;
	--reading: 740px;
	--article-font-size: 20px;
	--radius: 5px;
	--ad-min-height-mobile: 120px;
	--ad-min-height-desktop: 180px;
	--gutter: clamp(20px, 4vw, 32px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.55;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
summary {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: var(--color-text);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

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

:focus-visible {
	outline: 3px solid #f7aa91;
	outline: 3px solid color-mix(in srgb, var(--color-accent) 45%, white);
	outline-offset: 3px;
}

::selection {
	background: #fde4dc;
	background: color-mix(in srgb, var(--color-accent) 22%, white);
}

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

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto !important;
	background: var(--color-bg);
	color: var(--color-text);
	font-weight: 700;
	white-space: normal;
}

.site-container {
	width: min(100% - (var(--gutter) * 2), var(--container));
	margin-inline: auto;
}

/* Header */
.site-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--color-divider);
	background: var(--color-panel);
}

.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 30;
	width: 100%;
	height: 3px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease;
}

.reading-progress.is-visible {
	opacity: 1;
}

.reading-progress__bar {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--color-accent);
	box-shadow: 0 1px 5px color-mix(in srgb, var(--color-accent) 45%, transparent);
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}

.admin-bar .reading-progress {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .reading-progress {
		top: 46px;
	}
}

.header-inner {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	align-items: center;
	min-height: 62px;
}

.site-branding {
	grid-column: 2;
	justify-self: center;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	line-height: 1;
}

.site-title {
	display: inline-flex;
	align-items: baseline;
	max-width: 100%;
	color: var(--color-text);
	font-size: clamp(20px, 6vw, 25px);
	font-weight: 800;
	letter-spacing: -0.045em;
	overflow: hidden;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.site-title__suffix {
	font-size: 0.72em;
	font-weight: 400;
	letter-spacing: -0.035em;
}

.custom-logo-link {
	display: block;
}

.custom-logo {
	width: auto;
	max-width: min(210px, calc(100vw - 132px));
	height: 34px;
	object-fit: contain;
}

.mobile-control {
	position: static;
	margin: 0;
}

.mobile-control--menu {
	grid-column: 1;
	grid-row: 1;
}

.mobile-control--search {
	grid-column: 3;
	grid-row: 1;
}

.mobile-control > summary {
	display: grid;
	width: 44px;
	height: 44px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: var(--color-text);
	cursor: pointer;
	list-style: none;
}

.mobile-control > summary::-webkit-details-marker {
	display: none;
}

.mobile-control > summary:hover {
	background: var(--color-soft);
}

.mobile-control[open] > summary {
	background: var(--color-soft);
}

.icon {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.mobile-panel {
	position: absolute;
	top: calc(100% + 1px);
	left: 0;
	width: 100%;
	max-height: calc(100vh - 63px);
	padding: 18px var(--gutter) 22px;
	overflow: auto;
	border-bottom: 1px solid var(--color-divider);
	background: var(--color-panel);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.mobile-navigation ul,
.primary-navigation ul,
.footer-navigation ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.mobile-navigation a {
	display: block;
	padding: 11px 2px;
	border-bottom: 1px solid var(--color-divider);
	font-size: 17px;
	font-weight: 650;
	text-decoration: none;
}

.mobile-navigation li:last-child a {
	border-bottom: 0;
}

.primary-navigation,
.desktop-search {
	display: none;
}

/* Search */
.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.search-form__field-wrap {
	position: relative;
	display: flex;
	flex: 1 1 210px;
}

.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 {
	width: 100%;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid var(--color-divider);
	border-radius: var(--radius);
	background: var(--color-control);
	color: var(--color-text);
}

.search-form .search-field {
	padding-right: 44px;
}

.search-submit {
	display: grid;
	width: 42px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: var(--color-text);
	cursor: pointer;
}

.search-submit:hover {
	background: var(--color-soft);
	color: var(--color-accent);
}

.search-form__field-wrap .search-submit {
	position: absolute;
	top: 1px;
	right: 1px;
	height: 42px;
}

.search-form .category-filter {
	flex: 1 1 100%;
}

/* Main story index */
.site-main {
	min-height: 55vh;
}

.content-layout {
	display: block;
	padding-block: 22px 40px;
}

.content-primary {
	min-width: 0;
}

.page-header {
	margin-bottom: 4px;
}

.page-title {
	margin: 0;
	font-size: clamp(24px, 4vw, 30px);
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.archive-description {
	max-width: 65ch;
	margin: 10px 0 0;
	color: var(--color-muted);
}

.archive-description p {
	margin: 0;
}

.story-list {
	margin-top: 6px;
}

.story-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid var(--color-divider);
}

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

.story-thumbnail {
	display: block;
	align-self: start;
	border-radius: 5px;
	overflow: hidden;
	background: var(--color-soft);
}

.story-thumbnail img {
	width: 92px;
	height: 68px;
	object-fit: cover;
}

.story-content {
	min-width: 0;
}

.story-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 8px;
	margin-bottom: 4px;
	color: var(--color-meta);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
}

.story-category {
	color: var(--color-accent);
	font-weight: 750;
	text-decoration: none;
}

.story-category:hover {
	text-decoration: underline;
}

.story-meta__dot {
	color: var(--color-meta);
}

.story-title {
	margin: 0;
	font-size: 16px;
	font-weight: 750;
	letter-spacing: -0.014em;
	line-height: 1.24;
}

.story-title a {
	color: inherit;
	text-decoration: none;
}

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

.story-excerpt {
	display: -webkit-box;
	margin: 5px 0 0;
	overflow: hidden;
	color: var(--color-muted);
	font-size: 13px;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.story-excerpt p,
.entry-deck p {
	margin: 0;
}

.load-more-wrap {
	margin-top: 20px;
}

.load-more-button,
.button,
.comment-form input[type="submit"] {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 1px solid var(--color-accent);
	border-radius: var(--radius);
	background: var(--color-panel);
	color: var(--color-accent);
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.load-more-button {
	width: 100%;
	gap: 8px;
}

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

.load-more-button[aria-busy="true"] {
	cursor: wait;
	opacity: 0.68;
}

.load-more-button .icon {
	width: 17px;
	height: 17px;
}

.js .posts-navigation--fallback {
	display: none;
}

.no-js .load-more-wrap {
	display: none;
}

.posts-navigation {
	margin-top: 20px;
}

.posts-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.posts-navigation a {
	font-weight: 700;
}

/* Advertisements */
.ad-slot {
	display: grid;
	width: 100%;
	min-height: var(--ad-min-height-mobile);
	place-items: center;
	padding: 16px;
	border: 1px solid var(--color-divider);
	background: var(--color-soft);
	color: var(--color-meta);
	font-size: 12px;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.ad-slot .widget {
	width: 100%;
	margin: 0;
}

.ad-slot__label {
	display: block;
	letter-spacing: 0.035em;
}

.ad-slot.has-ad-widget,
.ad-slot.has-ad-code {
	display: block;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	overflow: visible;
	text-align: initial;
	text-transform: none;
}

.ad-slot.has-ad-code iframe,
.ad-slot.has-ad-code img,
.ad-slot.has-ad-code video,
.ad-slot.has-ad-widget iframe,
.ad-slot.has-ad-widget img,
.ad-slot.has-ad-widget video {
	max-width: 100%;
}

.ad-slot--site-top,
.ad-slot--footer {
	border-right: 0;
	border-left: 0;
}

.ad-slot--home-top {
	margin-bottom: 18px;
}

.ad-slot--article-top {
	margin: 26px auto 38px;
}

.ad-slot--inline,
.ad-slot--article-end,
.ad-slot--article-before-content,
.ad-slot--page-before-content,
.ad-slot--page-after-content {
	margin: 38px 0;
}

.ad-slot--archive-top {
	margin-bottom: 18px;
}

.ad-slot--sidebar {
	margin-bottom: 22px;
}

/* Sidebar */
.site-sidebar {
	display: none;
}

.sidebar-section,
.site-sidebar .widget {
	padding: 20px;
	margin: 0 0 22px;
	border: 1px solid var(--color-divider);
	border-radius: 4px;
}

.sidebar-title,
.site-sidebar .widget-title {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.3;
}

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

.category-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 7px 0;
}

.category-list a {
	font-weight: 600;
	text-decoration: none;
}

.category-count {
	color: var(--color-meta);
	font-size: 13px;
}

.popular-list {
	display: grid;
	gap: 14px;
}

.popular-story {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 10px;
}

.popular-story:not(.has-display-thumbnail) {
	grid-template-columns: minmax(0, 1fr);
}

.popular-story img {
	width: 56px;
	height: 45px;
	border-radius: 4px;
	object-fit: cover;
}

.popular-story__title {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.32;
}

.popular-story__title a {
	text-decoration: none;
}

.popular-story time {
	display: block;
	margin-top: 3px;
	color: var(--color-meta);
	font-size: 11px;
}

.widget ul {
	padding-left: 20px;
}

/* Single article and pages */
.article-shell {
	width: min(100% - (var(--gutter) * 2), var(--reading));
	margin-inline: auto;
	padding-bottom: 48px;
}

.single .article-shell {
	width: 100%;
	padding: clamp(34px, 7vw, 52px) var(--gutter) 48px;
	background: var(--color-panel);
}

.single .article-shell > .ad-slot--article-top:first-child {
	margin-top: 0;
}

.single .site-main,
.page .site-main,
.error404 .site-main {
	min-height: 65vh;
}

.entry-header {
	margin-bottom: 28px;
}

.entry-category {
	display: inline-flex;
	margin-bottom: 13px;
	color: var(--color-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.075em;
	text-decoration: none;
	text-transform: uppercase;
}

.entry-category:hover {
	text-decoration: underline;
}

.entry-title {
	margin: 0;
	font-size: clamp(34px, 8.8vw, 56px);
	font-weight: 800;
	letter-spacing: -0.038em;
	line-height: 1.09;
	text-wrap: balance;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px 12px;
	margin-top: 18px;
	color: var(--color-meta);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.35;
}

.entry-title.screen-reader-text + .entry-meta {
	margin-top: 0;
}

.entry-title.screen-reader-text + .entry-deck {
	margin-top: 0;
}

.entry-meta > * {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.entry-meta > * + *::before {
	width: 3px;
	height: 3px;
	margin-right: 5px;
	border-radius: 50%;
	background: currentColor;
	content: "";
	opacity: 0.55;
}

.entry-meta__author img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}

.entry-meta a {
	color: var(--color-text);
	font-weight: 750;
	text-decoration: none;
}

.entry-meta a:hover {
	color: var(--color-accent);
}

.entry-meta__updated {
	color: var(--color-accent);
}

.entry-header--author-only {
	margin-bottom: clamp(30px, 5vw, 46px);
}

.entry-header--author-only .entry-meta {
	margin-top: 0;
	font-size: 16px;
}

.entry-header--author-only .entry-meta__author {
	gap: 12px;
}

.entry-header--author-only .entry-meta__author img {
	width: 48px;
	height: 48px;
	box-shadow: 0 8px 18px -12px rgba(15, 23, 42, 0.75);
}

.entry-header--author-only .entry-meta__author a {
	font-size: 17px;
}

.entry-deck {
	margin: 24px 0 0;
	color: var(--color-muted);
	font-size: clamp(18px, 4.7vw, 21px);
	line-height: 1.55;
}

.entry-featured-image {
	margin: 0 0 32px;
}

.entry-featured-image img {
	width: 100%;
	border-radius: var(--radius);
}

.entry-content {
	font-size: clamp(17px, 4.7vw, var(--article-font-size));
	line-height: 1.75;
}

.entry-content--gated > [hidden] {
	display: none !important;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content figure,
.entry-content pre,
.entry-content table {
	margin-top: 0;
	margin-bottom: 1.42em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.7em 0 0.6em;
	letter-spacing: -0.024em;
	line-height: 1.2;
}

.entry-content h2 {
	font-size: 1.65em;
}

.entry-content h3 {
	font-size: 1.35em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content li + li {
	margin-top: 0.45em;
}

.entry-content blockquote {
	padding-left: 1.1em;
	border-left: 3px solid var(--color-accent);
	color: var(--color-muted);
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content a {
	color: var(--color-accent);
}

.entry-content code,
.entry-content pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.entry-content code {
	font-size: 0.88em;
}

.entry-content pre {
	max-width: 100%;
	padding: 18px;
	overflow-x: auto;
	background: var(--color-soft);
	font-size: 14px;
	line-height: 1.55;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.86em;
}

.entry-content th,
.entry-content td {
	padding: 10px;
	border: 1px solid var(--color-divider);
	text-align: left;
}

.entry-content figcaption {
	margin-top: 8px;
	color: var(--color-meta);
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
}

.entry-content .alignwide {
	width: min(100vw - (var(--gutter) * 2), 980px);
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

@keyframes r34c8-reveal-ease {
	from {
		opacity: 0;
		translate: 0 -10px;
	}

	to {
		opacity: 1;
		translate: 0 0;
	}
}

.entry-content > .is-revealing {
	animation: r34c8-reveal-ease 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.entry-read-more {
	display: flex;
	justify-content: center;
	margin-top: 22px;
	overflow-anchor: none;
}

.entry-content--gated {
	overflow-anchor: none;
}

.entry-read-more__button {
	display: inline-flex;
	width: auto;
	max-width: 100%;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 6px 7px 6px 14px;
	border: 1px solid var(--color-divider);
	border-color: color-mix(in srgb, var(--color-accent) 24%, var(--color-divider));
	border-radius: 999px;
	background: var(--color-panel);
	box-shadow: 0 7px 18px -14px rgba(15, 23, 42, 0.68);
	color: var(--color-text);
	cursor: pointer;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.15;
	text-align: left;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.entry-read-more__button:hover,
.entry-read-more__button:focus-visible {
	border-color: var(--color-accent);
	box-shadow: 0 10px 22px -15px rgba(15, 23, 42, 0.74);
	transform: translateY(-1px);
}

.entry-read-more__amount,
.entry-read-more__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.entry-read-more__amount {
	min-height: 22px;
	padding: 4px 7px;
	border-radius: 999px;
	background: var(--color-soft);
	color: var(--color-accent);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.entry-read-more__amount[hidden] {
	display: none;
}

.entry-read-more__arrow {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--color-accent);
	color: #ffffff;
	font-size: 13px;
}

.entry-read-more__button.is-complete {
	border-color: var(--color-divider);
	box-shadow: none;
	cursor: default;
	opacity: 0.78;
	transform: none;
}

.entry-read-more.is-active + .ad-slot--article-end {
	margin-top: 16px;
}

.page-links {
	margin: 28px 0;
	font-weight: 700;
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 34px;
	font-size: 13px;
}

.post-tags a {
	padding: 4px 8px;
	border: 1px solid var(--color-divider);
	border-radius: 3px;
	color: var(--color-muted);
	text-decoration: none;
}

.post-tags a:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.author-profile {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	padding: 24px;
	margin-top: 38px;
	border-radius: calc(var(--radius) + 9px);
	background: var(--color-soft);
	box-shadow: 0 14px 30px -24px rgba(15, 23, 42, 0.52);
}

.author-profile__avatar img {
	display: block;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	object-fit: cover;
}

.author-profile__content > span {
	display: block;
	margin-bottom: 3px;
	color: var(--color-accent);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.author-profile h2 {
	margin: 0;
	font-size: 23px;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.author-profile h2 a,
.author-profile__link {
	color: inherit;
	text-decoration: none;
}

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

.author-profile p {
	margin: 9px 0 0;
	color: var(--color-muted);
	font-size: 14px;
	line-height: 1.55;
}

.author-profile__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 11px;
	font-size: 12px;
	font-weight: 750;
}

.single-entry .post-navigation {
	margin-top: 34px;
}

.single-entry .post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

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

.single-entry .post-navigation a {
	display: flex;
	min-height: 112px;
	flex-direction: column;
	justify-content: center;
	padding: 17px 18px;
	border-radius: calc(var(--radius) + 7px);
	background: var(--color-panel);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 14px 28px -21px rgba(15, 23, 42, 0.5);
	color: inherit;
	text-decoration: none;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.single-entry .post-navigation a:hover,
.single-entry .post-navigation a:focus-visible {
	box-shadow:
		0 2px 5px rgba(15, 23, 42, 0.07),
		0 18px 34px -20px rgba(15, 23, 42, 0.58);
	transform: translateY(-2px);
}

.post-navigation__label {
	display: block;
	margin-bottom: 7px;
	color: var(--color-accent);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-navigation__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

/* Comments */
.comments-area {
	width: min(100% - (var(--gutter) * 2), var(--reading));
	padding: 38px 0 60px;
	margin-inline: auto;
	border-top: 1px solid var(--color-divider);
}

.single .article-shell > .comments-area {
	width: 100%;
	padding-bottom: 0;
	margin-top: 48px;
}

.comments-title,
.comment-reply-title {
	margin: 0 0 22px;
	font-size: 24px;
	line-height: 1.25;
}

.comment-list {
	padding: 0;
	margin: 0 0 32px;
	list-style: none;
}

.comment-list .children {
	padding-left: 24px;
	list-style: none;
}

.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--color-divider);
}

.comment-meta {
	font-size: 13px;
}

.comment-author .avatar {
	float: left;
	width: 38px;
	height: 38px;
	margin-right: 10px;
	border-radius: 50%;
}

.comment-content {
	clear: both;
	padding-top: 10px;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-weight: 700;
}

.comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.comment-form-cookies-consent label {
	font-weight: 400;
}

/* Empty and error states */
.empty-state {
	max-width: 680px;
	padding: 42px 0;
}

.empty-state p {
	color: var(--color-muted);
}

.empty-state .search-form {
	margin-top: 24px;
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--color-divider);
	background: var(--color-panel);
}

.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	padding-block: 22px;
	color: var(--color-muted);
	font-size: 13px;
	text-align: center;
}

.site-info {
	margin: 0;
}

.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	justify-content: center;
}

.footer-navigation a {
	color: var(--color-muted);
	text-decoration: none;
}

.footer-navigation--quick {
	width: 100%;
}

.r34c8-hide-sidebar .content-layout.has-sidebar {
	display: block;
}

.r34c8-hide-sidebar .site-sidebar {
	display: none;
}

.r34c8-list-cards .story-list {
	display: grid;
	gap: 16px;
	margin-top: 18px;
}

.r34c8-list-cards .story-row,
.r34c8-list-cards .story-row.has-display-thumbnail {
	position: relative;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 0;
	border-radius: calc(var(--radius) + 7px);
	background: var(--color-panel);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 14px 28px -20px rgba(15, 23, 42, 0.48);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.r34c8-list-cards .story-row:hover,
.r34c8-list-cards .story-row:focus-within {
	box-shadow:
		0 2px 5px rgba(15, 23, 42, 0.06),
		0 18px 34px -20px rgba(15, 23, 42, 0.58);
	transform: translateY(-2px);
}

.r34c8-list-cards .story-thumbnail,
.r34c8-list-cards .story-content {
	align-self: center;
}

.r34c8-list-cards .story-thumbnail {
	border-radius: calc(var(--radius) + 2px);
	box-shadow: 0 5px 14px -10px rgba(15, 23, 42, 0.7);
}

@media (max-width: 639px) {
	.single-entry .post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

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

	.single-entry .post-navigation a {
		min-height: 94px;
	}
}

@media (max-width: 374px) {
	.author-profile {
		grid-template-columns: 58px minmax(0, 1fr);
		gap: 14px;
		padding: 18px;
	}

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

	.story-row.has-display-thumbnail {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 10px;
	}

	.story-thumbnail img {
		width: 84px;
		height: 64px;
	}

	.story-title {
		font-size: 15px;
	}

	.story-excerpt {
		display: none;
	}
}

@media (min-width: 640px) {
	.content-layout {
		padding-block: 30px 52px;
	}

	.story-row,
	.story-row.has-display-thumbnail {
		gap: 18px;
		padding: 18px 0;
	}

	.story-row.has-display-thumbnail {
		grid-template-columns: 108px minmax(0, 1fr);
	}

	.story-thumbnail img {
		width: 108px;
		height: 74px;
	}

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

	.story-title {
		font-size: 18px;
	}

	.story-excerpt {
		font-size: 14px;
	}

	.footer-inner {
		flex-direction: row;
		flex-wrap: wrap;
		text-align: left;
	}
}

@media (min-width: 768px) {
	.ad-slot.is-placeholder {
		min-height: var(--ad-min-height-desktop);
	}

	.article-shell {
		padding-bottom: 64px;
	}

	.single .site-main {
		padding: clamp(42px, 6vw, 76px) var(--gutter) clamp(56px, 8vw, 96px);
		background: var(--color-soft);
	}

	.single .article-shell {
		--single-card-padding: clamp(34px, 5vw, 64px);
		width: min(100%, calc(var(--reading) + (var(--single-card-padding) * 2)));
		padding: clamp(46px, 6vw, 72px) var(--single-card-padding) 64px;
		border: 1px solid var(--color-divider);
		border-radius: calc(var(--radius) + 17px);
		box-shadow:
			0 3px 8px rgba(15, 23, 42, 0.04),
			0 30px 80px -42px rgba(15, 23, 42, 0.5);
	}

	.single .entry-content .alignwide,
	.single .entry-content .alignfull {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		transform: none;
	}

	.ad-slot--article-top {
		margin-top: 40px;
		margin-bottom: 54px;
	}

	.entry-header {
		margin-bottom: 38px;
	}

	.entry-deck {
		margin-top: 26px;
	}
}

@media (min-width: 1360px) {
	.header-inner {
		grid-template-columns: auto minmax(0, 1fr) 210px;
		gap: 30px;
		min-height: 64px;
	}

	.site-header.header-no-search .header-inner {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.site-branding {
		grid-column: 1;
		justify-self: start;
		max-width: 200px;
	}

	.site-title {
		font-size: 26px;
	}

	.mobile-control {
		display: none;
	}

	.primary-navigation {
		display: block;
		min-width: 0;
	}

	.primary-navigation ul {
		display: flex;
		align-items: stretch;
		justify-content: center;
		gap: clamp(8px, 0.75vw, 12px);
	}

	.primary-navigation li {
		position: relative;
	}

	.primary-navigation a {
		display: flex;
		min-height: 64px;
		align-items: center;
		border-bottom: 2px solid transparent;
		font-size: 12px;
		font-weight: 650;
		text-decoration: none;
		white-space: nowrap;
	}

	.primary-navigation a:hover,
	.primary-navigation .current-menu-item > a,
	.primary-navigation .current_page_item > a {
		border-bottom-color: var(--color-accent);
		color: var(--color-text);
	}

	.primary-navigation .sub-menu {
		position: absolute;
		top: 100%;
		left: -14px;
		display: none;
		width: 210px;
		padding: 8px;
		border: 1px solid var(--color-divider);
		background: var(--color-bg);
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
	}

	.primary-navigation .sub-menu a {
		min-height: 38px;
		padding: 7px 9px;
		border: 0;
		white-space: normal;
	}

	.primary-navigation li:hover > .sub-menu,
	.primary-navigation li:focus-within > .sub-menu {
		display: block;
	}

	.desktop-search {
		display: block;
	}

	.desktop-search .search-form {
		flex-wrap: nowrap;
	}

	.desktop-search .search-field {
		min-height: 38px;
		font-size: 13px;
	}

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

	.site-header.header-force-mobile .header-inner {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 0;
	}

	.site-header.header-force-mobile .site-branding {
		grid-column: 2;
		justify-self: center;
		max-width: 100%;
	}

	.site-header.header-force-mobile .site-title {
		font-size: 25px;
	}

	.site-header.header-force-mobile .mobile-control {
		display: block;
	}

	.site-header.header-force-mobile .primary-navigation,
	.site-header.header-force-mobile .desktop-search {
		display: none;
	}
}

@media (min-width: 1024px) {
	.content-layout.has-sidebar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: clamp(38px, 5vw, 72px);
	}

	.site-sidebar {
		display: block;
	}
}

/* Navigation 2.0 */
.site-header {
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.015);
}

.mobile-control > summary {
	border-radius: 12px;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.mobile-control > summary:hover,
.mobile-control[open] > summary {
	background: color-mix(in srgb, var(--color-accent) 9%, var(--color-soft));
	color: var(--color-accent);
}

.mobile-control[open] > summary {
	transform: scale(0.96);
}

.mobile-panel {
	max-height: min(620px, calc(100vh - 63px));
	padding: 20px var(--gutter) 24px;
	border-bottom: 1px solid var(--color-divider);
	border-radius: 0 0 20px 20px;
	box-shadow: 0 24px 45px -24px rgba(15, 23, 42, 0.38);
}

.mobile-panel__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding-bottom: 14px;
	margin-bottom: 6px;
	border-bottom: 1px solid var(--color-divider);
}

.mobile-panel__header strong {
	font-size: 14px;
	font-weight: 750;
	letter-spacing: -0.01em;
}

.mobile-panel__header span {
	color: var(--color-muted);
	font-size: 11px;
}

.mobile-navigation > ul {
	display: grid;
	gap: 4px;
}

.mobile-navigation a {
	display: flex;
	min-height: 46px;
	align-items: center;
	padding: 10px 12px;
	border: 0;
	border-radius: 11px;
	font-size: 15px;
	font-weight: 620;
	transition: background-color 150ms ease, color 150ms ease, padding 150ms ease;
}

.mobile-navigation a:hover,
.mobile-navigation a:focus-visible,
.mobile-navigation .current-menu-item > a,
.mobile-navigation .current-menu-parent > a,
.mobile-navigation .current_page_item > a {
	padding-left: 16px;
	background: color-mix(in srgb, var(--color-accent) 9%, var(--color-soft));
	color: var(--color-accent);
}

.mobile-navigation .sub-menu {
	display: grid;
	gap: 2px;
	padding: 4px 0 6px 14px;
	margin: 2px 0 3px 17px;
	border-left: 1px solid var(--color-divider);
}

.mobile-navigation .sub-menu a {
	min-height: 39px;
	font-size: 13px;
	font-weight: 560;
}

.mobile-panel--search .search-form {
	padding-top: 6px;
}

.site-footer {
	margin-top: 18px;
	border-top: 1px solid var(--color-divider);
	background: color-mix(in srgb, var(--color-panel) 92%, var(--color-soft));
}

.footer-inner {
	display: block;
	padding-block: clamp(32px, 5vw, 54px) 22px;
	color: var(--color-muted);
	font-size: 13px;
	text-align: left;
}

.footer-primary {
	display: grid;
	gap: 26px;
}

.footer-primary > :only-child {
	grid-column: 1 / -1;
}

.footer-branding .site-title {
	font-size: 23px;
}

.footer-branding p {
	max-width: 420px;
	margin: 9px 0 0;
	color: var(--color-muted);
	font-size: 13px;
	line-height: 1.6;
}

.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	justify-content: flex-start;
}

.footer-navigation a {
	display: inline-flex;
	min-height: 32px;
	align-items: center;
	color: var(--color-text);
	font-size: 13px;
	font-weight: 590;
	text-decoration: none;
	transition: color 150ms ease, background-color 150ms ease;
}

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

.r34c8-footer-menu-pills .footer-navigation a {
	min-height: 36px;
	padding: 7px 12px;
	border: 1px solid var(--color-divider);
	border-radius: 999px;
	background: var(--color-panel);
}

.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: color-mix(in srgb, var(--color-accent) 35%, var(--color-divider));
	background: color-mix(in srgb, var(--color-accent) 8%, var(--color-panel));
}

.footer-secondary {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 20px;
	margin-top: 28px;
	border-top: 1px solid var(--color-divider);
}

.footer-navigation--quick {
	width: auto;
}

.footer-navigation--quick a {
	min-height: 28px;
	color: var(--color-muted);
	font-size: 12px;
	font-weight: 520;
}

@media (min-width: 640px) {
	.footer-primary {
		grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
		align-items: start;
	}

	.footer-navigation ul {
		justify-content: flex-end;
	}

	.footer-primary > .footer-navigation:only-child ul {
		justify-content: flex-start;
	}

	.footer-secondary {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (min-width: 1180px) {
	.header-inner {
		grid-template-columns: auto minmax(0, 1fr) 220px;
		gap: clamp(22px, 2.4vw, 38px);
		min-height: 72px;
	}

	.site-header.header-no-search .header-inner {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.site-header.header-no-menu .header-inner {
		grid-template-columns: auto minmax(0, 1fr) 220px;
	}

	.site-header.header-no-search.header-no-menu .header-inner {
		grid-template-columns: 1fr;
	}

	.site-branding {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		max-width: 220px;
	}

	.site-title {
		font-size: 26px;
	}

	.mobile-control {
		display: none;
	}

	.primary-navigation {
		display: block;
		grid-column: 2;
		grid-row: 1;
		min-width: 0;
	}

	.primary-navigation > ul {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 5px;
	}

	.r34c8-menu-align-start .primary-navigation > ul {
		justify-content: flex-start;
	}

	.primary-navigation li {
		position: relative;
	}

	.primary-navigation a {
		display: flex;
		min-height: 42px;
		align-items: center;
		padding: 8px 8px;
		border: 0;
		border-radius: 9px;
		font-size: 12px;
		font-weight: 620;
		line-height: 1.2;
		text-decoration: none;
		white-space: nowrap;
		transition: color 150ms ease, background-color 150ms ease;
	}

	.r34c8-menu-density-comfortable .primary-navigation > ul {
		gap: 8px;
	}

	.r34c8-menu-density-comfortable .primary-navigation > ul > li > a {
		padding-inline: 10px;
	}

	.r34c8-menu-underline .primary-navigation > ul > li > a {
		position: relative;
		border-radius: 0;
	}

	.r34c8-menu-underline .primary-navigation > ul > li > a::after {
		position: absolute;
		bottom: 3px;
		left: 50%;
		width: calc(100% - 16px);
		height: 2px;
		border-radius: 999px;
		background: var(--color-accent);
		content: "";
		transform: translateX(-50%) scaleX(0);
		transition: transform 160ms ease;
	}

	.r34c8-menu-underline .primary-navigation > ul > li > a:hover::after,
	.r34c8-menu-underline .primary-navigation > .primary-menu > .current-menu-item > a::after,
	.r34c8-menu-underline .primary-navigation > .primary-menu > .current-menu-parent > a::after,
	.r34c8-menu-underline .primary-navigation > .primary-menu > .current_page_item > a::after {
		transform: translateX(-50%) scaleX(1);
	}

	.r34c8-menu-pills .primary-navigation > ul > li > a:hover,
	.r34c8-menu-pills .primary-navigation > .primary-menu > .current-menu-item > a,
	.r34c8-menu-pills .primary-navigation > .primary-menu > .current-menu-parent > a,
	.r34c8-menu-pills .primary-navigation > .primary-menu > .current_page_item > a {
		background: color-mix(in srgb, var(--color-accent) 10%, var(--color-soft));
		color: var(--color-accent);
	}

	.r34c8-menu-minimal .primary-navigation a:hover,
	.r34c8-menu-minimal .primary-navigation .current-menu-item > a,
	.r34c8-menu-minimal .primary-navigation .current-menu-parent > a,
	.r34c8-menu-minimal .primary-navigation .current_page_item > a {
		color: var(--color-accent);
	}

	.primary-navigation .sub-menu {
		position: absolute;
		top: calc(100% + 5px);
		left: 0;
		display: none;
		width: 230px;
		padding: 7px;
		border: 1px solid var(--color-divider);
		border-radius: 13px;
		background: var(--color-panel);
		box-shadow: 0 20px 38px -20px rgba(15, 23, 42, 0.42);
	}

	.primary-navigation .sub-menu::before {
		position: absolute;
		top: -7px;
		left: 0;
		width: 100%;
		height: 7px;
		content: "";
	}

	.primary-navigation .sub-menu a {
		min-height: 39px;
		padding: 8px 10px;
		border: 0;
		white-space: normal;
	}

	.primary-navigation .sub-menu a:hover,
	.primary-navigation .sub-menu .current-menu-item > a {
		background: var(--color-soft);
		color: var(--color-accent);
	}

	.primary-navigation li:hover > .sub-menu,
	.primary-navigation li:focus-within > .sub-menu {
		display: block;
	}

	.desktop-search {
		display: block;
		grid-column: 3;
		grid-row: 1;
	}

	.desktop-search .search-form {
		flex-wrap: nowrap;
	}

	.desktop-search .search-field {
		min-height: 40px;
		border-radius: 11px;
		font-size: 12px;
	}

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

	.r34c8-header-stacked .header-inner {
		grid-template-columns: minmax(0, 1fr) 220px;
		gap: 12px 28px;
		padding-block: 14px 12px;
	}

	.r34c8-header-stacked .site-branding {
		grid-column: 1;
		grid-row: 1;
	}

	.r34c8-header-stacked .desktop-search {
		grid-column: 2;
		grid-row: 1;
	}

	.r34c8-header-stacked .primary-navigation {
		grid-column: 1 / -1;
		grid-row: 2;
		padding-top: 9px;
		border-top: 1px solid var(--color-divider);
	}

	.r34c8-header-stacked .primary-navigation > ul {
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.r34c8-header-stacked .site-header.header-no-search .header-inner {
		grid-template-columns: 1fr;
	}

	.site-header.header-force-mobile .header-inner,
	.r34c8-header-stacked .site-header.header-force-mobile .header-inner {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 0;
		min-height: 64px;
		padding-block: 0;
	}

	.site-header.header-force-mobile .site-branding,
	.r34c8-header-stacked .site-header.header-force-mobile .site-branding {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		max-width: 100%;
	}

	.site-header.header-force-mobile .site-title {
		font-size: 25px;
	}

	.site-header.header-force-mobile .mobile-control {
		display: block;
	}

	.site-header.header-force-mobile .primary-navigation,
	.site-header.header-force-mobile .desktop-search {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.site-sidebar,
	.ad-slot,
	.reading-progress,
	.entry-read-more,
	.comments-area,
	.post-tags {
		display: none !important;
	}

	.entry-content--gated > [hidden] {
		display: revert !important;
	}

	.article-shell {
		width: 100%;
		max-width: none;
		padding-top: 0;
	}

	body,
	.entry-content {
		font-size: 12pt;
		line-height: 1.55;
	}
}
