/*
Theme Name: Findhere Editorial
Description: A focused editorial WordPress theme for the Findhere Greek blog.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: findhere-editorial
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--color-paper: #f7f7f2;
	--color-white: #ffffff;
	--color-ink: #1c2419;
	--color-muted: #596151;
	--color-accent: #8aa810;
	--color-accent-dark: #506509;
	--color-accent-pale: #e9edda;
	--color-rule: #d1d5c8;
	--color-rule-dark: #929b84;
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
	--font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	--wrap-width: 1240px;
	--article-width: 760px;
	--gutter: clamp(20px, 4vw, 56px);
	--space-section: clamp(48px, 7vw, 96px);
	color-scheme: light;
}

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

html {
	font-family: var(--font-sans);
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 32px;
}

body {
	margin: 0;
	background: var(--color-paper);
	color: var(--color-ink);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

[hidden] {
	display: none !important;
}

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

a {
	color: var(--color-accent-dark);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover {
	text-decoration-thickness: 2px;
}

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

button,
input,
select,
textarea,
a {
	-webkit-tap-highlight-color: transparent;
}

button {
	cursor: pointer;
}

button:disabled {
	cursor: wait;
	opacity: 0.65;
}

:focus-visible {
	outline: 3px solid var(--color-accent-dark);
	outline-offset: 5px;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

img,
video {
	display: block;
}

iframe {
	max-width: 100%;
}

figure {
	margin: 0;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	text-wrap: balance;
}

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

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

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 20px;
	overflow: visible;
	clip: auto;
	clip-path: none;
	background: var(--color-ink);
	color: var(--color-white);
	font-weight: 700;
	white-space: normal;
}

/* The header keeps the parent brand visible without competing with the story. */
.site-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--color-rule);
	background: var(--color-paper);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	min-height: 106px;
}

.brand {
	display: inline-flex;
	grid-column: 1;
	align-items: center;
	gap: 16px;
	width: fit-content;
	color: var(--color-ink);
	text-decoration: none;
}

.brand:hover {
	text-decoration: none;
}

.brand__identity {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Show the original parent-site pin without resampling its logo artwork. */
.brand__mark {
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 42px;
	background: url("assets/findhere-source-logo.png") left center / 143px 42px no-repeat;
}

.brand__wordmark {
	font-size: clamp(23px, 2.5vw, 31px);
	font-weight: 850;
	line-height: 1;
	letter-spacing: -0.075em;
	white-space: nowrap;
}

.brand__wordmark em {
	color: var(--color-accent-dark);
	font-weight: 750;
	font-style: italic;
}

.brand__domain {
	font-size: 0.58em;
	font-weight: 600;
	letter-spacing: -0.05em;
}

.brand__label {
	padding-block: 6px;
	padding-left: 16px;
	border-left: 1px solid var(--color-rule-dark);
	font-size: 11px;
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: 0.15em;
}

.site-navigation {
	display: flex;
	grid-column: 2;
	align-items: center;
	justify-content: flex-end;
	gap: 22px;
	min-width: 0;
}

.site-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-menu li {
	position: relative;
}

.site-menu a,
.site-parent-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--color-ink);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.35;
	text-decoration: none;
}

.site-menu a:hover,
.site-menu .current-menu-item > a,
.site-menu .current-menu-ancestor > a,
.site-parent-link:hover {
	color: var(--color-accent-dark);
	text-decoration: underline;
	text-underline-offset: 5px;
}

.site-menu .sub-menu {
	margin: 0;
	padding: 0 0 0 14px;
	border-left: 1px solid var(--color-rule);
	list-style: none;
}

.site-menu .sub-menu a {
	font-size: 12px;
}

.site-header__actions {
	grid-column: 3;
	padding-left: 22px;
	border-left: 1px solid var(--color-rule);
}

.site-parent-link {
	gap: 8px;
	white-space: nowrap;
}

.site-parent-link svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 9px;
	border: 1px solid var(--color-rule-dark);
	border-radius: 0;
	background: transparent;
	color: var(--color-ink);
	font-size: 12px;
	font-weight: 650;
}

.nav-toggle svg {
	width: 20px;
	height: 20px;
}

.nav-toggle__icon {
	position: relative;
	display: block;
	width: 17px;
	height: 12px;
	border-block: 1px solid currentColor;
}

