/* ==========================================================================
   Perim — main stylesheet
   Identity: Bab al-Mandab. Deep-sea blue, the logo's cyan and olive,
   Markazi Text for reading, IBM Plex Sans Arabic for the interface.
   ========================================================================== */

/* Tokens
   -------------------------------------------------------------------------- */
:root {
	--ink: #10252d;
	--ink-2: #2f4850;
	--muted: #587179;
	--paper: #ffffff;
	--mist: #eef5f6;
	--rule: #d8e4e7;
	--rule-strong: #b9ccd1;
	--sea: #00788a;
	--sea-bright: #00afc0;
	--olive: #8f9a35;
	--abyss: #072b36;
	--abyss-2: #0c3d4a;
	--on-abyss: #e8f3f4;
	--on-abyss-muted: #a3c3c9;
	/* Section pill: the logo's olive, deep enough to carry white text. */
	--pill: #6f7926;
	--on-pill: #fff;
	/* Focus rings and form-field edges keep 3:1 against both paper and mist. */
	--focus: #00788a;
	--field-edge: #748b92;
	/* Primary buttons. */
	--action: var(--abyss);
	--on-action: #fff;
	--action-hover: var(--sea);

	--font-serif: "Markazi Text", "Noto Naskh Arabic", "Amiri", serif;
	--font-sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;

	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1rem;
	--fs-md: 1.125rem;
	--fs-lg: 1.3125rem;
	--fs-xl: 1.625rem;
	--fs-2xl: clamp(1.75rem, 1.35rem + 1.2vw, 2.375rem);
	--fs-3xl: clamp(2rem, 1.45rem + 1.9vw, 3.125rem);
	--fs-4xl: clamp(2.25rem, 1.5rem + 2.7vw, 3.875rem);

	--container: 1280px;
	--gutter: clamp(1rem, 0.4rem + 2.2vw, 2rem);
	--space-section: clamp(3rem, 2rem + 3vw, 5.5rem);
	--radius-img: 3px;
	--radius-box: 12px;
	--radius-pill: 999px;
	--brand-h: 96px;
	--nav-h: 54px;
	--sticky-offset: calc(var(--nav-h) + 24px);

	color-scheme: light;
}

:root[data-theme="dark"] {
	--ink: #e3eef0;
	--ink-2: #bfd3d8;
	--muted: #8eacb4;
	--paper: #061c23;
	--mist: #0b2830;
	--rule: #17363f;
	--rule-strong: #255260;
	--sea: #45c6d5;
	--sea-bright: #2fd2e2;
	--olive: #b9c55e;
	--abyss: #02141a;
	--abyss-2: #082731;
	--on-abyss: #e3eef0;
	--on-abyss-muted: #8fb2ba;
	--pill: #b9c55e;
	--on-pill: #061c23;
	--focus: #2fd2e2;
	--field-edge: #55808c;
	--action: var(--sea);
	--on-action: #061c23;
	--action-hover: #8fdde6;
	color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--ink: #e3eef0;
		--ink-2: #bfd3d8;
		--muted: #8eacb4;
		--paper: #061c23;
		--mist: #0b2830;
		--rule: #17363f;
		--rule-strong: #255260;
		--sea: #45c6d5;
		--sea-bright: #2fd2e2;
		--olive: #b9c55e;
		--abyss: #02141a;
		--abyss-2: #082731;
		--on-abyss: #e3eef0;
		--on-abyss-muted: #8fb2ba;
		--pill: #b9c55e;
		--on-pill: #061c23;
		--focus: #2fd2e2;
		--field-edge: #55808c;
		--action: var(--sea);
		--on-action: #061c23;
		--action-hover: #8fdde6;
		color-scheme: dark;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--sticky-offset);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
video,
iframe {
	max-width: 100%;
}

img {
	display: block;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* Arabic has no true italic; avoid synthesised slanting. */
em,
i {
	font-style: normal;
}

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

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
	border-radius: 2px;
}

/* The dark bands keep the bright ring in light mode too (the skip link shows over the top bar). */
.skip-link,
.topbar,
.hero,
.issue-band,
.issue-hero,
.about-hero,
.site-footer {
	--focus: var(--sea-bright);
}

::selection {
	background: color-mix(in srgb, var(--sea-bright) 30%, transparent);
}

.icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

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

.skip-link {
	position: absolute;
	top: -100px;
	inset-inline-start: 1rem;
	z-index: 200;
	padding: 0.6rem 1rem;
	border-radius: var(--radius-pill);
	background: var(--abyss);
	color: #fff;
	font-weight: 600;
}

.skip-link:focus {
	top: 1rem;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.contours {
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* Buttons
   -------------------------------------------------------------------------- */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.72rem 1.4rem;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	background: var(--action);
	color: var(--on-action);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.button:hover {
	background: var(--action-hover);
}

.button--small {
	padding: 0.48rem 1.05rem;
	font-size: var(--fs-xs);
}

.button--ghost {
	border-color: var(--rule-strong);
	background: transparent;
	color: var(--ink);
}

.button--ghost:hover {
	border-color: var(--sea);
	background: transparent;
	color: var(--sea);
}

.button--light {
	background: #fff;
	color: #072b36;
}

.button--light:hover {
	background: var(--sea-bright);
	color: #04222a;
}

.button--outline-light {
	border-color: rgb(255 255 255 / 0.35);
	background: transparent;
	color: #fff;
}

.button--outline-light:hover {
	border-color: #fff;
	background: rgb(255 255 255 / 0.08);
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.icon-btn:hover {
	background: var(--mist);
	color: var(--sea);
}

.icon-btn--outline {
	border: 1px solid var(--rule-strong);
}

.theme-toggle .icon-sun {
	display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
	display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
	display: inline-block;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle .icon-moon {
		display: none;
	}

	:root:not([data-theme="light"]) .theme-toggle .icon-sun {
		display: inline-block;
	}
}

/* Top bar
   -------------------------------------------------------------------------- */
.topbar {
	background: var(--abyss);
	color: var(--on-abyss-muted);
	font-size: var(--fs-xs);
}

.topbar__inner {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	min-height: 40px;
}

.topbar__date {
	margin: 0;
}

.topbar__issue {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--on-abyss);
	font-weight: 500;
}

.topbar__issue:hover {
	color: var(--sea-bright);
}

.topbar__social {
	margin-inline-start: auto;
}

.social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social a {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	transition: color 0.2s, background-color 0.2s;
}

.social a:hover {
	background: rgb(255 255 255 / 0.08);
	color: var(--sea-bright);
}

/* Masthead
   -------------------------------------------------------------------------- */
.masthead {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--brand-h));
	z-index: 50;
	border-bottom: 1px solid var(--rule);
	background: var(--paper);
	transition: box-shadow 0.3s;
}

/* Once the bar sticks over the content, a short shadow separates it from the page. */
.masthead.is-stuck {
	box-shadow: 0 8px 20px -16px rgb(4 30 38 / 0.5);
}

.masthead__brand {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: var(--brand-h);
}

.masthead__menu {
	display: none;
}

.logo {
	display: inline-flex;
	flex: none;
	align-items: center;
}

.logo__img {
	width: auto;
	height: 66px;
}

.logo__img--light {
	display: none;
}

:root[data-theme="dark"] .logo__img--default {
	display: none;
}

:root[data-theme="dark"] .logo__img--light {
	display: block;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .logo__img--default {
		display: none;
	}

	:root:not([data-theme="light"]) .logo__img--light {
		display: block;
	}
}

.logo__text {
	color: var(--sea);
	font-family: var(--font-serif);
	font-size: 2.75rem;
	font-weight: 700;
	line-height: 1;
}

.masthead__tagline {
	max-width: 30ch;
	margin: 0;
	padding-inline-start: 1.5rem;
	border-inline-start: 1px solid var(--rule);
	color: var(--muted);
	font-size: var(--fs-xs);
	line-height: 1.6;
}

.masthead__actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin-inline-start: auto;
}

.masthead__subscribe {
	margin-inline-start: 0.5rem;
}

.primary-nav {
	border-top: 1px solid var(--rule);
}

.primary-nav__inner {
	display: flex;
	align-items: stretch;
	height: var(--nav-h);
}

/* Once the header row has scrolled away, the bar carries the logo and the actions. */
.logo--nav {
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-width 0.3s, opacity 0.3s, margin 0.3s;
}

.logo--nav .logo__img {
	height: 40px;
}

.masthead.is-stuck .logo--nav {
	max-width: 8rem;
	margin-inline-end: 1.25rem;
	opacity: 1;
}

.primary-nav__actions {
	display: none;
	align-items: center;
	gap: 0.25rem;
	margin-inline-start: auto;
}

.masthead.is-stuck .primary-nav__actions {
	display: flex;
}

/* Where the menu leaves less room, the bar drops the newsletter link first, then night mode. */
@media (max-width: 1360px) {
	.primary-nav__actions .masthead__subscribe {
		display: none;
	}
}

@media (max-width: 1200px) {
	.primary-nav__actions .theme-toggle {
		display: none;
	}
}

@media (max-width: 1100px) {
	.logo--nav .logo__img {
		height: 32px;
	}

	.masthead.is-stuck .logo--nav {
		margin-inline-end: 0.75rem;
	}
}

