/* Ebuhu TwentySix visual system, adapted from the supplied Tailwind HTML template. */
:root {
	--ebuhu-brand: #312e81;
	--ebuhu-brand-dark: #1e1b4b;
	--ebuhu-brand-hover: #3730a3;
	--ebuhu-accent: #4f46e5;
	--ebuhu-brand-light: #e0e7ff;
	--ebuhu-brand-soft: #eef2ff;
	--ebuhu-heading: #020617;
	--ebuhu-text: #334155;
	--ebuhu-muted: #64748b;
	--ebuhu-border: #e2e8f0;
	--ebuhu-surface: #f8fafc;
	--ebuhu-background: #fff;
	--ebuhu-success: #047857;
	--ebuhu-radius: 18px;
	--ebuhu-shadow: 0 18px 50px -24px rgba(30, 27, 75, 0.24);
	--ebuhu-shadow-brand: 0 18px 44px -20px rgba(49, 46, 129, 0.38);
	--ebuhu-container: 1280px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ebuhu-surface);
	color: var(--ebuhu-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

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

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

button {
	cursor: pointer;
}

::selection {
	background: var(--ebuhu-brand-light);
	color: var(--ebuhu-heading);
}

:focus-visible {
	outline: 3px solid rgba(79, 70, 229, 0.36);
	outline-offset: 3px;
}

.site-container {
	width: min(100% - 32px, var(--ebuhu-container));
	margin-inline: auto;
}

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

.screen-reader-text:focus {
	clip: auto !important;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 14px;
	top: 12px;
	left: 12px;
	z-index: 99999;
	background: var(--ebuhu-heading);
	color: #fff;
	border-radius: 8px;
}

.grid-noise {
	background-image: linear-gradient(rgba(30, 27, 75, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 27, 75, 0.04) 1px, transparent 1px);
	background-size: 28px 28px;
}


/* Header and navigation. */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(14px);
}

.site-header-inner {
	min-height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ebuhu-heading);
	font-weight: 900;
	letter-spacing: -0.04em;
}

.site-logo .custom-logo-link {
	display: flex;
}

.site-logo .custom-logo {
	max-height: 42px;
	width: auto;
}

.site-logo-mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--ebuhu-brand);
	color: #fff;
	font: 800 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
	box-shadow: var(--ebuhu-shadow-brand);
}

.site-logo-text {
	font-size: 24px;
}

.primary-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.primary-menu,
.primary-nav .menu,
.mobile-menu,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu,
.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.primary-menu a,
.primary-nav .menu a {
	display: block;
	padding: 9px 11px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 700;
	color: #475569;
}

.primary-menu a:hover,
.primary-nav .menu a:hover,
.primary-menu .current-menu-item > a,
.primary-nav .current_page_item > a {
	color: var(--ebuhu-brand);
	background: var(--ebuhu-brand-soft);
}

.primary-menu .menu-item-has-children {
	position: relative;
}

.primary-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px;
	margin: 6px 0 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ebuhu-border);
	border-radius: 12px;
	box-shadow: var(--ebuhu-shadow);
}

.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.icon-button {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid var(--ebuhu-border);
	border-radius: 9px;
	background: #fff;
	color: var(--ebuhu-text);
}

.icon-button:hover {
	border-color: var(--ebuhu-brand-light);
	background: var(--ebuhu-brand-soft);
	color: var(--ebuhu-brand);
}

.menu-toggle {
	display: none;
}

.mobile-nav {
	border-top: 1px solid var(--ebuhu-border);
	background: #fff;
}

.mobile-nav .site-container {
	padding-block: 12px;
}

.mobile-menu a,
.mobile-nav .menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	font-weight: 700;
}

.mobile-menu a:hover,
.mobile-nav .menu a:hover {
	background: var(--ebuhu-brand-soft);
	color: var(--ebuhu-brand);
}


/* Front-page hero. */
.hero {
	border-bottom: 1px solid var(--ebuhu-border);
	background-color: #fff;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 64px;
	align-items: center;
	padding-block: 76px;
}

.eyebrow {
	width: fit-content;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 11px;
	border: 1px solid var(--ebuhu-brand-light);
	border-radius: 999px;
	background: var(--ebuhu-brand-soft);
	color: var(--ebuhu-brand-hover);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.eyebrow span {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--ebuhu-accent);
}

