/* ==========================================================================
   Sholesadi
   Paper, ink and one flame red. Rules instead of boxes, type instead of
   decoration. Written right-to-left first, with logical properties.
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */

@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/vazirmatn-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Sholesadi Naskh";
	src: url("../fonts/noto-naskh-arabic-variable.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}

/* Tokens ----------------------------------------------------------------- */

:root {
	--paper: #f5f2ec;
	--paper-2: #ebe6db;
	--white: #fffdf9;
	--ink: #17140f;
	--ink-2: #3d3830;
	--ink-3: #6b6458;
	--rule: #d6cfc1;
	--flame: #b3301c;
	--flame-deep: #8c2414;
	--flame-lit: #ec6a4f;
	--night: #17140f;
	--night-ink: #ece6da;
	--night-mute: #a59d8e;
	--night-rule: rgba(236, 230, 218, 0.16);

	--font-ui: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
	--font-text: "Sholesadi Naskh", "Vazirmatn", Tahoma, serif;

	--wrap: 1240px;
	--gutter: clamp(1rem, 3vw, 2rem);
	--measure: 46rem;
	--bar: var(--wp-admin--admin-bar--height, 0px);
}

/* Base ------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--bar) + 4.5rem);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-ui);
	font-size: 1rem;
	line-height: 1.85;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

.nav-open body {
	overflow: hidden;
}

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

img,
video {
	display: block;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
dl,
dd,
blockquote {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 800;
	line-height: 1.45;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

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

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

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

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

.skip-link {
	position: absolute;
	inset-inline-start: 1rem;
	top: -10rem;
	z-index: 1000;
	padding: 0.75rem 1.25rem;
	background: var(--ink);
	color: var(--paper);
	font-weight: 700;
}

.skip-link:focus {
	top: calc(var(--bar) + 1rem);
	color: var(--paper);
}

.site-main:focus {
	outline: none;
}

/* Shared pieces ---------------------------------------------------------- */

.kicker {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--flame);
	line-height: 1.6;
}

a.kicker:hover {
	color: var(--flame-deep);
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.meta {
	font-size: 0.8125rem;
	color: var(--ink-3);
}

.tag-type {
	display: inline-block;
	padding: 0 0.45rem;
	border: 1px solid currentColor;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.7;
	color: var(--ink-2);
	vertical-align: middle;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.6rem 1.2rem;
	border: 2px solid var(--ink);
	background: transparent;
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
	background: var(--ink);
	color: var(--paper);
}

.btn--flame {
	background: var(--flame);
	border-color: var(--flame);
	color: #fff;
}

.btn--flame:hover {
	background: var(--flame-deep);
	border-color: var(--flame-deep);
	color: #fff;
}

.btn--light {
	border-color: var(--night-ink);
	color: var(--night-ink);
}

.btn--light:hover {
	background: var(--night-ink);
	color: var(--night);
}

.btn--white {
	background: #fff;
	border-color: #fff;
	color: var(--flame-deep);
}

.btn--white:hover {
	background: var(--night);
	border-color: var(--night);
	color: #fff;
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.75);
	color: #fff;
}

.btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--flame-deep);
}

.link-arrow {
	font-size: 0.875rem;
	font-weight: 700;
	white-space: nowrap;
}

.link-arrow::after {
	content: " ←";
}

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-top: 0.65rem;
	border-top: 3px solid var(--ink);
}

.section-head__title {
	font-size: 1.125rem;
	font-weight: 800;
}

.section-head__title::before {
	content: "";
	display: inline-block;
	width: 0.6rem;
	height: 0.6rem;
	margin-inline-end: 0.55rem;
	background: var(--flame);
	vertical-align: 0.1em;
}

.empty {
	padding-block: 2rem;
	color: var(--ink-3);
}

/* Header ----------------------------------------------------------------- */

.topbar {
	border-bottom: 1px solid var(--rule);
	font-size: 0.8125rem;
	color: var(--ink-2);
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 2.5rem;
}

.topbar__links {
	display: flex;
	align-items: center;
	gap: 0.25rem 1.25rem;
	list-style: none;
}

.topbar__charter {
	font-weight: 700;
	color: var(--flame);
}

.masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1.6rem 1.4rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

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

.brand__mark {
	flex: none;
	display: block;
	width: 3.75rem;
	height: 3.75rem;
}

/* Portrait logo: square photo on a flame block offset down and to the end,
   the same treatment as the profile photo on the front page. */
.brand__mark.is-photo,
.site-footer__mark.is-photo {
	position: relative;
	isolation: isolate;
	margin-inline-end: 0.3rem;
	margin-bottom: 0.3rem;
}

