:root {
	--ebm-accent: #54d7ff;
	--ebm-columns: 3;
	--ebm-bg: #07111f;
	--ebm-bg-soft: #0c192a;
	--ebm-surface: #101f32;
	--ebm-surface-strong: #14263d;
	--ebm-text: #f7fbff;
	--ebm-muted: #a6b4c5;
	--ebm-line: rgba(255, 255, 255, 0.11);
	--ebm-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
	--ebm-radius: 22px;
	--ebm-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ebm-main,
.ebm-main * {
	box-sizing: border-box;
}

.ebm-main {
	background: var(--ebm-bg);
	color: var(--ebm-text);
	font-family: var(--ebm-font);
	font-size: 16px;
	line-height: 1.65;
	min-height: 70vh;
}

.ebm-main a {
	color: inherit;
}


.wp-site-blocks > .ebm-main {
	margin-block-start: 0;
}

.ebm-main .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.ebm-container {
	margin-inline: auto;
	max-width: 1240px;
	padding-inline: clamp(20px, 4vw, 42px);
	width: 100%;
}

.ebm-kicker {
	color: var(--ebm-accent);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.ebm-archive-hero {
	background:
		radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--ebm-accent) 18%, transparent), transparent 34%),
		linear-gradient(180deg, #0b1a2d 0%, var(--ebm-bg) 100%);
	border-bottom: 1px solid var(--ebm-line);
	padding: clamp(82px, 11vw, 150px) 0 clamp(58px, 7vw, 90px);
}

.ebm-archive-hero__inner {
	align-items: end;
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
}

.ebm-archive-intro h1,
.ebm-single-hero h1,
.ebm-section-heading h2 {
	color: var(--ebm-text);
	font-weight: 850;
	letter-spacing: -0.045em;
	line-height: 1.03;
	margin: 0;
}

.ebm-archive-intro h1 {
	font-size: clamp(2.5rem, 6vw, 5.4rem);
	max-width: 850px;
}

.ebm-archive-description {
	color: var(--ebm-muted);
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	margin: 24px 0 0;
	max-width: 760px;
}

.ebm-archive-search .search-form {
	display: flex;
	gap: 10px;
	margin: 0;
}

.ebm-archive-search .search-field {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--ebm-line);
	border-radius: 999px;
	color: var(--ebm-text);
	min-height: 48px;
	min-width: 0;
	padding: 0 18px;
	width: 100%;
}

.ebm-archive-search .search-field::placeholder {
	color: #8393a8;
}

.ebm-archive-search .search-submit {
	background: var(--ebm-accent);
	border: 0;
	border-radius: 999px;
	color: #04111c;
	cursor: pointer;
	font-weight: 800;
	min-height: 48px;
	padding: 0 20px;
}

.ebm-archive-content,
.ebm-related,
.ebm-comments-section {
	padding: clamp(64px, 8vw, 112px) 0;
}

.ebm-post-grid {
	display: grid;
	gap: clamp(24px, 3vw, 36px);
	grid-template-columns: repeat(var(--ebm-columns), minmax(0, 1fr));
}