.hero h1,
.archive-hero h1,
.page-hero h1,
.about-hero h1,
.search-hero h1,
.article-header h1,
.not-found h1 {
	margin: 16px 0 0;
	color: var(--ebuhu-heading);
	font-weight: 950;
	letter-spacing: -0.045em;
	line-height: 1.02;
}

.hero h1 {
	max-width: 760px;
	font-size: clamp(42px, 5vw, 56px);
	font-weight: 600;
}

.hero h1 em,
.hero h1 strong {
	color: var(--ebuhu-brand);
	font-style: normal;
}

.hero-copy {
	max-width: 720px;
	margin: 24px 0 0;
	color: #475569;
	font-size: 18px;
	line-height: 1.75;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 17px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-weight: 850;
	transition: 0.18s ease;
}

.button--primary {
	background: var(--ebuhu-brand);
	color: #fff;
	box-shadow: var(--ebuhu-shadow-brand);
}

.button--primary:hover {
	background: var(--ebuhu-brand-hover);
	transform: translateY(-1px);
}

.button--secondary {
	background: #fff;
	border-color: var(--ebuhu-border);
	color: var(--ebuhu-heading);
}

.button--secondary:hover {
	border-color: var(--ebuhu-brand-light);
	background: var(--ebuhu-brand-soft);
	color: var(--ebuhu-brand);
}

.button--light {
	background: #fff;
	color: var(--ebuhu-brand-dark);
}

.button--light:hover {
	background: var(--ebuhu-brand-soft);
}

.code-window {
	overflow: hidden;
	border: 1px solid #cbd5e1;
	border-radius: 20px;
	background: #fff;
	color: #334155;
	box-shadow: 0 24px 60px -32px rgba(30, 41, 59, 0.38);
}

.code-window-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 44px;
	padding: 0 16px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	color: #64748b;
	font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.code-window-bar i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #cbd5e1;
}

.code-window-bar i:first-child {
	background: #fca5a5;
}

.code-window-bar i:nth-child(2) {
	background: #fcd34d;
}

.code-window-bar i:nth-child(3) {
	background: #86efac;
}

.code-window-bar span {
	margin-left: 8px;
	color: #475569;
}

.code-window pre {
	margin: 0;
	padding: 28px;
	overflow: auto;
	background: #fff;
	color: #334155;
	white-space: pre-wrap;
	font: 13px/1.9 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.code-window .code-block-wrap {
	background: #fff;
}

.code-window .copy-code-button {
	border-color: #cbd5e1;
	background: #f8fafc;
	color: var(--ebuhu-brand);
}

.code-window .copy-code-button:hover {
	border-color: var(--ebuhu-brand-light);
	background: var(--ebuhu-brand-soft);
	color: var(--ebuhu-brand-hover);
}

.code-muted {
	color: #64748b;
}

.code-keyword {
	color: #4338ca;
}

.code-string {
	color: #047857;
}

.code-function {
	color: #0369a1;
}

.topic-strip {
	border-bottom: 1px solid var(--ebuhu-border);
	background: var(--ebuhu-surface);
}

.topic-strip-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-block: 16px;
	overflow-x: auto;
}

.topic-strip strong {
	white-space: nowrap;
	color: var(--ebuhu-heading);
	font-size: 13px;
}

.topic-pills {
	display: flex;
	gap: 8px;
}

.topic-pills a,
.tag-cloud-custom a,
.tag-cloud-custom li a {
	display: inline-flex;
	align-items: center;
	padding: 7px 10px;
	border: 1px solid var(--ebuhu-border);
	border-radius: 999px;
	background: #fff;
	color: #475569;
	font-size: 12px;
	font-weight: 750;
	white-space: nowrap;
}

.topic-pills a:hover,
.tag-cloud-custom a:hover {
	border-color: var(--ebuhu-brand-light);
	background: var(--ebuhu-brand-soft);
	color: var(--ebuhu-brand);
}


/* Shared content sections and cards. */
.section {
	padding-block: 72px;
}

.section--white {
	background: #fff;
}

