/*
Theme Name: OK Stalin
Author: OK Stalin
Description: A bold, accessible editorial theme for OK Stalin, an independent magazine about economics, incentives, markets, and the consequences of political choices.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.2
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ok-stalin
Tags: news, blog, block-styles, custom-logo, custom-menu, editor-style, featured-images, translation-ready, wide-blocks
*/

@font-face {
	font-family: "OK Display";
	font-style: normal;
	font-weight: 400 900;
	font-stretch: 75% 100%;
	font-display: swap;
	src: url("assets/fonts/instrument-sans/InstrumentSans-Variable.woff2") format("woff2-variations");
}

:root {
	--ok-red: #e11b22;
	--ok-red-dark: #b90f16;
	--ok-yellow: #ffcc00;
	--ok-ink: #111111;
	--ok-charcoal: #242321;
	--ok-paper: #ffffff;
	--ok-paper-light: #ffffff;
	--ok-cream: #e7d7a8;
	--ok-muted: #5d5d5d;
	--ok-border: #292929;
	--ok-display: "OK Display", "Arial Narrow", Arial, sans-serif;
	--ok-sans: Inter, "Helvetica Neue", Arial, sans-serif;
	--ok-serif: Georgia, "Times New Roman", serif;
	--ok-content: 43rem;
	--ok-wide: 78rem;
	--ok-gutter: clamp(1rem, 3vw, 2rem);
	--ok-shadow: 8px 8px 0 var(--ok-ink);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ok-paper);
	color: var(--ok-ink);
	font-family: var(--ok-sans);
	font-size: 1rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

a {
	color: inherit;
	text-decoration-thickness: .1em;
	text-underline-offset: .16em;
}

a:hover {
	color: var(--ok-yellow);
}

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

button,
input[type="submit"] {
	cursor: pointer;
}

:focus-visible {
	outline: 3px solid var(--ok-red);
	outline-offset: 3px;
}

::selection {
	background: var(--ok-red);
	color: #fff;
}

.screen-reader-text {
	position: absolute;
	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: .75rem;
	left: .75rem;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: .75rem 1rem;
	clip: auto;
	background: var(--ok-paper-light);
	color: var(--ok-ink);
	font-weight: 800;
	white-space: normal;
	box-shadow: var(--ok-shadow);
}

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

.site-main {
	min-height: 60vh;
}

.kicker,
.eyebrow,
.section-label,
.post-card__category,
.article-meta,
.overline {
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.kicker,
.eyebrow,
.post-card__category {
	color: var(--ok-red);
}

.display-title,
h1,
h2,
h3,
.site-brand__text,
.button,
.nav-menu a {
	font-family: var(--ok-display);
	line-height: .94;
}

.display-title,
h1,
h2,
h3,
.site-brand__text,
.post-card__title,
.newsletter__title,
.manifesto__title {
	font-stretch: 82%;
	font-weight: 800;
	letter-spacing: -.03em;
}

.button,
.nav-menu a,
.topic-ribbon a {
	font-stretch: 86%;
	font-weight: 780;
	letter-spacing: .015em;
}

.site-header {
	position: relative;
	z-index: 20;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--ok-red);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	min-height: 5rem;
	gap: clamp(1rem, 3vw, 2.5rem);
}

.site-brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	color: var(--ok-ink);
	text-decoration: none;
}

.site-brand:hover {
	color: var(--ok-ink);
}

.site-brand__logo {
	display: block;
	width: auto;
	height: auto;
}

.site-brand__logo--horizontal {
	width: clamp(10rem, 15vw, 13rem);
}

.site-brand__logo--square {
	width: clamp(8rem, 14vw, 11rem);
}

.site-brand__text {
	font-size: clamp(1.7rem, 4vw, 2.6rem);
	white-space: nowrap;
}

.site-brand__text span {
	color: var(--ok-red);
}

.custom-logo {
	width: auto;
	max-height: 3.25rem;
}

.primary-navigation {
	justify-self: center;
}

.nav-menu,
.nav-menu ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.4vw, 2rem);
	padding: 0;
	margin: 0;
	list-style: none;
}

.nav-menu a {
	display: block;
	padding: .75rem 0;
	font-size: .95rem;
	text-decoration: none;
	text-transform: uppercase;
}

.nav-menu a:hover {
	color: var(--ok-red);
}

