/*
Theme Name: LexVault Briefings
Theme URI: https://lexvault.de/
Author: LexVault
Description: Editorial news theme based on the canonical LexVault design system.
Version: 1.0.7
Requires at least: 6.9
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: lexvault-briefings
*/

@font-face {
	font-family: "Instrument Sans";
	src: url("assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Instrument Sans";
	src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
}

@font-face {
	font-family: "IBM Plex Sans";
	src: url("assets/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "IBM Plex Sans";
	src: url("assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
}

@font-face {
	font-family: "Newsreader";
	src: url("assets/fonts/newsreader-latin-ext.woff2") format("woff2");
	font-style: normal;
	font-weight: 450;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Newsreader";
	src: url("assets/fonts/newsreader-latin.woff2") format("woff2");
	font-style: normal;
	font-weight: 450;
	font-display: swap;
}

@font-face {
	font-family: "IBM Plex Mono";
	src: url("assets/fonts/ibm-plex-mono-latin.woff2") format("woff2");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

:root {
	--lv-ink: #102a2a;
	--lv-carbon: #111718;
	--lv-teal: #0e6662;
	--lv-copper: #c45d35;
	--lv-paper: #f4f0e7;
	--lv-clear: #fffefa;
	--lv-mist: #e4e9e5;
	--lv-line: #bcc7c3;
	--lv-muted: #556264;
	--lv-white: #fff;
	--lv-display: "Instrument Sans", "IBM Plex Sans", Aptos, sans-serif;
	--lv-body: "IBM Plex Sans", Aptos, sans-serif;
	--lv-editorial: "Newsreader", Georgia, serif;
	--lv-mono: "IBM Plex Mono", SFMono-Regular, Consolas, monospace;
	--lv-shell: min(1200px, calc(100vw - 64px));
	--lv-shell-wide: min(1380px, calc(100vw - 64px));
}

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

html {
	scroll-behavior: smooth;
	background: var(--lv-ink);
}

body {
	margin: 0;
	color: var(--lv-carbon);
	background: var(--lv-paper);
	font: 400 1rem/1.55 var(--lv-body);
	-webkit-font-smoothing: antialiased;
}

body::selection {
	color: var(--lv-white);
	background: var(--lv-teal);
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--lv-copper);
	outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	font-family: var(--lv-display);
	font-weight: 620;
}

.shell {
	width: var(--lv-shell);
	margin-inline: auto;
}

.shell-wide {
	width: var(--lv-shell-wide);
	margin-inline: auto;
}

.shell-narrow {
	width: min(760px, calc(100vw - 64px));
	margin-inline: auto;
}

.skip-link {
	position: fixed;
	z-index: 1000;
	top: 12px;
	left: 12px;
	padding: 10px 14px;
	color: var(--lv-white);
	background: var(--lv-teal);
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: relative;
	z-index: 50;
	color: var(--lv-white);
	background: var(--lv-ink);
	border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.site-header__inner {
	min-height: 84px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
}

.brand img {
	width: 158px;
}

.brand__edition {
	padding-left: 16px;
	border-left: 1px solid rgb(255 255 255 / 30%);
	color: rgb(255 255 255 / 70%);
	font: 500 0.72rem/1 var(--lv-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.site-nav__list,
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 30px);
}

.site-nav a {
	position: relative;
	padding-block: 30px;
	color: rgb(255 255 255 / 76%);
	font-size: 0.82rem;
	font-weight: 500;
	text-decoration: none;
}

.site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 22px;
	width: 100%;
	height: 2px;
	background: var(--lv-copper);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
	color: var(--lv-white);
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	color: var(--lv-white);
	background: none;
	border: 0;
	font: 500 0.75rem var(--lv-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nav-toggle i,
.nav-toggle i::before {
	display: block;
	width: 20px;
	height: 1px;
	background: currentColor;
}

.nav-toggle i {
	position: relative;
}

.nav-toggle i::before {
	content: "";
	position: absolute;
	top: -6px;
}

.hero {
	position: relative;
	overflow: hidden;
	color: var(--lv-white);
	background:
		linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
		var(--lv-ink);
	background-size: 48px 48px;
}

.hero::before {
	content: "";
	position: absolute;
	right: -22vw;
	top: -10vw;
	width: 52vw;
	aspect-ratio: 1;
	border: 1px solid rgb(255 255 255 / 12%);
	transform: rotate(45deg);
}

.hero__grid {
	position: relative;
	z-index: 1;
	min-height: 650px;
	padding-block: clamp(80px, 10vw, 132px) 96px;
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
	gap: clamp(64px, 9vw, 140px);
	align-items: end;
}

.hero__grid--single {
	grid-template-columns: minmax(0, 1fr);
	min-height: 600px;
}

.hero__grid--single .hero__copy {
	max-width: 1160px;
}

.hero__grid--single h1 {
	max-width: 13ch;
}

.eyebrow,
.section-kicker,
.footer-label {
	font: 500 0.72rem/1.3 var(--lv-mono);
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.eyebrow {
	color: var(--lv-copper);
}

.hero h1 {
	max-width: 10ch;
	margin: 22px 0 30px;
	font-size: clamp(3.4rem, 6.7vw, 6.7rem);
	line-height: 0.96;
	letter-spacing: -0.052em;
}

.hero__lead {
	max-width: 650px;
	margin-bottom: 38px;
	color: rgb(255 255 255 / 70%);
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	line-height: 1.52;
}

.button {
	display: inline-flex;
	min-height: 46px;
	padding: 12px 18px;
	align-items: center;
	justify-content: center;
	gap: 28px;
	color: var(--lv-white);
	background: var(--lv-teal);
	border: 1px solid var(--lv-teal);
	border-radius: 4px;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
	color: var(--lv-ink);
	background: var(--lv-paper);
	border-color: var(--lv-paper);
}

.button--light {
	color: var(--lv-ink);
	background: var(--lv-paper);
	border-color: var(--lv-paper);
}

.button--light:hover {
	color: var(--lv-white);
	background: var(--lv-teal);
	border-color: var(--lv-teal);
}

.hero__thesis {
	padding: 28px 0 0 28px;
	border-top: 1px solid rgb(255 255 255 / 28%);
	border-left: 1px solid rgb(255 255 255 / 15%);
}

.hero__index {
	color: rgb(255 255 255 / 50%);
	font: 500 0.66rem var(--lv-mono);
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.hero__thesis blockquote {
	margin: 54px 0;
	font: 450 clamp(1.6rem, 2.3vw, 2.25rem)/1.22 var(--lv-editorial);
}

.hero__principles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	color: rgb(255 255 255 / 58%);
	font-size: 0.72rem;
}

.hero__facet,
.site-footer__aperture {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 18px;
	height: 190px;
	background: var(--lv-copper);
	clip-path: polygon(100% 0, 100% 100%, 0 82%, 0 18%);
}

.topic-rail {
	background: var(--lv-clear);
	border-bottom: 1px solid var(--lv-line);
}

.topic-rail__inner {
	min-height: 78px;
	display: flex;
	align-items: stretch;
	overflow-x: auto;
}

.topic-rail__label,
.topic-rail a {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.topic-rail__label {
	padding-right: 32px;
	color: var(--lv-muted);
	font: 500 0.67rem var(--lv-mono);
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.topic-rail a {
	gap: 12px;
	padding: 0 28px;
	border-left: 1px solid var(--lv-line);
	font-family: var(--lv-display);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 160ms ease;
}

.topic-rail a:hover {
	background: var(--lv-mist);
}

.topic-rail small {
	color: var(--lv-muted);
	font: 500 0.64rem var(--lv-mono);
}

.section {
	padding-block: clamp(80px, 10vw, 130px);
}

.section-heading {
	margin-bottom: 54px;
	padding-bottom: 28px;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 48px;
	align-items: end;
	border-bottom: 1px solid var(--lv-line);
}

.section-kicker {
	color: var(--lv-muted);
}

.section-heading h2 {
	margin: 12px 0 0;
	font-size: clamp(2.3rem, 4vw, 4.3rem);
	line-height: 1;
	letter-spacing: -0.045em;
}

.section-heading > p {
	max-width: 440px;
	margin: 0;
	color: var(--lv-muted);
	justify-self: end;
}

.story-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
	gap: 48px;
}

.story-grid__secondary {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 34px 24px;
}

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

.story-card__media {
	display: block;
	overflow: hidden;
	background: var(--lv-mist);
	text-decoration: none;
}

.story-card__media img,
.story-card__placeholder {
	width: 100%;
	aspect-ratio: 8 / 5;
	object-fit: cover;
	transition: transform 300ms ease;
}

.story-card__media:hover img {
	transform: scale(1.018);
}

.story-card__placeholder {
	position: relative;
	display: grid;
	place-items: center;
	color: var(--lv-ink);
	background:
		linear-gradient(rgb(16 42 42 / 6%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(16 42 42 / 6%) 1px, transparent 1px),
		var(--lv-mist);
	background-size: 32px 32px;
}

.story-card__placeholder::before {
	content: "";
	width: 38%;
	aspect-ratio: 1;
	border: 1px solid rgb(16 42 42 / 18%);
	transform: rotate(45deg);
}

.story-card__placeholder span {
	position: absolute;
	font: 600 0.7rem var(--lv-mono);
	letter-spacing: 0.14em;
}

.story-card__body {
	padding-top: 20px;
}

.story-card__meta,
.article-meta {
	display: flex;
	gap: 14px;
	align-items: center;
	color: var(--lv-muted);
	font: 500 0.66rem/1.3 var(--lv-mono);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.story-card__meta a {
	color: var(--lv-teal);
	text-decoration: none;
}

.story-card__meta > * + *::before,
.article-meta > * + *::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin-right: 14px;
	vertical-align: middle;
	background: var(--lv-copper);
}

.story-card__title {
	margin: 12px 0 10px;
	font-size: clamp(1.28rem, 2vw, 1.75rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.story-card--lead .story-card__title {
	max-width: 15ch;
	font-size: clamp(2.2rem, 4.2vw, 4.25rem);
	line-height: 0.99;
	letter-spacing: -0.045em;
}

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

.story-card__title a:hover {
	color: var(--lv-teal);
}

.story-card__excerpt {
	margin-bottom: 17px;
	color: var(--lv-muted);
	font-size: 0.92rem;
}

.story-card--lead .story-card__excerpt {
	max-width: 620px;
	font-size: 1.05rem;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--lv-teal);
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
}

.text-link span {
	transition: transform 160ms ease;
}

.text-link:hover span {
	transform: translate(3px, -3px);
}

.empty-state {
	padding: 64px;
	background: var(--lv-clear);
	border: 1px solid var(--lv-line);
}

.empty-state h2,
.empty-state h3 {
	margin: 12px 0 0;
	font-size: clamp(2rem, 4vw, 3.8rem);
	letter-spacing: -0.04em;
}

.editorial-principle {
	color: var(--lv-white);
	background: var(--lv-teal);
}

.editorial-principle__grid {
	padding-block: clamp(80px, 10vw, 130px);
	display: grid;
	grid-template-columns: 0.45fr 1.55fr;
	gap: 64px;
}

.editorial-principle__grid--single {
	grid-template-columns: minmax(0, 1fr);
}

.editorial-principle .section-kicker {
	color: rgb(255 255 255 / 60%);
}

.editorial-quote {
	max-width: 900px;
	margin-bottom: 30px;
	font: 450 clamp(2.4rem, 5vw, 5.3rem)/1 var(--lv-editorial);
	letter-spacing: -0.025em;
}

.editorial-copy {
	max-width: 660px;
	color: rgb(255 255 255 / 72%);
	font-size: 1.05rem;
}

.text-link--light {
	margin-top: 10px;
	color: var(--lv-white);
}

.site-footer {
	position: relative;
	overflow: hidden;
	padding-top: 80px;
	color: var(--lv-white);
	background: var(--lv-ink);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr 0.8fr 0.8fr;
	gap: 70px;
}

.site-footer__brand img {
	width: 190px;
	margin-bottom: 24px;
}

.site-footer__brand p {
	max-width: 440px;
	color: rgb(255 255 255 / 58%);
}

.footer-label {
	margin-bottom: 24px;
	color: var(--lv-copper);
}

.site-footer .site-nav__list,
.footer-links {
	display: grid;
	gap: 11px;
}

.site-footer .site-nav__list a,
.footer-links a {
	padding: 0;
	color: rgb(255 255 255 / 68%);
	font-size: 0.84rem;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--lv-white);
}

.site-footer__bottom {
	margin-top: 70px;
	padding-block: 24px;
	display: flex;
	justify-content: space-between;
	color: rgb(255 255 255 / 38%);
	border-top: 1px solid rgb(255 255 255 / 12%);
	font: 500 0.62rem var(--lv-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer__aperture {
	top: 60px;
	bottom: auto;
	height: 120px;
}

.page-masthead,
.article-header {
	color: var(--lv-white);
	background: var(--lv-ink);
}

.page-masthead__inner {
	padding-block: clamp(72px, 9vw, 120px);
}

.page-masthead h1,
.article-header h1 {
	max-width: 1050px;
	margin: 18px 0 0;
	font-size: clamp(3rem, 6.4vw, 6rem);
	line-height: 0.98;
	letter-spacing: -0.05em;
}

.page-masthead__description {
	max-width: 700px;
	margin-top: 24px;
	color: rgb(255 255 255 / 68%);
	font-size: 1.08rem;
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px 28px;
}

.navigation.pagination {
	margin-top: 64px;
}

.nav-links {
	display: flex;
	gap: 8px;
}

.page-numbers {
	min-width: 42px;
	height: 42px;
	display: inline-grid;
	place-items: center;
	border: 1px solid var(--lv-line);
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	color: var(--lv-white);
	background: var(--lv-teal);
	border-color: var(--lv-teal);
}

.article-header__inner {
	padding-block: clamp(74px, 10vw, 140px) clamp(68px, 8vw, 108px);
}

.article-header .eyebrow a {
	text-decoration: none;
}

.article-header__dek {
	max-width: 780px;
	margin: 30px 0 0;
	color: rgb(255 255 255 / 68%);
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.article-meta {
	margin-top: 40px;
	color: rgb(255 255 255 / 50%);
}

.article-hero {
	margin-top: -36px;
	position: relative;
	z-index: 2;
}

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

.article-layout {
	padding-block: clamp(72px, 9vw, 120px);
	display: grid;
	grid-template-columns: 210px minmax(0, 760px);
	gap: clamp(48px, 8vw, 110px);
	justify-content: center;
}

.article-rail {
	color: var(--lv-muted);
	font: 500 0.66rem/1.5 var(--lv-mono);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.article-rail__line {
	display: block;
	width: 32px;
	height: 2px;
	margin-bottom: 26px;
	background: var(--lv-copper);
}

.article-content {
	font-size: clamp(1.05rem, 1.4vw, 1.17rem);
	line-height: 1.72;
}

.article-content > * {
	margin-top: 0;
	margin-bottom: 1.55em;
}

.article-content h2,
.article-content h3 {
	margin-top: 2.2em;
	margin-bottom: 0.7em;
	letter-spacing: -0.025em;
}

.article-content h2 {
	font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.article-content h3 {
	font-size: 1.5rem;
}

.article-content a {
	color: var(--lv-teal);
}

.article-content blockquote {
	margin: 2.2em 0;
	padding: 8px 0 8px 30px;
	border-left: 3px solid var(--lv-copper);
	font: 450 clamp(1.55rem, 2.6vw, 2.1rem)/1.3 var(--lv-editorial);
}

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

.article-content figure,
.article-content .wp-block-image {
	margin-block: 2.4em;
}

.article-content figcaption {
	margin-top: 10px;
	color: var(--lv-muted);
	font-size: 0.78rem;
}

.article-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.article-content th,
.article-content td {
	padding: 14px 10px;
	text-align: left;
	border-bottom: 1px solid var(--lv-line);
}

.article-content th {
	color: var(--lv-muted);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.article-content .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--lv-line);
}

.article-footer {
	margin-bottom: clamp(80px, 10vw, 130px);
	padding: 48px;
	display: grid;
	grid-template-columns: 0.4fr 1fr auto;
	gap: 36px;
	align-items: center;
	background: var(--lv-mist);
}

.article-footer p {
	margin: 0;
}

.article-footer > p:not(.section-kicker) {
	max-width: 580px;
}

.standard-page__content {
	padding-block: clamp(72px, 9vw, 120px);
}

.not-found {
	min-height: 70vh;
	display: grid;
	align-items: center;
	background: var(--lv-paper);
}

.not-found__inner {
	padding-block: 90px;
}

.not-found h1 {
	max-width: 800px;
	margin: 18px 0 24px;
	font-size: clamp(3.2rem, 7vw, 7rem);
	line-height: 0.95;
	letter-spacing: -0.055em;
}

.not-found p:not(.eyebrow) {
	max-width: 560px;
	color: var(--lv-muted);
}

.not-found .button {
	margin-top: 16px;
}

@media (max-width: 1050px) {
	:root {
		--lv-shell: min(100% - 48px, 1200px);
		--lv-shell-wide: min(100% - 48px, 1380px);
	}

	.site-nav__list {
		gap: 16px;
	}

	.site-nav a {
		font-size: 0.74rem;
	}

	.hero__grid {
		grid-template-columns: 1.2fr 0.8fr;
		gap: 56px;
	}

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

	.story-grid__secondary {
		grid-template-columns: repeat(3, 1fr);
	}

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

@media (max-width: 1050px) {
	.site-header__inner {
		min-height: 74px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		display: none;
		padding: 8px 24px 24px;
		background: var(--lv-ink);
		border-bottom: 1px solid rgb(255 255 255 / 14%);
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav__list {
		display: grid;
		gap: 0;
	}

	.site-nav a {
		display: block;
		padding: 13px 0;
		border-bottom: 1px solid rgb(255 255 255 / 10%);
		font-size: 0.88rem;
	}

	.site-nav a::after {
		display: none;
	}

	.hero__grid {
		min-height: auto;
		grid-template-columns: 1fr;
		padding-block: 84px 70px;
	}

	.hero__copy {
		max-width: 720px;
	}

	.hero__thesis {
		max-width: 480px;
	}

	.section-heading,
	.editorial-principle__grid,
	.site-footer__grid,
	.article-footer {
		grid-template-columns: 1fr;
	}

	.section-heading > p {
		justify-self: start;
	}

	.story-grid__secondary {
		grid-template-columns: 1fr 1fr;
	}

	.article-layout {
		grid-template-columns: 1fr;
	}

	.article-rail {
		display: none;
	}

	.site-footer__grid {
		gap: 44px;
	}
}

@media (max-width: 580px) {
	:root {
		--lv-shell: calc(100% - 32px);
		--lv-shell-wide: calc(100% - 24px);
	}

	.shell-narrow {
		width: calc(100% - 32px);
	}

	.brand img {
		width: 132px;
	}

	.brand__edition {
		display: none;
	}

	.hero h1 {
		font-size: clamp(2.85rem, 12.5vw, 4.2rem);
	}

	.hero__thesis blockquote {
		margin: 38px 0;
	}

	.topic-rail__label {
		display: none;
	}

	.topic-rail a {
		padding: 0 20px;
	}

	.section {
		padding-block: 74px;
	}

	.section-heading {
		gap: 24px;
		margin-bottom: 38px;
	}

	.story-grid__secondary,
	.archive-grid {
		grid-template-columns: 1fr;
	}

	.story-card--lead .story-card__title {
		font-size: 2.45rem;
	}

	.editorial-principle__grid {
		gap: 30px;
	}

	.editorial-quote {
		font-size: 2.6rem;
	}

	.page-masthead h1,
	.article-header h1 {
		font-size: clamp(2.8rem, 14vw, 4.4rem);
		hyphens: auto;
		overflow-wrap: anywhere;
	}

	.article-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}

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

	.article-layout {
		padding-block: 64px;
	}

	.article-footer {
		padding: 32px 24px;
	}

	.empty-state {
		padding: 42px 24px;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