.nav-toggle__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	border-top: 1px solid currentColor;
}

.nav-toggle[aria-expanded="true"] {
	border-color: var(--color-ink);
	background: var(--color-ink);
	color: var(--color-paper);
}

.search-form {
	display: flex;
	align-items: stretch;
	gap: 0;
	max-width: 520px;
}

.search-form label {
	flex: 1 1 auto;
	min-width: 0;
}

.search-field {
	width: 100%;
	min-width: 0;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid var(--color-rule-dark);
	border-right: 0;
	border-radius: 0;
	background: var(--color-white);
	color: var(--color-ink);
	appearance: none;
}

.search-field::placeholder {
	color: var(--color-muted);
	opacity: 1;
}

.search-submit {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--color-ink);
	border-radius: 0;
	background: var(--color-ink);
	color: var(--color-white);
	font-size: 13px;
	font-weight: 650;
}

.search-submit:hover {
	background: var(--color-accent-dark);
	border-color: var(--color-accent-dark);
}

.search-submit svg {
	width: 18px;
	height: 18px;
}

.site-navigation .search-form {
	flex: 0 1 178px;
	min-width: 120px;
	font-size: 13px;
}

.site-navigation .search-field,
.site-navigation .search-submit {
	min-height: 40px;
}

.site-navigation .search-submit {
	min-width: 40px;
	padding: 8px;
}

/* Landing pages use rules, white space and scale in place of card chrome. */
.site-main {
	min-height: 52vh;
	padding-bottom: var(--space-section);
}

.page-heading {
	padding-block: clamp(44px, 6vw, 82px) clamp(32px, 4vw, 52px);
}

.page-heading__eyebrow,
.section-heading__eyebrow {
	margin-bottom: 18px;
	color: var(--color-accent-dark);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

.page-heading__title {
	max-width: 18ch;
	margin-bottom: 22px;
	font-size: clamp(40px, 5.5vw, 76px);
	font-weight: 650;
	line-height: 1.08;
	letter-spacing: -0.045em;
	overflow-wrap: break-word;
}

.page-heading__description {
	max-width: 660px;
	color: var(--color-muted);
	font-size: clamp(17px, 1.65vw, 20px);
	line-height: 1.6;
}

.page-heading__description > :last-child {
	margin-bottom: 0;
}

.featured-section {
	margin-bottom: clamp(42px, 6vw, 80px);
	border-top: 2px solid var(--color-ink);
	border-bottom: 1px solid var(--color-rule-dark);
}

.post-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-top: 1px solid var(--color-rule);
}

.post-card__media {
	position: relative;
	display: block;
	flex: 0 0 auto;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--color-accent-pale);
	color: var(--color-accent-dark);
	text-decoration: none;
}

.post-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
}

@media (hover: hover) {
	.post-card__media:hover .post-card__image {
		transform: scale(1.025);
	}
}

.post-card__placeholder {
	display: flex;
	align-items: flex-end;
	width: 100%;
	height: 100%;
	min-height: 180px;
	padding: clamp(22px, 3vw, 38px);
	border-bottom: 8px solid var(--color-accent);
	font-size: clamp(26px, 4vw, 48px);
	font-weight: 750;
	line-height: 1;
	letter-spacing: -0.06em;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 22px;
	min-width: 0;
}

.post-card__category,
.article-category {
	display: inline-block;
	margin-bottom: 13px;
	color: var(--color-accent-dark);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.075em;
	line-height: 1.5;
	text-decoration: none;
	text-transform: uppercase;
}

.post-card__category a,
.article-category a {
	color: inherit;
	text-decoration: none;
}

.post-card__category a:hover,
.article-category a:hover {
	text-decoration: underline;
}

.post-card__title {
	margin-bottom: 14px;
	font-size: clamp(23px, 2.1vw, 29px);
	font-weight: 650;
	line-height: 1.23;
	letter-spacing: -0.025em;
	overflow-wrap: break-word;
}

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