.section--border {
	border-block: 1px solid var(--ebuhu-border);
}

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

.section-heading--compact {
	margin-bottom: 12px;
}

.section-heading h2 {
	margin: 4px 0 0;
	color: var(--ebuhu-heading);
	font-size: clamp(27px, 3vw, 36px);
	line-height: 1.15;
	letter-spacing: -0.035em;
}

.section-heading > a {
	color: var(--ebuhu-brand);
	font-size: 14px;
	font-weight: 800;
}

.section-heading > a:hover {
	color: var(--ebuhu-brand-hover);
}

.section-kicker {
	color: var(--ebuhu-brand);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.featured-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 22px;
}

.featured-card {
	grid-column: span 5;
	overflow: hidden;
	border: 1px solid var(--ebuhu-border);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--ebuhu-shadow);
}

.featured-card--large {
	grid-column: span 7;
	grid-row: span 2;
}

.featured-card-media,
.archive-card-media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(135deg, var(--ebuhu-brand-soft), #fff);
}

.featured-card-media img,
.archive-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.featured-card:hover .featured-card-media img,
.archive-card:hover .archive-card-media img {
	transform: scale(1.025);
}

.thumbnail-placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--ebuhu-brand-soft), #fff 55%, #e2e8f0);
}

.thumbnail-placeholder span {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 18px;
	background: var(--ebuhu-brand);
	color: #fff;
	font: 900 18px/1 ui-monospace, monospace;
	box-shadow: var(--ebuhu-shadow-brand);
}

.featured-card-body {
	padding: 22px;
}

.featured-card--large .featured-card-body {
	padding: 26px;
}

.featured-card h3,
.archive-card h2,
.list-card h3,
.search-result h2 {
	margin: 9px 0 0;
	color: var(--ebuhu-heading);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.22;
}

.featured-card h3 {
	font-size: 21px;
}

.featured-card--large h3 {
	font-size: clamp(25px, 3vw, 34px);
}

.featured-card h3 a:hover,
.archive-card h2 a:hover,
.list-card h3 a:hover,
.search-result h2 a:hover {
	color: var(--ebuhu-brand-hover);
}

.featured-card p,
.archive-card p,
.list-card p,
.search-result p {
	margin: 10px 0 0;
	color: #64748b;
	line-height: 1.7;
}

