/* ==========================================================================
   EmysHub — editorial layer on Frost
   Paper, ink, one signal red. Rules instead of boxes. Serif voice, sans work.
   ========================================================================== */

:root {
	--eh-paper: #ffffff;
	--eh-tint: #faf8f5;
	--eh-ink: #141414;
	--eh-ink-soft: #2a2a28;
	--eh-accent: #c0120c;
	--eh-accent-deep: #960d08;
	--eh-rule: #e6e3de;
	--eh-rule-strong: #cfc9c0;
	--eh-muted: #6b6b6b;
	--eh-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--eh-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--eh-max: 1200px;
	--eh-measure: 720px;
	--eh-rail: 300px;
	--eh-gutter: clamp(16px, 4vw, 40px);
	--eh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--eh-header-h: 132px;

	/* Fluid type: one clamp per role, so no breakpoint needs a special size. */
	--eh-fs-body: clamp(16.5px, 15.8px + 0.19vw, 18px);
	--eh-fs-prose: clamp(17px, 16.1px + 0.16vw, 18.5px);
	--eh-fs-card: clamp(20.5px, 19.2px + 0.37vw, 22.5px);
	--eh-fs-dek: clamp(15px, 14.2px + 0.15vw, 15.5px);
	--eh-fs-meta: clamp(13px, 12.6px + 0.1vw, 13.5px);
	--eh-fs-date: clamp(13px, 12.4px + 0.15vw, 14px);
	--eh-fs-label: clamp(12px, 11.6px + 0.12vw, 13.5px);
	--eh-fs-tiny: clamp(10.5px, 10.2px + 0.06vw, 11.5px);
	--eh-fs-brand: clamp(20px, 16.5px + 1.5vw, 30px);
	--eh-fs-btn: clamp(12px, 11.4px + 0.14vw, 13px);
}

/* ---------- Reset-ish floor (low specificity so component rules win) ------ */

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

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

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--eh-serif);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0;
	text-wrap: balance;
}

:where(p) {
	margin: 0;
}

:where(a) {
	color: inherit;
	text-decoration: none;
}

:where(ul, ol) {
	margin: 0;
	padding: 0;
}

:where(figure) {
	margin: 0;
}

:where(blockquote) {
	margin: 0;
	padding: 0;
	border: 0;
}

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

/* ---------- Shell -------------------------------------------------------- */

.eh-shell {
	width: 100%;
	max-width: var(--eh-max);
	margin-inline: auto;
	padding-inline: var(--eh-gutter);
}

.eh-bleed {
	width: 100%;
}

.eh-tint {
	background: var(--eh-tint);
}

/* ---------- Micro type -------------------------------------------------- */

.eh-eyebrow {
	font-family: var(--eh-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--eh-accent);
	line-height: 1.2;
}

.eh-eyebrow--ink {
	color: var(--eh-ink);
}

.eh-meta {
	font-family: var(--eh-sans);
	font-size: var(--eh-fs-meta);
	line-height: 1.4;
	color: var(--eh-muted);
}

.eh-meta a:hover {
	color: var(--eh-accent);
}

.eh-meta__dot {
	display: inline-block;
	margin: 0 0.45em;
	color: var(--eh-rule-strong);
}

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

.eh-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--eh-paper);
	border-bottom: 1px solid var(--eh-rule);
	transition: box-shadow 0.2s var(--eh-ease);
}

.eh-header.is-stuck {
	box-shadow: 0 1px 0 var(--eh-rule), 0 10px 28px -22px rgba(20, 20, 20, 0.5);
}

.eh-utility {
	border-bottom: 1px solid var(--eh-rule);
	background: var(--eh-tint);
	font-size: var(--eh-fs-tiny);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--eh-muted);
	font-weight: 600;
}

.eh-utility__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 34px;
}

.eh-utility__links {
	display: flex;
	gap: 18px;
}

.eh-utility a:hover {
	color: var(--eh-accent);
}

.eh-masthead {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: clamp(8px, 2.4vw, 24px);
	padding-block: 14px;
}

.eh-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.eh-brand img {
	max-height: 40px;
	width: auto;
	display: block;
}