.primary-nav__list {
	display: flex;
	align-items: stretch;
	gap: 0.15rem;
	margin: 0;
	margin-inline-start: -0.8rem;
	padding: 0;
	list-style: none;
}

.primary-nav__list > li {
	position: relative;
	display: flex;
}

.primary-nav__list > li > a {
	position: relative;
	display: flex;
	align-items: center;
	padding-inline: 0.8rem;
	color: var(--ink-2);
	font-size: 0.97rem;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s;
}

.primary-nav__list > li > a::after {
	content: "";
	position: absolute;
	inset-inline: 0.8rem;
	bottom: -1px;
	height: 3px;
	background: var(--sea-bright);
	transform: scaleX(0);
	transition: transform 0.25s;
}

.primary-nav__list > li > a:hover {
	color: var(--ink);
}

.primary-nav__list > li > a:hover::after,
.primary-nav__list > .current-menu-item > a::after,
.primary-nav__list > .current-menu-parent > a::after,
.primary-nav__list > .current-post-ancestor > a::after,
.primary-nav__list > .current-category-ancestor > a::after {
	transform: scaleX(1);
}

.primary-nav__list > .current-menu-item > a,
.primary-nav__list > .current-post-ancestor > a {
	color: var(--ink);
	font-weight: 600;
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	z-index: 10;
	min-width: 220px;
	margin: 0;
	padding: 0.5rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius-box);
	background: var(--paper);
	box-shadow: 0 18px 40px -18px rgb(4 30 38 / 0.35);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.primary-nav__list > li:hover > .sub-menu,
.primary-nav__list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-nav .sub-menu a {
	display: block;
	padding: 0.55rem 0.75rem;
	border-radius: 8px;
	font-size: var(--fs-sm);
}

.primary-nav .sub-menu a:hover {
	background: var(--mist);
	color: var(--sea);
}

/* Cards
   -------------------------------------------------------------------------- */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

.card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--radius-img);
	background: var(--mist);
}

.card__media img,
.media-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.media-fallback {
	display: block;
	background: linear-gradient(160deg, #0c4554, #052631);
	color: var(--sea-bright);
}

.media-fallback .contours {
	opacity: 0.45;
}

.card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.55rem;
	min-width: 0;
}

.kicker {
	color: var(--sea);
	font-size: var(--fs-xs);
	font-weight: 600;
	line-height: 1.4;
}

.kicker:hover {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

/* Small text links get a touch target at least 24px tall without moving the text. */
.kicker,
.byline__author,
.author-box__link,
.topbar__issue,
.issues-grid__pdf {
	position: relative;
}

.kicker::after,
.byline__author::after,
.author-box__link::after,
.topbar__issue::after,
.issues-grid__pdf::after {
	content: "";
	position: absolute;
	inset: -0.3rem 0;
}

.card__title {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.36;
}

.card__title a:hover,
.headlines a:hover,
.most-read__item a:hover,
.issue-toc__title:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

.card__excerpt {
	margin: 0;
	color: var(--ink-2);
	font-size: var(--fs-sm);
	line-height: 1.85;
}

.byline {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-top: 0.15rem;
	color: var(--muted);
	font-size: var(--fs-xs);
	line-height: 1.5;
}

/* Writers' portraits; several overlap, the first on top as the byline reads. */
.avatar-stack {
	display: inline-flex;
	flex: none;
}

.avatar-stack img {
	position: relative;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 2px var(--paper);
}

.avatar-stack img + img {
	margin-inline-start: -0.65rem;
}

.avatar-stack img:nth-child(1) {
	z-index: 3;
}

.avatar-stack img:nth-child(2) {
	z-index: 2;
}

.avatar-stack img:nth-child(3) {
	z-index: 1;
}

.byline .avatar-stack img {
	width: 40px;
	height: 40px;
}

.byline__text {
	display: flex;
	flex-direction: column;
}

.byline__author {
	color: var(--ink-2);
	font-weight: 600;
}

.byline__author:hover {
	color: var(--sea);
}

/* Variants */
.card--feature {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
}

.card--feature .card__title {
	font-size: var(--fs-3xl);
	font-weight: 700;
	line-height: 1.25;
}

.card--feature .card__excerpt {
	font-size: var(--fs-md);
}

.card--portrait .card__media {
	aspect-ratio: 4 / 5;
}

.card--portrait .card__title {
	font-size: 1.375rem;
}

.card--text .card__title {
	font-size: 1.625rem;
}

.card--row {
	display: grid;
	grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
	align-items: start;
	gap: 1.75rem;
}

.card--row .card__title {
	font-size: 1.75rem;
}

.card__play {
	position: absolute;
	inset-inline-start: 1rem;
	bottom: 1rem;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgb(7 43 54 / 0.85);
	color: #fff;
}

/* Sections
   -------------------------------------------------------------------------- */
.section {
	margin-block: var(--space-section);
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2.25rem;
	padding-top: 1.1rem;
	border-top: 2px solid var(--ink);
}

.section-head__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: var(--fs-2xl);
	font-weight: 700;
	line-height: 1.2;
}

.section-head__desc {
	max-width: 62ch;
	margin: 0.4rem 0 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.section-head__link {
	flex: none;
	padding-bottom: 2px;
	border-bottom: 1px solid currentColor;
	color: var(--sea);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.section-head__link:hover {
	color: var(--ink);
}

.grid {
	display: grid;
	gap: 2.5rem 2rem;
}

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

.card--feature + .grid {
	margin-top: 2.75rem;
	padding-top: 2.75rem;
	border-top: 1px solid var(--rule);
}

/* Hero: featured stories over their photographs
   -------------------------------------------------------------------------- */
.hero {
	--hero-interval: 7s;
	--hero-rail-h: 132px;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #04212a;
	color: #fff;
}

/* All slides share one grid cell, so the hero takes the height of the tallest. */
.hero__slides {
	display: grid;
	touch-action: pan-y;
}

.hero-slide {
	position: relative;
	display: flex;
	align-items: flex-end;
	grid-area: 1 / 1;
	min-height: clamp(560px, 80vh, 780px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}

.hero-slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.9s ease;
}

.hero-slide__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.hero-slide__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-slide.is-active .hero-slide__media img {
	animation: hero-zoom 14s ease-out both;
}

@keyframes hero-zoom {
	from {
		transform: scale(1.08);
	}
}

/* Deep-sea shade from the text side and under the rail keeps text readable on any photo. */
.hero-slide__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgb(3 24 31 / 0.96) 0%, rgb(3 24 31 / 0.6) 28%, rgb(3 24 31 / 0) 55%),
		linear-gradient(to left, rgb(3 24 31 / 0.92) 0%, rgb(3 24 31 / 0.72) 34%, rgb(3 24 31 / 0.12) 72%, rgb(3 24 31 / 0) 100%);
}

.hero-slide__inner {
	padding-block: 5rem calc(var(--hero-rail-h) + clamp(1.75rem, 1rem + 2.5vw, 3.25rem));
}

.hero-slide__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.15rem;
	max-width: 820px;
}

.hero-slide__labels {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
}

.hero .kicker,
.hero-slide__issue {
	padding: 0.3rem 0.85rem;
	border-radius: var(--radius-pill);
	font-size: var(--fs-xs);
	font-weight: 600;
	line-height: 1.5;
}

.hero .kicker {
	background: rgb(0 175 192 / 0.2);
	color: #8ae9f2;
}

.hero-slide__issue {
	border: 1px solid rgb(255 255 255 / 0.3);
	color: rgb(255 255 255 / 0.88);
}

.hero-slide__issue:hover {
	border-color: #fff;
}

.hero-slide__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(2.1rem, 1.4rem + 2vw, 3.25rem);
	font-weight: 700;
	line-height: 1.22;
	text-shadow: 0 2px 30px rgb(0 0 0 / 0.3);
}

.hero-slide__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.22em;
}

.hero-slide__excerpt {
	display: -webkit-box;
	max-width: 62ch;
	margin: 0;
	overflow: hidden;
	color: rgb(232 243 244 / 0.86);
	font-size: var(--fs-md);
	line-height: 1.85;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.hero-slide__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2.25rem;
	margin-top: 0.35rem;
}

.hero .byline {
	margin: 0;
	color: rgb(232 243 244 / 0.72);
}

.hero .byline__author {
	color: #fff;
}

.hero .avatar-stack img {
	box-shadow: 0 0 0 2px rgb(255 255 255 / 0.8);
}

/* Rail of featured stories along the bottom of the hero. */
.hero__rail {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
}

.hero__tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
	margin: 0;
	padding: 0;
	border-top: 1px solid rgb(255 255 255 / 0.2);
	list-style: none;
}

.hero-tab {
	position: relative;
	display: block;
	padding-block: 1.1rem 1.6rem;
	color: rgb(255 255 255 / 0.58);
	transition: color 0.3s;
}

.hero-tab:hover,
.hero-tab.is-active {
	color: #fff;
}

.hero-tab__bar {
	position: absolute;
	top: -1px;
	inset-inline: 0;
	height: 2px;
	overflow: hidden;
}

/* The current story stays marked even while its progress is paused at the start. */
.hero-tab.is-active .hero-tab__bar {
	background: rgb(255 255 255 / 0.35);
}