.post-category {
	color: var(--ebuhu-brand);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.post-category:hover {
	color: var(--ebuhu-brand-hover);
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	color: var(--ebuhu-muted);
	font-size: 12px;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.category-card {
	display: grid;
	grid-template-columns: 44px 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	padding: 18px;
	border: 1px solid var(--ebuhu-border);
	border-radius: 16px;
	background: var(--ebuhu-surface);
}

.category-card:hover {
	border-color: var(--ebuhu-brand-light);
	background: var(--ebuhu-brand-soft);
	transform: translateY(-1px);
}

.category-card-icon {
	grid-row: span 2;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: #fff;
	color: var(--ebuhu-brand);
	font-weight: 950;
	box-shadow: 0 8px 25px -16px rgba(30, 27, 75, 0.4);
}

.category-card strong {
	color: var(--ebuhu-heading);
	font-size: 16px;
}

.category-card > span:last-child {
	color: var(--ebuhu-muted);
	font-size: 12px;
}

.content-sidebar-grid,
.archive-layout,
.search-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 42px;
	align-items: start;
}

.article-list {
	border-block: 1px solid var(--ebuhu-border);
}

.list-card {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-block: 24px;
	border-bottom: 1px solid var(--ebuhu-border);
}

.list-card:last-child {
	border-bottom: 0;
}

.list-card h3 {
	font-size: 21px;
}

.list-card-thumb {
	flex: 0 0 116px;
	height: 82px;
	border-radius: 12px;
	overflow: hidden;
}

.list-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sidebar-stack {
	display: grid;
	gap: 20px;
	position: sticky;
	top: 90px;
}

.widget-panel {
	padding: 22px;
	border: 1px solid var(--ebuhu-border);
	border-radius: 18px;
	background: #fff;
}

.widget-title {
	margin: 0 0 16px;
	color: var(--ebuhu-heading);
	font-size: 17px;
	font-weight: 900;
}

.widget-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget-list li {
	padding: 9px 0;
	border-bottom: 1px solid var(--ebuhu-border);
	color: #475569;
	font-size: 14px;
}

.widget-list li:last-child {
	border-bottom: 0;
}

.widget-list a:hover {
	color: var(--ebuhu-brand);
}

.tag-cloud-custom {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.newsletter-panel {
	padding: 24px;
	border-radius: 20px;
	background: var(--ebuhu-brand-dark);
	color: #fff;
	box-shadow: var(--ebuhu-shadow-brand);
}

.newsletter-panel-label {
	color: var(--ebuhu-brand-light);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.newsletter-panel h2 {
	margin: 8px 0 0;
	font-size: 25px;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.newsletter-panel p {
	margin: 12px 0 20px;
	color: #c7d2fe;
	font-size: 14px;
	line-height: 1.7;
}


/* Archive and search layouts. */
.archive-hero,
.page-hero,
.about-hero,
.search-hero,
.article-header {
	border-bottom: 1px solid var(--ebuhu-border);
	background: #fff;
}

.archive-hero-inner,
.page-hero-inner,
.about-hero-inner,
.search-hero-inner {
	max-width: 920px;
	padding-block: 58px;
}

.archive-hero h1,
.page-hero h1,
.about-hero h1,
.search-hero h1 {
	font-size: clamp(38px, 5vw, 54px);
}

.archive-hero p,
.archive-description,
.page-hero p,
.about-hero p {
	max-width: 780px;
	margin-top: 16px;
	color: #64748b;
	font-size: 18px;
	line-height: 1.7;
}

.archive-description p {
	margin: 0;
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

/* Ads. */
.archive-grid .monetize-me {
	overflow: hidden;
	border: 1px solid var(--ebuhu-border);
	border-radius: 18px;
	background: #fff;
	margin-top: 0;
	margin-bottom: 0;
	align-content: center;
}

.archive-card {
	overflow: hidden;
	border: 1px solid var(--ebuhu-border);
	border-radius: 18px;
	background: #fff;
}

.archive-card-body {
	padding: 20px;
}

.archive-card h2 {
	font-size: 21px;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 34px;
}

.pagination .page-numbers {
	display: inline-flex;
	min-width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	padding-inline: 12px;
	border: 1px solid var(--ebuhu-border);
	border-radius: 9px;
	background: #fff;
	color: #475569;
	font-size: 13px;
	font-weight: 800;
}

.pagination .current,
.pagination a:hover {
	border-color: var(--ebuhu-brand);
	background: var(--ebuhu-brand);
	color: #fff;
}

.search-hero-inner {
	max-width: 900px;
}

.search-form {
	display: flex;
	max-width: 820px;
	margin-top: 26px;
	overflow: hidden;
	border: 2px solid #cbd5e1;
	border-radius: 14px;
	background: #fff;
}

.search-form:focus-within {
	border-color: var(--ebuhu-accent);
}

.search-field {
	flex: 1;
	min-width: 0;
	padding: 15px 17px;
	border: 0;
	outline: 0;
	color: var(--ebuhu-heading);
	background: transparent;
}

.search-submit {
	border: 0;
	padding: 0 22px;
	background: var(--ebuhu-brand);
	color: #fff;
	font-weight: 900;
}

.search-submit:hover {
	background: var(--ebuhu-brand-hover);
}

.search-summary {
	margin: 18px 0 0;
	color: var(--ebuhu-muted);
	font-size: 13px;
}

.search-results {
	border: 1px solid var(--ebuhu-border);
	border-radius: 18px;
	background: #fff;
	padding-inline: 22px;
}

.search-result {
	padding-block: 24px;
	border-bottom: 1px solid var(--ebuhu-border);
}

.search-result:last-child {
	border-bottom: 0;
}

.search-result h2 {
	font-size: 22px;
}

.empty-state {
	padding: 36px;
	border: 1px solid var(--ebuhu-border);
	border-radius: 18px;
	background: #fff;
	text-align: center;
}

.empty-state h2 {
	color: var(--ebuhu-heading);
}

.empty-state .search-form {
	margin-inline: auto;
}


/* Single article. */
.article-header-inner {
	width: min(100% - 32px, 920px);
	margin-inline: auto;
	padding-block: 60px;
	text-align: center;
}

.article-header h1 {
	margin-top: 14px;
	font-size: clamp(40px, 5.5vw, 62px);
}

.article-header .post-meta {
	justify-content: center;
	margin-top: 22px;
}

.article-deck {
	max-width: 780px;
	margin: 20px auto 0;
	color: #64748b;
	font-size: 19px;
	line-height: 1.7;
}

.article-featured-image {
	max-width: 1180px;
	margin-top: 38px;
}

.article-featured-image img {
	width: 100%;
	border-radius: 22px;
	box-shadow: var(--ebuhu-shadow);
}

.article-layout {
	display: grid;
	grid-template-columns: 210px minmax(0, 790px);
	justify-content: center;
	gap: 48px;
	padding-block: 56px 76px;
}

.article-tools-sticky {
	position: sticky;
	top: 95px;
}

.article-tools-sticky > span {
	display: block;
	margin-bottom: 10px;
	color: var(--ebuhu-heading);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.article-toc {
	display: grid;
	gap: 3px;
	border-left: 1px solid var(--ebuhu-border);
}

.article-toc a {
	padding: 6px 0 6px 12px;
	color: var(--ebuhu-muted);
	font-size: 12px;
	line-height: 1.35;
}

.article-toc a:hover {
	color: var(--ebuhu-brand);
}

.article-toc .toc-depth-3 {
	padding-left: 22px;
}

.prose-ebuhu {
	color: var(--ebuhu-text);
	font-size: 17px;
	line-height: 1.85;
}

.prose-ebuhu > *:first-child {
	margin-top: 0;
}

.prose-ebuhu p {
	margin: 1.35rem 0 0;
}

.prose-ebuhu h2 {
	margin: 2.8rem 0 0;
	color: var(--ebuhu-heading);
	font-size: 28px;
	line-height: 1.25;
	font-weight: 950;
	letter-spacing: -0.03em;
	scroll-margin-top: 100px;
}

.prose-ebuhu h3 {
	margin: 2.2rem 0 0;
	color: var(--ebuhu-heading);
	font-size: 21px;
	line-height: 1.3;
	font-weight: 900;
	scroll-margin-top: 100px;
}

.prose-ebuhu h4 {
	margin: 1.9rem 0 0;
	color: var(--ebuhu-heading);
	font-size: 18px;
}

.prose-ebuhu ul,
.prose-ebuhu ol {
	margin: 1.2rem 0 0;
	padding-left: 1.4rem;
}

.prose-ebuhu li {
	margin: 0.5rem 0;
}

.prose-ebuhu a {
	color: var(--ebuhu-brand);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.prose-ebuhu a:hover {
	color: var(--ebuhu-brand-hover);
}

.prose-ebuhu blockquote {
	margin: 2rem 0;
	padding: 18px 22px;
	border-left: 4px solid var(--ebuhu-brand);
	border-radius: 0 12px 12px 0;
	background: var(--ebuhu-brand-soft);
	color: var(--ebuhu-heading);
}

.prose-ebuhu code:not(pre code) {
	padding: 0.15rem 0.35rem;
	border-radius: 5px;
	background: var(--ebuhu-brand-soft);
	color: var(--ebuhu-heading);
	font-size: 0.9em;
}

.prose-ebuhu pre,
.code-block-wrap pre {
	overflow: auto;
	margin: 1.8rem 0;
	padding: 22px;
	border-radius: 14px;
	background: #020617;
	color: #e2e8f0;
	font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.code-block-wrap {
	position: relative;
}

.code-block-wrap pre {
	margin: 1.8rem 0;
	padding-top: 48px;
}

.copy-code-button {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 5px 9px;
	border: 1px solid #334155;
	border-radius: 7px;
	background: #0f172a;
	color: #cbd5e1;
	font-size: 11px;
	font-weight: 800;
}

.prose-ebuhu img {
	border-radius: 12px;
}

.prose-ebuhu table {
	width: 100%;
	margin-top: 1.5rem;
	border-collapse: collapse;
	font-size: 14px;
}

.prose-ebuhu th,
.prose-ebuhu td {
	padding: 11px 12px;
	border: 1px solid var(--ebuhu-border);
	text-align: left;
}

.prose-ebuhu th {
	background: var(--ebuhu-surface);
	color: var(--ebuhu-heading);
}

.prose-ebuhu .alignwide {
	width: min(1100px, calc(100vw - 40px));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.prose-ebuhu .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 38px;
	padding-top: 24px;
	border-top: 1px solid var(--ebuhu-border);
}

.post-tags a {
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--ebuhu-brand-soft);
	color: var(--ebuhu-brand);
	font-size: 12px;
	font-weight: 800;
}

.author-box {
	display: flex;
	gap: 16px;
	margin-top: 36px;
	padding: 22px;
	border: 1px solid var(--ebuhu-border);
	border-radius: 16px;
	background: #fff;
}

.author-box img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
}

.author-box span {
	color: var(--ebuhu-muted);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.author-box h2 {
	margin: 2px 0 0;
	color: var(--ebuhu-heading);
	font-size: 18px;
}

.author-box p {
	margin: 6px 0 0;
	color: #64748b;
	font-size: 13px;
}

.post-navigation {
	margin-top: 28px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.post-navigation a {
	display: block;
	padding: 16px;
	border: 1px solid var(--ebuhu-border);
	border-radius: 14px;
	background: #fff;
}

.post-navigation span {
	display: block;
	color: var(--ebuhu-muted);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.post-navigation strong {
	display: block;
	margin-top: 4px;
	color: var(--ebuhu-heading);
	font-size: 14px;
}

.nav-next {
	text-align: right;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.related-grid .archive-card h2 {
	font-size: 18px;
}


/* Comments and standard pages. */
.comments-area {
	margin-top: 48px;
	padding-top: 34px;
	border-top: 1px solid var(--ebuhu-border);
}

.comments-title,
.comment-reply-title {
	color: var(--ebuhu-heading);
	font-size: 24px;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .comment {
	margin-top: 20px;
}

.comment-body {
	padding: 18px;
	border: 1px solid var(--ebuhu-border);
	border-radius: 14px;
	background: #fff;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.comment-author img {
	border-radius: 50%;
}

.comment-metadata {
	margin: 4px 0 10px 58px;
	color: var(--ebuhu-muted);
	font-size: 11px;
}

.comment-content p {
	margin-bottom: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: 28px;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	color: var(--ebuhu-heading);
	font-size: 13px;
	font-weight: 800;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--ebuhu-border);
	border-radius: 9px;
	background: #fff;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--ebuhu-accent);
	outline: 0;
}

.comment-form .submit {
	border: 0;
	padding: 11px 16px;
	border-radius: 9px;
	background: var(--ebuhu-brand);
	color: #fff;
	font-weight: 850;
}

.page-content {
	max-width: 820px;
	padding-block: 54px 76px;
}

.page-comments {
	max-width: 820px;
	padding-bottom: 72px;
}

.about-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 48px;
	align-items: start;
	max-width: 1040px;
}

.not-found {
	min-height: 65vh;
	display: grid;
	place-items: center;
	background: #fff;
}

.not-found-inner {
	max-width: 760px;
	padding-block: 80px;
	text-align: center;
}

.not-found-code {
	display: block;
	color: var(--ebuhu-brand-light);
	font-size: clamp(80px, 16vw, 160px);
	font-weight: 950;
	line-height: 0.8;
	letter-spacing: -0.08em;
}

.not-found h1 {
	font-size: clamp(38px, 5vw, 56px);
}

.not-found p {
	max-width: 600px;
	margin: 18px auto 0;
	color: #64748b;
	font-size: 17px;
}

.not-found .search-form {
	margin-inline: auto;
}

.not-found .button {
	margin-top: 18px;
}


/* Footer. */
.site-footer {
	border-top: 1px solid var(--ebuhu-border);
	background: #fff;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 0.8fr;
	gap: 48px;
	padding-block: 50px;
}

.site-logo--footer {
	margin-bottom: 14px;
}

.footer-brand p {
	max-width: 420px;
	margin: 0;
	color: var(--ebuhu-muted);
	font-size: 13px;
}

.footer-heading {
	margin: 0 0 12px;
	color: var(--ebuhu-heading);
	font-size: 13px;
	font-weight: 900;
}

.footer-menu li {
	margin: 8px 0;
	color: #64748b;
	font-size: 13px;
}

.footer-menu a:hover {
	color: var(--ebuhu-brand);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding-bottom: 32px;
}

.footer-bottom {
	padding-block: 18px;
	border-top: 1px solid var(--ebuhu-border);
	color: var(--ebuhu-muted);
	font-size: 12px;
}

.footer-bottom p {
	margin: 0;
}


/* Responsive layouts. */
@media (max-width: 1024px) {
	.primary-nav {
		display: none;
	}

	.menu-toggle {
		display: grid;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		gap: 36px;
		padding-block: 60px;
	}

	.code-window {
		max-width: 760px;
	}

	.content-sidebar-grid,
	.archive-layout,
	.search-layout {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 28px;
	}

	.article-layout {
		grid-template-columns: minmax(0, 760px);
	}

	.article-tools {
		display: none;
	}

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

@media (max-width: 760px) {
	.site-container {
		width: min(100% - 24px, var(--ebuhu-container));
	}

	.site-header-inner {
		min-height: 62px;
	}

	.site-logo-mark {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}

	.site-logo-text {
		font-size: 21px;
	}

	.hero-grid {
		padding-block: 46px;
	}

	.hero-copy {
		font-size: 16px;
	}

	.code-window pre {
		padding: 20px;
		font-size: 11px;
	}

	.section {
		padding-block: 52px;
	}

	.section-heading {
		align-items: start;
		flex-direction: column;
		gap: 10px;
	}

	.featured-grid {
		display: grid;
		grid-template-columns: 1fr;
	}

	.featured-card,
	.featured-card--large {
		grid-column: auto;
		grid-row: auto;
	}

	.category-grid {
		grid-template-columns: 1fr;
	}

	.content-sidebar-grid,
	.archive-layout,
	.search-layout,
	.about-layout {
		grid-template-columns: 1fr;
	}

	.sidebar-stack {
		position: static;
	}

	.archive-grid,
	.related-grid {
		grid-template-columns: 1fr;
	}

	.list-card-thumb {
		display: none;
	}

	.archive-hero-inner,
	.page-hero-inner,
	.about-hero-inner,
	.search-hero-inner {
		padding-block: 44px;
	}

	.article-header-inner {
		padding-block: 44px;
	}

	.article-layout {
		padding-block: 42px 58px;
	}

	.prose-ebuhu {
		font-size: 16px;
	}

	.prose-ebuhu h2 {
		font-size: 25px;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.nav-next {
		text-align: left;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-block: 40px;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
	}

	.search-form {
		flex-direction: column;
		border-width: 1px;
		overflow: visible;
		background: transparent;
		gap: 8px;
	}

	.search-field {
		border: 1px solid var(--ebuhu-border);
		border-radius: 10px;
		background: #fff;
	}

	.search-submit {
		min-height: 46px;
		border-radius: 10px;
	}
}


/* Front-page hero code window. Keep article code blocks on their own theme. */
.home-front .code-window {
	background-color: #eee;
}

.home-front .code-window .code-window-bar {
	background-color: #f8f8f8;
	border-bottom-color: #d8d8d8;
}

.home-front .code-window .code-block-wrap {
	background-color: #eee;
}

.home-front .code-block-wrap pre {
	background-color: #eee;
}

.home-front .code-window .code-block-wrap pre {
	margin: 0;
	padding: 48px 28px 28px;
	border-radius: 0;
	background-color: #eee;
	color: #334155;
}

.home-front .code-window .copy-code-button {
	border-color: #cbd5e1;
	background-color: #fff;
	color: var(--ebuhu-brand);
}

.home-front .code-window .copy-code-button:hover,
.home-front .code-window .copy-code-button:focus-visible {
	border-color: var(--ebuhu-brand-light);
	background-color: var(--ebuhu-brand-soft);
	color: var(--ebuhu-brand-hover);
}

@media (max-width: 760px) {
	.home-front .code-window .code-block-wrap pre {
		padding: 48px 20px 20px;
	}
}