.eh-brand__mark {
	font-family: var(--eh-serif);
	font-size: var(--eh-fs-brand);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
	white-space: nowrap;
}

.eh-brand__mark em {
	font-style: normal;
	color: var(--eh-accent);
}

.eh-brand__tag {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--eh-muted);
	font-weight: 600;
	border-left: 1px solid var(--eh-rule);
	padding-left: 12px;
	margin-left: 2px;
	line-height: 1.3;
	max-width: 220px;
}

.eh-masthead__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.eh-search {
	position: relative;
	display: flex;
	align-items: center;
}

.eh-search input[type="search"] {
	width: 190px;
	border: 1px solid var(--eh-rule);
	background: var(--eh-paper);
	border-radius: 2px;
	padding: 8px 34px 8px 12px;
	font-family: var(--eh-sans);
	font-size: 14px;
	color: var(--eh-ink);
	transition: border-color 0.18s var(--eh-ease), width 0.18s var(--eh-ease);
}

.eh-search input[type="search"]::placeholder {
	color: var(--eh-muted);
}

.eh-search input[type="search"]:focus {
	outline: none;
	border-color: var(--eh-ink);
	width: 230px;
}

.eh-search__submit {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--eh-muted);
	padding: 0;
}

.eh-search__submit:hover {
	color: var(--eh-accent);
}

.eh-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--eh-sans);
	font-size: var(--eh-fs-btn);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: clamp(8px, 0.35vw + 7.4px, 9px) clamp(11px, 0.5vw + 10px, 16px);
	border-radius: 2px;
	border: 1px solid var(--eh-ink);
	background: var(--eh-ink);
	color: var(--eh-paper);
	cursor: pointer;
	transition: background 0.18s var(--eh-ease), border-color 0.18s var(--eh-ease), color 0.18s var(--eh-ease);
	line-height: 1.2;
	white-space: nowrap;
}

.eh-btn:hover {
	background: var(--eh-accent);
	border-color: var(--eh-accent);
	color: var(--eh-paper);
}

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

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

.eh-btn--block {
	width: 100%;
	justify-content: center;
}

/* ---------- Primary nav row -------------------------------------------- */

.eh-navbar {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid var(--eh-rule);
	min-height: 46px;
}

.eh-nav {
	display: flex;
	align-items: stretch;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.eh-nav a {
	display: flex;
	align-items: center;
	font-family: var(--eh-sans);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--eh-ink-soft);
	padding: 0 14px;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color 0.16s var(--eh-ease), border-color 0.16s var(--eh-ease);
}

.eh-nav a:hover,
.eh-nav a:focus-visible,
.eh-nav .current-menu-item > a,
.eh-nav a[aria-current="page"] {
	color: var(--eh-accent);
	border-bottom-color: var(--eh-accent);
}

.eh-nav a:focus-visible {
	outline: 2px solid var(--eh-accent);
	outline-offset: -2px;
}

.eh-mega-toggle {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--eh-sans);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	background: transparent;
	border: 0;
	border-left: 1px solid var(--eh-rule);
	color: var(--eh-ink);
	padding: 0 6px 0 18px;
	cursor: pointer;
	flex: 0 0 auto;
}

.eh-mega-toggle:hover {
	color: var(--eh-accent);
}

.eh-mega-toggle:focus-visible {
	outline: 2px solid var(--eh-accent);
	outline-offset: 2px;
}

.eh-mega-toggle__icon {
	display: grid;
	grid-template-columns: repeat(3, 3px);
	grid-auto-rows: 3px;
	gap: 3px;
}

.eh-mega-toggle__icon span {
	width: 3px;
	height: 3px;
	background: currentColor;
	border-radius: 50%;
	transition: transform 0.24s var(--eh-ease), opacity 0.24s var(--eh-ease);
}

.eh-mega-toggle[aria-expanded="true"] .eh-mega-toggle__icon span {
	opacity: 0.4;
}

/* ---------- Mega panel -------------------------------------------------- */

.eh-mega {
	position: fixed;
	inset: 0;
	z-index: 95;
	background: var(--eh-paper);
	overflow-y: auto;
	overscroll-behavior: contain;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.2s var(--eh-ease), transform 0.24s var(--eh-ease), visibility 0s linear 0.24s;
}