.hero-tab__bar span {
	display: block;
	height: 100%;
	background: var(--sea-bright);
	transform: scaleX(0);
	transform-origin: right;
}

.hero-tab.is-active .hero-tab__bar span {
	transform: scaleX(1);
}

.hero.is-autoplay .hero-tab.is-active .hero-tab__bar span {
	animation: hero-progress var(--hero-interval) linear both;
}

.hero.is-paused .hero-tab.is-active .hero-tab__bar span {
	animation-play-state: paused;
}

@keyframes hero-progress {
	from {
		transform: scaleX(0);
	}
}

.hero-tab__kicker {
	display: block;
	margin-bottom: 0.35rem;
	color: #8ae9f2;
	font-size: var(--fs-xs);
	font-weight: 600;
}

.hero-tab__title {
	display: -webkit-box;
	overflow: hidden;
	font-family: var(--font-serif);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hero__toggle {
	position: absolute;
	top: 1.5rem;
	inset-inline-end: max(var(--gutter), calc((100% - var(--container)) / 2));
	z-index: 3;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgb(255 255 255 / 0.35);
	border-radius: 50%;
	background: rgb(3 24 31 / 0.35);
	color: #fff;
	cursor: pointer;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background-color 0.2s, border-color 0.2s;
}

.hero__toggle:hover {
	border-color: #fff;
	background: rgb(3 24 31 / 0.6);
}

.hero__toggle[hidden] {
	display: none;
}

.hero__toggle .icon-play,
.hero.is-stopped .hero__toggle .icon-pause {
	display: none;
}

.hero.is-stopped .hero__toggle .icon-play {
	display: inline-block;
}

/* Most read: a ranked strip under the hero. */
.most-read {
	display: grid;
	grid-template-columns: minmax(0, 130px) minmax(0, 1fr);
	align-items: start;
	gap: 2rem;
	padding-block: 2.25rem 0;
}

.most-read__title {
	margin: 0;
	padding-top: 0.2rem;
	font-family: var(--font-serif);
	font-size: var(--fs-xl);
	font-weight: 700;
	line-height: 1.25;
}

.most-read__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: rank;
}

.most-read__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-content: start;
	column-gap: 0.7rem;
	padding-inline: 1.4rem;
	border-inline-start: 1px solid var(--rule);
	counter-increment: rank;
}

.most-read__item::before {
	content: counter(rank);
	grid-row: span 2;
	color: var(--sea-bright);
	font-family: var(--font-serif);
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 0.85;
}

.most-read__item a {
	display: -webkit-box;
	overflow: hidden;
	font-family: var(--font-serif);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.most-read__meta {
	margin-top: 0.35rem;
	color: var(--muted);
	font-size: var(--fs-xs);
}

/* Current issue band (the signature section)
   -------------------------------------------------------------------------- */
.issue-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin-block: var(--space-section);
	padding-block: clamp(3rem, 2rem + 4vw, 6rem);
	background: radial-gradient(120% 140% at 85% 20%, #0d4655 0%, #072b36 55%, #04202a 100%);
	color: var(--on-abyss);
}

:root[data-theme="dark"] .issue-band {
	background: radial-gradient(120% 140% at 85% 20%, #08313c 0%, #031820 60%, #020f14 100%);
}

.issue-band__motif {
	position: absolute;
	inset: 0;
	z-index: -1;
	color: var(--sea-bright);
	opacity: 0.2;
}

.issue-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(2rem, 1rem + 3vw, 4.5rem);
}

.issue-band__label {
	display: block;
	margin-bottom: 0.6rem;
	color: var(--sea-bright);
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.issue-band__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(3rem, 2rem + 3.4vw, 5rem);
	font-weight: 700;
	line-height: 1;
}

.issue-band__month {
	margin: 0.9rem 0 0;
	color: var(--on-abyss-muted);
	font-size: var(--fs-lg);
}

.issue-band__editorial {
	margin: 2.25rem 0 0;
	padding-inline-start: 1.4rem;
	border-inline-start: 2px solid #a3ad47;
}

.issue-band__editorial blockquote {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1.4rem;
	line-height: 1.8;
}

.issue-band__editorial blockquote p {
	margin: 0;
}

.issue-band__editorial figcaption {
	margin-top: 0.85rem;
}

.issue-band__editorial figcaption a {
	color: var(--sea-bright);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.issue-band__editorial figcaption a:hover {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.issue-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2.25rem;
}

.issue-band__toc-title {
	margin: 0 0 0.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgb(255 255 255 / 0.25);
	font-size: var(--fs-md);
	font-weight: 700;
}

.issue-toc {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: toc;
}

.issue-toc__item {
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	padding-block: 0.95rem;
	border-bottom: 1px solid rgb(255 255 255 / 0.1);
	counter-increment: toc;
}

.issue-toc__item::before {
	content: counter(toc);
	grid-row: span 3;
	padding-top: 0.15rem;
	color: #b4be57;
	font-size: var(--fs-sm);
	font-weight: 600;
}

.issue-toc__cat {
	color: var(--sea-bright);
	font-size: var(--fs-xs);
}

.issue-toc__title {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.45;
}

.issue-toc__author {
	margin-top: 0.2rem;
	color: var(--on-abyss-muted);
	font-size: var(--fs-xs);
}

/* Issue cover (uploaded or generated). The spine sits on the right, as in Arabic binding. */
.issue-cover {
	position: relative;
	display: block;
	container-type: inline-size;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 6px 2px 2px 6px;
	background: #0b3a47;
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.12), 0 22px 45px -18px rgb(2 18 24 / 0.7);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.issue-cover::after {
	content: "";
	position: absolute;
	inset-block: 0;
	right: 0;
	width: 6%;
	background: linear-gradient(to left, rgb(0 0 0 / 0.28), rgb(255 255 255 / 0.06) 60%, transparent);
	pointer-events: none;
}

a.issue-cover:hover {
	transform: translateY(-4px);
}

.issue-cover--lg {
	width: 100%;
	max-width: 300px;
}

.issue-cover--sm {
	width: 112px;
}

.issue-cover__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.issue-cover__generated {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	padding: 10cqi 11cqi 9cqi;
	background: linear-gradient(165deg, #0e4a59 0%, #062d38 58%, #041f27 100%);
	color: #fff;
}

.issue-cover__motif {
	position: absolute;
	inset: 0;
	color: #3fd0de;
	opacity: 0.32;
}

.issue-cover__brand {
	position: relative;
	color: #3fd0de;
	font-family: var(--font-serif);
	font-size: 18cqi;
	font-weight: 700;
	line-height: 1;
}

.issue-cover__brand img {
	width: 66%;
	height: auto;
}

.issue-cover__number {
	position: relative;
	margin-top: auto;
	font-family: var(--font-serif);
	font-size: 50cqi;
	font-weight: 700;
	line-height: 0.8;
}

.issue-cover__month {
	position: relative;
	margin-top: 4cqi;
	padding-top: 4cqi;
	border-top: 1px solid rgb(255 255 255 / 0.35);
	color: rgb(255 255 255 / 0.85);
	font-size: 7.5cqi;
	font-weight: 500;
}

/* Situation assessments (briefs)
   -------------------------------------------------------------------------- */
.briefs {
	margin-block: var(--space-section);
	padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.25rem);
	background: var(--mist);
}

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

.briefs__list .card {
	padding-inline: 1.75rem;
	border-inline-start: 1px solid var(--rule-strong);
}

.briefs__list .card:first-child {
	padding-inline-start: 0;
	border-inline-start: 0;
}

.briefs__list .card:last-child {
	padding-inline-end: 0;
}

/* Two columns
   -------------------------------------------------------------------------- */
.pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 1rem + 3vw, 4rem);
}