.brand__mark.is-photo {
	width: 4.6rem;
	height: 4.6rem;
}

.brand__mark.is-photo::before,
.site-footer__mark.is-photo::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset-block: 0.3rem -0.3rem;
	inset-inline: 0.3rem -0.3rem;
	background: var(--flame);
}

.brand__mark.is-photo img,
.site-footer__mark.is-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.brand__text {
	min-width: 0;
}

.brand__name {
	display: block;
	font-size: clamp(1.45rem, 1rem + 1.7vw, 2.4rem);
	font-weight: 900;
	line-height: 1.25;
}

.brand__line {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.875rem;
	color: var(--ink-3);
	line-height: 1.6;
}

.masthead__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: none;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 0.9rem;
	border: 2px solid var(--ink);
	background: none;
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	display: block;
	width: 1.1rem;
	height: 2px;
	background: currentColor;
}

.menu-toggle__bars {
	position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
}

.menu-toggle__bars::before {
	top: -6px;
}

.menu-toggle__bars::after {
	top: 6px;
}

/* Navigation ------------------------------------------------------------- */

.site-nav {
	position: sticky;
	top: var(--bar);
	z-index: 50;
	background: var(--paper);
	border-top: 3px solid var(--ink);
	border-bottom: 1px solid var(--ink);
}

.site-nav__inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 1rem;
}

.site-nav .menu {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
}

.site-nav .menu > li {
	position: relative;
}

.site-nav .menu > li > a {
	display: block;
	padding: 0.8rem 0.85rem;
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
}

.site-nav .menu > li:first-child > a {
	padding-inline-start: 0;
}

.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a,
.site-nav .menu > .current-post-ancestor > a,
.site-nav .menu > .current-menu-parent > a {
	color: var(--flame);
	box-shadow: inset 0 -3px 0 var(--flame);
}

.site-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	margin-inline-start: 0.4em;
	border-top: 0.32em solid currentColor;
	border-inline: 0.26em solid transparent;
	vertical-align: 0.15em;
}

.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	z-index: 60;
	display: none;
	min-width: 16rem;
	padding: 0.35rem 0;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--ink);
	border-top: 3px solid var(--flame);
}

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

.site-nav .sub-menu a {
	display: block;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	font-weight: 500;
}

.submenu-toggle {
	display: none;
}

.search-toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0 0 0 0;
	padding-inline-start: 1rem;
	border: 0;
	border-inline-start: 1px solid var(--rule);
	background: none;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
}

.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
	color: var(--flame);
}

.site-search {
	padding-block: 1.1rem;
	border-top: 1px solid var(--rule);
	background: var(--paper-2);
}

.js .site-search:not(.is-open) {
	display: none;
}

.nav-panel-head,
.nav-extra {
	display: none;
}

/* Search form ------------------------------------------------------------ */

.search-form {
	display: flex;
	max-width: 42rem;
}

.search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 0.65rem 0.9rem;
	border: 2px solid var(--ink);
	border-inline-end: 0;
	border-radius: 0;
	background: var(--white);
	font-size: 0.9375rem;
	-webkit-appearance: none;
	appearance: none;
}

.search-form input[type="search"]:focus {
	outline: none;
	border-color: var(--flame);
}

.search-form button {
	flex: none;
	padding: 0.65rem 1.2rem;
	border: 2px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	font-weight: 700;
	cursor: pointer;
}

.search-form button:hover {
	background: var(--flame);
	border-color: var(--flame);
}

/* Front: lead ------------------------------------------------------------ */

.front-lead {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem);
	gap: 2.75rem;
	padding-block: 2.75rem 3.5rem;
}

.lead-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-content: start;
}

.lead-story--numbered {
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0 2.5rem;
}

.lead-story__num {
	display: flex;
	flex-direction: column;
	padding-inline-end: 2.5rem;
	border-inline-end: 1px solid var(--rule);
}

.lead-story__num-label {
	font-size: 0.875rem;
	font-weight: 700;
}

.lead-story__num-value {
	margin-top: 0.25rem;
	font-size: clamp(5rem, 2.5rem + 8vw, 10rem);
	font-weight: 900;
	line-height: 0.95;
	color: var(--flame);
}

.lead-story__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--paper-2);
}

.lead-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lead-story__title {
	margin-block: 0.35rem 0.9rem;
	font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.1rem);
	font-weight: 900;
	line-height: 1.35;
}

.lead-story__addr {
	margin-bottom: 0.9rem;
	padding-inline-start: 0.9rem;
	border-inline-start: 3px solid var(--flame);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--ink-2);
	line-height: 1.7;
}

.lead-story__excerpt {
	max-width: 42rem;
	font-family: var(--font-text);
	font-size: 1.2rem;
	line-height: 2.05;
	color: var(--ink-2);
}