.eh-mega[data-open="true"] {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity 0.2s var(--eh-ease), transform 0.24s var(--eh-ease), visibility 0s;
}

.eh-mega__bar {
	position: sticky;
	top: 0;
	z-index: 2;
	background: var(--eh-paper);
	border-bottom: 1px solid var(--eh-rule);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 14px;
}

.eh-mega__title {
	font-family: var(--eh-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--eh-muted);
}

.eh-mega__close {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--eh-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--eh-ink);
	padding: 6px 0;
}

.eh-mega__close:hover {
	color: var(--eh-accent);
}

.eh-mega__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	padding-block: 40px 56px;
}

.eh-mega__col {
	padding: 0 22px;
	border-left: 1px solid var(--eh-rule);
	min-width: 0;
}

.eh-mega__col:first-child {
	border-left: 0;
	padding-left: 0;
}

.eh-mega__heading {
	font-family: var(--eh-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--eh-ink);
	padding-bottom: 12px;
	margin-bottom: 14px;
	border-bottom: 2px solid var(--eh-ink);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.eh-mega__heading a:hover {
	color: var(--eh-accent);
}

.eh-mega__heading span {
	color: var(--eh-muted);
	font-weight: 600;
	letter-spacing: 0.06em;
}

.eh-mega__link {
	display: flex;
	gap: 11px;
	padding: 9px 0;
	border-radius: 2px;
	transition: transform 0.16s var(--eh-ease);
}

.eh-mega__link:hover {
	transform: translateX(2px);
}

.eh-mega__link:hover .eh-mega__label {
	color: var(--eh-accent);
}

.eh-mega__icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	color: var(--eh-ink);
	opacity: 0.85;
}

.eh-mega__link:hover .eh-mega__icon {
	color: var(--eh-accent);
	opacity: 1;
}

.eh-mega__icon svg {
	width: 20px;
	height: 20px;
	display: block;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.eh-mega__label {
	display: block;
	font-family: var(--eh-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--eh-ink);
	transition: color 0.16s var(--eh-ease);
}

.eh-mega__desc {
	display: block;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--eh-muted);
	margin-top: 2px;
}

.eh-mega__foot {
	border-top: 1px solid var(--eh-rule);
	background: var(--eh-tint);
	padding-block: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--eh-muted);
}

body.eh-mega-open {
	overflow: hidden;
}

/* ---------- Hero / lead story ------------------------------------------ */

.eh-lead {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 0;
	border-top: 1px solid var(--eh-ink);
	border-bottom: 1px solid var(--eh-rule);
}