.headlines {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.headlines li {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding-block: 1rem;
	border-top: 1px solid var(--rule);
}

.headlines a {
	font-family: var(--font-serif);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.45;
}

.headlines time {
	color: var(--muted);
	font-size: var(--fs-xs);
}

/* Rail (horizontal scroller)
   -------------------------------------------------------------------------- */
.rail__head {
	display: flex;
	align-items: flex-end;
	gap: 1rem;
	padding-top: 1.1rem;
	border-top: 2px solid var(--ink);
}

.rail__head .section-head {
	flex: 1;
	margin-bottom: 0;
	padding-top: 0;
	border-top: 0;
}

.rail__controls {
	display: flex;
	gap: 0.5rem;
}

.rail__track {
	display: grid;
	grid-auto-columns: calc((100% - 3 * 1.75rem) / 4);
	grid-auto-flow: column;
	gap: 1.75rem;
	margin-top: 2.25rem;
	padding-bottom: 0.25rem;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.rail__track::-webkit-scrollbar {
	display: none;
}

.rail__track > * {
	scroll-snap-align: start;
}

/* Authors
   -------------------------------------------------------------------------- */
.authors__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.25rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.author-card {
	position: relative;
	display: grid;
	grid-template-areas: "avatar name" "avatar role" "avatar count";
	grid-template-columns: 72px minmax(0, 1fr);
	align-content: center;
	column-gap: 1rem;
	row-gap: 0.1rem;
}

.author-card__avatar {
	grid-area: avatar;
	align-self: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--mist);
}

.author-card__name {
	grid-area: name;
	font-family: var(--font-serif);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
}

.author-card__name::after {
	content: "";
	position: absolute;
	inset: 0;
}

.author-card:hover .author-card__name {
	color: var(--sea);
}

.author-card__role {
	grid-area: role;
	color: var(--muted);
	font-size: var(--fs-xs);
	line-height: 1.5;
}

.author-card__count {
	grid-area: count;
	margin-top: 0.2rem;
	color: var(--sea);
	font-size: var(--fs-xs);
	font-weight: 600;
}

/* Issues shelf
   -------------------------------------------------------------------------- */
.shelf__list {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shelf__item {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.shelf__label {
	margin-top: 0.85rem;
	font-size: var(--fs-sm);
	font-weight: 700;
}

.shelf__month {
	color: var(--muted);
	font-size: var(--fs-xs);
}

/* Social media band
   -------------------------------------------------------------------------- */
.follow-cards {
	display: grid;
	/* --follow-cols columns when they fit (set per account count), fewer on narrow screens. */
	grid-template-columns: repeat(auto-fill, minmax(max(180px, 100% / var(--follow-cols, 4) - 1rem), 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.follow-card {
	--brand: var(--sea);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	height: 100%;
	padding: 1.4rem 1.5rem 1.25rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius-box);
	background: var(--paper);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.follow-card:hover {
	border-color: var(--brand);
	box-shadow: 0 16px 34px -24px rgb(4 30 38 / 0.55);
}

.follow-card--facebook {
	--brand: #1877f2;
}

.follow-card--x,
.follow-card--tiktok {
	--brand: var(--ink);
}

.follow-card--instagram {
	--brand: #d62976;
}

.follow-card--youtube {
	--brand: #e62117;
}

.follow-card--telegram {
	--brand: #229ed9;
}

.follow-card--whatsapp {
	--brand: #1fa855;
}

.follow-card--linkedin {
	--brand: #0a66c2;
}

.follow-card__icon {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 0.7rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--brand, var(--sea)) 12%, var(--paper));
	color: var(--brand, var(--sea));
}

.follow-card__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
}

.follow-card__name {
	font-size: var(--fs-md);
	font-weight: 700;
}

.follow-card__handle {
	color: var(--muted);
	font-size: var(--fs-sm);
}

.follow-card__cta {
	margin-top: auto;
	padding-top: 0.9rem;
	/* Toned with ink so small brand-coloured text keeps AA contrast in both themes. */
	color: color-mix(in srgb, var(--brand) 70%, var(--ink));
	font-size: var(--fs-sm);
	font-weight: 700;
}

.social-posts {
	margin-top: 2.75rem;
}

.social-posts__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-bottom: 1.1rem;
}

.social-posts__title {
	margin: 0;
	font-size: var(--fs-lg);
	font-weight: 700;
}

.social-posts__tabs {
	display: flex;
	gap: 0.25rem;
	padding: 0.25rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius-pill);
}

.social-posts__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.45rem 1rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: none;
	color: var(--muted);
	font: inherit;
	font-size: var(--fs-sm);
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.social-posts__tab:hover {
	color: var(--ink);
}

.social-posts__tab[aria-selected="true"] {
	background: var(--ink);
	color: var(--paper);
}

.post-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-post {
	--brand: var(--sea);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--rule);
	border-radius: var(--radius-box);
	background: var(--paper);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.social-post--facebook {
	--brand: #1877f2;
}

.social-post--x {
	--brand: var(--ink);
}

.social-post:hover {
	border-color: var(--brand);
	box-shadow: 0 16px 34px -24px rgb(4 30 38 / 0.55);
}

.social-post__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1.91 / 1;
	object-fit: cover;
	background: var(--mist);
}

.social-post__text {
	display: -webkit-box;
	margin: 1.1rem 1.25rem 0;
	overflow: hidden;
	font-size: var(--fs-sm);
	line-height: 1.8;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

/* Without an image the words get the room. */
.social-post--text {
	background: var(--mist);
}

.social-post--text .social-post__text {
	margin-top: 1.5rem;
	font-size: var(--fs-md);
	line-height: 1.9;
	-webkit-line-clamp: 8;
}

.social-post__meta {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: auto;
	padding: 1rem 1.25rem 1.1rem;
	color: var(--muted);
	font-size: var(--fs-xs);
}

.social-post__meta .icon {
	color: var(--brand);
}

/* Instagram is read by its pictures: a row of squares, as on the profile. */
.ig-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ig-tile {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: calc(var(--radius-box) / 2);
	background: var(--mist);
}

.ig-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.ig-tile:hover img {
	transform: scale(1.04);
}

.ig-tile .icon {
	position: absolute;
	inset-block-start: 0.55rem;
	inset-inline-end: 0.55rem;
	color: #fff;
	filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.55));
}

/* Newsletter
   -------------------------------------------------------------------------- */
.newsletter {
	border-top: 1px solid var(--rule);
	background: var(--mist);
}

.newsletter__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
	align-items: center;
	gap: 2rem 4rem;
	padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem);
}

.newsletter__title {
	margin: 0 0 0.4rem;
	font-family: var(--font-serif);
	font-size: var(--fs-2xl);
	line-height: 1.25;
}

.newsletter__text p {
	margin: 0;
	color: var(--ink-2);
}

.newsletter__form {
	display: flex;
	gap: 0.5rem;
}

.newsletter__form input {
	flex: 1;
	min-width: 0;
	padding: 0.8rem 1.2rem;
	border: 1px solid var(--field-edge);
	border-radius: var(--radius-pill);
	background: var(--paper);
}

.newsletter__form input:placeholder-shown {
	direction: rtl;
}

/* Footer
   -------------------------------------------------------------------------- */
.site-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--abyss);
	color: var(--on-abyss-muted);
	font-size: var(--fs-sm);
}

.site-footer__motif {
	position: absolute;
	inset: 0;
	z-index: -1;
	color: var(--sea-bright);
	opacity: 0.09;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
	gap: 3rem;
	padding-block: 4rem 3rem;
}

.site-footer a {
	color: var(--on-abyss);
	transition: color 0.2s;
}

.site-footer a:hover {
	color: var(--sea-bright);
}

.site-footer__about p {
	max-width: 46ch;
	line-height: 1.9;
}

.site-footer__license {
	font-size: var(--fs-xs);
	opacity: 0.85;
}

.logo--footer .logo__img {
	height: 76px;
}

.logo--footer .logo__text {
	color: var(--sea-bright);
}

.site-footer__heading {
	margin: 0 0 1.1rem;
	color: #fff;
	font-size: var(--fs-sm);
	font-weight: 700;
}