.lead-story__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin-top: 1.75rem;
}

.wire {
	padding-inline-start: 2.25rem;
	border-inline-start: 1px solid var(--rule);
}

.wire__head {
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 800;
}

.wire__head::before {
	content: "";
	display: inline-block;
	width: 0.55rem;
	height: 0.55rem;
	margin-inline-end: 0.5rem;
	background: var(--flame);
	vertical-align: 0.1em;
}

.wire__list {
	list-style: none;
}

.wire__item {
	padding-block: 0.8rem;
	border-top: 1px solid var(--rule);
}

.wire__meta {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.75rem;
	color: var(--ink-3);
}

.wire__kind {
	color: var(--flame);
	font-weight: 700;
}

.wire__link {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.975rem;
	font-weight: 700;
	line-height: 1.7;
}

/* Front: sections -------------------------------------------------------- */

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

.front-lead + .home-section {
	padding-top: 0;
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.25rem 1.5rem;
}

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

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.card:hover .card__media img {
	transform: scale(1.03);
}

.card__badge {
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem 0.6rem;
	background: var(--flame);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
}

.card__meta {
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	color: var(--ink-3);
}

.card__title {
	margin-top: 0.15rem;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.7;
}

/* Typographic stand-in for posts without images */
.ph {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1rem 1.1rem;
	color: var(--night-ink);
	background-color: var(--night);
	background-image: repeating-linear-gradient(-45deg, transparent 0 9px, rgba(236, 230, 218, 0.05) 9px 10px);
	border-top: 4px solid var(--flame);
}

.ph__kind {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--flame-lit);
}

.ph__cat {
	font-size: 1.35rem;
	font-weight: 900;
	line-height: 1.4;
	opacity: 0.85;
}

/* Council statements band */
.band-night {
	background: var(--night);
	color: var(--night-ink);
}

.band-night .section-head {
	border-top-color: var(--night-ink);
}

.band-night a:hover {
	color: var(--flame-lit);
}

.ledger {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
}

.ledger__item {
	padding-inline: 1.5rem;
	border-inline-start: 1px solid var(--night-rule);
}

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

.ledger__num {
	display: block;
	font-size: 3.6rem;
	font-weight: 900;
	line-height: 1;
	color: var(--flame-lit);
}

.ledger__title {
	margin-top: 0.85rem;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.65;
}

.ledger__addr {
	margin-top: 0.45rem;
	font-family: var(--font-text);
	font-size: 1.02rem;
	line-height: 1.95;
	color: var(--night-mute);
}

.ledger__date {
	margin-top: 0.85rem;
	font-size: 0.8125rem;
	color: var(--night-mute);
}

/* Profile */
.profile {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.profile__photo {
	position: relative;
	isolation: isolate;
	margin-inline-end: 1.25rem;
	margin-bottom: 1.25rem;
}

.profile__photo::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset-block: 1.25rem -1.25rem;
	inset-inline: 1.25rem -1.25rem;
	background: var(--flame);
}

.profile__photo img {
	width: 100%;
	filter: grayscale(1) contrast(1.05);
}

.profile__name {
	margin-block: 0.25rem 1rem;
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
	font-weight: 900;
	line-height: 1.3;
}

.profile__text {
	font-family: var(--font-text);
	font-size: 1.15rem;
	line-height: 2.1;
	color: var(--ink-2);
	text-align: justify;
}

.facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 2rem;
	margin-block: 1.75rem;
	border-top: 2px solid var(--ink);
}

.facts__row {
	padding-block: 0.75rem;
	border-bottom: 1px solid var(--rule);
}

.facts dt {
	font-size: 0.75rem;
	color: var(--ink-3);
}

.facts dd {
	font-weight: 700;
	line-height: 1.7;
}