.eh-lead__main {
	padding: 32px 40px 36px 0;
	border-right: 1px solid var(--eh-rule);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.eh-lead__title {
	font-family: var(--eh-serif);
	font-size: clamp(30px, 4.4vw, 52px);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.028em;
}

.eh-lead__title a:hover {
	color: var(--eh-accent);
}

.eh-lead__dek {
	font-size: 19px;
	line-height: 1.5;
	color: var(--eh-ink-soft);
	max-width: 56ch;
}

.eh-lead__side {
	padding: 32px 0 36px 32px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ---------- Story card (rule-led, text only) --------------------------- */

.eh-card {
	display: block;
	padding: 18px 0;
	border-top: 1px solid var(--eh-rule);
}

.eh-card:first-child {
	border-top: 0;
	padding-top: 0;
}

.eh-card__eyebrow {
	margin-bottom: 7px;
}

.eh-card__title {
	font-family: var(--eh-serif);
	font-size: var(--eh-fs-card);
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: -0.012em;
	color: var(--eh-ink);
	transition: color 0.16s var(--eh-ease);
}

.eh-card:hover .eh-card__title {
	color: var(--eh-accent);
}

.eh-card__excerpt {
	font-size: var(--eh-fs-dek);
	line-height: 1.55;
	color: var(--eh-muted);
	margin-top: 7px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.eh-card__meta {
	margin-top: 8px;
}

.eh-card--lead .eh-card__title {
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.1;
}

.eh-card--tight {
	padding: 13px 0;
}

.eh-card--tight .eh-card__title {
	font-size: var(--eh-fs-body);
	line-height: 1.3;
	font-family: var(--eh-sans);
	font-weight: 600;
	letter-spacing: 0;
}

/* numbered top stories */
.eh-ranked {
	display: grid;
	grid-template-columns: 26px 1fr;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--eh-rule);
	align-items: start;
}

.eh-ranked:first-child {
	border-top: 0;
	padding-top: 0;
}

.eh-ranked__num {
	font-family: var(--eh-serif);
	font-size: 19px;
	line-height: 1;
	color: var(--eh-rule-strong);
	font-weight: 600;
	padding-top: 1px;
}

.eh-ranked:hover .eh-ranked__num {
	color: var(--eh-accent);
}

.eh-ranked__title {
	font-family: var(--eh-sans);
	font-size: clamp(15px, 14.4px + 0.14vw, 16px);
	font-weight: 600;
	line-height: 1.3;
	color: var(--eh-ink);
}

.eh-ranked:hover .eh-ranked__title {
	color: var(--eh-accent);
}

/* ---------- Section heads ---------------------------------------------- */

.eh-section {
	padding-block: clamp(32px, 5vw, 56px);
}

.eh-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	border-bottom: 2px solid var(--eh-ink);
	padding-bottom: 10px;
	margin-bottom: 4px;
}

.eh-section__title {
	font-family: var(--eh-sans);
	font-size: var(--eh-fs-label);
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--eh-ink);
}

.eh-section__more {
	font-family: var(--eh-sans);
	font-size: clamp(11px, 10.8px + 0.07vw, 12px);
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--eh-muted);
	white-space: nowrap;
}

.eh-section__more:hover {
	color: var(--eh-accent);
}

.eh-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 40px;
}

.eh-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 36px;
}

.eh-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--eh-rail);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

/* ---------- Reading rail ----------------------------------------------- */

.eh-rail {
	position: sticky;
	top: calc(var(--eh-header-h) + 20px);
	display: flex;
	flex-direction: column;
	gap: 26px;
	align-self: start;
}

.eh-rail__block {
	border-top: 2px solid var(--eh-ink);
	padding-top: 12px;
}

.eh-rail__title {
	font-family: var(--eh-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	margin-bottom: 12px;
	color: var(--eh-ink);
}

.eh-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.eh-tags a {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	padding: 5px 10px;
	border: 1px solid var(--eh-rule);
	border-radius: 2px;
	color: var(--eh-ink-soft);
	background: var(--eh-paper);
	transition: all 0.16s var(--eh-ease);
}

.eh-tags a:hover {
	border-color: var(--eh-ink);
	background: var(--eh-ink);
	color: var(--eh-paper);
}

/* ---------- Ad slots --------------------------------------------------- */

.eh-ad {
	position: relative;
	margin-block: 28px;
	text-align: center;
	background: var(--eh-tint);
	border: 1px solid var(--eh-rule);
	border-radius: 2px;
	overflow: hidden;
}

.eh-ad__label {
	display: block;
	font-family: var(--eh-sans);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--eh-muted);
	padding: 6px 0 4px;
	line-height: 1;
}

.eh-ad__frame {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100px;
}

.eh-ad--rail .eh-ad__frame {
	min-height: 250px;
}

.eh-ad--rail-tall .eh-ad__frame {
	min-height: 600px;
}

.eh-ad--leaderboard .eh-ad__frame {
	min-height: 90px;
}

.eh-ad ins.adsbygoogle {
	display: block;
	width: 100%;
}

.eh-ad--rail ins.adsbygoogle {
	width: 300px;
	max-width: 100%;
}

.eh-ad[data-state="unfilled"] .eh-ad__frame::after {
	content: "Advertisement";
	font-family: var(--eh-sans);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--eh-rule-strong);
}

.eh-ad[data-state="unfilled"] ins.adsbygoogle {
	display: none;
}

/* ---------- Newsletter ------------------------------------------------- */

.eh-signup {
	background: var(--eh-ink);
	color: var(--eh-paper);
	padding: clamp(28px, 4vw, 44px);
	border-radius: 2px;
}