.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
	color: var(--ok-red);
}

.nav-menu .sub-menu {
	position: absolute;
	display: none;
	min-width: 13rem;
	padding: .6rem 1rem;
	background: var(--ok-paper-light);
	border: 2px solid var(--ok-border);
	box-shadow: var(--ok-shadow);
}

.nav-menu li {
	position: relative;
}

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

.site-header__actions {
	display: flex;
	align-items: center;
	gap: .65rem;
}

.header-search {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	width: 100%;
	background: #fff;
	border-bottom: 1px solid var(--ok-border);
	box-shadow: 0 16px 28px rgba(17, 17, 17, .08);
}

.header-search__inner {
	display: flex;
	justify-content: flex-end;
	padding-block: 1rem;
}

.header-search .search-form {
	width: min(100%, 46rem);
}

.header-search .search-field {
	border-width: 1px;
}

.search-open .search-toggle {
	background: var(--ok-red);
	color: #fff;
}

.icon-link,
.menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	background: transparent;
	color: var(--ok-ink);
	border: 2px solid transparent;
	text-decoration: none;
}

.icon-link:hover,
.menu-toggle:hover {
	color: var(--ok-yellow);
	border-color: currentColor;
}

.menu-toggle {
	display: none;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
	display: block;
	width: 1.35rem;
	height: 2px;
	background: currentColor;
	content: "";
	transition: transform .2s ease;
}

.menu-toggle__lines::before {
	transform: translateY(-6px);
}

.menu-toggle__lines::after {
	transform: translateY(4px);
}

.button,
.wp-block-button__link,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: .75rem 1.15rem;
	background: var(--ok-red);
	color: #fff;
	border: 2px solid var(--ok-red);
	border-radius: 0;
	font-family: var(--ok-display);
	font-size: .9rem;
	letter-spacing: .04em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
	background: var(--ok-yellow);
	border-color: var(--ok-ink);
	color: var(--ok-ink);
	transform: translate(-2px, -2px);
}

.button--outline {
	background: transparent;
	color: var(--ok-ink);
	border-color: var(--ok-ink);
}

.button--outline:hover {
	background: var(--ok-yellow);
	color: var(--ok-ink);
	border-color: var(--ok-ink);
}

.button--small {
	min-height: 2.6rem;
	padding: .65rem .9rem;
	font-size: .78rem;
}

.button__arrow {
	margin-left: .55rem;
	font-family: var(--ok-sans);
}

.hero {
	position: relative;
	overflow: hidden;
	background: var(--ok-paper-light);
	border-bottom: 1px solid var(--ok-border);
}

.hero::before {
	display: none;
}

.hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .78fr) minmax(28rem, 1.22fr);
	min-height: min(42rem, calc(100vh - 5rem));
}

.hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem) 0;
}

.hero__title {
	max-width: 9ch;
	margin: .6rem 0 1.25rem;
	font-size: clamp(3.7rem, 7.4vw, 7rem);
	font-stretch: 78%;
	line-height: .91;
	text-wrap: balance;
}

.hero__title .accent {
	color: var(--ok-red);
}