/* Statements + poem + charter */
.split {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.stack {
	list-style: none;
}

.stack__item {
	padding-block: 1.1rem;
	border-bottom: 1px solid var(--rule);
}

.stack__item:first-child {
	padding-top: 0;
}

.stack__title {
	margin-top: 0.1rem;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.65;
}

.stack__excerpt {
	display: -webkit-box;
	margin-top: 0.35rem;
	overflow: hidden;
	font-family: var(--font-text);
	font-size: 1.05rem;
	line-height: 1.95;
	color: var(--ink-2);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.poem-card {
	padding: 1.75rem 1.75rem 1.5rem;
	background: var(--paper-2);
	border-top: 4px solid var(--flame);
}

.poem-card__verses {
	margin-block: 1.25rem;
	font-family: var(--font-text);
	font-size: 1.2rem;
	line-height: 2.1;
}

/* Stepped couplet: first hemistich from the right, second ends at the left */
.poem-card__beyt {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	padding-block: 0.4rem;
}

.poem-card__beyt + .poem-card__beyt {
	border-top: 1px dashed var(--rule);
}

.poem-card__beyt span:first-child {
	padding-inline-end: 2rem;
}

.poem-card__beyt span:last-child {
	padding-inline-start: 2rem;
	text-align: end;
}

.poem-card__title {
	margin-bottom: 0.35rem;
	padding-top: 1rem;
	border-top: 1px solid var(--rule);
	font-size: 1rem;
	font-weight: 800;
}

.charter {
	margin-top: 2rem;
	padding: 1.5rem 1.75rem 1.75rem;
	border: 2px solid var(--ink);
}

.charter__label {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--flame);
}

.charter__title {
	font-size: 1.5rem;
	font-weight: 900;
	line-height: 1.4;
}

.charter__text {
	margin-block: 0.5rem 1.25rem;
	color: var(--ink-2);
	font-size: 0.9375rem;
}

.charter--compact {
	margin-top: 2rem;
	padding: 1.1rem 1.25rem 1.25rem;
}

.charter--compact .charter__title {
	margin-bottom: 0.35rem;
	font-size: 1.15rem;
}

/* Contact band */
.band-flame {
	padding-block: 2.75rem;
	background: var(--flame);
	color: #fff;
}

.band-flame__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
}

.band-flame__title {
	font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem);
	font-weight: 900;
	line-height: 1.4;
}

.band-flame__text {
	max-width: 40rem;
	margin-top: 0.4rem;
	opacity: 0.92;
}

.band-flame__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.band-flame a:hover {
	color: inherit;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
	padding-top: 3.5rem;
	background: var(--night);
	color: var(--night-ink);
	font-size: 0.9375rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 2.5rem;
	padding-bottom: 3rem;
}

.site-footer__name {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	font-size: 1.6rem;
	font-weight: 900;
	line-height: 1.4;
}

.site-footer__mark {
	flex: none;
	width: 3rem;
	height: 3rem;
}

.site-footer__about {
	max-width: 30rem;
	margin-block: 0.75rem 1.5rem;
	color: var(--night-mute);
	line-height: 2;
}

.site-footer h2 {
	margin-bottom: 0.5rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--night-rule);
	font-size: 0.875rem;
	font-weight: 800;
}

.site-footer ul {
	list-style: none;
}

.site-footer li a {
	display: inline-block;
	padding-block: 0.25rem;
	color: var(--night-mute);
}

.site-footer a:hover {
	color: #fff;
}

.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	padding-block: 1.25rem;
	border-top: 1px solid var(--night-rule);
	font-size: 0.8125rem;
	color: var(--night-mute);
}

/* Page heads, archives --------------------------------------------------- */

.page-head {
	padding-block: 2.5rem 1.75rem;
	border-bottom: 3px solid var(--ink);
}

.page-head__kicker {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--flame);
}

.page-head__title {
	font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
	font-weight: 900;
	line-height: 1.3;
}

.page-head__desc {
	max-width: var(--measure);
	margin-top: 0.75rem;
	font-family: var(--font-text);
	font-size: 1.15rem;
	line-height: 2;
	color: var(--ink-2);
}

.page-head__count {
	margin-top: 0.6rem;
	font-size: 0.875rem;
	color: var(--ink-3);
}

.page-head__search {
	margin-top: 1.25rem;
}

.archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 17rem;
	gap: 3.5rem;
	padding-bottom: 4rem;
}

.row-card {
	display: grid;
	grid-template-columns: 4.75rem minmax(0, 1fr);
	grid-template-areas: "date body";
	gap: 1.5rem;
	padding-block: 1.6rem;
	border-bottom: 1px solid var(--rule);
}

.row-card--image {
	grid-template-columns: 4.75rem minmax(0, 1fr) 12rem;
	grid-template-areas: "date body thumb";
}

.row-card__date {
	grid-area: date;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 0.2rem;
	text-align: center;
	line-height: 1.3;
}

.row-card__day {
	font-size: 2.1rem;
	font-weight: 900;
	line-height: 1.05;
}

.row-card__month {
	font-size: 0.8125rem;
	font-weight: 700;
}

.row-card__year {
	font-size: 0.75rem;
	color: var(--ink-3);
}

.row-card__body {
	grid-area: body;
	min-width: 0;
}

.row-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
}

.row-card__title {
	margin-top: 0.15rem;
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.6;
}

.row-card__num {
	display: inline-block;
	min-width: 2.2em;
	margin-inline-end: 0.4rem;
	padding: 0 0.35rem;
	background: var(--flame);
	color: #fff;
	font-size: 0.85em;
	text-align: center;
}