.eh-signup__title {
	font-family: var(--eh-serif);
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.06;
	letter-spacing: -0.02em;
	color: var(--eh-paper);
}

.eh-signup__copy {
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.72);
	margin-top: 10px;
	max-width: 46ch;
}

.eh-signup .eh-meta {
	color: rgba(255, 255, 255, 0.55);
}

.eh-signup__band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	background: var(--eh-tint);
	border-top: 1px solid var(--eh-rule);
	border-bottom: 1px solid var(--eh-rule);
	padding-block: clamp(32px, 4vw, 52px);
	padding-inline: clamp(18px, 3vw, 40px);
}

.eh-signup__band .eh-signup {
	background: transparent;
	color: var(--eh-ink);
	padding: 0;
}

.eh-signup__band .eh-signup__title {
	color: var(--eh-ink);
}

.eh-signup__band .eh-signup__copy,
.eh-signup__band .eh-meta {
	color: var(--eh-muted);
}

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

.eh-article {
	max-width: var(--eh-measure);
}

.eh-article__head {
	max-width: 820px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-block: 32px 26px;
}

.eh-article__title {
	font-family: var(--eh-serif);
	font-size: clamp(29px, 4vw, 44px);
	line-height: 1.04;
	letter-spacing: -0.024em;
	font-weight: 600;
}

.eh-article__dek {
	font-family: var(--eh-serif);
	font-size: 21px;
	line-height: 1.45;
	color: var(--eh-ink-soft);
	max-width: 60ch;
}

.eh-article__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	border-top: 1px solid var(--eh-rule);
	border-bottom: 1px solid var(--eh-rule);
	padding-block: 12px;
}

.eh-byline {
	font-size: 13px;
	font-weight: 600;
	color: var(--eh-ink);
}

.eh-share {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.eh-share a,
.eh-share button {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--eh-rule);
	border-radius: 2px;
	color: var(--eh-muted);
	background: none;
	cursor: pointer;
	transition: all 0.16s var(--eh-ease);
}

.eh-share a:hover,
.eh-share button:hover {
	border-color: var(--eh-ink);
	color: var(--eh-ink);
}

.eh-share svg {
	width: 15px;
	height: 15px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.7;
}

/* Entry content rhythm */
.eh-prose {
	font-size: var(--eh-fs-prose);
	line-height: 1.72;
	color: var(--eh-ink-soft);
}

.eh-prose > * + * {
	margin-top: 1.4em;
}

.eh-prose h2 {
	font-family: var(--eh-serif);
	font-size: clamp(24px, 21px + 0.75vw, 30px);
	line-height: 1.12;
	letter-spacing: -0.018em;
	color: var(--eh-ink);
	margin-top: 2em;
	margin-bottom: 0.15em;
}

.eh-prose h3 {
	font-family: var(--eh-serif);
	font-size: clamp(19.5px, 17.4px + 0.47vw, 23px);
	line-height: 1.2;
	color: var(--eh-ink);
	margin-top: 1.7em;
	margin-bottom: 0.1em;
}

.eh-prose h4 {
	font-family: var(--eh-sans);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--eh-ink);
	margin-top: 1.8em;
}

.eh-prose p {
	margin-top: 0;
}