.post-card__title a:hover {
	color: var(--color-accent-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.post-card__excerpt {
	margin-bottom: 24px;
	color: var(--color-muted);
	font-size: 15px;
	line-height: 1.7;
	overflow-wrap: break-word;
}

.post-card__excerpt > :last-child {
	margin-bottom: 0;
}

.post-card__meta,
.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	color: var(--color-muted);
	font-size: 12px;
	line-height: 1.6;
}

.post-card__meta {
	margin-top: auto;
}

.post-card__meta a,
.article-meta a {
	color: inherit;
}

.post-card--featured {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	padding-block: 28px;
	border: 0;
}

.post-card--featured .post-card__media {
	aspect-ratio: 6 / 5;
}

.post-card--featured .post-card__body {
	justify-content: center;
	padding-block: 20px;
}

.post-card--featured .post-card__category {
	margin-bottom: 24px;
}

.post-card--featured .post-card__title {
	margin-bottom: 22px;
	font-size: clamp(31px, 3.45vw, 48px);
	line-height: 1.16;
	letter-spacing: -0.035em;
}

.post-card--featured .post-card__excerpt {
	max-width: 44ch;
	margin-bottom: 28px;
	font-size: 17px;
}

.post-card--featured .post-card__meta {
	margin-top: 8px;
}

.posts-section + .posts-section {
	margin-top: var(--space-section);
}

.section-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}

.section-heading h2,
h2.section-heading {
	font-size: clamp(25px, 2.5vw, 34px);
	font-weight: 650;
	letter-spacing: -0.035em;
}

.section-heading h2 {
	margin: 0;
}

.section-heading a {
	font-size: 13px;
	font-weight: 650;
}

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

.posts-grid .post-card {
	padding-top: 16px;
}

.pagination {
	margin-top: 56px;
	padding-top: 26px;
	border-top: 1px solid var(--color-rule);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid transparent;
	color: var(--color-ink);
	font-size: 14px;
	font-weight: 650;
	text-decoration: none;
}

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

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

.page-numbers.dots {
	min-width: 24px;
	padding-inline: 4px;
}

.empty-state {
	position: relative;
	padding: clamp(36px, 6vw, 76px) 0;
	border-top: 2px solid var(--color-ink);
	border-bottom: 1px solid var(--color-rule-dark);
}

.empty-state::before {
	content: "";
	display: block;
	width: 52px;
	height: 6px;
	margin-bottom: 28px;
	background: var(--color-accent);
}

.empty-state__mark {
	position: absolute;
	top: 50%;
	right: 3%;
	color: #e0e5d2;
	font-size: clamp(150px, 24vw, 280px);
	font-weight: 750;
	font-style: italic;
	line-height: 1;
	letter-spacing: -0.09em;
	transform: translateY(-50%);
	pointer-events: none;
}

.empty-state h1,
.empty-state h2 {
	max-width: 18ch;
	margin-bottom: 24px;
	font-size: clamp(35px, 4.4vw, 60px);
	font-weight: 650;
	line-height: 1.12;
	letter-spacing: -0.04em;
}

.empty-state p {
	max-width: 580px;
	margin-bottom: 28px;
	color: var(--color-muted);
	font-size: 18px;
	line-height: 1.7;
}