.row-card__excerpt {
	display: -webkit-box;
	margin-block: 0.4rem 0.35rem;
	overflow: hidden;
	font-family: var(--font-text);
	font-size: 1.05rem;
	line-height: 1.95;
	color: var(--ink-2);
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.row-card__thumb {
	grid-area: thumb;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--paper-2);
}

.row-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.archive-aside__inner {
	position: sticky;
	top: calc(var(--bar) + 5rem);
	padding-top: 1.75rem;
}

.archive-aside__title {
	margin-bottom: 0.25rem;
	font-size: 0.9375rem;
	font-weight: 800;
}

.section-list {
	list-style: none;
	border-top: 2px solid var(--ink);
}

.section-list a {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.55rem;
	border-bottom: 1px solid var(--rule);
	font-size: 0.9375rem;
	font-weight: 600;
}

.section-list .is-current a {
	color: var(--flame);
}

.section-list__count {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--ink-3);
}

.archive-aside__search {
	margin-top: 1.75rem;
}

.archive-aside__search .search-form button {
	padding-inline: 0.8rem;
}

/* Pagination */
.pagination {
	margin-top: 2.5rem;
}

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

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.6rem;
	height: 2.6rem;
	padding-inline: 0.75rem;
	border: 1px solid var(--rule);
	font-weight: 700;
	font-size: 0.9375rem;
}

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

.page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.page-numbers.dots {
	border-color: transparent;
}

/* Article ---------------------------------------------------------------- */

.article__frame {
	max-width: calc(64rem + 2 * var(--gutter));
}

.article__head {
	padding-block: 2.75rem 1.75rem;
}

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

.article__title {
	margin-top: 0.4rem;
	font-size: clamp(1.85rem, 1.15rem + 2.6vw, 3.2rem);
	font-weight: 900;
	line-height: 1.4;
}

.article__dek {
	max-width: var(--measure);
	margin-top: 1rem;
	font-family: var(--font-text);
	font-size: 1.3rem;
	line-height: 1.95;
	color: var(--ink-2);
}

.article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	margin-top: 1.4rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--rule);
	font-size: 0.875rem;
	color: var(--ink-3);
}

.article__figure {
	margin-bottom: 2.5rem;
}

.article__figure img {
	width: 100%;
	max-height: 40rem;
	object-fit: cover;
}

.article__figure figcaption {
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	color: var(--ink-3);
}

.article__grid {
	display: grid;
	grid-template-columns: 11rem minmax(0, var(--measure));
	gap: 3.5rem;
}

.article__aside-inner {
	position: sticky;
	top: calc(var(--bar) + 5rem);
}

.statement-no {
	display: flex;
	flex-direction: column;
	margin-bottom: 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--rule);
}

.statement-no__label {
	font-size: 0.8125rem;
	font-weight: 700;
}

.statement-no__value {
	font-size: 4.5rem;
	font-weight: 900;
	line-height: 1;
	color: var(--flame);
}

.share__title {
	margin-bottom: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--ink-3);
}

.share__list {
	list-style: none;
	border-top: 2px solid var(--ink);
}

.share__list a,
.share__list button {
	display: block;
	width: 100%;
	padding: 0.45rem 0;
	border: 0;
	border-bottom: 1px solid var(--rule);
	background: none;
	font-size: 0.875rem;
	font-weight: 600;
	text-align: start;
	cursor: pointer;
}

.share__list button:hover {
	color: var(--flame);
}

.article__foot {
	max-width: calc(11rem + 3.5rem + var(--measure));
	padding-bottom: 1rem;
}

.article__tags {
	margin-top: 2.5rem;
	font-size: 0.875rem;
}

.article__tags span {
	color: var(--ink-3);
}

.article__tags a {
	font-weight: 700;
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 3rem;
	border-top: 3px solid var(--ink);
}

.post-nav__link {
	display: block;
	padding-block: 1.1rem;
}

.post-nav__link--next {
	grid-column: 2;
	padding-inline-start: 1.5rem;
	border-inline-start: 1px solid var(--rule);
	text-align: end;
}

.post-nav__label {
	display: block;
	font-size: 0.75rem;
	color: var(--ink-3);
}

.post-nav__title {
	display: block;
	font-weight: 800;
	line-height: 1.65;
}

.related {
	border-top: 1px solid var(--rule);
	margin-top: 2rem;
}

/* Entry content ---------------------------------------------------------- */

.entry-content {
	font-family: var(--font-text);
	font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
	line-height: 2.1;
	color: var(--ink);
	overflow-wrap: break-word;
}

.entry-content > * + * {
	margin-top: 1.15em;
}