.eh-prose a {
	color: var(--eh-ink);
	text-decoration: underline;
	text-decoration-color: var(--eh-rule-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.eh-prose a:hover {
	color: var(--eh-accent);
	text-decoration-color: var(--eh-accent);
}

.eh-prose strong {
	font-weight: 700;
	color: var(--eh-ink);
}

.eh-prose ul,
.eh-prose ol {
	padding-left: 1.25em;
	margin-top: 1.2em;
}

.eh-prose li + li {
	margin-top: 0.5em;
}

.eh-prose blockquote {
	border-left: 3px solid var(--eh-accent);
	padding: 4px 0 4px 22px;
	margin-block: 1.8em;
	font-family: var(--eh-serif);
	font-size: 24px;
	line-height: 1.34;
	color: var(--eh-ink);
	font-style: normal;
}

.eh-prose blockquote cite {
	display: block;
	font-family: var(--eh-sans);
	font-size: 13px;
	font-style: normal;
	color: var(--eh-muted);
	margin-top: 12px;
}

.eh-prose figure {
	margin-block: 1.8em;
}

.eh-prose figcaption {
	font-size: 13px;
	color: var(--eh-muted);
	margin-top: 8px;
}

.eh-prose hr {
	border: 0;
	border-top: 1px solid var(--eh-rule);
	margin-block: 2.4em;
}

.eh-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	font-family: var(--eh-sans);
}

.eh-prose th,
.eh-prose td {
	border-bottom: 1px solid var(--eh-rule);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.eh-prose th {
	font-weight: 700;
	border-bottom: 2px solid var(--eh-ink);
	background: var(--eh-tint);
}

/* ---------- Forms ------------------------------------------------------ */

.eh-signup .fluentform,
.eh-signup__band .fluentform {
	font-family: var(--eh-sans);
}

.eh-ff-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	align-items: start;
}

.fluentform .ff-el-input--label label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--eh-muted);
	margin-bottom: 4px;
	display: block;
}

.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform select,
.fluentform textarea {
	width: 100%;
	font-family: var(--eh-sans);
	font-size: 15px;
	padding: 11px 12px;
	border: 1px solid var(--eh-rule-strong);
	border-radius: 2px;
	background: var(--eh-paper);
	color: var(--eh-ink);
	transition: border-color 0.16s var(--eh-ease);
}

.fluentform input:focus,
.fluentform select:focus,
.fluentform textarea:focus {
	outline: none;
	border-color: var(--eh-ink);
}

.fluentform .ff-btn-submit {
	width: 100%;
	font-family: var(--eh-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 12px 20px;
	border-radius: 2px;
	border: 1px solid var(--eh-accent);
	background: var(--eh-accent);
	color: #fff;
	cursor: pointer;
	transition: background 0.16s var(--eh-ease);
}

.fluentform .ff-btn-submit:hover {
	background: var(--eh-accent-deep);
	border-color: var(--eh-accent-deep);
}

.eh-signup .fluentform input[type="text"],
.eh-signup .fluentform input[type="email"] {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.eh-signup .fluentform input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.eh-signup .fluentform .ff-el-input--label label {
	color: rgba(255, 255, 255, 0.6);
}

.fluentform .ff-el-form-check {
	font-size: 12px;
	line-height: 1.4;
}

.eh-newsletter-inline {
	border: 1px solid var(--eh-rule);
	border-top: 3px solid var(--eh-ink);
	padding: 22px;
	margin-block: 32px;
	background: var(--eh-tint);
}

.eh-newsletter-inline .eh-signup {
	background: transparent;
	padding: 0;
	color: var(--eh-ink);
}

.eh-newsletter-inline .eh-signup__title {
	color: var(--eh-ink);
	font-size: 22px;
}

.eh-newsletter-inline .eh-signup__copy {
	color: var(--eh-muted);
	font-size: 14px;
}

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

.eh-footer {
	background: var(--eh-ink);
	color: rgba(255, 255, 255, 0.74);
	margin-top: clamp(40px, 6vw, 80px);
}

.eh-footer a {
	color: rgba(255, 255, 255, 0.74);
}

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

.eh-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 48px);
	padding-block: clamp(40px, 5vw, 64px);
}

.eh-footer__brand .eh-brand__mark {
	color: #fff;
	font-size: 26px;
}

.eh-footer__brand p {
	font-size: 14px;
	line-height: 1.55;
	margin-top: 12px;
	max-width: 34ch;
	color: rgba(255, 255, 255, 0.6);
}

.eh-footer__title {
	font-family: var(--eh-sans);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 14px;
}

.eh-footer__list {
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 14px;
}

.eh-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-block: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.eh-footer__bottom nav {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

/* ---------- Pagination ------------------------------------------------- */

.eh-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-block: 40px;
	font-family: var(--eh-sans);
	font-size: 13px;
	font-weight: 600;
}

.eh-pager .page-numbers {
	display: grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--eh-rule);
	border-radius: 2px;
	color: var(--eh-ink-soft);
}

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

