/*
Theme Name: Prefer Editorial
Theme URI: https://www.prefer.gr
Author: Prefer
Description: Contemporary editorial theme for Prefer. Sharp rectangles, one stylesheet, no page builder.
Version: 1.2.11
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: prefer-editorial
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Source Sans 3, SIL Open Font License. Greek and Latin subsets only. */

/* greek-ext */
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/source-sans-3-greek-ext-normal-400.woff2") format("woff2");
	unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/source-sans-3-greek-normal-400.woff2") format("woff2");
	unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

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

/* latin */
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/source-sans-3-latin-normal-400.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* greek-ext */
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/source-sans-3-greek-ext-normal-600.woff2") format("woff2");
	unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/source-sans-3-greek-normal-600.woff2") format("woff2");
	unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

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

/* latin */
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/source-sans-3-latin-normal-600.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--paper: #f6f5f3;
	--ink: #141414;
	--muted: #5e5a55;
	--rule: rgba(20, 20, 20, 0.14);
	--signal: #c4161c;
	--inverse: #141414;
	--inverse-paper: #f6f5f3;
	--band-muted: rgba(246, 245, 243, 0.72);
	--band-faint: rgba(246, 245, 243, 0.62);
	--band-rule: rgba(246, 245, 243, 0.18);
	--band-kicker: #ff5a5f;
	--photo-well: #e7e3dd;
	--inread-wash: rgba(20, 20, 20, 0.04);
	--reading: 1.125rem;
	--sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--measure: 40rem;
	--sheet: 1180px;
	color-scheme: light;
}

html[data-theme="dark"] {
	--paper: #141414;
	--ink: #f6f5f3;
	--muted: #b7b2ab;
	--rule: rgba(246, 245, 243, 0.16);
	--signal: #ff5a5f;
	--inverse: #f6f5f3;
	--inverse-paper: #141414;
	--band-muted: rgba(20, 20, 20, 0.72);
	--band-faint: rgba(20, 20, 20, 0.62);
	--band-rule: rgba(20, 20, 20, 0.16);
	--band-kicker: #c4161c;
	--photo-well: #2a2926;
	--inread-wash: rgba(246, 245, 243, 0.06);
	color-scheme: dark;
}

html[data-size="0"] {
	--reading: 1rem;
}

html[data-size="2"] {
	--reading: 1.28rem;
}

html[data-size="3"] {
	--reading: 1.44rem;
}

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

html {
	scroll-behavior: auto;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	font-synthesis: none;
	line-height: 1.5;
	text-rendering: auto;
}

img,
button,
input,
textarea,
summary,
video,
iframe {
	border-radius: 0;
}

img {
	max-width: 100%;
	height: auto;
	box-shadow: none;
}

button,
input,
textarea {
	font: inherit;
	color: inherit;
	background: transparent;
	border-radius: 0;
}

a {
	color: inherit;
}

a:hover {
	color: inherit;
}

::selection {
	background: var(--ink);
	color: var(--paper);
}

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

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

.skip {
	position: absolute;
	left: 0.5rem;
	top: -4rem;
	z-index: 40;
	background: var(--ink);
	color: var(--paper);
	padding: 0.45rem 0.7rem;
	text-decoration: none;
}

.skip:focus {
	top: 0.5rem;
}

.sheet {
	width: min(var(--sheet), calc(100% - 2.5rem));
	margin-inline: auto;
}

.mast {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--paper);
	border-bottom: 1px solid var(--rule);
}

.mast__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1.25rem;
	min-height: 4.25rem;
	padding: 0.55rem 0;
}

.logo {
	display: block;
	flex: 0 0 auto;
	line-height: 0;
	text-decoration: none;
}

.logo__img {
	display: block;
	height: 42px;
	width: auto;
}

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

.logo__fallback {
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1;
}

.tagline {
	margin: 0;
	flex: 1 1 14rem;
	max-width: 22rem;
	color: var(--muted);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	line-height: 1.35;
}

.mast__tools {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin-left: auto;
}

.type {
	display: flex;
}

.type__btn,
.theme-toggle,
.mast__find-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	border: 1px solid var(--ink);
	background: transparent;
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.type__btn {
	min-width: 2.15rem;
	padding: 0.15rem 0.42rem;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
}