.site-footer ul:not(.social) {
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__issue {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.site-footer__issue p {
	margin: 0;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	padding-block: 1.25rem;
	border-top: 1px solid rgb(255 255 255 / 0.12);
	font-size: var(--fs-xs);
}

.site-footer__bottom p {
	margin: 0;
}

/* Dialogs: search and menu drawer
   -------------------------------------------------------------------------- */
dialog {
	max-width: none;
	max-height: none;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
}

dialog::backdrop {
	background: rgb(2 16 21 / 0.55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.search-dialog {
	width: 100%;
	height: 100%;
	margin: 0;
}

.search-dialog__panel {
	max-width: 760px;
	margin: 9vh auto 0;
	margin-inline: max(1rem, calc((100% - 760px) / 2));
	overflow: hidden;
	border-radius: 18px;
	background: var(--paper);
	box-shadow: 0 30px 80px -25px rgb(0 0 0 / 0.55);
}

.search-dialog[open] .search-dialog__panel {
	animation: rise 0.22s ease-out;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}

.search-dialog__form {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 1.1rem 0.6rem 0.6rem;
	border-bottom: 1px solid var(--rule);
	color: var(--muted);
}

.search-dialog__form input {
	flex: 1;
	min-width: 0;
	padding: 0.85rem 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--ink);
	font-size: var(--fs-lg);
}

.search-dialog__form input::-webkit-search-cancel-button {
	display: none;
}

.search-dialog__results {
	max-height: 62vh;
	overflow-y: auto;
}

.search-dialog__results:empty {
	display: none;
}

.search-result {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.95rem 1.4rem;
	border-bottom: 1px solid var(--rule);
}

.search-result:hover,
.search-result:focus-visible {
	background: var(--mist);
}

/* Drawn inside, where the scrolling results list can't clip it. */
.search-result:focus-visible {
	outline-offset: -2px;
}

.search-result__title {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.45;
}

.search-result__meta {
	color: var(--muted);
	font-size: var(--fs-xs);
}

.search-dialog__all {
	display: block;
	padding: 0.95rem 1.4rem;
	color: var(--sea);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.search-dialog__empty {
	margin: 0;
	padding: 1.4rem;
	color: var(--muted);
}

.drawer {
	inset-inline-end: auto;
	width: min(88vw, 390px);
	height: 100dvh;
	margin: 0;
	padding: 1rem 1.25rem 1.5rem;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--paper);
}

.drawer[open] {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	animation: drawer-in 0.25s ease-out;
}

@keyframes drawer-in {
	from {
		transform: translateX(100%);
	}
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.drawer .logo__img {
	height: 52px;
}

.drawer__search {
	display: flex;
	align-items: center;
	padding-inline: 1.1rem 0.25rem;
	border: 1px solid var(--field-edge);
	border-radius: var(--radius-pill);
}

.drawer__search input {
	flex: 1;
	min-width: 0;
	padding: 0.7rem 0;
	border: 0;
	outline: 0;
	background: transparent;
}

/* On short screens the whole drawer scrolls: the list runs past the screen edge
   instead of stopping above the footer, where it looked like the end of the menu. */
.drawer__nav {
	flex: none;
}

.drawer__list,
.drawer__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.drawer__list a {
	display: block;
	padding-block: 0.62rem;
	border-bottom: 1px solid var(--rule);
	font-size: var(--fs-md);
	font-weight: 600;
}

.drawer__list .sub-menu a {
	padding-inline-start: 1rem;
	font-size: var(--fs-base);
	font-weight: 400;
}

.drawer__list .current-menu-item > a {
	color: var(--sea);
}

.drawer__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
}

.toast {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	z-index: 300;
	padding: 0.65rem 1.25rem;
	border-radius: var(--radius-pill);
	background: var(--ink);
	color: var(--paper);
	font-size: var(--fs-sm);
	font-weight: 600;
	box-shadow: 0 12px 30px -12px rgb(0 0 0 / 0.5);
	transform: translate(-50%, 200%);
	transition: transform 0.25s;
}

.toast:empty {
	display: none;
}

.toast.is-visible {
	transform: translate(-50%, 0);
}

/* Article
   -------------------------------------------------------------------------- */
.reading-progress {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	inset-inline: 0;
	z-index: 60;
	height: 3px;
	pointer-events: none;
}

.reading-progress span {
	display: block;
	height: 100%;
	background: var(--sea-bright);
	transform: scaleX(0);
	transform-origin: right;
}

/* The article spans the same width as the header: text starts at the right edge
   (under the logo) and the contents sidebar sits at the left edge. */
/* The article's title block sits on Perim's depth lines, as the archive heads do. */
.article-head {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem);
	background: var(--mist);
}

.article-head__motif {
	position: absolute;
	inset: 0;
	z-index: -1;
	color: var(--sea);
	opacity: 0.14;
}

/* With a lead photo, the band runs on behind the photo's top edge. */
.article-head--figure {
	padding-bottom: clamp(5.5rem, 3rem + 7vw, 9.5rem);
}

.article-head--figure + .article-figure {
	position: relative;
	margin-top: calc(-1 * clamp(4rem, 2rem + 5.5vw, 7.75rem));
}

.article-header {
	padding-top: clamp(1.75rem, 1rem + 2vw, 3rem);
}

.article-header .article-title,
.article-header .article-dek {
	max-width: 980px;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.75rem;
	padding: 0;
	color: var(--muted);
	font-size: var(--fs-xs);
	list-style: none;
}

.breadcrumbs li + li::before {
	content: "/";
	margin-inline-end: 0.5rem;
	color: var(--rule-strong);
}

.breadcrumbs a:hover {
	color: var(--sea);
}

.article-header__labels {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

/* The section as a filled pill, the issue beside it as an outlined one. */
.article-header__labels .kicker {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 1.05rem 0.38rem;
	border-radius: var(--radius-pill);
	background: var(--pill);
	color: var(--on-pill);
	font-size: var(--fs-sm);
	font-weight: 700;
	transition: background-color 0.2s, color 0.2s;
}

.article-header__labels .kicker:hover {
	background: var(--ink);
	color: var(--paper);
	text-decoration: none;
}

.article-header__labels .issue-badge {
	background: var(--paper);
}

.issue-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.2rem 0.75rem;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius-pill);
	color: var(--ink-2);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.issue-badge:hover {
	border-color: var(--sea);
	color: var(--sea);
}

.article-title {
	margin: 0.9rem 0 1.1rem;
	font-family: var(--font-serif);
	font-size: clamp(2.25rem, 1.55rem + 2.8vw, 3.875rem);
	font-weight: 700;
	line-height: 1.22;
}

.article-dek {
	max-width: 64ch;
	margin: 0 0 1.75rem;
	color: var(--ink-2);
	font-size: var(--fs-lg);
	line-height: 1.75;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1.1rem;
	border-block: 1px solid var(--rule);
}

.article-author {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.article-author img {
	width: 54px;
	height: 54px;
}

.article-author--group img {
	width: 46px;
	height: 46px;
}

.article-author__names {
	display: block;
	font-weight: 700;
}

.article-author__names .sep {
	color: var(--muted);
	font-weight: 400;
}

/* A name never breaks across lines; a list of names breaks between them. */
.article-author__name {
	white-space: nowrap;
}

.article-author__name:hover {
	color: var(--sea);
}

/* With several writers, the underline shows where each name links. */
.article-author--group .article-author__name {
	text-decoration: underline dotted var(--rule-strong);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.45em;
}

.article-author__role {
	display: block;
	color: var(--muted);
	font-size: var(--fs-xs);
}

.article-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
	margin: 0;
	padding: 0;
	color: var(--muted);
	font-size: var(--fs-sm);
	list-style: none;
}

.article-facts li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.article-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.15rem;
}

/* Text size and print wrap to a new line together, never one button at a time. */
.reading-tools {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.text-size {
	font-family: var(--font-serif);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1;
}

.text-size--up {
	font-size: 1.55rem;
}

.article-tools .divider {
	width: 1px;
	height: 22px;
	margin-inline: 0.4rem;
	background: var(--rule);
}

.share {
	display: flex;
	gap: 0.15rem;
}

.article-figure {
	margin-top: 2.25rem;
	margin-bottom: 0;
}

.article-figure img {
	width: 100%;
	max-height: 700px;
	border-radius: var(--radius-img);
	object-fit: cover;
}

.article-figure figcaption {
	margin-top: 0.65rem;
	color: var(--muted);
	font-size: var(--fs-xs);
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 48rem) minmax(0, 17rem);
	justify-content: space-between;
	gap: clamp(2.5rem, 0.5rem + 4vw, 4.5rem);
	padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) 1rem;
}

.article-body {
	grid-column: 1;
	min-width: 0;
}

.article-aside {
	grid-column: 2;
	grid-row: 1;
}

.article-toc {
	position: sticky;
	top: calc(var(--sticky-offset) + 1rem);
	max-width: 270px;
	max-height: calc(100vh - var(--sticky-offset) - 3rem);
	overflow-y: auto;
	font-size: var(--fs-sm);
}

.article-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.article-toc summary::-webkit-details-marker {
	display: none;
}

.article-toc summary .icon {
	display: none;
}

.article-toc ol {
	margin: 0;
	padding: 0;
	border-inline-start: 2px solid var(--rule);
	list-style: none;
}

.article-toc a {
	display: block;
	margin-inline-start: -2px;
	padding: 0.4rem 0.95rem;
	border-inline-start: 2px solid transparent;
	color: var(--muted);
	line-height: 1.55;
	transition: color 0.2s, border-color 0.2s;
}

.article-toc a:hover {
	color: var(--ink);
}

.article-toc a.is-active {
	border-color: var(--sea-bright);
	color: var(--ink);
	font-weight: 600;
}

.article-toc .is-sub a {
	padding-inline-start: 1.7rem;
	font-size: var(--fs-xs);
}

/* Long-form reading */
.prose {
	position: relative; /* Keeps hidden post-embed iframes within the column. */
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: calc(1.375rem * var(--prose-scale, 1));
	line-height: 1.95;
	overflow-wrap: break-word;
}

/* Editors use the "Preformatted" block for ordinary text: let it wrap like a paragraph. */
.prose pre {
	max-width: 100%;
	overflow-x: auto;
	font: inherit;
	white-space: pre-wrap;
}

.prose > * {
	margin-block: 0 1.15em;
}

/* English references and quotes keep their own direction inside Arabic text. */
.prose p,
.prose li,
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
	unicode-bidi: plaintext;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
	color: var(--ink);
	font-family: var(--font-sans);
	font-weight: 700;
	line-height: 1.55;
	scroll-margin-top: var(--sticky-offset);
}

.prose h1,
.prose h2 {
	margin-block: 2.2em 0.75em;
	font-size: 0.95em;
}

.prose h3 {
	margin-block: 1.8em 0.6em;
	font-size: 0.82em;
}

.prose h4 {
	margin-block: 1.5em 0.5em;
	font-size: 0.74em;
}

.prose h2 strong,
.prose h3 strong {
	font-weight: inherit;
}

.prose a {
	color: var(--sea);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.28em;
}

/* Bookmarks pasted from Word (<a> without href) are not links. */
.prose a:not([href]) {
	color: inherit;
	text-decoration: none;
}

.prose strong,
.prose b {
	font-weight: 700;
}

.prose em,
.prose i {
	font-weight: 500;
}

.prose blockquote {
	margin: 2em 0;
	padding-inline-start: 1.5rem;
	border-inline-start: 3px solid var(--sea-bright);
	color: var(--ink-2);
	font-size: 1.08em;
}

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

.prose ul,
.prose ol {
	padding-inline-start: 1.4em;
}

.prose li {
	margin-bottom: 0.45em;
}

.prose li::marker {
	color: var(--sea);
}

.prose img {
	border-radius: var(--radius-img);
}

.prose figure {
	margin: 2.2em 0;
}