.empty-state p.empty-state__eyebrow {
	margin-bottom: 16px;
	color: var(--color-accent-dark);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.empty-state .search-form {
	margin-top: 24px;
}

.button,
.copy-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid var(--color-accent-dark);
	border-radius: 0;
	background: var(--color-accent-dark);
	color: var(--color-white);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.copy-link:hover {
	border-color: var(--color-ink);
	background: var(--color-ink);
	color: var(--color-white);
	text-decoration: none;
}

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

/* Article content remains useful with raw HTML, classic editor or blocks. */
.article-header {
	max-width: 1000px;
	margin-inline: auto;
	padding-block: 32px 42px;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 10px;
	margin-bottom: clamp(36px, 5vw, 64px);
	color: var(--color-muted);
	font-size: 12px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

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

.breadcrumbs a:hover {
	text-decoration: underline;
}

.article-category {
	margin-bottom: 20px;
	font-size: 12px;
}

.article-title {
	margin-bottom: 28px;
	font-size: clamp(36px, 4.7vw, 66px);
	font-weight: 650;
	line-height: 1.12;
	letter-spacing: -0.04em;
	overflow-wrap: break-word;
}

.article-meta {
	font-size: 13px;
}

.article-meta img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.article-hero {
	margin-bottom: clamp(36px, 5vw, 64px);
}

.article-hero__image {
	width: 100%;
	height: auto;
}

.article-hero__caption {
	margin-top: 12px;
	color: var(--color-muted);
	font-size: 12px;
	line-height: 1.6;
}

.article-body,
.article-footer {
	width: min(calc(100% - var(--gutter) * 2), var(--article-width));
	max-width: var(--article-width);
	margin-inline: auto;
}

.entry-content {
	font-size: clamp(17px, 1.45vw, 19px);
	line-height: 1.85;
	overflow-wrap: anywhere;
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content p {
	margin-bottom: 1.45em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 1.8em;
	margin-bottom: 0.7em;
	color: var(--color-ink);
	line-height: 1.3;
	letter-spacing: -0.025em;
	scroll-margin-top: 32px;
}

.entry-content h1 {
	font-size: 2.2em;
}

.entry-content h2 {
	font-size: clamp(27px, 2.6vw, 36px);
}

.entry-content h3 {
	font-size: clamp(23px, 2.1vw, 28px);
}

.entry-content h4 {
	font-size: 1.15em;
}

.entry-content h5,
.entry-content h6 {
	font-size: 1em;
}

.entry-content ul,
.entry-content ol {
	margin-block: 0 1.5em;
	padding-inline-start: 1.5em;
}

.entry-content li {
	margin-bottom: 0.5em;
	padding-inline-start: 0.2em;
}

.entry-content li::marker {
	color: var(--color-accent-dark);
	font-weight: 650;
}

.entry-content li > ul,
.entry-content li > ol {
	margin-top: 0.6em;
	margin-bottom: 0;
}

.entry-content a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.entry-content a:hover {
	text-decoration-thickness: 2px;
}

.entry-content blockquote,
.entry-content .wp-block-pullquote {
	margin: 2em 0;
	padding: 8px 0 8px clamp(22px, 4vw, 40px);
	border: 0;
	border-left: 4px solid var(--color-accent);
	color: var(--color-ink);
	font-size: 1.2em;
	font-weight: 500;
	line-height: 1.6;
	text-align: left;
}

.entry-content blockquote p:last-of-type {
	margin-bottom: 0;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 18px;
	color: var(--color-muted);
	font-size: 0.7em;
	font-weight: 400;
	font-style: normal;
}

.entry-content .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: inherit;
}

.entry-content figure,
.entry-content .wp-caption {
	max-width: 100%;
	margin-block: 2em;
}

.entry-content img {
	height: auto;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
	margin-top: 12px;
	color: var(--color-muted);
	font-size: 13px;
	line-height: 1.65;
	text-align: left;
}

.entry-content .aligncenter {
	margin-inline: auto;
}

.entry-content .alignleft {
	float: left;
	max-width: 48%;
	margin: 0.4em 1.5em 1em 0;
}

.entry-content .alignright {
	float: right;
	max-width: 48%;
	margin: 0.4em 0 1em 1.5em;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.entry-content .alignwide,
.entry-content .alignfull {
	max-width: 100%;
	margin-inline: 0;
}

.entry-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-block: 1.5em;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 0.88em;
	line-height: 1.6;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}

.entry-content th,
.entry-content td {
	min-width: 120px;
	padding: 13px 16px;
	border: 1px solid var(--color-rule);
	text-align: start;
	vertical-align: top;
}

.entry-content th {
	background: var(--color-accent-pale);
	font-weight: 650;
}

.entry-content caption {
	margin-bottom: 12px;
	color: var(--color-muted);
	font-size: 13px;
	text-align: start;
}

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

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

.entry-content pre {
	max-width: 100%;
	margin-block: 1.7em;
	padding: clamp(18px, 3vw, 28px);
	overflow-x: auto;
	border: 1px solid var(--color-rule);
	background: #eeefe7;
	font-family: var(--font-mono);
	font-size: 0.8em;
	line-height: 1.8;
	white-space: pre;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}

.entry-content code,
.entry-content kbd,
.entry-content samp {
	padding: 0.12em 0.3em;
	background: #eeefe7;
	font-family: var(--font-mono);
	font-size: 0.85em;
	border-radius: 2px;
}

.entry-content pre code {
	padding: 0;
	background: transparent;
	font-size: inherit;
	overflow-wrap: normal;
}

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

.entry-content dl {
	margin-block: 1.5em;
}

.entry-content dt {
	font-weight: 700;
}

.entry-content dd {
	margin: 0.4em 0 1.3em 1.5em;
}

.entry-content details {
	margin-block: 1.2em;
	padding: 16px 20px;
	border: 1px solid var(--color-rule);
}

.entry-content summary {
	cursor: pointer;
	font-weight: 650;
}

.entry-content details[open] summary {
	margin-bottom: 16px;
}

.entry-content mark {
	background: #e2eabf;
	color: inherit;
}

.entry-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.entry-content textarea,
.entry-content select {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--color-rule-dark);
	border-radius: 0;
	background: var(--color-white);
	color: var(--color-ink);
}

.entry-content .wp-block-button__link,
.entry-content input[type="submit"] {
	padding: 12px 22px;
	border: 1px solid var(--color-accent-dark);
	border-radius: 0;
	background: var(--color-accent-dark);
	color: var(--color-white);
	font-size: 15px;
	font-weight: 650;
	text-decoration: none;
}

.entry-content .wp-block-embed__wrapper {
	max-width: 100%;
}

.entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper {
	position: relative;
	aspect-ratio: 16 / 9;
}

.entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.article-footer {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--color-rule-dark);
}