.ebm-card {
	background: linear-gradient(155deg, rgba(255, 255, 255, 0.035), transparent 42%), var(--ebm-surface);
	border: 1px solid var(--ebm-line);
	border-radius: var(--ebm-radius);
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ebm-card:hover,
.ebm-card:focus-within {
	border-color: color-mix(in srgb, var(--ebm-accent) 48%, var(--ebm-line));
	box-shadow: var(--ebm-shadow);
	transform: translateY(-6px);
}

.ebm-card__image {
	aspect-ratio: 16 / 10;
	background: var(--ebm-surface-strong);
	display: block;
	overflow: hidden;
	position: relative;
}

.ebm-card__image img {
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
	width: 100%;
}

.ebm-card:hover .ebm-card__image img,
.ebm-card:focus-within .ebm-card__image img {
	transform: scale(1.035);
}

.ebm-card__placeholder {
	align-items: center;
	background: linear-gradient(135deg, var(--ebm-surface-strong), #07111f);
	color: rgba(255, 255, 255, 0.24);
	display: flex;
	height: 100%;
	justify-content: center;
}

.ebm-card__placeholder svg {
	height: 56px;
	width: 56px;
}

.ebm-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(24px, 3vw, 32px);
}

.ebm-taxonomy {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.ebm-taxonomy a {
	background: color-mix(in srgb, var(--ebm-accent) 11%, transparent);
	border: 1px solid color-mix(in srgb, var(--ebm-accent) 28%, transparent);
	border-radius: 999px;
	color: var(--ebm-accent);
	font-size: 0.69rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	padding: 6px 10px;
	text-decoration: none;
	text-transform: uppercase;
}

.ebm-card__title {
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 780;
	letter-spacing: -0.025em;
	line-height: 1.25;
	margin: 0;
}

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

.ebm-card__title a:hover,
.ebm-card__title a:focus-visible,
.ebm-read-more:hover,
.ebm-read-more:focus-visible {
	color: var(--ebm-accent);
}

.ebm-card__excerpt {
	color: var(--ebm-muted);
	margin: 16px 0 28px;
}

.ebm-card__footer {
	align-items: flex-end;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-top: auto;
}

.ebm-meta {
	align-items: center;
	color: #8fa0b4;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.79rem;
	gap: 7px;
}

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

.ebm-read-more {
	align-items: center;
	color: var(--ebm-text);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 800;
	gap: 7px;
	text-decoration: none;
	white-space: nowrap;
}

.ebm-pagination {
	margin-top: clamp(46px, 7vw, 80px);
}

.ebm-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ebm-pagination .page-numbers {
	align-items: center;
	background: var(--ebm-surface);
	border: 1px solid var(--ebm-line);
	border-radius: 12px;
	color: var(--ebm-text);
	display: inline-flex;
	font-size: 0.88rem;
	font-weight: 750;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 8px 14px;
	text-decoration: none;
}

.ebm-pagination .current,
.ebm-pagination a:hover,
.ebm-pagination a:focus-visible {
	background: var(--ebm-accent);
	border-color: var(--ebm-accent);
	color: #04111c;
}

.ebm-empty-state {
	background: var(--ebm-surface);
	border: 1px solid var(--ebm-line);
	border-radius: var(--ebm-radius);
	padding: clamp(42px, 7vw, 86px);
	text-align: center;
}

.ebm-empty-state h2 {
	font-size: clamp(1.8rem, 4vw, 3rem);
	margin: 0 0 12px;
}

.ebm-empty-state p {
	color: var(--ebm-muted);
	margin: 0 0 28px;
}

.ebm-button {
	background: var(--ebm-accent);
	border: 1px solid var(--ebm-accent);
	border-radius: 999px;
	color: #04111c !important;
	display: inline-flex;
	font-size: 0.85rem;
	font-weight: 850;
	justify-content: center;
	padding: 12px 19px;
	text-decoration: none;
}

.ebm-button--secondary {
	background: transparent;
	color: var(--ebm-text) !important;
}

.ebm-single-hero {
	align-items: end;
	background: linear-gradient(145deg, #10243c, #07111f);
	display: flex;
	isolation: isolate;
	min-height: clamp(560px, 72vh, 790px);
	overflow: hidden;
	padding: 140px 0 78px;
	position: relative;
}

.ebm-single-hero__media,
.ebm-single-hero__overlay {
	inset: 0;
	position: absolute;
}

.ebm-single-hero__media {
	z-index: -3;
}

.ebm-single-hero__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ebm-single-hero__overlay {
	background:
		linear-gradient(180deg, rgba(3, 9, 16, 0.25) 0%, rgba(3, 9, 16, 0.93) 91%),
		linear-gradient(90deg, rgba(5, 13, 23, 0.78) 0%, rgba(5, 13, 23, 0.15) 72%);
	z-index: -2;
}

.ebm-single-hero:not(.has-image) .ebm-single-hero__overlay {
	background: radial-gradient(circle at 75% 20%, color-mix(in srgb, var(--ebm-accent) 18%, transparent), transparent 38%);
}

.ebm-single-hero__inner {
	width: 100%;
}

.ebm-breadcrumbs {
	align-items: center;
	color: #b8c4d2;
	display: flex;
	font-size: 0.84rem;
	gap: 10px;
	margin-bottom: 26px;
}

.ebm-breadcrumbs a {
	text-decoration: none;
}

.ebm-single-hero h1 {
	font-size: clamp(2.65rem, 6vw, 6rem);
	max-width: 1050px;
}

.ebm-single-deck {
	color: #ccd6e1;
	font-size: clamp(1.1rem, 2vw, 1.38rem);
	margin: 26px 0;
	max-width: 850px;
}

.ebm-single-hero .ebm-meta {
	color: #c4cfdb;
	font-size: 0.88rem;
	margin-top: 24px;
}

.ebm-single-layout {
	display: grid;
	gap: clamp(38px, 6vw, 92px);
	grid-template-columns: minmax(0, 790px) minmax(240px, 310px);
	justify-content: space-between;
	padding-bottom: clamp(74px, 10vw, 140px);
	padding-top: clamp(64px, 9vw, 120px);
}

.ebm-entry-content {
	color: #c6d1de;
	font-size: clamp(1.04rem, 1.5vw, 1.16rem);
	line-height: 1.85;
}

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

.ebm-entry-content .ebm-lead,
.ebm-entry-content > p:first-child {
	color: #edf5fc;
	font-size: 1.24em;
	line-height: 1.7;
}

.ebm-entry-content h2,
.ebm-entry-content h3,
.ebm-entry-content h4 {
	color: var(--ebm-text);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.2;
}

.ebm-entry-content h2 {
	font-size: clamp(1.8rem, 3.2vw, 2.65rem);
	margin: 2.2em 0 0.65em;
}

.ebm-entry-content h3 {
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	margin: 1.8em 0 0.6em;
}

.ebm-entry-content p,
.ebm-entry-content ul,
.ebm-entry-content ol,
.ebm-entry-content blockquote,
.ebm-entry-content figure,
.ebm-entry-content table,
.ebm-entry-content .ebm-callout {
	margin-bottom: 1.5em;
}

.ebm-entry-content ul,
.ebm-entry-content ol {
	padding-left: 1.3em;
}

.ebm-entry-content li + li {
	margin-top: 0.6em;
}

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

.ebm-entry-content img {
	border-radius: 18px;
	height: auto;
	max-width: 100%;
}

.ebm-entry-content blockquote {
	border-left: 3px solid var(--ebm-accent);
	color: var(--ebm-text);
	font-size: 1.25em;
	font-weight: 650;
	margin-left: 0;
	padding: 4px 0 4px 28px;
}

.ebm-entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.ebm-callout {
	background: color-mix(in srgb, var(--ebm-accent) 8%, var(--ebm-surface));
	border: 1px solid color-mix(in srgb, var(--ebm-accent) 26%, var(--ebm-line));
	border-radius: 16px;
	padding: 22px 24px;
}

.ebm-entry-content table {
	border-collapse: collapse;
	width: 100%;
}

.ebm-entry-content th,
.ebm-entry-content td {
	border: 1px solid var(--ebm-line);
	padding: 12px;
	text-align: left;
}

.ebm-entry-content th {
	background: var(--ebm-surface);
	color: var(--ebm-text);
}

.ebm-tag-list {
	align-items: center;
	border-bottom: 1px solid var(--ebm-line);
	border-top: 1px solid var(--ebm-line);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 54px;
	padding: 24px 0;
}

.ebm-tag-list > span {
	color: var(--ebm-text);
	font-size: 0.77rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	margin-right: 8px;
	text-transform: uppercase;
}

.ebm-tag-list a {
	color: var(--ebm-muted);
	font-size: 0.86rem;
	text-decoration: none;
}

.ebm-author-box {
	align-items: center;
	background: var(--ebm-surface);
	border: 1px solid var(--ebm-line);
	border-radius: var(--ebm-radius);
	display: grid;
	gap: 22px;
	grid-template-columns: 88px 1fr;
	margin-top: 46px;
	padding: 28px;
}

.ebm-author-box__avatar {
	border-radius: 50%;
	display: block;
}

.ebm-author-box__label {
	color: var(--ebm-accent);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	margin: 0 0 4px;
	text-transform: uppercase;
}

.ebm-author-box h2 {
	font-size: 1.3rem;
	margin: 0 0 6px;
}

.ebm-author-box h2 a {
	text-decoration: none;
}

.ebm-author-box p:last-child {
	color: var(--ebm-muted);
	margin: 0;
}

.ebm-post-navigation {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr 1fr;
	margin-top: 46px;
}

.ebm-post-navigation__item {
	border-top: 1px solid var(--ebm-line);
	padding-top: 22px;
}

.ebm-post-navigation__item > span {
	color: #8293a7;
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-bottom: 9px;
	text-transform: uppercase;
}

.ebm-post-navigation__item a {
	color: var(--ebm-text);
	font-weight: 750;
	line-height: 1.35;
	text-decoration: none;
}

.ebm-post-navigation__next {
	text-align: right;
}

.ebm-single-sidebar {
	min-width: 0;
}

.ebm-sticky-card {
	background: linear-gradient(145deg, color-mix(in srgb, var(--ebm-accent) 7%, var(--ebm-surface)), var(--ebm-surface));
	border: 1px solid var(--ebm-line);
	border-radius: var(--ebm-radius);
	padding: 26px;
	position: sticky;
	top: 32px;
}

body.admin-bar .ebm-sticky-card {
	top: 64px;
}

.ebm-sticky-card__eyebrow {
	color: var(--ebm-accent);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.11em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.ebm-sticky-card > p:not(.ebm-sticky-card__eyebrow) {
	color: var(--ebm-muted);
	font-size: 0.93rem;
	margin: 0 0 20px;
}

.ebm-related {
	background: var(--ebm-bg-soft);
	border-top: 1px solid var(--ebm-line);
}

.ebm-section-heading {
	margin-bottom: 40px;
}

.ebm-section-heading h2 {
	font-size: clamp(2rem, 4vw, 3.7rem);
}

.ebm-post-grid--related {
	--ebm-columns: 3;
}

.ebm-comments-section {
	border-top: 1px solid var(--ebm-line);
}

.ebm-comments-section__inner {
	max-width: 920px;
}

.ebm-comments-section .comments-title,
.ebm-comments-section .comment-reply-title {
	color: var(--ebm-text);
}

.ebm-comments-section .comment-list {
	list-style: none;
	padding: 0;
}

.ebm-comments-section .comment-body {
	border-bottom: 1px solid var(--ebm-line);
	padding: 26px 0;
}

.ebm-comments-section input:not([type="submit"]),
.ebm-comments-section textarea {
	background: var(--ebm-surface);
	border: 1px solid var(--ebm-line);
	border-radius: 10px;
	color: var(--ebm-text);
	padding: 12px;
	width: 100%;
}

.ebm-comments-section input[type="submit"] {
	background: var(--ebm-accent);
	border: 0;
	border-radius: 999px;
	color: #04111c;
	cursor: pointer;
	font-weight: 800;
	padding: 12px 20px;
}

.ebm-main :focus-visible {
	outline: 3px solid color-mix(in srgb, var(--ebm-accent) 80%, white);
	outline-offset: 3px;
}

@media (max-width: 1100px) {
	.ebm-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ebm-single-layout {
		grid-template-columns: minmax(0, 1fr) 260px;
	}
}

@media (max-width: 820px) {
	.ebm-archive-hero__inner,
	.ebm-single-layout {
		grid-template-columns: 1fr;
	}

	.ebm-archive-search {
		max-width: 520px;
	}

	.ebm-single-sidebar {
		display: none;
	}

	.ebm-single-hero {
		min-height: 620px;
	}
}

@media (max-width: 620px) {
	.ebm-post-grid,
	.ebm-post-grid--related,
	.ebm-post-navigation {
		grid-template-columns: 1fr;
	}

	.ebm-card__footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.ebm-archive-search .search-form {
		align-items: stretch;
		flex-direction: column;
	}

	.ebm-author-box {
		align-items: start;
		grid-template-columns: 62px 1fr;
		padding: 22px;
	}

	.ebm-author-box__avatar {
		height: 62px;
		width: 62px;
	}

	.ebm-post-navigation__next {
		text-align: left;
	}

	.ebm-single-hero {
		min-height: 560px;
		padding-bottom: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ebm-card,
	.ebm-card__image img {
		transition: none;
	}
}