.type__btn + .type__btn {
	margin-left: -1px;
}

.theme-toggle {
	min-width: 5.1rem;
	padding: 0.15rem 0.5rem;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.theme-toggle__dark {
	display: none;
}

html[data-theme="dark"] .theme-toggle__light {
	display: none;
}

html[data-theme="dark"] .theme-toggle__dark {
	display: inline;
}

.mast__find {
	position: relative;
}

.mast__find-btn {
	min-width: 2rem;
	padding: 0.15rem 0.4rem;
	list-style: none;
}

.mast__find-btn::-webkit-details-marker {
	display: none;
}

.mast__find-panel {
	position: absolute;
	top: calc(100% + 0.4rem);
	right: 0;
	z-index: 5;
	width: max-content;
	max-width: calc(100vw - 1.5rem);
	padding: 0.45rem;
	background: var(--paper);
	border: 1px solid var(--ink);
}

.mast__find-panel .search input[type="search"] {
	width: min(12rem, 62vw);
}

.type__btn:hover,
.theme-toggle:hover,
.mast__find-btn:hover,
.mast__find[open] > .mast__find-btn {
	position: relative;
	z-index: 1;
	background: var(--ink);
	color: var(--paper);
}

.type__btn:disabled {
	color: var(--muted);
	background: transparent;
	cursor: default;
}

.type__btn:disabled:hover {
	background: transparent;
	color: var(--muted);
}

.mast__rss,
.search,
.type__btn,
.theme-toggle,
.mast__find-btn,
.section-nav,
.section-more,
.byline,
.kicker,
.legal,
.social,
.crumbs,
.article__reading,
.article__updated,
figcaption,
.share,
.index-toggle summary {
	font-family: var(--sans);
}

.mast__rss {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.mast__rss:hover {
	color: var(--signal);
}

.search {
	display: flex;
}

.search input[type="search"] {
	width: 9rem;
	border: 1px solid var(--ink);
	border-right: 0;
	padding: 0.38rem 0.55rem;
	background: transparent;
	appearance: none;
}

.search input[type="search"]::-webkit-search-decoration,
.search input[type="search"]::-webkit-search-cancel-button {
	appearance: none;
}

.search button,
.comment-form input[type="submit"] {
	border: 1px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	padding: 0.38rem 0.65rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 600;
	cursor: pointer;
}

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

.section-nav__list,
.footer-nav,
.index-list,
.tags,
.social,
.comments__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.section-nav__list {
	display: flex;
	flex-wrap: nowrap;
	gap: 0 1.15rem;
	overflow-x: auto;
	scrollbar-width: thin;
}

.section-nav__list a {
	display: block;
	padding: 0.72rem 0 0.62rem;
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}

.section-nav__list a:hover,
.section-nav__list a[aria-current="page"] {
	border-bottom-color: var(--signal);
}

.index-toggle {
	display: none;
	width: min(var(--sheet), calc(100% - 2.5rem));
	margin: 0 auto;
}

.index-toggle summary {
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.75rem 0;
	list-style: none;
}

.index-toggle summary::-webkit-details-marker {
	display: none;
}

.index-toggle summary::after {
	content: "+";
	float: right;
}

.index-toggle[open] summary::after {
	content: "–";
}

.index-list a {
	display: block;
	padding: 0.7rem 0;
	border-top: 1px solid var(--rule);
	text-decoration: none;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.015em;
}

.index-list a:hover {
	color: var(--signal);
}

.kicker {
	margin: 0 0 0.45rem;
	color: var(--signal);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.kicker a {
	text-decoration: none;
}

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

.lead {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 1.5rem 2.25rem;
	align-items: center;
	padding: 1.5rem 0 1.85rem;
}

.lead__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.lead__title,
.article__title,
.page-title,
.feature__title,
.tile__title,
.cover__title,
.listing__title,
.section-head h2 {
	font-family: var(--sans);
	font-weight: 600;
	letter-spacing: -0.03em;
}

.lead__title {
	margin: 0;
	font-size: clamp(2.15rem, 3.5vw, 3.35rem);
	line-height: 1.04;
	text-wrap: balance;
}

.lead__title a,
.feature__title a,
.tile__title a,
.cover__title a,
.listing__title a,
.section-head h2 a {
	color: inherit;
	text-decoration: none;
}

.lead__title a:hover,
.feature__title a:hover,
.tile__title a:hover,
.cover__title a:hover,
.listing__title a:hover,
.section-head h2 a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.12em;
}

.lead__deck,
.feature__deck,
.article__deck,
.page-deck,
.page-bio {
	color: var(--muted);
	font-size: 1.125rem;
	line-height: 1.45;
}

.lead__deck,
.feature__deck {
	max-width: 38rem;
	margin: 0.85rem 0 0;
	overflow-wrap: break-word;
}

.band__feature .feature__deck {
	max-width: 100%;
}

.lead__photo {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--photo-well);
}

.lead__photo img,
.feature__photo img,
.tile__photo img,
.cover__photo img,
.article__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 0;
}