.entry-content p {
	text-align: justify;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2em;
	font-family: var(--font-ui);
	font-weight: 800;
	line-height: 1.6;
}

.entry-content h2 {
	font-size: 1.45rem;
}

.entry-content h3 {
	font-size: 1.25rem;
}

.entry-content h4 {
	font-size: 1.1rem;
}

.entry-content a {
	color: var(--flame);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

.entry-content a:hover {
	color: var(--flame-deep);
}

.entry-content ul,
.entry-content ol {
	padding-inline-start: 1.5rem;
}

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

.entry-content blockquote {
	margin-block: 2em;
	padding-inline-start: 1.5rem;
	border-inline-start: 4px solid var(--flame);
	font-size: 1.12em;
	color: var(--ink-2);
}

.entry-content blockquote cite {
	display: block;
	margin-top: 0.5rem;
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	font-style: normal;
	color: var(--ink-3);
}

.entry-content hr {
	margin-block: 2.5em;
	border: 0;
	border-top: 1px solid var(--rule);
}

.entry-content figure {
	margin-inline: 0;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
	margin-top: 0.5rem;
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	line-height: 1.7;
	color: var(--ink-3);
	text-align: start;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-ui);
	font-size: 0.9375rem;
}

.entry-content th,
.entry-content td {
	padding: 0.5rem 0.75rem;
	border-bottom: 1px solid var(--rule);
	text-align: start;
}

.entry-content th {
	border-bottom: 2px solid var(--ink);
}

.entry-content .wp-block-image img {
	height: auto;
}

.entry-content .wp-block-video video {
	width: 100%;
	background: #000;
}

.entry-content .wp-block-embed {
	margin-inline: 0;
}

.entry-content .wp-block-button__link {
	border-radius: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-ui);
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
}

.entry-content .wp-block-button__link:hover {
	background: var(--flame);
	color: #fff;
}

/* File (PDF) block */
.entry-content .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 1.25rem;
	background: var(--paper-2);
	border-top: 3px solid var(--ink);
	font-family: var(--font-ui);
	font-size: 0.9375rem;
}