/* Captioned images from the classic editor carry a fixed inline width. */
.prose figure,
.prose .wp-caption {
	max-width: 100% !important;
}

.prose figcaption,
.prose .wp-caption-text {
	margin-top: 0.6rem;
	color: var(--muted);
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	line-height: 1.6;
}

.prose hr {
	width: 30%;
	margin: 2.5em auto;
	border: 0;
	border-top: 1px solid var(--rule-strong);
}

/* Wide tables scroll inside their own box instead of widening the page. */
.prose .table-scroll,
.prose .wp-block-table {
	max-width: 100%;
	margin-block: 0.75em 1.5em;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	border: 1px solid var(--rule);
	border-radius: 8px;
}

.prose table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	font-variant-numeric: tabular-nums;
	line-height: 1.65;
}

/* Fixed layout squeezes long Arabic labels into equal columns; let columns size to their content. */
.prose table.has-fixed-layout {
	table-layout: auto;
}

.prose th,
.prose td {
	padding: 0.65rem 0.9rem;
	border: 0;
	border-bottom: 1px solid var(--rule);
	text-align: start;
	vertical-align: top;
}

.prose tr:last-child > td {
	border-bottom: 0;
}

.prose td + td,
.prose th + th,
.prose [rowspan] {
	border-inline-start: 1px solid var(--rule);
}

.prose [rowspan] {
	border-inline-end: 1px solid var(--rule);
}

/* Pasted tables rarely use <th>: their first row is the header. */
.prose th,
.prose table:not(:has(th)) tr:first-child > td {
	background: var(--mist);
	color: var(--ink);
	font-weight: 700;
}

.prose .table-caption {
	margin-block: 1.8em 0;
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	font-weight: 700;
	line-height: 1.7;
}

.prose .table-caption strong {
	font-weight: inherit;
}

.prose .table-source {
	margin-top: -0.5em;
	color: var(--muted);
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	line-height: 1.7;
}

.prose iframe,
.prose .wp-block-embed {
	width: 100%;
	border: 0;
}

.prose .wp-block-pullquote {
	padding: 1.5em 0;
	border-block: 2px solid var(--ink);
	font-size: 1.25em;
	text-align: center;
}

.prose .article-credits {
	padding: 1.1rem 1.4rem;
	border-radius: var(--radius-box);
	background: var(--mist);
	color: var(--ink-2);
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	line-height: 1.9;
}

.prose .article-credits em {
	font-weight: 500;
}

.prose .article-credits br:last-child {
	display: none;
}

.prose .is-reference {
	margin-bottom: 0.6em;
	color: var(--ink-2);
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	line-height: 1.85;
	overflow-wrap: anywhere;
}

.prose h2.is-reference {
	margin-top: 3em;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rule);
	color: var(--ink);
	font-size: var(--fs-md);
}

/* Article footer */
.article-end {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	margin-top: 3rem;
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.article-tags a {
	padding: 0.3rem 0.85rem;
	border-radius: var(--radius-pill);
	background: var(--mist);
	color: var(--ink-2);
	font-size: var(--fs-xs);
}

.article-tags a:hover {
	color: var(--sea);
}

.article-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1rem;
	border-block: 1px solid var(--rule);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.author-box {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 1.4rem;
	padding: 1.75rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius-box);
}

.author-box img {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
}

.author-box__label {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-xs);
}

.author-box__name {
	margin: 0.1rem 0 0;
	font-family: var(--font-serif);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.3;
}

.author-box__bio {
	margin: 0.6rem 0 0.9rem;
	color: var(--ink-2);
	font-size: var(--fs-sm);
	line-height: 1.9;
}

.author-box__link {
	color: var(--sea);
	font-size: var(--fs-sm);
	font-weight: 600;
}

/* Several writers: a grid of shorter boxes, so the page doesn't end in a long stack. */
.author-boxes--group {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.author-boxes--group .author-box {
	grid-template-columns: 60px minmax(0, 1fr);
	gap: 1rem;
	padding: 1.25rem;
}

.author-boxes--group .author-box img {
	width: 60px;
	height: 60px;
}

.author-boxes--group .author-box__name {
	font-size: 1.25rem;
}

.author-boxes--group .author-box__bio {
	display: -webkit-box;
	margin-block: 0.4rem 0.6rem;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.cite-box {
	padding: 1.5rem 1.75rem;
	border-radius: var(--radius-box);
	background: var(--mist);
}

.cite-box__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.cite-box__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: var(--fs-sm);
	font-weight: 700;
}

.cite-box__text {
	margin: 0;
	color: var(--ink-2);
	font-size: var(--fs-sm);
	line-height: 1.95;
	overflow-wrap: anywhere;
}

.related {
	margin-top: var(--space-section);
	padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
	background: var(--mist);
}

/* Legacy issue posts (the "المجلة" PDF posts) */
.issue-file {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	align-items: start;
	gap: clamp(2rem, 1rem + 3vw, 4rem);
	padding-block: clamp(2rem, 1rem + 3vw, 4rem);
}

.issue-file__viewer {
	grid-column: 1 / -1;
	width: 100%;
	height: min(85vh, 1000px);
	border: 1px solid var(--rule);
	border-radius: var(--radius-box);
	background: var(--mist);
}

/* Archives
   -------------------------------------------------------------------------- */
.archive-head {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
	padding-block: clamp(2.5rem, 2rem + 3vw, 4.75rem);
	background: var(--mist);
}

.archive-head__motif {
	position: absolute;
	inset: 0;
	z-index: -1;
	color: var(--sea);
	opacity: 0.13;
}

.archive-head__eyebrow {
	margin: 0 0 0.5rem;
	color: var(--sea);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.archive-head__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: var(--fs-4xl);
	font-weight: 700;
	line-height: 1.15;
}

.archive-head__desc {
	max-width: 64ch;
	margin: 1rem 0 0;
	color: var(--ink-2);
	font-size: var(--fs-md);
}

.archive-head__desc p {
	margin: 0;
}

.archive-head__count {
	margin: 1.1rem 0 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

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

.archive-grid > .card--feature {
	grid-column: 1 / -1;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--rule);
}

.archive-list {
	display: flex;
	flex-direction: column;
}

.archive-list > .card {
	padding-block: 2rem;
	border-bottom: 1px solid var(--rule);
}

.archive-list > .card:first-child {
	padding-top: 0;
}

.archive-empty {
	padding-block: 2rem 4rem;
	color: var(--muted);
	font-size: var(--fs-md);
}

.pagination {
	margin-block: 3.5rem var(--space-section);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-width: 44px;
	height: 44px;
	padding-inline: 0.8rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.page-numbers.dots {
	border: 0;
}

a.page-numbers:hover {
	border-color: var(--sea);
	color: var(--sea);
}

.page-numbers.current {
	border-color: var(--action);
	background: var(--action);
	color: var(--on-action);
}

.profile {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	align-items: center;
	gap: 2rem;
}

.profile img {
	width: 140px;
	height: 140px;
	border: 4px solid var(--paper);
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 14px 34px -16px rgb(0 0 0 / 0.45);
}

.issues-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 3rem 2rem;
	margin: 0 0 var(--space-section);
	padding: 0;
	list-style: none;
}

.issues-grid__item {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.issues-grid__label {
	margin-top: 1rem;
	font-weight: 700;
}

.issues-grid__meta {
	color: var(--muted);
	font-size: var(--fs-xs);
}

.issues-grid__pdf {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: 0.35rem;
	color: var(--sea);
	font-size: var(--fs-xs);
	font-weight: 600;
}

/* Issue page */
.issue-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
	padding-block: clamp(2.5rem, 2rem + 3.5vw, 5rem);
	background: radial-gradient(120% 140% at 85% 20%, #0d4655 0%, #072b36 55%, #04202a 100%);
	color: var(--on-abyss);
}

.issue-hero .issue-band__motif {
	opacity: 0.18;
}

.issue-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 1rem + 4vw, 5rem);
}

.issue-contents {
	max-width: 900px;
	margin: 0 auto var(--space-section);
	padding: 0;
	list-style: none;
	counter-reset: contents;
}

.issue-contents > li {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr);
	padding-block: 2rem;
	border-bottom: 1px solid var(--rule);
	counter-increment: contents;
}

.issue-contents > li::before {
	content: counter(contents);
	color: var(--sea-bright);
	font-family: var(--font-serif);
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1;
}

.page-content {
	max-width: 46rem;
	margin: 0 auto var(--space-section);
}

.not-found {
	max-width: 640px;
	margin: 0 auto;
	padding-block: var(--space-section);
	text-align: center;
}

.not-found__title {
	margin: 0 0 1rem;
	font-family: var(--font-serif);
	font-size: var(--fs-4xl);
	line-height: 1.2;
}

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 560px;
}

.search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 0.8rem 1.2rem;
	border: 1px solid var(--field-edge);
	border-radius: var(--radius-pill);
	background: var(--paper);
}

.not-found .search-form {
	margin: 2rem auto 0;
}

/* Comments */
.comments {
	margin-top: 3rem;
}

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

.comment-body {
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--rule);
}

.comment-form input,
.comment-form textarea {
	width: 100%;
	padding: 0.7rem 1rem;
	border: 1px solid var(--field-edge);
	border-radius: 10px;
	background: var(--paper);
}