.article-credit {
	margin: 0 0 20px;
	color: var(--color-muted);
	font-size: 13px;
}

.article-credit a {
	color: inherit;
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin-bottom: 24px;
	font-size: 13px;
}

.article-tags a {
	padding-bottom: 2px;
	border-bottom: 1px solid var(--color-rule-dark);
	color: var(--color-muted);
	text-decoration: none;
}

.article-tags a:hover {
	border-color: var(--color-accent-dark);
	color: var(--color-accent-dark);
}

.article-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}

.copy-link {
	min-height: 44px;
	padding: 10px 18px;
	border-color: var(--color-rule-dark);
	background: transparent;
	color: var(--color-ink);
	font-size: 13px;
}

.copy-link svg {
	width: 17px;
	height: 17px;
}

.copy-link-status {
	color: var(--color-muted);
	font-size: 13px;
	line-height: 1.5;
}

.related-section {
	margin-top: var(--space-section);
	padding-top: 36px;
	border-top: 2px solid var(--color-ink);
}

/* Footer */
.site-footer {
	padding-block: 42px;
	border-top: 1px solid var(--color-ink);
	background: #eeefe7;
	color: var(--color-muted);
	font-size: 13px;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}

.site-footer__brand {
	color: var(--color-ink);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.025em;
	text-decoration: none;
}

.site-footer p {
	margin: 0;
}

.site-footer__brand > p {
	margin-top: 14px;
	color: var(--color-muted);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__copyright {
	flex-basis: 100%;
	font-size: 12px;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--color-muted);
	text-decoration: none;
}

.site-footer__links a:hover {
	color: var(--color-accent-dark);
	text-decoration: underline;
}

@media (max-width: 1100px) {
	.site-header__inner {
		gap: 20px;
	}

	.site-navigation {
		gap: 16px;
	}

	.site-menu {
		gap: 4px 14px;
	}

	.site-header__actions {
		padding-left: 16px;
	}

	.brand {
		gap: 11px;
	}

	.brand__label {
		padding-left: 11px;
	}

	.site-navigation .search-form {
		flex-basis: 140px;
	}
}

@media (max-width: 860px) {
	.empty-state__mark {
		display: none;
	}

	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 0 18px;
		min-height: 86px;
		padding-block: 18px;
	}

	.brand {
		grid-column: 1;
		grid-row: 1;
	}

	.site-header__actions {
		grid-column: 2;
		grid-row: 1;
		padding-left: 0;
		border: 0;
	}

	.nav-toggle {
		grid-column: 3;
		grid-row: 1;
	}

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

	.site-navigation {
		grid-column: 1 / -1;
		grid-row: 2;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		margin-top: 20px;
		padding-top: 18px;
		border-top: 1px solid var(--color-rule);
	}

	.has-js .site-navigation {
		display: none;
	}

	.has-js .site-navigation.is-open {
		display: flex;
	}

	.site-menu {
		justify-content: flex-start;
		gap: 4px 24px;
	}

	.site-menu a {
		font-size: 15px;
	}

	.site-navigation .search-form {
		flex: none;
		width: 100%;
		max-width: none;
		font-size: 16px;
	}

	.site-navigation .search-field,
	.site-navigation .search-submit {
		min-height: 46px;
	}

	.posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 38px 24px;
	}

	.post-card--featured {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 28px;
	}

	.post-card--featured .post-card__media {
		aspect-ratio: auto;
		min-height: 360px;
	}

	.post-card--featured .post-card__body {
		padding-block: 12px;
	}

	.post-card--featured .post-card__title {
		font-size: 31px;
	}

	.post-card--featured .post-card__excerpt {
		font-size: 15px;
	}
}