.entry-content .wp-block-file > a:not(.wp-block-file__button) {
	flex: 1 1 14rem;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

.entry-content .wp-block-file .wp-block-file__button {
	margin: 0;
	padding: 0.5rem 1.1rem;
	border-radius: 0;
	background: var(--flame);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

.entry-content .wp-block-file .wp-block-file__button:hover {
	background: var(--flame-deep);
}

.entry-content .wp-block-file .wp-block-file__embed {
	order: 3;
	width: 100%;
	margin: 0.5rem 0 0;
	border: 1px solid var(--rule);
	background: #fff;
}

/* Media-text block (old home page) */
.entry-content .wp-block-media-text {
	font-family: var(--font-text);
}

/* YouTube facade */
.sh-embed {
	margin-block: 1.5em;
}

.sh-video {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: var(--night);
	background-image: repeating-linear-gradient(-45deg, transparent 0 11px, rgba(236, 230, 218, 0.04) 11px 12px);
}

.sh-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.entry-content .sh-video__link,
.sh-video__link {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	color: var(--night-ink);
	text-decoration: none;
}

.sh-video__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.sh-video__play {
	position: relative;
	display: grid;
	place-items: center;
	width: 4.75rem;
	height: 4.75rem;
	background: var(--flame);
	color: #fff;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.sh-video__label {
	position: relative;
	font-family: var(--font-ui);
	font-size: 0.9375rem;
	font-weight: 700;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.sh-video__link:hover {
	color: #fff;
}

.sh-video__link:hover .sh-video__play {
	background: var(--flame-deep);
	transform: scale(1.05);
}

.sh-video__link:hover .sh-video__poster {
	opacity: 0.75;
}

.entry-content .sh-embed__caption {
	margin-top: 0.25rem;
	font-family: var(--font-ui);
	font-size: 0.875rem;
	color: var(--ink-2);
	text-align: start;
}

.entry-content .sh-embed__note,
.sh-embed__note {
	margin-top: 0.5rem;
	font-family: var(--font-ui);
	font-size: 0.75rem;
	line-height: 1.7;
	color: var(--ink-3);
	text-align: start;
}

/* Poems: couplets */
.is-poem .entry-content {
	font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem);
	line-height: 2.2;
}

.beyt {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 2.5rem;
	padding-block: 0.4rem;
}

.entry-content > .beyt + .beyt {
	margin-top: 0;
	border-top: 1px dashed var(--rule);
}

.beyt__m:last-child {
	text-align: end;
}

/* Static pages ----------------------------------------------------------- */

.page-body {
	max-width: var(--measure);
	padding-block: 2.5rem 4rem;
}

.page-body__figure {
	margin-bottom: 2rem;
}

.page-links {
	margin-top: 2rem;
	font-family: var(--font-ui);
	font-size: 0.9375rem;
}

/* Forms inside content (contact page) keep the UI font */
.entry-content form,
.entry-content input,
.entry-content textarea,
.entry-content select,
.entry-content button,
.entry-content label {
	font-family: var(--font-ui);
}

/* Comments --------------------------------------------------------------- */

.comments__inner {
	max-width: var(--measure);
	padding-block: 2rem 4rem;
	border-top: 3px solid var(--ink);
}

.comments__title,
.comment-reply-title {
	font-size: 1.25rem;
	font-weight: 800;
}

.comment-list {
	list-style: none;
	margin-block: 1rem 2rem;
}

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

.comment-list .children {
	list-style: none;
	padding-inline-start: 1.5rem;
}

.comment-meta {
	font-size: 0.8125rem;
	color: var(--ink-3);
}

.comment-content {
	font-family: var(--font-text);
	font-size: 1.05rem;
	line-height: 2;
}

.comment-form p {
	margin-top: 1rem;
}

.comment-form label {
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--ink);
	border-radius: 0;
	background: var(--white);
}

.comment-form input[type="submit"] {
	padding: 0.65rem 1.4rem;
	border: 2px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	font-weight: 700;
	cursor: pointer;
}

.comment-form input[type="submit"]:hover {
	background: var(--flame);
	border-color: var(--flame);
}

/* 404 -------------------------------------------------------------------- */

.notfound {
	padding-block: 3rem 2rem;
}

.notfound__code {
	font-size: clamp(6rem, 3rem + 12vw, 12rem);
	font-weight: 900;
	line-height: 1;
	color: var(--flame);
}

.notfound__title {
	margin-top: 0.5rem;
	font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
	font-weight: 900;
}

.notfound__text {
	max-width: 36rem;
	margin-top: 0.6rem;
	color: var(--ink-2);
}

.notfound__search {
	margin-block: 1.75rem 1.25rem;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 75em) {
	.site-nav .menu > li > a {
		padding-inline: 0.65rem;
		font-size: 0.9rem;
	}
}

/* Navigation becomes a full-screen panel */
@media (max-width: 68.75em) {
	.menu-toggle {
		display: inline-flex;
	}

	.js .site-nav {
		display: none;
	}

	.js.nav-open .site-nav {
		position: fixed;
		inset: var(--bar) 0 0 0;
		z-index: 100;
		display: flex;
		flex-direction: column;
		overflow-y: auto;
		border: 0;
		background: var(--paper);
	}

	.js .nav-panel-head {
		order: -2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 1rem var(--gutter);
		border-bottom: 3px solid var(--ink);
	}

	.nav-panel-head__title {
		font-size: 1.1rem;
		font-weight: 900;
	}

	.nav-close {
		padding: 0.4rem 0.9rem;
		border: 2px solid var(--ink);
		background: none;
		font-weight: 700;
		cursor: pointer;
	}

	.js .site-nav__inner {
		flex-direction: column;
		padding-top: 0.5rem;
	}

	.js .site-nav .menu {
		flex-direction: column;
	}

	.js .site-nav .menu > li > a {
		padding: 0.85rem 0;
		padding-inline-end: 3rem;
		border-bottom: 1px solid var(--rule);
		font-size: 1.125rem;
		white-space: normal;
	}

	.js .site-nav .menu > .current-menu-item > a,
	.js .site-nav .menu > .current-menu-ancestor > a,
	.js .site-nav .menu > .current-post-ancestor > a,
	.js .site-nav .menu > .current-menu-parent > a {
		box-shadow: none;
	}

	.js .site-nav .menu-item-has-children > a::after {
		display: none;
	}

	.js .site-nav .sub-menu,
	.js .site-nav .menu li:hover > .sub-menu,
	.js .site-nav .menu li:focus-within > .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		padding: 0 0 0.5rem;
		padding-inline-start: 1rem;
		border: 0;
		background: none;
	}

	.js .site-nav .menu li.is-open > .sub-menu {
		display: block;
	}

	.js .site-nav .sub-menu a {
		padding: 0.6rem 0;
		border-bottom: 1px solid var(--rule);
		font-size: 1rem;
	}

	.js .submenu-toggle {
		position: absolute;
		top: 0.45rem;
		inset-inline-end: 0;
		display: grid;
		place-items: center;
		width: 2.5rem;
		height: 2.5rem;
		border: 1px solid var(--rule);
		background: none;
		cursor: pointer;
	}

	.submenu-toggle::before {
		content: "";
		border-top: 0.4em solid currentColor;
		border-inline: 0.32em solid transparent;
		transition: transform 0.15s ease;
	}

	.is-open > .submenu-toggle::before {
		transform: rotate(180deg);
	}

	.js .search-toggle {
		display: none;
	}

	.js .site-search,
	.js .site-search:not(.is-open) {
		display: block;
		order: -1;
		border: 0;
		background: none;
		padding-block: 1rem 0;
	}

	.js .nav-extra {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 1rem 1.5rem;
		padding: 1.75rem var(--gutter) 2.5rem;
	}

	.nav-extra__social {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem 1.25rem;
		list-style: none;
		font-weight: 700;
	}
}