.hero__standfirst {
	max-width: 32rem;
	margin: 0 0 1.5rem;
	color: #272727;
	font-size: clamp(1.02rem, 1.4vw, 1.15rem);
	line-height: 1.62;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.hero__visual {
	position: relative;
	min-height: 30rem;
	overflow: hidden;
	background: #f5f1e7;
}

.hero__visual::before,
.hero__visual::after {
	display: none;
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.poster-figure {
	position: absolute;
	right: 7%;
	bottom: 5%;
	width: min(76%, 34rem);
	aspect-ratio: 4 / 5;
	filter: drop-shadow(14px 18px 0 rgba(17, 17, 17, .24));
}

.poster-figure__head {
	position: absolute;
	top: 7%;
	left: 42%;
	width: 24%;
	aspect-ratio: .78;
	background: var(--ok-cream);
	border: 6px solid var(--ok-ink);
	border-radius: 48% 52% 44% 56%;
	transform: rotate(8deg);
}

.poster-figure__body {
	position: absolute;
	right: 8%;
	bottom: 0;
	width: 74%;
	height: 74%;
	background: var(--ok-charcoal);
	clip-path: polygon(38% 0, 72% 8%, 100% 100%, 0 100%, 12% 24%);
}

.poster-figure__arm {
	position: absolute;
	top: 23%;
	right: 2%;
	width: 72%;
	height: 16%;
	background: var(--ok-charcoal);
	border: 5px solid var(--ok-ink);
	transform: rotate(-28deg);
	transform-origin: right center;
}

.poster-figure__paper {
	position: absolute;
	top: 13%;
	left: 4%;
	width: 37%;
	height: 43%;
	background: var(--ok-paper-light);
	border: 6px solid var(--ok-ink);
	box-shadow: -10px 10px 0 var(--ok-cream);
	transform: rotate(-12deg);
}

.poster-figure__paper::before,
.poster-figure__paper::after {
	position: absolute;
	left: 15%;
	width: 70%;
	height: 5px;
	background: var(--ok-red);
	content: "";
}

.poster-figure__paper::before {
	top: 26%;
	box-shadow: 0 18px 0 var(--ok-ink), 0 36px 0 var(--ok-ink), 0 54px 0 var(--ok-red);
}

.poster-figure__paper::after {
	bottom: 15%;
}

.topic-ribbon {
	background: var(--ok-ink);
	color: #fff;
	border-bottom: 1px solid var(--ok-border);
}

.topic-ribbon__list {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	padding: 0;
	margin-block: 0;
	margin-inline: auto;
	list-style: none;
}

.topic-ribbon a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-height: 4.1rem;
	padding: .75rem .5rem;
	border-right: 1px solid #3c3a36;
	font-family: var(--ok-display);
	font-size: .92rem;
	text-decoration: none;
	text-transform: uppercase;
}

.topic-ribbon a:hover {
	background: var(--ok-red);
	color: #fff;
}

.topic-ribbon__mark {
	color: var(--ok-red);
	font-family: var(--ok-sans);
	font-size: 1.3rem;
	font-weight: 900;
}

.topic-ribbon a:hover .topic-ribbon__mark {
	color: var(--ok-yellow);
}

.section {
	padding-block: clamp(3.5rem, 6vw, 6rem);
}

.section--tight {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--ink {
	background: var(--ok-ink);
	color: #fff;
}

.section--red {
	background: var(--ok-red);
	color: #fff;
}

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
	padding-bottom: .85rem;
	border-bottom: 1px solid #b7b7b7;
}

.section-heading h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.25rem);
	text-transform: uppercase;
}

.section-heading h2::after {
	display: block;
	width: 3.5rem;
	height: 5px;
	margin-top: .6rem;
	background: var(--ok-red);
	content: "";
}

.section-heading a {
	font-size: .85rem;
	font-weight: 900;
	text-transform: uppercase;
}

.news-grid {
	display: grid;
	grid-template-areas:
		"feature wide wide"
		"feature small-a small-b";
	grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(0, .5fr));
	grid-template-rows: repeat(2, minmax(18rem, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: stretch;
}

.news-grid > * {
	min-width: 0;
	height: 100%;
}

.news-grid > .post-card--feature {
	grid-area: feature;
}

.news-grid > .post-card--wide {
	grid-area: wide;
}

.news-grid > .post-card--small:nth-child(3) {
	grid-area: small-a;
}

.news-grid > .post-card--small:nth-child(4) {
	grid-area: small-b;
}

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--ok-paper-light);
	border: 1px solid #b7b7b7;
	transition: box-shadow .18s ease, transform .18s ease;
}

.post-card:hover {
	box-shadow: 0 14px 34px rgba(17, 17, 17, .1);
	transform: translateY(-2px);
}

.post-card__image-link {
	position: relative;
	display: block;
	overflow: hidden;
	background: #f5f1e7;
	border-bottom: 1px solid #b7b7b7;
}

.post-card__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .35s ease;
}

.post-card:hover .post-card__image {
	transform: scale(1.015);
}

.post-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(1rem, 2vw, 1.5rem);
}

.post-card__category {
	margin-bottom: .5rem;
}

.post-card__title {
	margin: 0 0 .65rem;
	font-size: clamp(1.55rem, 2.8vw, 2.55rem);
	text-wrap: balance;
	text-transform: uppercase;
}