.lead__photo img {
	position: absolute;
	inset: 0;
	height: 100%;
}

.byline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.35rem;
	align-items: baseline;
	margin: 1rem 0 0;
	color: var(--muted);
	font-size: 0.82rem;
}

.byline time::before {
	content: "·";
	margin-right: 0.35rem;
}

.byline a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.byline a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.block {
	margin-top: 3.25rem;
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin: 0 0 1.15rem;
}

.section-head h2 {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.15;
}

.section-head__aside {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	justify-content: flex-end;
	margin: 0;
}

.section-more {
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
}

.section-more:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.covers,
.tiles--4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.75rem 1.25rem;
}

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

.cover,
.tile {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	min-width: 0;
}

.cover__photo,
.tile__photo {
	order: -1;
}

.cover__title,
.tile__title {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.cover__photo img,
.tile__photo img {
	aspect-ratio: 3 / 2;
}

.cover > .byline,
.tile > .byline {
	margin-top: 0.15rem;
}

.band--ink {
	background: var(--inverse);
	color: var(--inverse-paper);
	margin-top: 3.25rem;
	padding: 1.5rem 0 1.75rem;
	/* Ink continues into the page margins. The sheet edge is also this box's
	   edge, so "Όλα τα κείμενα" was ending exactly on the ink/paper seam. */
	box-shadow:
		calc(50vw - 1px) 0 0 var(--inverse),
		calc(1px - 50vw) 0 0 var(--inverse);
}

.band--ink a {
	color: inherit;
}

.band--ink .kicker,
.band--ink .mast__rss:hover {
	color: var(--band-kicker);
}

.band--ink .byline,
.band--ink .feature__deck,
.band--ink .section-more {
	color: var(--band-muted);
}

.band--ink .byline a {
	color: var(--inverse-paper);
}

.band__split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 1.5rem 2rem;
	align-items: start;
}

.band__split > * {
	min-width: 0;
}

.feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas: "copy photo";
	gap: 1rem 1.5rem;
	align-items: end;
}

.feature__copy {
	grid-area: copy;
	min-width: 0;
	max-width: 100%;
}

.feature__photo {
	grid-area: photo;
}

.band__feature .feature,
.travel-feature .feature {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.band__feature .feature__photo,
.travel-feature .feature__photo {
	order: -1;
}

.feature__title {
	margin: 0;
	font-size: clamp(1.55rem, 2.2vw, 2.05rem);
	line-height: 1.12;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.travel-feature .feature__title {
	font-size: clamp(2rem, 3.6vw, 2.85rem);
}

.feature__photo img {
	aspect-ratio: 4 / 3;
}

.travel-feature .feature__photo img {
	aspect-ratio: 16 / 9;
}

.listing {
	display: grid;
	grid-template-columns: 7.2rem minmax(0, 1fr);
	gap: 0.35rem 1rem;
	padding: 0.85rem 0;
	border-top: 1px solid var(--rule);
}

.band--ink .listing {
	border-top-color: var(--band-rule);
}

.listing time {
	padding-top: 0.15rem;
	color: var(--muted);
	font-size: 0.78rem;
}

.band--ink .listing time {
	color: var(--band-faint);
}

.listing__title {
	margin: 0 0 0.2rem;
	font-size: 1.05rem;
	line-height: 1.28;
	letter-spacing: -0.02em;
	overflow-wrap: break-word;
}

.listing .byline__author {
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
}

.band--ink .listing .byline__author {
	color: var(--band-muted);
}

.listing .byline__author:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.listing--thumb {
	grid-template-columns: 7rem 7.2rem minmax(0, 1fr);
	align-items: start;
}

.listing__thumb {
	position: relative;
	display: block;
	width: 7rem;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--photo-well);
	line-height: 0;
}

.listing__thumb img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem 3rem;
	margin-top: 3.25rem;
}