.eh-pager .page-numbers.current {
	background: var(--eh-ink);
	border-color: var(--eh-ink);
	color: #fff;
}

/* ---------- Utilities -------------------------------------------------- */

.eh-rule {
	border: 0;
	border-top: 1px solid var(--eh-rule);
	margin: 0;
}

.eh-rule--ink {
	border-top: 2px solid var(--eh-ink);
}

.eh-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--eh-ink);
	color: #fff;
	padding: 10px 16px;
	z-index: 200;
	font-size: 13px;
}

.eh-skip:focus {
	left: 8px;
	top: 8px;
}

.eh-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.eh-empty {
	border: 1px dashed var(--eh-rule-strong);
	padding: 32px;
	text-align: center;
	color: var(--eh-muted);
	font-size: 14px;
	border-radius: 2px;
}

.eh-404__code {
	font-family: var(--eh-serif);
	font-size: clamp(64px, 14vw, 140px);
	line-height: 0.86;
	letter-spacing: -0.05em;
	color: var(--eh-rule);
}

/* Give WP's own blocks a seat at this table */
.wp-block-post-template {
	gap: 0;
}

.wp-block-navigation__container {
	gap: 0;
}

/* ---------- Scroll progress (article) ---------------------------------- */

.eh-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 2px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: 0 50%;
	background: var(--eh-accent);
	z-index: 120;
	pointer-events: none;
	transition: transform 0.1s linear;
}

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

@media (max-width: 1100px) {
	.eh-nav a {
		padding: 0 10px;
		font-size: 12px;
	}

	.eh-mega__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 32px;
	}

	.eh-mega__col:nth-child(4) {
		border-left: 0;
		padding-left: 0;
	}

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

@media (max-width: 900px) {
	.eh-cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.eh-rail {
		position: static;
		border-top: 1px solid var(--eh-rule);
		padding-top: 28px;
	}

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

	.eh-lead__main {
		border-right: 0;
		padding-right: 0;
		padding-bottom: 20px;
	}

	.eh-lead__side {
		padding-left: 0;
		border-top: 1px solid var(--eh-rule);
		padding-top: 20px;
	}

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

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

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

	.eh-mega__col {
		border-left: 0;
		padding-left: 0;
	}
}


@media (max-width: 760px) {
	.eh-utility {
		display: none;
	}

	.eh-masthead {
		grid-template-columns: 1fr auto;
		padding-block: 12px;
	}

	.eh-brand__tag {
		display: none;
	}

	.eh-search {
		display: none;
	}

	.eh-nav {
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.eh-nav::-webkit-scrollbar {
		display: none;
	}

	.eh-nav a {
		padding: 0 12px;
	}

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

	.eh-cols {
		gap: 28px;
	}

	.eh-article__meta {
		gap: 10px;
	}

	.eh-share {
		margin-left: 0;
		width: 100%;
	}

	.eh-footer__top {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		text-align: center;
		row-gap: clamp(28px, 5vw, 40px);
	}

	.eh-footer__brand p {
		margin-inline: auto;
	}

	.eh-footer__list {
		align-items: center;
	}

	.eh-footer__bottom {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		gap: 10px;
	}

	.eh-footer__bottom .eh-footer__legal {
		justify-content: center;
	}

	.eh-mega__grid {
		grid-template-columns: minmax(0, 1fr);
		padding-block: 20px 32px;
	}

	.eh-mega__col {
		padding: 18px 0;
		border-top: 1px solid var(--eh-rule);
	}

	.eh-mega__col:first-child {
		border-top: 0;
	}

	.eh-section {
		padding-block: 32px;
	}
}

@media (min-width: 620px) and (max-width: 760px) {
	/* Wide phones can hold the three link columns side by side. They stay
	   equal thirds under a full-width brand block, so nothing is orphaned. */
	.eh-footer__top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.eh-footer__top > .eh-footer__brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 340px) {
	/* At the narrowest phones the brand and the subscribe button cannot share
	   a line without touching, so the button drops to its own row. */
	.eh-masthead {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 10px;
	}

	.eh-masthead__actions {
		justify-content: flex-end;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}