.comment-form .submit {
	padding: 0.7rem 1.4rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--action);
	color: var(--on-action);
	font-weight: 600;
	cursor: pointer;
}

/* About page
   -------------------------------------------------------------------------- */
.about-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(3rem, 2rem + 4vw, 6rem);
	background: radial-gradient(120% 140% at 85% 20%, #0d4655 0%, #072b36 55%, #04202a 100%);
	color: var(--on-abyss);
}

.about-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 250px);
	align-items: center;
	gap: clamp(2rem, 1rem + 5vw, 6rem);
}

.about-hero__title {
	margin: 0 0 1.25rem;
	font-family: var(--font-serif);
	font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem);
	font-weight: 700;
	line-height: 1.1;
}

.about-hero__lead {
	max-width: 32em;
	margin: 0;
	color: rgb(232 243 244 / 0.92);
	font-family: var(--font-serif);
	font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem);
	line-height: 1.7;
}

.about-hero__place {
	margin: 1.5rem 0 0;
	color: var(--on-abyss-muted);
	font-size: var(--fs-sm);
}

/* The journal in numbers, along the bottom of the hero. Dividers stop short of the top rule. */
.about-stats {
	--stats-pad: 1.9rem;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(2.5rem, 2rem + 2.5vw, 4rem) 0 0;
	padding: 0;
	border-top: 1px solid rgb(255 255 255 / 0.16);
	list-style: none;
}

.about-stats__item {
	position: relative;
	padding: var(--stats-pad) 1.75rem 0.25rem;
}

.about-stats__item:first-child {
	padding-inline-start: 0;
}

.about-stats__item + .about-stats__item::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: var(--stats-pad);
	bottom: 0.25rem;
	width: 1px;
	background: rgb(255 255 255 / 0.16);
}

.about-stats__value {
	display: block;
	color: #8ae9f2;
	font-family: var(--font-serif);
	font-size: clamp(2.4rem, 1.9rem + 1.8vw, 3.4rem);
	font-weight: 700;
	line-height: 1;
}

.about-stats__label {
	display: block;
	margin-top: 0.6rem;
	color: var(--on-abyss-muted);
	font-size: var(--fs-sm);
}

.about-body {
	display: grid;
	grid-template-columns: minmax(0, 48rem) minmax(0, 20rem);
	justify-content: space-between;
	align-items: start;
	gap: clamp(2.5rem, 0.5rem + 4vw, 4.5rem);
	padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 0;
}

.about-facts {
	padding: 1.75rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius-box);
}

.about-facts__title {
	margin: 0 0 1.25rem;
	font-size: var(--fs-md);
	font-weight: 700;
}

.about-facts dl {
	display: grid;
	gap: 1rem;
	margin: 0;
}

.about-facts dl > div + div {
	padding-top: 1rem;
	border-top: 1px solid var(--rule);
}

.about-facts dt {
	color: var(--muted);
	font-size: var(--fs-xs);
}

.about-facts dd {
	margin: 0.2rem 0 0;
	font-weight: 600;
	line-height: 1.65;
}

.about-facts dd a {
	color: var(--sea);
}

.about-facts dd a:hover {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

/* Sections: one grid, hairlines drawn by the gap over a ruled background. */
.about-sections {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--rule);
	border-radius: var(--radius-box);
	background: var(--rule);
	list-style: none;
}

.about-section {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.9rem 1.75rem;
	background: var(--paper);
	transition: background-color 0.2s;
}

.about-section:hover {
	background: var(--mist);
}

.about-section__name {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.3;
}

.about-section__name a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.about-section:hover .about-section__name {
	color: var(--sea);
}

.about-section__note {
	margin: 0;
	color: var(--ink-2);
	font-size: var(--fs-sm);
	line-height: 1.85;
}

.about-section__count {
	margin-top: auto;
	padding-top: 0.6rem;
	color: var(--sea);
	font-size: var(--fs-xs);
	font-weight: 600;
}

/* The last row is filled: an empty cell would show the ruled background as a grey block. */
.about-section:last-child:nth-child(3n + 1) {
	grid-column: 1 / -1;
}

.about-section:last-child:nth-child(3n + 2) {
	grid-column: span 2;
}

.about-board {
	margin-block: var(--space-section);
	padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
	background: var(--mist);
}

/* Rows are centred, so a short last row sits in the middle instead of at one edge. */
.board {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2.75rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.board-member {
	position: relative;
	display: flex;
	flex: 0 1 190px;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	text-align: center;
}

.board-member__avatar {
	width: 128px;
	height: 128px;
	margin-bottom: 0.9rem;
	border: 4px solid var(--paper);
	border-radius: 50%;
	object-fit: cover;
	background: var(--paper);
	box-shadow: 0 14px 30px -18px rgb(4 30 38 / 0.5);
}

.board-member__role {
	color: var(--sea);
	font-size: var(--fs-xs);
	font-weight: 700;
}

.board-member__name {
	font-family: var(--font-serif);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.35;
}

.board-member__name::after {
	content: "";
	position: absolute;
	inset: 0;
}

.board-member:hover .board-member__name {
	color: var(--sea);
}

.about-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.5rem 3rem;
	padding: clamp(1.75rem, 1rem + 2vw, 2.5rem);
	border: 1px solid var(--rule);
	border-radius: var(--radius-box);
}

.about-contact__title {
	margin: 0 0 0.4rem;
	font-family: var(--font-serif);
	font-size: var(--fs-xl);
	font-weight: 700;
}

.about-contact__text {
	margin: 0;
	color: var(--ink-2);
}

.about-contact__email {
	display: inline-block;
	margin-top: 0.5rem;
	color: var(--sea);
	font-weight: 600;
}

.about-contact__cta {
	margin: 1.1rem 0 0;
}

/* Forms: contact page and advanced search
   -------------------------------------------------------------------------- */
.field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0;
}

.field label {
	color: var(--ink);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 0.78rem 1rem;
	border: 1px solid var(--field-edge);
	border-radius: 10px;
	background: var(--paper);
	color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
	appearance: none;
	padding-inline-end: 2.5rem;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23587179' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat left 1rem center;
}

.field textarea {
	min-height: 11rem;
	line-height: 1.8;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--sea);
	outline: 0;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sea-bright) 25%, transparent);
}

.field input[dir="ltr"]:placeholder-shown {
	direction: rtl;
}

.form-status {
	margin: 0;
	padding: 0.8rem 1rem;
	border-radius: 10px;
	font-size: var(--fs-sm);
	font-weight: 600;
}

