/*
Theme Name: Editorial Blog
Theme URI: https://example.com/editorial-blog
Author: Your Name
Author URI: https://example.com
Description: A premium editorial theme for engineering and product blogs. Dark masthead with a sticky category bar, a light magazine-style home page (featured story, side stories, newsletter, Latest/Popular, a dark feature band, a spotlight band), and long-form article pages with a sticky table of contents, reading progress, share links, author box and related posts. Set in Mona Sans.
Version: 2.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: editorial-blog
Tags: blog, news, grid-layout, two-columns, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready, wide-blocks
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--fg: #1f2328;
	--muted: #59636e;
	--subtle: #818b98;
	--border: #d1d9e0;
	--border-soft: #e6eaef;
	--bg: #ffffff;
	--bg-subtle: #f6f8fa;
	--link: #0969da;

	--dark: #0d1117;
	--dark-dim: #212830;
	--dark-raised: #151b23;
	--dark-fg: #f0f6fc;
	--dark-muted: #9198a1;
	--dark-border: #3d444d;

	--grad-label: linear-gradient(-70deg, #8250df, #d42a32);
	--grad-label-dark: linear-gradient(140deg, #d2a8ff 12%, #f778ba 43%, #ff7b72 85%);
	--grad-brand: linear-gradient(90deg, #8250df, #f778ba 55%, #ff7b72);

	--font: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

	--wrap: 1280px;
	--gutter: 48px;
	--radius: 12px;
	--eb-admin: 0px;
	--catbar-h: 56px;
}

body.admin-bar { --eb-admin: 32px; }

@media (max-width: 782px) {
	body.admin-bar { --eb-admin: 46px; }
}

@media (max-width: 600px) {
	body.admin-bar { --eb-admin: 0px; }
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--eb-admin) + var(--catbar-h) + 24px);
}

html.eb-lock { overflow: hidden; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

img { display: block; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

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

button { font: inherit; color: inherit; }

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

ul.menu,
.eb-pills,
.eb-social { list-style: none; margin: 0; padding: 0; }

.eb-icon {
	width: 16px;
	height: 16px;
	flex: none;
	vertical-align: middle;
}

.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;
}

.eb-skip:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 12px 18px;
	background: #fff;
	color: var(--fg);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

.eb-wrap--article { max-width: calc(1012px + var(--gutter) * 2); }
.eb-wrap--prose { max-width: calc(768px + var(--gutter) * 2); }

/* Dark context: components read these variables, so they flip automatically. */
.eb-dark {
	--fg: var(--dark-fg);
	--muted: var(--dark-muted);
	--subtle: #7d8590;
	--border: var(--dark-border);
	--border-soft: #2f363e;
	--bg-subtle: var(--dark-raised);
	--link: #4493f8;
	color: var(--fg);
}