.split .block {
	margin-top: 0;
}

.page-head {
	padding: 1.75rem 0 1.25rem;
	margin-bottom: 0.4rem;
}

.page-title {
	max-width: 16ch;
	margin: 0.2rem 0 0.55rem;
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	line-height: 1.02;
	text-wrap: balance;
}

.page-deck,
.page-bio {
	max-width: 38rem;
	margin: 0.35rem 0;
}

.page-bio {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.page-head .social {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 0.85rem 0 0;
}

.archive-list > .feature {
	padding: 0.4rem 0 1.35rem;
	margin-bottom: 0.25rem;
	border-bottom: 1px solid var(--rule);
}

.article {
	max-width: 44rem;
	margin: 1.75rem auto 2.75rem;
}

.crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.45rem;
	margin: 0 0 1.1rem;
	color: var(--muted);
	font-size: 0.82rem;
}

.crumbs a {
	color: var(--ink);
	text-decoration: none;
}

.crumbs a:hover {
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.article__title {
	margin: 0.15rem 0 0.75rem;
	font-size: clamp(2.15rem, 4.6vw, 3.25rem);
	line-height: 1.06;
	text-wrap: balance;
}

html[data-size="0"] .article__title {
	font-size: clamp(2rem, 4.2vw, 3.05rem);
}

html[data-size="2"] .article__title {
	font-size: clamp(2.28rem, 4.9vw, 3.45rem);
}

html[data-size="3"] .article__title {
	font-size: clamp(2.4rem, 5.2vw, 3.65rem);
}

.article__deck {
	max-width: var(--measure);
	margin: 0 0 1.1rem;
	font-size: 1.25rem;
}

.article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.15rem;
	align-items: baseline;
	max-width: var(--measure);
	padding: 0.75rem 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}

.article__meta .byline {
	margin: 0;
}

.article__meta .type {
	margin-left: auto;
	align-self: center;
}

.article__reading,
.article__updated {
	margin: 0;
	color: var(--muted);
	font-size: 0.82rem;
}

.article__figure {
	margin: 1.25rem 0 1.35rem;
}

.article__img {
	width: 100%;
	height: auto;
}

figcaption,
.credit {
	margin-top: 0.4rem;
	color: var(--muted);
	font-size: 0.78rem;
}

.credit::before {
	content: " / ";
}

.prose {
	max-width: var(--measure);
	font-size: 1.125rem;
	line-height: 1.65;
}