.form-status--success {
	background: color-mix(in srgb, #2f9e6b 13%, var(--paper));
	color: color-mix(in srgb, #1d6b47 80%, var(--ink));
}

.form-status--error {
	background: color-mix(in srgb, #d0453a 12%, var(--paper));
	color: color-mix(in srgb, #a62a1f 80%, var(--ink));
}

.contact {
	display: grid;
	grid-template-columns: minmax(0, 46rem) minmax(0, 19rem);
	justify-content: space-between;
	align-items: start;
	gap: clamp(2.5rem, 0.5rem + 4vw, 4.5rem);
	margin-bottom: var(--space-section);
}

.contact-form {
	display: grid;
	gap: 1.3rem;
}

.field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.3rem;
}

/* Honeypot: invisible to people, tempting to bots. */
.contact-form__trap {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.contact-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.contact-aside {
	display: grid;
	gap: 1.5rem;
	padding: 1.75rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius-box);
}

.contact-aside__block + .contact-aside__block {
	padding-top: 1.5rem;
	border-top: 1px solid var(--rule);
}

.contact-aside__title {
	margin: 0 0 0.6rem;
	color: var(--muted);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.contact-aside__block p {
	margin: 0 0 0.75rem;
	font-weight: 600;
	line-height: 1.7;
}

.contact-aside__email {
	color: var(--sea);
	font-weight: 600;
}

.about-contact__social a,
.contact-aside__social a {
	width: 46px;
	height: 46px;
	border: 1px solid var(--rule-strong);
	color: var(--ink-2);
}

.about-contact__social a:hover,
.contact-aside__social a:hover {
	border-color: var(--sea);
	background: transparent;
	color: var(--sea);
}

.filters {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1.1rem 1.25rem;
	margin-bottom: 2.5rem;
	padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	border: 1px solid var(--rule);
	border-radius: var(--radius-box);
	background: var(--mist);
}

.filters__words {
	grid-column: 1 / -1;
}

.filters__words input {
	padding-block: 0.95rem;
	font-size: var(--fs-md);
}

.filters__actions {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	gap: 1.25rem;
}

.filters__reset {
	color: var(--sea);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.filters__reset:hover {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.results-count {
	margin: 0 0 1.5rem;
	color: var(--muted);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.search-dialog__advanced {
	display: block;
	padding: 0.85rem 1.4rem;
	border-top: 1px solid var(--rule);
	color: var(--muted);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.search-dialog__advanced:hover {
	color: var(--sea);
}

/* Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
	.masthead__tagline {
		display: none;
	}

	.primary-nav__list > li > a {
		padding-inline: 0.6rem;
		font-size: 0.92rem;
	}

	.primary-nav__list > li > a::after {
		inset-inline: 0.6rem;
	}

	.most-read {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
	}

	.most-read__item:first-child {
		padding-inline-start: 0;
		border-inline-start: 0;
	}

	.issue-band__inner {
		grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	}

	.issue-band__toc {
		grid-column: 1 / -1;
	}

	.issue-toc {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 2.5rem;
	}

	.briefs__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 2.5rem;
	}

	.briefs__list .card:nth-child(odd) {
		padding-inline-start: 0;
		border-inline-start: 0;
	}

	.briefs__list .card:nth-child(even) {
		padding-inline-end: 0;
	}

	.rail__track {
		grid-auto-columns: calc((100% - 2 * 1.75rem) / 3);
	}

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

	.shelf__list {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.shelf__item:nth-child(n + 7) {
		display: none;
	}

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

	.article-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
		gap: 3rem;
	}

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

@media (max-width: 960px) {
	:root {
		--brand-h: 68px;
		--nav-h: 0px;
		--sticky-offset: 84px;
	}

	.masthead {
		top: var(--wp-admin--admin-bar--height, 0px);
	}

	.masthead__brand {
		gap: 0.5rem;
	}

	.masthead__menu {
		display: inline-grid;
		margin-inline-start: -0.5rem;
	}

	.masthead .logo {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}

	.logo__img {
		height: 46px;
	}

	.primary-nav,
	.masthead__subscribe,
	.masthead__actions .theme-toggle {
		display: none;
	}

	.topbar__date {
		display: none;
	}

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

	/* Tablets keep the cover beside the title; phones stack them. */
	.issue-band__inner {
		grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
	}

	.hero {
		--hero-rail-h: 120px;
	}

	.hero-slide {
		min-height: clamp(560px, 82vh, 720px);
	}

	/* Text spans the full width here, so the shade rises from the bottom instead of the side. */
	.hero-slide__media::after {
		background: linear-gradient(to top, rgb(3 24 31 / 0.97) 0%, rgb(3 24 31 / 0.86) 45%, rgb(3 24 31 / 0.3) 75%, rgb(3 24 31 / 0.08) 100%);
	}

	.hero__tabs,
	.most-read__list {
		grid-auto-flow: column;
		grid-template-columns: none;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.hero__tabs {
		grid-auto-columns: minmax(240px, 42%);
		gap: 1.5rem;
	}

	.most-read__list {
		grid-auto-columns: minmax(230px, 36%);
	}

	.hero__tabs::-webkit-scrollbar,
	.most-read__list::-webkit-scrollbar {
		display: none;
	}

	.hero__tabs > li,
	.most-read__item {
		scroll-snap-align: start;
	}

	.issue-band__cover .issue-cover {
		max-width: 220px;
	}

	.issue-toc {
		display: block;
	}

	.card--feature {
		grid-template-columns: minmax(0, 1fr);
	}

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

	/* An odd card left alone on the last row takes the whole row, image beside text. */
	.grid--3 > .card:last-child:nth-child(odd) {
		display: grid;
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: center;
		gap: 2rem;
	}

	.rail__track {
		grid-auto-columns: calc((100% - 1.75rem) / 2.2);
	}

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

	.shelf__list {
		display: grid;
		grid-auto-columns: 150px;
		grid-auto-flow: column;
		grid-template-columns: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.shelf__item,
	.shelf__item:nth-child(n + 7) {
		display: flex;
		scroll-snap-align: start;
	}

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

	.article-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.article-body,
	.article-aside {
		grid-column: 1;
	}

	.article-aside {
		grid-row: auto;
		margin-bottom: 2rem;
	}

	.article-toc {
		position: static;
		max-width: none;
		max-height: none;
		padding: 1rem 1.25rem;
		border: 1px solid var(--rule);
		border-radius: var(--radius-box);
	}

	.article-toc summary {
		margin-bottom: 0;
	}

	.article-toc[open] summary {
		margin-bottom: 0.75rem;
	}

	.article-toc summary .icon {
		display: inline-block;
		transition: transform 0.2s;
	}

	.article-toc[open] summary .icon {
		transform: rotate(180deg);
	}

	.issue-file,
	.issue-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.issue-hero__inner .issue-cover {
		max-width: 200px;
	}

	.about-hero__inner,
	.about-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.about-hero__cover {
		display: none;
	}

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

	.about-stats__item:nth-child(odd) {
		padding-inline-start: 0;
	}

	.about-stats__item:nth-child(odd)::before {
		display: none;
	}

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

	.about-section:last-child:nth-child(n) {
		grid-column: auto;
	}

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

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

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

@media (max-width: 720px) {
	:root {
		--fs-base: 1rem;
	}

	.topbar__inner {
		gap: 1rem;
	}

	.hero-slide {
		min-height: 640px;
	}

	.hero-slide__inner {
		padding-top: 6rem;
	}

	.hero-slide__content {
		gap: 0.9rem;
	}

	.hero-slide__title {
		font-size: 1.9rem;
		line-height: 1.32;
	}

	.hero-slide__excerpt {
		font-size: var(--fs-base);
	}

	.hero-slide__cta {
		display: none;
	}

	.hero__tabs {
		grid-auto-columns: 78%;
	}

	.hero__toggle {
		top: 1rem;
	}

	.most-read__list {
		display: block;
	}

	.most-read__item {
		padding: 1rem 0 0;
		border-inline-start: 0;
	}

	.most-read__item + .most-read__item {
		margin-top: 1rem;
		border-top: 1px solid var(--rule);
	}

	.grid--3,
	.archive-grid,
	.briefs__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.grid--3 > .card:last-child:nth-child(odd) {
		display: flex;
	}

	.issue-band__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.issues-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.25rem 1.25rem;
	}

	.briefs__list .card {
		padding-inline: 0;
		border-inline-start: 0;
	}

	.briefs__list .card + .card {
		padding-top: 2rem;
		border-top: 1px solid var(--rule-strong);
	}

	.section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.rail__controls {
		display: none;
	}

	.rail__track {
		grid-auto-columns: 72%;
	}

	.authors__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.5rem;
	}

	.card--row {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 1rem;
	}

	.card--row .card__media {
		aspect-ratio: 1;
	}

	.card--row .card__title {
		font-size: 1.3rem;
	}

	.card--row .card__excerpt {
		display: none;
	}

	/* The two link lists sit side by side, so the footer isn't one long column. */
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.25rem 1.5rem;
	}

	.site-footer__about,
	.site-footer__issue {
		grid-column: 1 / -1;
	}

	/* The reading tools may drop to their own line here, where a leading divider would look stray. */
	.article-tools {
		column-gap: 0.9rem;
	}

	.reading-tools .divider {
		display: none;
	}

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

	.author-box {
		grid-template-columns: minmax(0, 1fr);
	}

	.author-boxes--group {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Several writers: portraits above, so the names get the full width. */
	.article-author--group {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6rem;
	}

	.profile {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
	}

	.profile img {
		width: 104px;
		height: 104px;
	}

	.issue-contents > li {
		grid-template-columns: 2.5rem minmax(0, 1fr);
	}

	.newsletter__form {
		flex-direction: column;
	}

	.follow-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.6rem;
	}

	.follow-card {
		flex-direction: row;
		align-items: center;
		gap: 0.9rem;
		padding: 0.8rem 1rem;
	}

	.follow-card__icon {
		flex: none;
		width: 44px;
		height: 44px;
		margin: 0;
	}

	.follow-card__text {
		flex: 1;
		min-width: 0;
		gap: 0.1rem;
	}

	.follow-card__name {
		font-size: var(--fs-base);
	}

	.follow-card__cta {
		margin: 0;
		padding: 0;
	}

	.social-posts__tabs {
		width: 100%;
	}

	.social-posts__tab {
		flex: 1;
		padding-inline: 0.5rem;
	}

	/* Post cards become a swipeable row, with the next one peeking in. */
	.post-cards {
		grid-template-columns: none;
		grid-auto-columns: 84%;
		grid-auto-flow: column;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.post-cards::-webkit-scrollbar {
		display: none;
	}

	.post-cards > li {
		scroll-snap-align: start;
	}

	.ig-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.35rem;
	}

	.about-stats {
		--stats-pad: 1.5rem;
	}

	.about-stats__item {
		padding-inline: 1rem;
	}

	.about-sections,
	.about-contact,
	.field-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.filters {
		gap: 0.9rem;
	}

	.filters .field select {
		padding-inline-start: 0.8rem;
		font-size: var(--fs-sm);
	}

	.board {
		gap: 2rem 1rem;
	}

	.board-member {
		flex-basis: calc(50% - 0.5rem);
	}

	.board-member__avatar {
		width: 96px;
		height: 96px;
	}

	.board-member__name {
		font-size: 1.2rem;
	}

	.search-dialog__panel {
		margin-top: 0.75rem;
	}
}

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

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

@media print {
	.topbar,
	.masthead,
	.site-footer,
	.newsletter,
	.article-aside,
	.article-tools,
	.article-share,
	.cite-box button,
	.related,
	.reading-progress,
	.toast,
	dialog {
		display: none !important;
	}

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

	.article-layout {
		display: block;
		padding: 0;
	}

	.article-head {
		padding-bottom: 0;
		background: none;
	}

	.article-head__motif {
		display: none;
	}

	.article-head--figure + .article-figure {
		margin-top: 1.5rem;
	}

	.prose {
		font-size: 13pt;
		line-height: 1.8;
	}

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