.post-card--compact .post-card__title {
	font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.post-card__title a {
	text-decoration: none;
}

.post-card__excerpt {
	margin: 0 0 1rem;
	color: #343434;
	line-height: 1.62;
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
	margin-top: auto;
	color: var(--ok-muted);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.latest-arguments .section-heading,
.latest-arguments .post-card,
.latest-arguments .post-card__image-link {
	border-color: var(--ok-red);
}

.latest-arguments a:hover {
	color: var(--ok-red);
}

.latest-arguments .post-card__category:hover {
	color: var(--ok-yellow);
}

.latest-arguments .section-heading a {
	color: var(--ok-red);
}

.latest-arguments .section-heading a:hover {
	color: var(--ok-yellow);
}

.post-card--feature .post-card__image-link {
	flex: 1 1 auto;
	min-height: 23rem;
}

.post-card--feature .post-card__image,
.post-card--feature .poster-art {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
}

.post-card--feature .post-card__content {
	flex: 0 0 auto;
	padding: clamp(1.4rem, 2.6vw, 2.25rem);
}

.post-card--feature .post-card__title {
	max-width: 13ch;
	font-size: clamp(2.35rem, 4.4vw, 4rem);
}

.post-card--wide .post-card__image-link {
	flex: 0 0 auto;
}

.post-card--wide .post-card__image,
.post-card--wide .poster-art {
	width: 100%;
	aspect-ratio: 2.55 / 1;
}

.post-card--wide .post-card__content {
	padding: clamp(1rem, 1.8vw, 1.4rem);
}

.post-card--wide .post-card__title {
	max-width: 20ch;
	font-size: clamp(1.65rem, 2.5vw, 2.45rem);
}

.post-card--small .post-card__image,
.post-card--small .poster-art {
	width: 100%;
	aspect-ratio: 4 / 3;
}

.post-card--small .post-card__content {
	padding: clamp(.9rem, 1.5vw, 1.2rem);
}

.post-card--small .post-card__title {
	font-size: clamp(1.2rem, 1.7vw, 1.55rem);
}

.post-card--feature .poster-art,
.post-card--wide .poster-art,
.post-card--small .poster-art {
	height: 100%;
}

.poster-art {
	position: relative;
	min-height: 14rem;
	overflow: hidden;
	background:
		linear-gradient(120deg, transparent 0 42%, var(--ok-red) 42% 56%, transparent 56%),
		repeating-linear-gradient(145deg, var(--ok-paper-light) 0 36px, var(--ok-ink) 36px 72px);
	isolation: isolate;
}

.poster-art::before {
	position: absolute;
	inset: 18% 12% 8% 32%;
	background: var(--ok-red);
	border: 6px solid var(--ok-ink);
	content: "";
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.poster-art::after {
	position: absolute;
	right: 16%;
	bottom: 12%;
	width: 30%;
	aspect-ratio: 1;
	background: var(--ok-cream);
	border: 6px solid var(--ok-ink);
	border-radius: 50%;
	box-shadow: -52px 20px 0 -10px var(--ok-red), -82px 47px 0 -16px var(--ok-paper-light);
	content: "";
}

.poster-art--2 {
	background:
		linear-gradient(25deg, transparent 0 46%, var(--ok-ink) 46% 59%, transparent 59%),
		repeating-conic-gradient(from 45deg at 20% 90%, var(--ok-red) 0 12deg, var(--ok-paper-light) 12deg 25deg);
}

.poster-art--3 {
	background:
		linear-gradient(-35deg, transparent 0 45%, var(--ok-red) 45% 62%, transparent 62%),
		linear-gradient(135deg, var(--ok-paper-light) 0 50%, var(--ok-cream) 50%);
}

.manifesto {
	position: relative;
	overflow: hidden;
	background: var(--ok-yellow);
	color: var(--ok-ink);
	border-block: 0;
}

.manifesto .kicker {
	color: var(--ok-red);
}

.manifesto::after {
	position: absolute;
	top: 12%;
	right: -6%;
	width: 45%;
	aspect-ratio: 1;
	background: repeating-conic-gradient(var(--ok-red) 0 10deg, transparent 10deg 24deg);
	opacity: .08;
	content: "";
}

.manifesto__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	align-items: center;
	gap: clamp(2rem, 6vw, 6rem);
}

.manifesto__title {
	max-width: 12ch;
	margin: .5rem 0 1.2rem;
	font-size: clamp(3rem, 6vw, 6.2rem);
	text-transform: uppercase;
}

.manifesto__title span {
	color: var(--ok-red);
}

.manifesto__points {
	display: grid;
	gap: 1rem;
	margin: 0;
}

.manifesto__point {
	display: grid;
	grid-template-columns: 2.25rem 1fr;
	gap: .85rem;
	padding: 1.2rem 0;
	background: transparent;
	color: var(--ok-ink);
	border: 0;
	border-top: 1px solid var(--ok-ink);
}

.manifesto__point dt {
	color: var(--ok-red);
	font-family: var(--ok-display);
	font-size: 1.6rem;
	line-height: 1;
}

.manifesto__point dd {
	margin: 0;
}

.manifesto__point strong {
	display: block;
	margin-bottom: .25rem;
	color: var(--ok-red);
	font-family: var(--ok-display);
	font-size: 1.25rem;
	line-height: 1.1;
	text-transform: uppercase;
}

.manifesto .button:hover {
	background: #fff;
}

.category-grid,
.archive-grid,
.related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.mechanism-section .section-heading,
.mechanism-section .category-tile {
	border-color: var(--ok-red);
}

.category-tile {
	position: relative;
	min-height: 17rem;
	padding: 1.5rem;
	overflow: hidden;
	background: #f7f4ed;
	color: var(--ok-ink);
	border: 1px solid #b7b7b7;
	text-decoration: none;
	transition: box-shadow .2s ease, transform .2s ease;
}

.category-tile::before {
	position: absolute;
	inset: 52% -15% -45% 30%;
	background: var(--ok-red);
	content: "";
	transform: rotate(-18deg);
	transition: transform .2s ease;
}

.category-tile:nth-child(2)::before {
	background: var(--ok-yellow);
}

.category-tile:nth-child(3)::before {
	background: var(--ok-red);
	transform: rotate(18deg);
}

.category-tile:hover {
	color: var(--ok-ink);
	box-shadow: 0 14px 34px rgba(17, 17, 17, .09);
	transform: translateY(-2px);
}

.category-tile:hover::before {
	transform: rotate(-12deg) scale(1.1);
}

.category-tile__name {
	position: relative;
	z-index: 1;
	display: block;
	max-width: 8ch;
	font-family: var(--ok-display);
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: .95;
	text-transform: uppercase;
}

.category-tile__count {
	position: absolute;
	right: 1.25rem;
	bottom: 1rem;
	z-index: 1;
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.newsletter {
	background: var(--ok-yellow);
	border-block: 0;
}

.newsletter .kicker {
	color: var(--ok-red);
}

.newsletter__grid {
	display: grid;
	grid-template-columns: .7fr 1.3fr;
	align-items: center;
	gap: clamp(2rem, 6vw, 6rem);
}

.newsletter__title {
	margin: .35rem 0 0;
	font-size: clamp(2.3rem, 5vw, 4.5rem);
	text-transform: uppercase;
}

.newsletter__title-accent {
	color: var(--ok-red);
}

.newsletter-form {
	display: flex;
}

.newsletter-form input[type="email"] {
	width: 100%;
	min-height: 3.5rem;
	padding: .8rem 1rem;
	background: var(--ok-paper-light);
	border: 0;
	border-radius: 0;
}

.newsletter-form .button {
	min-width: 9rem;
	min-height: 3.5rem;
}

.newsletter-form .button:hover {
	background: var(--ok-ink);
	color: #fff;
	border-color: var(--ok-ink);
	transform: none;
}

.newsletter__note {
	margin: .65rem 0 0;
	color: var(--ok-muted);
	font-size: .78rem;
}

.page-header {
	position: relative;
	padding-block: clamp(3rem, 7vw, 6rem);
	overflow: hidden;
	background: var(--ok-ink);
	color: #fff;
}

.page-header::after {
	position: absolute;
	right: -5%;
	bottom: -90%;
	width: 45%;
	aspect-ratio: 1;
	background: var(--ok-yellow);
	content: "";
	transform: rotate(45deg);
}

.page-header .kicker {
	color: var(--ok-yellow);
}

.page-header__inner {
	position: relative;
	z-index: 1;
}

.page-header h1 {
	max-width: 15ch;
	margin: .4rem 0 0;
	font-size: clamp(3rem, 7vw, 6.5rem);
	text-transform: uppercase;
}

.page-header__description {
	max-width: 43rem;
	margin: 1rem 0 0;
	font-size: 1.08rem;
}

.content-area,
.article-body {
	width: min(100% - (var(--ok-gutter) * 2), var(--ok-content));
	margin-inline: auto;
}

.content-area--wide {
	width: min(100% - (var(--ok-gutter) * 2), var(--ok-wide));
}

.article-header {
	padding: clamp(3rem, 7vw, 6rem) 0 2.5rem;
}

.article-header__inner {
	width: min(100% - (var(--ok-gutter) * 2), 64rem);
	margin-inline: auto;
}

.article-title {
	max-width: 15ch;
	margin: .6rem 0 1rem;
	font-size: clamp(3.2rem, 7.7vw, 7.8rem);
	text-wrap: balance;
	text-transform: uppercase;
}

.article-standfirst {
	max-width: 48rem;
	margin: 0 0 1.5rem;
	color: var(--ok-charcoal);
	font-family: var(--ok-serif);
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	line-height: 1.5;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.25rem;
	color: var(--ok-muted);
}

.article-meta a {
	color: var(--ok-ink);
}

.article-hero {
	width: min(100% - (var(--ok-gutter) * 2), var(--ok-wide));
	margin: 0 auto clamp(2rem, 5vw, 4rem);
	border: 2px solid var(--ok-border);
	box-shadow: var(--ok-shadow);
}

.article-hero img {
	width: 100%;
	max-height: 45rem;
	object-fit: cover;
}

.article-hero .poster-art {
	min-height: clamp(22rem, 52vw, 42rem);
}

.article-body {
	padding-bottom: clamp(3rem, 7vw, 7rem);
	font-family: var(--ok-serif);
	font-size: clamp(1.08rem, 1.4vw, 1.22rem);
	line-height: 1.78;
}

.article-body > * {
	margin-block: 1.4em;
}

.article-body > :first-child {
	margin-top: 0;
}

.article-body h2,
.article-body h3,
.article-body h4 {
	margin-top: 2em;
	font-family: var(--ok-display);
	line-height: 1.05;
	text-transform: uppercase;
}

.article-body h2 {
	font-size: clamp(2.25rem, 4vw, 3.5rem);
}

.article-body h3 {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.article-body a {
	color: var(--ok-red-dark);
	font-weight: 700;
}

.article-body blockquote,
.wp-block-quote {
	margin-inline: 0;
	padding: 1.25rem 1.5rem;
	background: var(--ok-paper-light);
	border: 0;
	border-left: 8px solid var(--ok-yellow);
	font-family: var(--ok-serif);
	font-size: 1.25em;
	font-style: italic;
}

.article-body blockquote cite {
	display: block;
	margin-top: .75rem;
	font-family: var(--ok-sans);
	font-size: .75rem;
	font-style: normal;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.article-body ul,
.article-body ol {
	padding-left: 1.5em;
}

.article-body li + li {
	margin-top: .45em;
}

.article-body table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--ok-sans);
	font-size: .88rem;
}

.article-body th,
.article-body td {
	padding: .75rem;
	border: 1px solid var(--ok-border);
	text-align: left;
}

.article-body th {
	background: var(--ok-ink);
	color: #fff;
}

.wp-block-table {
	max-width: 100%;
	overflow-x: auto;
}

.article-body figcaption,
.wp-element-caption {
	margin-top: .6rem;
	color: var(--ok-muted);
	font-family: var(--ok-sans);
	font-size: .75rem;
	line-height: 1.45;
}

.alignwide {
	width: min(100vw - (var(--ok-gutter) * 2), 68rem);
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

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

.wp-block-ok-stalin-callout,
.is-style-ok-callout,
.is-style-ok-takeaways {
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--ok-paper-light);
	border: 2px solid var(--ok-border);
	box-shadow: 6px 6px 0 var(--ok-red);
	font-family: var(--ok-sans);
}

.is-style-ok-takeaways::before {
	display: block;
	margin-bottom: .5rem;
	color: var(--ok-red);
	font-family: var(--ok-display);
	font-size: .9rem;
	letter-spacing: .08em;
	content: "KEY TAKEAWAYS";
	text-transform: uppercase;
}

.is-style-ok-verdict {
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--ok-ink);
	color: #fff;
	border-top: 8px solid var(--ok-red);
}

.is-style-ok-verdict strong {
	color: var(--ok-red);
}

.article-footer {
	width: min(100% - (var(--ok-gutter) * 2), var(--ok-content));
	margin: -3rem auto 4rem;
	padding-top: 1.5rem;
	border-top: 2px solid var(--ok-border);
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	padding: 0;
	list-style: none;
}

.article-tags a {
	display: block;
	padding: .35rem .65rem;
	background: var(--ok-ink);
	color: #fff;
	font-size: .72rem;
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
}

.author-box {
	display: grid;
	grid-template-columns: 5rem 1fr;
	gap: 1.25rem;
	margin-top: 2rem;
	padding: 1.5rem;
	background: var(--ok-paper-light);
	border: 2px solid var(--ok-border);
}

.author-box__avatar img {
	border-radius: 50%;
}

.author-box h2 {
	margin: 0 0 .35rem;
	font-size: 1.65rem;
	text-transform: uppercase;
}

.author-box p {
	margin: 0;
}

.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-block: 2px solid var(--ok-border);
}

.post-navigation a {
	display: block;
	min-height: 100%;
	padding: 1.5rem var(--ok-gutter);
	text-decoration: none;
}

.post-navigation .nav-next {
	text-align: right;
	border-left: 2px solid var(--ok-border);
}

.post-navigation .nav-subtitle {
	display: block;
	color: var(--ok-red);
	font-size: .7rem;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.post-navigation .nav-title {
	display: block;
	margin-top: .4rem;
	font-family: var(--ok-display);
	font-size: 1.4rem;
	line-height: 1;
	text-transform: uppercase;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .4rem;
	margin-top: 2.5rem;
}

.pagination a,
.pagination span {
	display: grid;
	place-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: .45rem;
	background: var(--ok-paper-light);
	border: 2px solid var(--ok-border);
	font-weight: 900;
	text-decoration: none;
}

.pagination .current,
.pagination a:hover {
	background: var(--ok-yellow);
	color: var(--ok-ink);
}

.search-form {
	display: flex;
	width: 100%;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	min-height: 3.25rem;
	padding: .75rem 1rem;
	background: var(--ok-paper-light);
	border: 2px solid var(--ok-border);
	border-right: 0;
	border-radius: 0;
}

.no-results {
	max-width: 42rem;
	padding: 2rem;
	background: var(--ok-paper-light);
	border: 2px solid var(--ok-border);
}

.not-found-hero {
	display: grid;
	place-items: center;
	min-height: 65vh;
	padding: 4rem var(--ok-gutter);
	background:
		linear-gradient(135deg, transparent 0 46%, var(--ok-red) 46% 57%, transparent 57%),
		var(--ok-ink);
	color: #fff;
	text-align: center;
}

.not-found-hero__code {
	margin: 0;
	color: var(--ok-red);
	font-family: var(--ok-display);
	font-size: clamp(7rem, 25vw, 18rem);
	line-height: .75;
}

.not-found-hero h1 {
	margin: .5rem 0 1rem;
	font-size: clamp(2.5rem, 6vw, 5rem);
	text-transform: uppercase;
}

.site-footer {
	background: var(--ok-paper-light);
	border-top: 0;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.25fr .75fr .75fr;
	gap: clamp(2rem, 5vw, 5rem);
	padding-block: clamp(3rem, 6vw, 5rem);
}

.site-footer__brand p {
	max-width: 28rem;
	color: var(--ok-muted);
}

.site-footer h2 {
	margin: 0 0 .75rem;
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}

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

.footer-menu a {
	display: inline-block;
	padding: .2rem 0;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--ok-red);
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1rem;
	border-top: 1px solid var(--ok-red);
	color: var(--ok-muted);
	font-size: .75rem;
}

.comments-area {
	width: min(100% - (var(--ok-gutter) * 2), var(--ok-content));
	margin: 3rem auto;
}

.comments-title {
	font-size: 2rem;
	text-transform: uppercase;
}

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

.comment-body {
	margin-bottom: 1rem;
	padding: 1.25rem;
	background: var(--ok-paper-light);
	border: 1px solid var(--ok-border);
}

textarea,
input[type="text"],
input[type="email"],
input[type="url"] {
	max-width: 100%;
	padding: .7rem;
	background: var(--ok-paper-light);
	border: 2px solid var(--ok-border);
	border-radius: 0;
}

@media (max-width: 64rem) {
	.site-header__inner {
		grid-template-columns: 1fr auto;
	}

	.primary-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		display: none;
		width: 100%;
		padding: 1rem var(--ok-gutter) 1.5rem;
		background: var(--ok-paper-light);
		border-bottom: 2px solid var(--ok-border);
	}

	.menu-toggle {
		display: inline-grid;
	}

	.site-header__actions .button {
		display: none;
	}

	.nav-menu,
	.nav-menu ul {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.nav-menu a {
		padding: .8rem 0;
		border-bottom: 1px solid #c9c3b8;
	}

	.nav-menu .sub-menu {
		position: static;
		display: block;
		padding: 0 0 0 1rem;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.menu-open .primary-navigation {
		display: block;
	}

	.menu-open .menu-toggle__lines {
		background: transparent;
	}

	.menu-open .menu-toggle__lines::before {
		transform: translateY(2px) rotate(45deg);
	}

	.menu-open .menu-toggle__lines::after {
		transform: rotate(-45deg);
	}

	.hero__grid {
		grid-template-columns: .86fr 1.14fr;
		min-height: 37rem;
	}

	.topic-ribbon__list {
		grid-template-columns: repeat(4, 1fr);
	}

	.topic-ribbon li:nth-child(n+5) {
		display: none;
	}

}

@media (max-width: 60rem) {
	.news-grid {
		grid-template-areas:
			"feature feature"
			"wide wide"
			"small-a small-b";
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
	}

	.post-card--feature .post-card__image-link {
		min-height: 20rem;
	}
}

@media (max-width: 47.99rem) {
	:root {
		--ok-shadow: 5px 5px 0 var(--ok-ink);
	}

	.site-header__inner {
		min-height: 4.25rem;
	}

	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__copy {
		padding: 3.5rem 0 3rem;
	}

	.hero__actions {
		gap: .6rem;
	}

	.hero__actions .button {
		padding-inline: .82rem;
		font-size: .78rem;
	}

	.hero__title {
		font-size: clamp(3.6rem, 18vw, 5.7rem);
	}

	.hero__visual {
		min-height: 24rem;
	}

	.topic-ribbon__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.topic-ribbon li:nth-child(n+5) {
		display: block;
	}

	.topic-ribbon a {
		justify-content: flex-start;
		padding-inline: 1rem;
	}

	.section-heading a {
		font-size: .72rem;
		line-height: 1.15;
		white-space: nowrap;
	}

	.news-grid,
	.category-grid,
	.archive-grid,
	.related-grid {
		grid-template-areas: none;
		grid-template-columns: minmax(0, 1fr);
	}

	.news-grid > .post-card--feature,
	.news-grid > .post-card--wide,
	.news-grid > .post-card--small:nth-child(3),
	.news-grid > .post-card--small:nth-child(4) {
		grid-area: auto;
	}

	.post-card--feature .post-card__image-link {
		min-height: 17rem;
	}

	.post-card--feature .post-card__image,
	.post-card--feature .poster-art,
	.post-card--wide .post-card__image,
	.post-card--wide .poster-art,
	.post-card--small .post-card__image,
	.post-card--small .poster-art {
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.post-card--feature .post-card__title {
		font-size: clamp(2.1rem, 10vw, 3.1rem);
	}

	.manifesto__grid,
	.newsletter__grid,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.manifesto::after {
		top: auto;
		right: -25%;
		bottom: -8%;
		width: 90%;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.newsletter-form input[type="email"] {
		border: 0;
	}

	.article-title {
		font-size: clamp(3rem, 15vw, 5.2rem);
	}

	.article-hero {
		box-shadow: 5px 5px 0 var(--ok-ink);
	}

	.article-body {
		font-size: 1.05rem;
	}

	.alignwide,
	.alignfull {
		width: calc(100vw - (var(--ok-gutter) * 2));
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		border-top: 2px solid var(--ok-border);
		border-left: 0;
		text-align: left;
	}

	.site-footer__bottom {
		flex-direction: column;
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media print {
	.site-header,
	.topic-ribbon,
	.newsletter,
	.site-footer,
	.article-footer,
	.post-navigation,
	.related-posts,
	.comments-area {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.article-body,
	.article-header__inner {
		width: 100%;
		max-width: none;
	}
}