.article__body {
	font-size: var(--reading);
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose figure {
	margin: 0 0 1.05rem;
}

.prose a {
	text-underline-offset: 0.14em;
}

.prose a:hover {
	background: var(--ink);
	color: var(--paper);
	text-decoration: none;
}

.prose h2,
.prose h3 {
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.prose h2 {
	margin: 1.6rem 0 0.55rem;
	font-size: 1.378em;
}

.prose h3 {
	margin: 1.3rem 0 0.4rem;
	font-size: 1.067em;
}

.prose blockquote {
	margin-left: 0;
	padding-left: 0.9rem;
	border-left: 2px solid var(--ink);
	font-size: 1.156em;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.prose iframe,
.prose video {
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

.prose img,
.wp-caption img {
	height: auto;
	border-radius: 0;
}

.inread {
	max-width: 100%;
	margin: 1.7rem 0 1.8rem;
	padding: 0.8rem 0.9rem 0.95rem;
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--ink);
	border-radius: 0;
	background: var(--inread-wash);
	box-shadow: none;
	overflow-wrap: break-word;
}

.prose .inread p {
	margin: 0;
}

.prose .inread__label {
	margin: 0 0 0.65rem;
	color: var(--ink);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.inread__story {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem 1rem;
	min-width: 0;
}

.inread__copy {
	flex: 1 1 auto;
	min-width: 0;
}

.prose .inread .kicker {
	margin: 0 0 0.28rem;
}

.inread__title {
	margin: 0;
	font-family: var(--sans);
	font-size: 1.067em;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.22;
	text-wrap: balance;
}

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

.inread__photo {
	flex: 0 0 5.25rem;
	width: 5.25rem;
	line-height: 0;
}

.inread__img,
.inread__photo img {
	display: block;
	width: 5.25rem;
	height: 5.25rem;
	max-width: 100%;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
}

.prose .inread a:hover {
	background: transparent;
	color: inherit;
	text-decoration: none;
}

.prose .inread__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.12em;
}

@media (max-width: 720px) {
	.inread {
		padding: 0.75rem 0.7rem 0.85rem;
	}

	.inread__title {
		font-size: 0.96em;
	}

	.inread__photo {
		flex-basis: 4.25rem;
		width: 4.25rem;
	}

	.inread__img,
	.inread__photo img {
		width: 4.25rem;
		height: 4.25rem;
	}
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	max-width: var(--measure);
	margin-top: 1.5rem;
	padding-top: 0.8rem;
	border-top: 1px solid var(--rule);
}

.tags a {
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
}

.tags a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.share {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 1rem 0 0;
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.share a {
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--ink);
}

.share a:hover {
	border-bottom-color: var(--signal);
	color: var(--signal);
}

.related {
	margin: 0.5rem 0 3rem;
}

.pagination {
	margin: 1.75rem 0 2.75rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-block;
	margin-left: -1px;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--ink);
	text-decoration: none;
	font-size: 0.85rem;
}

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

.pagination .page-numbers:hover {
	background: var(--signal);
	border-color: var(--signal);
	color: var(--paper);
}

.empty,
.lost {
	padding: 0.5rem 0 2rem;
}

.colophon {
	margin-top: 3.5rem;
	border-top: 1px solid var(--rule);
	padding: 1.6rem 0 2.25rem;
}

.colophon__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 0.8fr;
	gap: 1.35rem 2rem;
	align-items: start;
}

.colophon__brand p {
	max-width: 22rem;
	margin: 0.75rem 0 0;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.4;
}

.footer-nav a,
.social a {
	text-decoration: none;
}

.footer-nav a {
	display: inline-block;
	padding: 0.18rem 0;
}

.footer-nav a:hover,
.social a:hover,
.legal a:hover {
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.social {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.legal {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 0.4rem 0 0;
	padding-top: 0.9rem;
	border-top: 1px solid var(--rule);
	color: var(--muted);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
}

.legal a {
	color: var(--ink);
	text-decoration: none;
}

.colophon__credit {
	grid-column: 1 / -1;
	margin: 0.55rem 0 0;
	color: var(--ink);
	font-size: 0.82rem;
	letter-spacing: 0.02em;
}

.colophon__credit a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.page-head .search,
.lost + .search,
header.page-head + .search {
	margin: 0.9rem 0 1.15rem;
}

.page-head .search input[type="search"] {
	width: min(22rem, 70vw);
}

.comments {
	max-width: var(--measure);
	margin: 0 auto 3rem;
}

.comments__list li {
	padding: 0.85rem 0;
	border-top: 1px solid var(--rule);
}

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

@media (max-width: 980px) {
	.colophon__grid,
	.split,
	.band__split,
	.feature {
		grid-template-columns: 1fr;
	}

	.feature {
		grid-template-areas:
			"photo"
			"copy";
		align-items: start;
	}

	.split {
		gap: 2.5rem;
	}

	.covers,
	.tiles--4,
	.tiles--3 {
		grid-template-columns: 1fr 1fr;
	}

	.lead {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: 1rem;
	}

	.lead__photo {
		order: -1;
		aspect-ratio: auto;
	}

	.lead__photo img {
		position: static;
		aspect-ratio: 3 / 2;
		height: auto;
	}

	.lead__copy {
		justify-content: flex-start;
		align-self: stretch;
	}
}

@media (max-width: 720px) {
	.sheet,
	.index-toggle {
		width: min(var(--sheet), calc(100% - 1.25rem));
	}

	.tagline,
	.mast__rss,
	.section-nav {
		display: none;
	}

	.mast__bar {
		min-height: 3.6rem;
	}

	.logo__img {
		height: 36px;
	}

	.index-toggle {
		display: block;
	}

	.covers,
	.tiles--4,
	.tiles--3,
	.listing {
		grid-template-columns: 1fr;
	}

	.listing.listing--thumb {
		grid-template-columns: 5rem minmax(0, 1fr);
		grid-template-areas:
			"thumb date"
			"thumb copy";
		column-gap: 0.85rem;
		align-items: start;
	}

	.listing.listing--thumb .listing__thumb {
		grid-area: thumb;
		width: 5rem;
	}

	.listing.listing--thumb > time {
		grid-area: date;
	}

	.listing.listing--thumb > div {
		grid-area: copy;
	}

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

	.lead__title {
		font-size: clamp(1.85rem, 8vw, 2.4rem);
	}
}

.to-top {
	position: fixed;
	z-index: 28;
	right: 0.7rem;
	/* Consent pill is about 50–70px tall and inset at the corner. */
	bottom: calc(6.75rem + env(safe-area-inset-bottom, 0px));
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.35rem);
	transition: opacity 180ms linear, transform 180ms linear, visibility 0s linear 180ms;
}

.to-top.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 180ms linear, transform 180ms linear, visibility 0s linear 0s;
}

.to-top__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.to-top__fill {
	fill: var(--paper);
	stroke: none;
}

.to-top__track,
.to-top__bar {
	fill: none;
	stroke-width: 1.5;
}

.to-top__track {
	stroke: var(--rule);
}

.to-top__bar {
	stroke: var(--ink);
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
}

.to-top__arrow {
	position: relative;
	z-index: 1;
	width: 1.15rem;
	height: 1.15rem;
}

.to-top:hover {
	color: var(--signal);
}

.to-top:hover .to-top__bar {
	stroke: var(--signal);
}

@media (max-width: 46.5rem) {
	.single-post .article__body {
		padding-right: 2.45rem;
	}

	.to-top {
		right: 0.4rem;
		width: 2.2rem;
		height: 2.2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.to-top {
		transform: none;
		transition: none;
	}
}

@media print {
	:root,
	html[data-theme="dark"] {
		--paper: #fff;
		--ink: #141414;
		--muted: #5e5a55;
		--rule: rgba(20, 20, 20, 0.14);
		--signal: #c4161c;
		--inverse: #141414;
		--inverse-paper: #f6f5f3;
		--band-muted: rgba(246, 245, 243, 0.72);
		--band-faint: rgba(246, 245, 243, 0.62);
		--band-rule: rgba(246, 245, 243, 0.18);
		--band-kicker: #ff5a5f;
		color-scheme: light;
	}

	.band--ink {
		box-shadow: none;
	}

	.mast__tools,
	.type,
	.search,
	.share,
	.index-toggle,
	.section-nav,
	.ad-slot,
	.to-top,
	.colophon .social {
		display: none;
	}

	.mast {
		position: static;
	}

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

.ad-slot {
	max-width: 100%;
	margin: 1.45rem auto;
	text-align: center;
}

.ad-slot__unit {
	display: flex;
	justify-content: center;
	max-width: 100%;
}

.ad-slot .adsbygoogle {
	display: inline-block;
	max-width: 100%;
}

.prose .ad-slot p,
.ad-slot__label {
	margin: 0.4rem 0 0;
	color: var(--muted);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ad-slot--above-footer {
	width: min(var(--sheet), calc(100% - 2.5rem));
	margin: 2.25rem auto 0;
}

.ad-slot--above-footer + .colophon {
	margin-top: 1.75rem;
}

@media (max-width: 720px) {
	.ad-slot--above-footer {
		width: min(var(--sheet), calc(100% - 1.25rem));
	}
}