@media (max-width: 60em) {
	.front-lead {
		grid-template-columns: minmax(0, 1fr);
	}

	.wire {
		padding-inline-start: 0;
		padding-top: 1.75rem;
		border-inline-start: 0;
		border-top: 3px solid var(--ink);
	}

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

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

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

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

	.profile__photo {
		max-width: 24rem;
	}

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

	.archive-aside__inner {
		position: static;
	}

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

	.article__aside-inner {
		position: static;
	}

	.statement-no {
		flex-direction: row;
		align-items: baseline;
		gap: 0.75rem;
		margin-bottom: 0;
		padding-bottom: 0;
		border: 0;
	}

	.statement-no__value {
		font-size: 2.5rem;
	}

	.article__aside .share {
		display: none;
	}

	.article__aside:not(:has(.statement-no)) {
		display: none;
	}

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

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 40em) {
	.topbar__links li:not(:first-child) {
		display: none;
	}

	.masthead__inner {
		padding-block: 1.1rem 1rem;
	}

	.brand {
		gap: 0.75rem;
	}

	.brand__mark,
	.brand__mark.is-photo {
		width: 3.1rem;
		height: 3.1rem;
	}

	.brand__line,
	.masthead__contact {
		display: none;
	}

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

	.lead-story__num {
		flex-direction: row;
		align-items: baseline;
		gap: 0.75rem;
		padding-inline-end: 0;
		padding-bottom: 0.75rem;
		margin-bottom: 0.75rem;
		border-inline-end: 0;
		border-bottom: 1px solid var(--rule);
	}

	.lead-story__num-value {
		font-size: 4rem;
	}

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

	.ledger__item {
		padding-inline-start: 0;
		padding-bottom: 1.5rem;
		border-inline-start: 0;
		border-bottom: 1px solid var(--night-rule);
	}

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

	.row-card,
	.row-card--image {
		grid-template-columns: 3.75rem minmax(0, 1fr);
		grid-template-areas:
			"thumb thumb"
			"date body";
		gap: 1rem;
	}

	.row-card__thumb {
		aspect-ratio: 16 / 9;
	}

	.row-card__day {
		font-size: 1.7rem;
	}

	.row-card__title {
		font-size: 1.15rem;
	}

	.beyt,
	.poem-card__beyt {
		grid-template-columns: minmax(0, 1fr);
		text-align: center;
	}

	.beyt__m:last-child,
	.poem-card__beyt span:last-child {
		text-align: center;
	}

	.entry-content p {
		text-align: start;
	}

	.entry-content .wp-block-file .wp-block-file__embed {
		display: none;
	}

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

	.post-nav__link--next {
		grid-column: auto;
		padding-inline-start: 0;
		border-inline-start: 0;
		border-top: 1px solid var(--rule);
		text-align: start;
	}

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

	.band-flame__actions .btn {
		flex: 1 1 auto;
	}
}

/* Share bar under the article on small screens */
.share-mobile {
	display: none;
}

@media (max-width: 60em) {
	.share-mobile {
		display: block;
		margin-top: 2.5rem;
	}

	.share-mobile .share__list {
		display: flex;
		flex-wrap: wrap;
		border-top: 2px solid var(--ink);
	}

	.share-mobile .share__list li {
		flex: 1 1 auto;
	}

	.share-mobile .share__list a,
	.share-mobile .share__list button {
		padding: 0.6rem 0.75rem;
		border-inline-start: 1px solid var(--rule);
		text-align: center;
	}

	.share-mobile .share__list li:first-child a {
		border-inline-start: 0;
	}
}

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

/* Print: statements and articles print as clean documents */
@media print {
	.topbar,
	.site-nav,
	.masthead__actions,
	.site-footer,
	.band-flame,
	.share,
	.post-nav,
	.related,
	.archive-aside,
	.sh-embed,
	.skip-link {
		display: none !important;
	}

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

	.article__grid {
		display: block;
	}

	.entry-content a {
		color: #000;
		text-decoration: none;
	}
}