@media (max-width: 600px) {
	:root {
		--gutter: 20px;
	}

	.site-header__inner {
		gap: 0 10px;
		min-height: 78px;
		padding-block: 14px;
	}

	.brand {
		gap: 9px;
	}

	.brand__wordmark {
		font-size: 23px;
	}

	.brand__identity {
		gap: 6px;
	}

	.brand__mark {
		flex-basis: 18px;
		width: 18px;
		height: 32px;
		background-size: 109px 32px;
	}

	.brand__label {
		padding-left: 9px;
		font-size: 9px;
		letter-spacing: 0.1em;
	}

	.site-header__actions {
		grid-column: 1 / -1;
		grid-row: 3;
	}

	.site-parent-link {
		min-height: 32px;
		margin-top: 5px;
		font-size: 11px;
	}

	.nav-toggle {
		grid-column: 3;
		padding: 9px;
	}

	.site-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-menu a {
		width: 100%;
		padding-block: 10px;
	}

	.page-heading {
		padding-block: 40px 32px;
	}

	.page-heading__eyebrow {
		margin-bottom: 14px;
		font-size: 11px;
	}

	.page-heading__title {
		font-size: clamp(34px, 9vw, 48px);
	}

	.page-heading__description {
		font-size: 16px;
	}

	.post-card--featured {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		padding-block: 18px 26px;
	}

	.post-card--featured .post-card__media {
		aspect-ratio: 16 / 10;
		min-height: 0;
	}

	.post-card--featured .post-card__body {
		padding: 0;
	}

	.post-card--featured .post-card__category {
		margin-bottom: 14px;
	}

	.post-card--featured .post-card__title {
		margin-bottom: 16px;
		font-size: 32px;
	}

	.post-card--featured .post-card__excerpt {
		max-width: none;
		margin-bottom: 18px;
		font-size: 16px;
	}

	.posts-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.post-card__title {
		font-size: 26px;
	}

	.post-card__body {
		padding-top: 18px;
	}

	.post-card__excerpt {
		margin-bottom: 18px;
	}

	.section-heading {
		margin-bottom: 22px;
	}

	.empty-state {
		padding-block: 36px 44px;
	}

	.empty-state h1,
	.empty-state h2 {
		font-size: 37px;
	}

	.empty-state p {
		font-size: 16px;
	}

	.article-header {
		padding-block: 24px 30px;
	}

	.breadcrumbs {
		margin-bottom: 32px;
		font-size: 11px;
	}

	.article-title {
		margin-bottom: 22px;
		font-size: clamp(31px, 8.5vw, 44px);
	}

	.article-meta {
		gap: 5px 12px;
		font-size: 12px;
	}

	.entry-content {
		font-size: 17px;
		line-height: 1.8;
	}

	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		max-width: 100%;
		margin: 1.5em auto;
	}

	.entry-content blockquote {
		font-size: 1.1em;
	}

	.article-footer {
		margin-top: 36px;
	}

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

	.pagination {
		margin-top: 36px;
	}

	.page-numbers {
		padding-inline: 11px;
		font-size: 13px;
	}

	.site-footer {
		padding-block: 32px;
	}

	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.site-footer__links {
		gap: 5px 20px;
	}
}

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

@media print {
	:root {
		--gutter: 0px;
		--wrap-width: 100%;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 12pt;
	}

	.site-header,
	.site-footer,
	.related-section,
	.article-share,
	.breadcrumbs,
	.pagination {
		display: none;
	}

	.article-header {
		padding-top: 0;
	}

	.article-title {
		font-size: 30pt;
	}

	.entry-content {
		font-size: 12pt;
		line-height: 1.6;
	}

	h1,
	h2,
	h3,
	h4 {
		break-after: avoid;
	}

	img,
	figure,
	blockquote {
		break-inside: avoid;
	}

	a {
		color: inherit;
	}
}