/* Soft light glow used behind light heroes. */
.eb-glow {
	position: relative;
	background:
		radial-gradient(48rem 26rem at 92% -10%, rgba(130, 80, 223, 0.10), transparent 70%),
		radial-gradient(36rem 22rem at -6% 110%, rgba(247, 120, 186, 0.08), transparent 70%),
		radial-gradient(30rem 18rem at 55% 120%, rgba(84, 174, 255, 0.07), transparent 70%),
		var(--bg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.eb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 40px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.eb-btn:hover { text-decoration: none; }
.eb-btn:active { transform: translateY(1px); }

.eb-btn--light { background: #fff; color: var(--dark); }
.eb-btn--light:hover { background: #e6eaef; }

.eb-btn--outline { border-color: rgba(240, 246, 252, 0.55); color: #fff; }
.eb-btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

.eb-btn--dark { background: var(--fg); color: var(--bg); }
.eb-btn--dark:hover { background: #393f46; }

.eb-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.eb-iconbtn:hover { background: rgba(255, 255, 255, 0.1); }
.eb-iconbtn .eb-icon { width: 20px; height: 20px; }

/* ==========================================================================
   Masthead
   ========================================================================== */
.eb-masthead {
	background: var(--dark);
	color: #fff;
}

.eb-masthead__row {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 72px;
}

.eb-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.eb-brand a { color: #fff; }
.eb-brand a:hover { text-decoration: none; opacity: 0.85; }
.eb-brand .custom-logo-link { display: flex; }
.eb-brand .custom-logo { width: auto; max-height: 32px; }
.eb-brand__slash { color: var(--dark-muted); font-weight: 300; }

.eb-toplinks .menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.eb-toplinks a {
	display: block;
	padding: 8px 14px;
	border-radius: 8px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
}

.eb-toplinks a:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }

.eb-masthead__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.eb-ctas { display: flex; gap: 12px; }
.eb-menu-btn { display: none; }

.eb-search-panel {
	border-top: 1px solid var(--dark-border);
	padding: 16px 0 20px;
}

.eb-search-panel .eb-searchform input {
	background: var(--dark-raised);
	border-color: var(--dark-border);
	color: #fff;
}

.eb-search-panel .eb-searchform input::placeholder { color: var(--dark-muted); }
.eb-search-panel .eb-searchform__icon { color: var(--dark-muted); }
.eb-search-panel .eb-btn--dark { background: #fff; color: var(--dark); }

/* Category bar */
.eb-catbar {
	position: sticky;
	top: var(--eb-admin);
	z-index: 60;
	background: rgba(13, 17, 23, 0.94);
	border-top: 1px solid rgba(61, 68, 77, 0.6);
	border-bottom: 1px solid var(--dark-border);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
}

.eb-catbar .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: var(--catbar-h);
	margin-left: -12px;
}

.eb-catbar .menu > li { position: relative; }

.eb-catbar .menu > li > a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 8px 12px;
	border-radius: 8px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
}

.eb-catbar .menu > li > a:hover,
.eb-catbar .menu > li:focus-within > a { background: rgba(255, 255, 255, 0.08); text-decoration: none; }

.eb-catbar .current-menu-item > a,
.eb-catbar .current-menu-ancestor > a { box-shadow: inset 0 -2px 0 #fff; border-radius: 8px 8px 0 0; }

.eb-catbar .eb-icon--chevron-down {
	width: 14px;
	height: 14px;
	opacity: 0.7;
	transition: transform 0.2s ease;
}

.eb-catbar li:hover > a .eb-icon--chevron-down { transform: rotate(180deg); }

.eb-catbar .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 70;
	min-width: 248px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(31, 35, 40, 0.06), 0 16px 40px rgba(31, 35, 40, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

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

.eb-catbar .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--fg);
	font-size: 14px;
	font-weight: 500;
}

.eb-catbar .sub-menu a:hover { background: var(--bg-subtle); text-decoration: none; }

/* Drawer */
.eb-drawer {
	position: fixed;
	inset: 0;
	z-index: 300;
	overflow-y: auto;
	padding: 0 20px 32px;
	background: var(--dark);
	color: #fff;
}

.eb-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--dark-border);
}

.eb-drawer__nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	border-bottom: 1px solid var(--dark-border);
	color: #fff;
	font-size: 18px;
	font-weight: 600;
}

.eb-drawer__nav a:hover { text-decoration: none; color: var(--dark-muted); }
.eb-drawer__nav .eb-icon { display: none; }
.eb-drawer__nav .sub-menu { list-style: none; margin: 0; padding: 0 0 0 16px; }
.eb-drawer__nav .sub-menu a { font-size: 16px; font-weight: 500; color: var(--dark-muted); }
.eb-drawer__secondary { margin-top: 24px !important; }
.eb-drawer__secondary a { font-size: 16px; font-weight: 500; }
.eb-ctas--drawer { flex-direction: column; margin-top: 32px; }
.eb-ctas--drawer .eb-btn { width: 100%; height: 48px; }

/* Reading progress */
.eb-progress {
	position: fixed;
	top: var(--eb-admin);
	left: 0;
	right: 0;
	z-index: 200;
	height: 3px;
	pointer-events: none;
}

.eb-progress span {
	display: block;
	height: 100%;
	background: var(--grad-brand);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

/* ==========================================================================
   Shared post bits
   ========================================================================== */
.eb-label {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	background-image: var(--grad-label);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.eb-dark .eb-label { background-image: var(--grad-label-dark); }
.eb-label:hover { text-decoration: none; filter: brightness(1.15); }

.eb-title-link { color: var(--fg); }

.eb-title-link:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
}

.eb-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	font-size: 14px;
	line-height: 20px;
}

.eb-meta__author { color: var(--fg); font-weight: 600; }
.eb-meta__sep { color: var(--subtle); }
.eb-meta__date { color: var(--muted); font-family: var(--mono); font-size: 13px; }

/* Media */
.eb-media {
	--ratio: 16 / 9;
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: var(--ratio);
	border-radius: var(--radius);
	background: var(--bg-subtle);
	isolation: isolate;
}

.eb-media--square { --ratio: 1 / 1; }
.eb-media--hero { --ratio: 16 / 10; }

.eb-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.eb-media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(31, 35, 40, 0.08);
	pointer-events: none;
}

.eb-dark .eb-media::after { box-shadow: inset 0 0 0 1px rgba(240, 246, 252, 0.08); }

article:hover .eb-media img,
.eb-media:hover img { transform: scale(1.035); }

/* Generated cover for posts without a featured image */
.eb-art {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: clamp(14px, 6%, 32px);
	color: #fff;
	background: var(--art);
}

.eb-art::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(120% 90% at 100% 0%, #000 10%, transparent 70%);
	mask-image: radial-gradient(120% 90% at 100% 0%, #000 10%, transparent 70%);
}

.eb-art::after {
	content: "";
	position: absolute;
	right: -12%;
	top: -18%;
	width: 62%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 65%);
	filter: blur(2px);
}

.eb-art__text {
	position: relative;
	z-index: 1;
	font-size: clamp(16px, 2.2vw, 28px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.eb-art--0 { --art: linear-gradient(135deg, #6639ba 0%, #bf3989 55%, #ff9b71 100%); }
.eb-art--1 { --art: linear-gradient(135deg, #0a3069 0%, #0969da 45%, #2da44e 100%); }
.eb-art--2 { --art: linear-gradient(135deg, #0d1117 0%, #3e1f79 55%, #8250df 100%); }
.eb-art--3 { --art: linear-gradient(135deg, #ffd8b5 0%, #ff8182 55%, #bf3989 100%); }
.eb-art--4 { --art: linear-gradient(135deg, #ddf4ff 0%, #a371f7 55%, #6639ba 100%); }
.eb-art--5 { --art: linear-gradient(135deg, #0d1117 0%, #116329 55%, #3fb950 100%); }

/* Feature (large) */
.eb-feature__body { padding-top: 24px; }

.eb-feature__title {
	margin-top: 8px;
	font-size: 48px;
	font-weight: 800;
	line-height: 52px;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.eb-feature__excerpt {
	max-width: 60ch;
	margin-top: 16px;
	color: var(--muted);
	font-size: 16px;
	line-height: 24px;
}

.eb-feature .eb-meta { margin-top: 20px; }

/* Row (thumb left) */
.eb-rows { display: grid; }

.eb-row {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	padding: 28px 0;
	border-top: 1px solid var(--border-soft);
}

.eb-rows > .eb-row:first-child {
	padding-top: 0;
	border-top: 0;
}

.eb-rows > .eb-row:last-child { padding-bottom: 0; }

.eb-row__title,
.eb-card__title,
.eb-textitem__title {
	margin-top: 4px;
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.01em;
	text-wrap: pretty;
}

.eb-row__excerpt,
.eb-card__excerpt {
	display: -webkit-box;
	margin-top: 8px;
	overflow: hidden;
	color: var(--muted);
	font-size: 16px;
	line-height: 24px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.eb-row .eb-meta,
.eb-card .eb-meta { margin-top: 12px; }

/* Card (image top) */
.eb-card__body { padding-top: 20px; }

/* Text item */
.eb-textitem__date {
	display: block;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 13px;
	line-height: 20px;
}

.eb-textitem__title { margin-top: 8px; }

.eb-textitem__excerpt {
	display: -webkit-box;
	margin-top: 8px;
	overflow: hidden;
	color: var(--muted);
	font-size: 14px;
	line-height: 21px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* Section head */
.eb-shead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
	padding-top: 16px;
	border-top: 4px solid var(--fg);
}

.eb-shead__title {
	font-size: 20px;
	font-weight: 600;
	line-height: 28px;
	letter-spacing: -0.01em;
}

.eb-shead__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--fg);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}

.eb-shead__link .eb-icon { width: 14px; height: 14px; transition: transform 0.15s ease; }
.eb-shead__link:hover .eb-icon { transform: translateX(2px); }

/* Pills */
.eb-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.eb-pill {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--fg);
	font-size: 14px;
	font-weight: 500;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.eb-pill:hover { border-color: var(--fg); text-decoration: none; }

/* ==========================================================================
   Sections
   ========================================================================== */
.eb-section { padding: 80px 0; }
.eb-section--tight { padding-top: 0; }
.eb-section + .eb-section--tight { margin-top: -16px; }

.eb-two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px;
}

/* Hero */
.eb-hero {
	padding: 48px 0 80px;
	border-bottom: 1px solid var(--border-soft);
}

.eb-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
}

.eb-hero__side { display: grid; align-content: start; }

.eb-hero__side > .eb-row {
	grid-template-columns: 200px minmax(0, 1fr);
	padding: 32px 0;
}

.eb-hero__side > .eb-row:first-child { padding-top: 0; border-top: 0; }

/* Newsletter */
.eb-newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 64px;
	align-items: center;
	margin-top: 80px;
	padding: 40px 48px;
	border: 1px solid transparent;
	border-radius: 16px;
	background:
		linear-gradient(var(--bg), var(--bg)) padding-box,
		linear-gradient(120deg, #d2a8ff, #f778ba 40%, #ff7b72 70%, #79c0ff) border-box;
	box-shadow: 0 30px 60px -30px rgba(130, 80, 223, 0.35);
}

.eb-section > .eb-wrap > .eb-newsletter { margin-top: 0; }

.eb-newsletter__title {
	font-size: 32px;
	font-weight: 800;
	line-height: 36px;
	letter-spacing: -0.02em;
}

.eb-newsletter__text {
	margin-top: 8px;
	color: var(--muted);
	font-size: 18px;
	line-height: 28px;
}

.eb-newsletter__label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
}

.eb-newsletter__field {
	display: flex;
	align-items: center;
	padding: 4px 4px 4px 16px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--bg);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.eb-newsletter__field:focus-within {
	border-color: #8250df;
	box-shadow: 0 0 0 4px rgba(130, 80, 223, 0.15);
}

.eb-newsletter__field input {
	flex: 1;
	min-width: 0;
	height: 48px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--fg);
	font: inherit;
	font-size: 16px;
}

.eb-newsletter__field input::placeholder { color: var(--subtle); }

.eb-newsletter__field button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	color: #bf3989;
	transition: background-color 0.15s ease;
}

.eb-newsletter__field button span {
	background: var(--grad-label-dark);
	background-image: linear-gradient(90deg, #8250df, #bf3989 60%, #d1242f);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.eb-newsletter__field button:hover { background: var(--bg-subtle); }
.eb-newsletter__field button .eb-icon { transition: transform 0.15s ease; }
.eb-newsletter__field button:hover .eb-icon { transform: translateX(2px); }

.eb-newsletter__note {
	margin-top: 10px;
	color: var(--muted);
	font-size: 12px;
	line-height: 18px;
}

/* Quick-reads strip */
.eb-strip {
	padding: 32px 40px 40px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--bg-subtle);
}

.eb-strip .eb-shead {
	padding-top: 0;
	border-top: 0;
	margin-bottom: 24px;
}

.eb-strip .eb-shead__title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }

.eb-strip__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.eb-strip__grid .eb-textitem {
	padding-left: 24px;
	border-left: 1px solid var(--border);
}

.eb-strip__grid .eb-textitem:first-child { padding-left: 0; border-left: 0; }

/* Bands */
.eb-band { padding: 80px 0 96px; }
.eb-band.eb-dark { background: var(--dark-dim); }
.eb-band--subtle { background: var(--bg-subtle); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.eb-band__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.eb-band__grid--rev > :first-child { order: 2; }

.eb-band__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 32px;
}

.eb-band .eb-feature__title { font-size: 48px; line-height: 52px; }

/* Two-column list */
.eb-rows--grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 64px;
}

.eb-rows--grid > .eb-row:nth-child(2) { padding-top: 0; border-top: 0; }
.eb-rows--grid > .eb-row:nth-last-child(2):nth-child(odd) { padding-bottom: 0; }

/* Explore */
.eb-explore {
	padding: 96px 0;
	background: var(--dark);
}

.eb-explore__title {
	text-align: center;
	font-size: 48px;
	font-weight: 800;
	line-height: 52px;
	letter-spacing: -0.03em;
}

.eb-explore__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 56px;
}

.eb-explore__card {
	display: flex;
	flex-direction: column;
	min-height: 320px;
	padding: 28px 24px;
	border: 1px solid var(--dark-border);
	border-radius: 16px;
	background: var(--dark-raised);
	color: var(--dark-fg);
	transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.eb-explore__card:hover {
	border-color: #656c76;
	background: #191f28;
	text-decoration: none;
	transform: translateY(-3px);
}

.eb-explore__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--dark);
}

.eb-explore__icon .eb-icon { width: 22px; height: 22px; }
.eb-explore__icon--0 { background: linear-gradient(135deg, #a5d6ff, #d2a8ff); }
.eb-explore__icon--1 { background: linear-gradient(135deg, #f0f6fc, #c9d1d9); }
.eb-explore__icon--2 { background: linear-gradient(135deg, #ffdfb6, #ffb3d1); }
.eb-explore__icon--3 { background: linear-gradient(135deg, #aff5b4, #79c0ff); }

.eb-explore__name {
	margin-top: 24px;
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
}

.eb-explore__desc {
	margin-top: 12px;
	color: var(--dark-muted);
	font-size: 16px;
	line-height: 24px;
}

.eb-explore__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 24px;
	color: #4493f8;
	font-size: 15px;
	font-weight: 600;
}

/* Footer */
.eb-footer {
	padding: 72px 0 32px;
	background: var(--dark);
	border-top: 1px solid var(--dark-border);
}

.eb-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
	gap: 40px;
}

.eb-footer__name {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.eb-footer__name:hover { text-decoration: none; opacity: 0.85; }

.eb-footer__text {
	max-width: 320px;
	margin-top: 12px;
	color: var(--dark-muted);
	font-size: 14px;
	line-height: 21px;
}

.eb-social {
	display: flex;
	gap: 8px;
	margin-top: 24px;
}

.eb-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--dark-border);
	border-radius: 50%;
	color: var(--dark-muted);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.eb-social a:hover { color: #fff; border-color: #8b949e; }

.eb-footer__heading {
	margin-bottom: 16px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.eb-footer__col .menu li { margin: 0 0 10px; }

.eb-footer__col a,
.eb-footer__col .cat-item a {
	color: var(--dark-muted);
	font-size: 14px;
	line-height: 21px;
}

.eb-footer__col a:hover { color: #fff; text-decoration: none; }

.eb-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--dark-border);
	color: var(--dark-muted);
	font-size: 12px;
}

.eb-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.eb-footer__legal a { color: var(--dark-muted); font-size: 12px; }
.eb-footer__legal a:hover { color: #fff; }

/* ==========================================================================
   Article
   ========================================================================== */
.eb-article__hero { padding: 40px 0 0; }

.eb-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--subtle);
	font-size: 14px;
	line-height: 20px;
}

.eb-crumbs a { color: var(--fg); }

.eb-article__title {
	max-width: 880px;
	margin-top: 48px;
	font-size: 48px;
	font-weight: 800;
	line-height: 52px;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.eb-article__dek {
	max-width: 760px;
	margin-top: 20px;
	color: var(--muted);
	font-size: 18px;
	line-height: 28px;
}

.eb-article__media {
	margin: 48px 0 0;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 0 0 1px rgba(31, 35, 40, 0.08), 0 40px 80px -40px rgba(31, 35, 40, 0.35);
}

.eb-article__media img { width: 100%; height: auto; }
.eb-article__media--page { margin: 0 0 48px; }

.eb-article__meta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 24px 0;
}

.eb-article__meta::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--grad-brand);
}

.eb-byline__author {
	color: var(--fg);
	font-size: 14px;
	font-weight: 600;
}

.eb-byline__sub {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	margin-top: 4px;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 13px;
	line-height: 20px;
}

.eb-byline__bar { color: var(--border); }
.eb-byline__time { display: inline-flex; align-items: center; gap: 6px; }
.eb-byline__time .eb-icon { width: 14px; height: 14px; }

.eb-share { display: flex; align-items: center; gap: 8px; }
.eb-share__label { margin-right: 4px; color: var(--muted); font-size: 14px; }

.eb-share__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: var(--bg);
	color: var(--fg);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.eb-share__btn .eb-icon { width: 14px; height: 14px; }
.eb-share__btn:hover { border-color: var(--fg); text-decoration: none; }
.eb-copy .eb-icon--check { display: none; }
.eb-copy.is-copied { border-color: #1a7f37; color: #1a7f37; }
.eb-copy.is-copied .eb-icon--link { display: none; }
.eb-copy.is-copied .eb-icon--check { display: block; }

.eb-article__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	gap: 72px;
	padding: 48px 0 0;
}

.eb-aside__inner {
	position: sticky;
	top: calc(var(--eb-admin) + var(--catbar-h) + 32px);
	display: flex;
	flex-direction: column;
	gap: 40px;
	max-height: calc(100vh - var(--eb-admin) - var(--catbar-h) - 56px);
	overflow-y: auto;
	scrollbar-width: thin;
}

.eb-aside__title {
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border);
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
}

.eb-toc ul { list-style: none; margin: 0; padding: 0; }

.eb-toc a {
	display: block;
	padding: 8px 0 8px 16px;
	border-left: 2px solid transparent;
	color: var(--muted);
	font-size: 14px;
	line-height: 20px;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.eb-toc .eb-toc__l3 a { padding-left: 28px; font-size: 13px; }
.eb-toc a:hover { color: var(--fg); text-decoration: none; }
.eb-toc a.is-active { border-left-color: var(--fg); color: var(--fg); font-weight: 600; }

/* Prose */
.eb-prose {
	font-size: 18px;
	line-height: 30px;
	overflow-wrap: break-word;
}

.eb-prose > * + * { margin-top: 24px; }
.eb-prose > :first-child { margin-top: 0; }

.eb-prose h2 {
	margin-top: 64px;
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
	letter-spacing: -0.02em;
}

.eb-prose h3 {
	margin-top: 48px;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.01em;
}

.eb-prose h4 { margin-top: 40px; font-size: 20px; font-weight: 600; line-height: 28px; }
.eb-prose h2 + *,
.eb-prose h3 + *,
.eb-prose h4 + * { margin-top: 16px; }

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

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

.eb-prose ul,
.eb-prose ol { padding-left: 1.4em; }

.eb-prose li + li { margin-top: 8px; }
.eb-prose li::marker { color: var(--muted); }
.eb-prose strong { font-weight: 700; }

.eb-prose blockquote {
	margin: 40px 0;
	padding: 4px 0 4px 28px;
	border-left: 4px solid transparent;
	border-image: linear-gradient(180deg, #8250df, #f778ba, #ff7b72) 1;
	font-size: 22px;
	font-weight: 600;
	line-height: 34px;
	letter-spacing: -0.01em;
}

.eb-prose blockquote p { margin: 0; }
.eb-prose blockquote cite { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; font-style: normal; font-weight: 500; }

.eb-prose code {
	padding: 0.15em 0.4em;
	border-radius: 6px;
	background: rgba(129, 139, 152, 0.15);
	font-family: var(--mono);
	font-size: 0.85em;
}

.eb-prose pre {
	margin: 32px 0;
	padding: 24px;
	overflow-x: auto;
	border-radius: 12px;
	background: var(--dark);
	color: #e6edf3;
	font-family: var(--mono);
	font-size: 14px;
	line-height: 1.65;
	box-shadow: inset 0 0 0 1px rgba(240, 246, 252, 0.1);
}

.eb-prose pre code { padding: 0; background: none; font-size: inherit; color: inherit; }

.eb-prose img,
.eb-prose video { border-radius: 12px; }

.eb-prose figure { margin: 40px 0; }
.eb-prose figcaption,
.eb-prose .wp-element-caption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 20px; text-align: center; }

.eb-prose hr { margin: 56px 0; border: 0; border-top: 1px solid var(--border); }

.eb-prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.eb-prose th,
.eb-prose td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; }
.eb-prose th { background: var(--bg-subtle); font-weight: 600; }

.eb-prose .alignwide { margin-left: -64px; margin-right: -64px; max-width: none; }
.eb-prose .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.eb-prose .alignleft { float: left; margin: 8px 32px 16px 0; }
.eb-prose .alignright { float: right; margin: 8px 0 16px 32px; }
.eb-prose .aligncenter { margin-left: auto; margin-right: auto; }

.eb-prose .wp-block-button__link {
	border-radius: 8px;
	background: var(--fg);
	color: var(--bg);
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
}

.eb-pagelinks { margin-top: 40px; font-weight: 600; }

/* Article footer bits */
.eb-article__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.eb-article__tags-title { font-size: 16px; font-weight: 500; }

.eb-author { margin-top: 48px; }

.eb-author__heading {
	font-size: 24px;
	font-weight: 800;
	line-height: 32px;
	letter-spacing: -0.02em;
}

.eb-author__card {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin-top: 20px;
	padding: 24px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--bg-subtle);
}

.eb-author__avatar { flex: none; border-radius: 50%; }
.eb-author__name { font-size: 20px; font-weight: 600; line-height: 28px; }
.eb-author__name a { color: var(--fg); }
.eb-author__bio { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 24px; }

/* Related */
.eb-related {
	margin-top: 96px;
	padding: 80px 0;
	border-top: 1px solid var(--border-soft);
	background: var(--bg-subtle);
}

.eb-related__title {
	margin-bottom: 40px;
	font-size: 32px;
	font-weight: 800;
	line-height: 36px;
	letter-spacing: -0.02em;
}

.eb-related .eb-media { background: var(--bg); }

/* ==========================================================================
   Archive, page, search, 404
   ========================================================================== */
.eb-pagehead {
	padding: 72px 0 56px;
	border-bottom: 1px solid var(--border-soft);
}

.eb-pagehead__avatar img { border-radius: 50%; margin-bottom: 24px; }

.eb-pagehead__kicker {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	background-image: var(--grad-label);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.eb-pagehead__title {
	margin-top: 8px;
	font-size: 56px;
	font-weight: 800;
	line-height: 60px;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.eb-pagehead__desc {
	max-width: 720px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 18px;
	line-height: 28px;
}

.eb-pagehead__desc p + p { margin-top: 12px; }

.eb-archive-feature {
	margin-bottom: 64px;
	padding-bottom: 64px;
	border-bottom: 1px solid var(--border-soft);
}

.eb-archive-feature .eb-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.eb-archive-feature .eb-feature__body { padding-top: 0; }
.eb-archive-feature .eb-feature__title { font-size: 40px; line-height: 44px; }

.eb-grid3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px 32px;
}

.pagination { margin-top: 72px; }

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

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--fg);
	font-size: 14px;
	font-weight: 600;
	transition: border-color 0.15s ease;
}

.pagination a.page-numbers:hover { border-color: var(--fg); text-decoration: none; }
.pagination .page-numbers.current { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.pagination .page-numbers.dots { border-color: transparent; }

.eb-empty { max-width: 560px; margin: 0 auto; text-align: center; }
.eb-empty h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.eb-empty p { margin: 12px 0 32px; color: var(--muted); }

.eb-searchform {
	position: relative;
	display: flex;
	gap: 8px;
}

.eb-searchform__icon {
	position: absolute;
	top: 50%;
	left: 16px;
	display: flex;
	color: var(--muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.eb-searchform input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px 0 44px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--bg);
	color: var(--fg);
	font: inherit;
	font-size: 16px;
}

.eb-searchform input:focus { outline: 0; border-color: var(--link); box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.2); }
.eb-searchform .eb-btn { height: 48px; }

.eb-404 { padding: 96px 0 80px; text-align: center; border-bottom: 1px solid var(--border-soft); }

.eb-404__code {
	font-size: clamp(120px, 22vw, 220px);
	font-weight: 900;
	line-height: 0.9;
	letter-spacing: -0.06em;
	background-image: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.eb-404__title { margin-top: 24px; font-size: 40px; font-weight: 800; line-height: 44px; letter-spacing: -0.03em; }
.eb-404__text { margin-top: 12px; color: var(--muted); font-size: 18px; }
.eb-404__search { max-width: 560px; margin: 32px auto 0; }

/* Comments */
.eb-comments { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }

.eb-comments__title { font-size: 24px; font-weight: 800; line-height: 32px; letter-spacing: -0.02em; margin-bottom: 24px; }

.eb-comments__list,
.eb-comments__list .children { list-style: none; margin: 0; padding: 0; }

.eb-comments__list .children { margin-left: 20px; padding-left: 20px; border-left: 2px solid var(--border-soft); }

.eb-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--border-soft); }
.eb-comments .comment-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.eb-comments .comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.eb-comments .comment-author .avatar { border-radius: 50%; }
.eb-comments .comment-author .says { display: none; }
.eb-comments .comment-author a { color: var(--fg); }
.eb-comments .comment-metadata a { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.eb-comments .comment-content { margin-top: 12px; font-size: 16px; line-height: 26px; }
.eb-comments .comment-content p + p { margin-top: 12px; }
.eb-comments .reply { margin-top: 8px; }
.eb-comments .reply a { font-size: 14px; font-weight: 600; }
.eb-comments .comment-respond { margin-top: 40px; }

.eb-comments label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }

.eb-comments input[type="text"],
.eb-comments input[type="email"],
.eb-comments input[type="url"],
.eb-comments textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--bg);
	color: var(--fg);
	font: inherit;
	font-size: 16px;
}

.eb-comments input:focus,
.eb-comments textarea:focus { outline: 0; border-color: var(--link); box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.2); }

.eb-comments .comment-form > p { margin-top: 16px; }
.eb-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.eb-comments .comment-form-cookies-consent label { font-weight: 400; color: var(--muted); }
.eb-comments .comment-notes,
.eb-comments .logged-in-as { color: var(--muted); font-size: 14px; }
.eb-comments .form-submit .eb-btn { height: 44px; padding: 0 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
	:root { --gutter: 32px; }
	.eb-hero__side > .eb-row { grid-template-columns: 160px minmax(0, 1fr); }
	.eb-hero__grid,
	.eb-band__grid { gap: 48px; }
	.eb-feature__title,
	.eb-band .eb-feature__title { font-size: 40px; line-height: 44px; }
	.eb-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.eb-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1011px) {
	.eb-toplinks,
	.eb-ctas--desktop { display: none; }
	.eb-menu-btn { display: inline-flex; }
	.eb-masthead__actions { gap: 4px; }
	.eb-masthead__row { min-height: 64px; }

	.eb-catbar .menu {
		overflow-x: auto;
		flex-wrap: nowrap;
		margin: 0 calc(var(--gutter) * -1);
		padding: 0 var(--gutter);
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
		mask-image: linear-gradient(90deg, #000 88%, transparent);
	}
	.eb-catbar .menu::-webkit-scrollbar { display: none; }
	.eb-catbar .menu > li > a { font-size: 15px; }
	.eb-catbar .sub-menu,
	.eb-catbar .eb-icon--chevron-down { display: none; }

	.eb-hero__grid,
	.eb-band__grid { grid-template-columns: minmax(0, 1fr); }
	.eb-band__grid--rev > :first-child { order: 0; }
	.eb-hero__side > .eb-row { grid-template-columns: 200px minmax(0, 1fr); }
	.eb-hero__side > .eb-row:first-child { padding-top: 32px; border-top: 1px solid var(--border-soft); }
	.eb-hero__side { margin-top: 8px; }

	.eb-newsletter { grid-template-columns: minmax(0, 1fr); padding: 32px; }
	.eb-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eb-strip__grid .eb-textitem:nth-child(3) { padding-left: 0; border-left: 0; }

	.eb-explore__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eb-explore__card { min-height: 0; }

	.eb-article__body { grid-template-columns: minmax(0, 1fr); }
	.eb-aside { display: none; }
	.eb-prose .alignwide { margin-left: 0; margin-right: 0; }

	.eb-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eb-archive-feature .eb-feature { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.eb-archive-feature .eb-feature__body { padding-top: 24px; }
}

@media (max-width: 767px) {
	:root { --gutter: 20px; --catbar-h: 48px; }

	.eb-brand { font-size: 20px; gap: 8px; }
	.eb-section { padding: 56px 0; }
	.eb-band { padding: 56px 0 64px; }
	.eb-hero { padding: 32px 0 56px; }

	.eb-two,
	.eb-rows--grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
	.eb-rows--grid { gap: 0; }
	.eb-rows--grid > .eb-row:nth-child(2) { padding-top: 24px; border-top: 1px solid var(--border-soft); }
	.eb-rows--grid > .eb-row:nth-last-child(2):nth-child(odd) { padding-bottom: 24px; }

	.eb-feature__title,
	.eb-band .eb-feature__title,
	.eb-archive-feature .eb-feature__title,
	.eb-article__title,
	.eb-explore__title { font-size: 32px; line-height: 36px; }
	.eb-pagehead__title { font-size: 40px; line-height: 44px; }
	.eb-pagehead { padding: 48px 0 40px; }

	.eb-row,
	.eb-hero__side > .eb-row { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 24px 0; }
	.eb-row__title,
	.eb-card__title,
	.eb-textitem__title { font-size: 18px; line-height: 23px; }
	.eb-row__excerpt { -webkit-line-clamp: 2; font-size: 15px; line-height: 22px; }

	.eb-band__cards,
	.eb-grid3 { grid-template-columns: minmax(0, 1fr); gap: 40px; }

	.eb-newsletter { margin-top: 56px; padding: 24px 20px; }
	.eb-newsletter__title { font-size: 26px; line-height: 30px; }
	.eb-newsletter__text { font-size: 16px; line-height: 24px; }

	.eb-strip { padding: 24px 20px; }
	.eb-strip__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.eb-strip__grid .eb-textitem { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--border); }
	.eb-strip__grid .eb-textitem:first-child { padding-top: 0; border-top: 0; }

	.eb-explore { padding: 64px 0; }
	.eb-explore__grid { grid-template-columns: minmax(0, 1fr); margin-top: 32px; gap: 16px; }

	.eb-article__hero { padding-top: 24px; }
	.eb-article__title { margin-top: 28px; }
	.eb-article__dek { font-size: 17px; line-height: 26px; }
	.eb-article__media { margin-top: 32px; border-radius: 12px; }
	.eb-prose { font-size: 17px; line-height: 28px; }
	.eb-prose h2 { margin-top: 48px; font-size: 26px; line-height: 32px; }
	.eb-prose h3 { font-size: 21px; line-height: 28px; }
	.eb-prose pre { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; }
	.eb-prose .alignleft,
	.eb-prose .alignright { float: none; margin: 24px 0; }
	.eb-author__card { flex-direction: column; gap: 16px; }
	.eb-related { margin-top: 64px; padding: 56px 0; }
	.eb-related__title { font-size: 26px; }

	.eb-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
	.eb-footer__bottom { flex-direction: column; align-items: flex-start; }
}

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

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

@media print {
	.eb-masthead,
	.eb-catbar,
	.eb-progress,
	.eb-aside,
	.eb-share,
	.eb-related,
	.eb-newsletter,
	.eb-explore,
	.eb-footer { display: none !important; }
}
