/**
 * Editorial Blocks — shared design system
 * Loaded on both the front end and inside the block editor.
 */

:root {
	--eb-ink: #14213d;
	--eb-ink-soft: #52607a;
	--eb-ink-rgb: 20, 33, 61;
	--eb-bg-soft: #f8f7f4;
	--eb-border: #e6e2d8;
	--eb-card-bg: #fff;
	--eb-radius: 14px;
	--eb-radius-sm: 8px;
	--eb-shadow: 0 4px 24px rgba(var(--eb-ink-rgb), 0.07);
	--eb-teal: #0d9488;
	--eb-teal-dark: #0f766e;
	--eb-teal-soft: #f0fdfa;
	--eb-teal-rgb: 13, 148, 136;
	--eb-teal-glow: #5eead4;
	--eb-teal-glow-rgb: 94, 234, 212;
	--eb-amber: #b45309;
	--eb-amber-soft: #fffbeb;
	--eb-amber-rgb: 180, 83, 9;
	--eb-rose: #be123c;
	--eb-rose-soft: #fff1f2;
	--eb-rose-rgb: 190, 18, 60;
	--eb-blue: #1d4ed8;
	--eb-blue-soft: #eff6ff;
	--eb-blue-rgb: 29, 78, 216;
	--eb-violet: #6d28d9;
	--eb-violet-soft: #f5f3ff;
	--eb-violet-rgb: 109, 40, 217;
	/* The dark "phone screen" card behind USSD Code and Transaction Steps —
	   intentionally dark regardless of light/dark mode, but still its own
	   configurable palette rather than a fixed navy. */
	--eb-code-bg-start: #0f172a;
	--eb-code-bg-end: #1e293b;
	--eb-code-text: #cbd5e1;
	--eb-code-text-soft: #94a3b8;
}

/* ---------------------------------------------------------------- */
/* USSD Code block                                                   */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-ussd-code {
	margin: 2em 0;
}

.eb-ussd-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 28px 30px;
	background: linear-gradient(135deg, var(--eb-code-bg-start) 0%, var(--eb-code-bg-end) 100%);
	border-radius: var(--eb-radius);
	box-shadow: var(--eb-shadow);
	overflow: hidden;
	color: #fff;
}

.eb-ussd-card::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(var(--eb-teal-glow-rgb), 0.22) 0%, rgba(var(--eb-teal-glow-rgb), 0) 70%);
	pointer-events: none;
}

.eb-ussd-icon {
	flex-shrink: 0;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(var(--eb-teal-glow-rgb), 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--eb-teal-glow);
}

.eb-ussd-icon svg {
	width: 26px;
	height: 26px;
}

.eb-ussd-content {
	flex: 1;
	min-width: 0;
}

.eb-ussd-label {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 11px;
	font-weight: 600;
	color: var(--eb-code-text-soft);
	margin: 0 0 6px;
}

.eb-ussd-code {
	font-family: ui-monospace, "SF Mono", "Cascadia Code", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--eb-teal-glow);
	text-shadow: 0 0 26px rgba(var(--eb-teal-glow-rgb), 0.35);
	line-height: 1.15;
	word-break: break-all;
}

.eb-ussd-description {
	margin: 8px 0 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--eb-code-text);
}

.eb-ussd-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.eb-ussd-provider {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--eb-code-text-soft);
	border: 1px solid rgba(255, 255, 255, 0.14);
	padding: 3px 11px;
	border-radius: 999px;
}

.eb-ussd-copy {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--eb-code-text);
	font-size: 12.5px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.eb-ussd-copy:hover {
	background: rgba(var(--eb-teal-glow-rgb), 0.18);
	color: var(--eb-teal-glow);
}

.eb-ussd-copy:active {
	transform: scale(0.96);
}

.eb-ussd-copy svg {
	width: 14px;
	height: 14px;
}

/* ---------------------------------------------------------------- */
/* Modern Quote block                                                */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-modern-quote {
	--eb-quote-accent: var(--eb-teal);
	--eb-quote-accent-rgb: var(--eb-teal-rgb);
	margin: 2.4em 0;
}

.eb-quote-inner {
	position: relative;
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius);
	padding: 28px 30px;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.eb-quote-inner:hover {
	box-shadow: var(--eb-shadow);
	transform: translateY(-1px);
}

/* A large, faint decorative quotation mark behind the text — pure depth,
   never competing with the actual words for attention. */
.eb-quote-inner::after {
	content: "\201C";
	position: absolute;
	top: -0.32em;
	right: 0.1em;
	font-family: Georgia, "Iowan Old Style", serif;
	font-size: 156px;
	line-height: 1;
	color: var(--eb-quote-accent);
	opacity: 0.07;
	pointer-events: none;
	z-index: 0;
}

/* The stamped badge was removed from the block. Posts saved before that still
   contain its markup until they're next edited and re-saved, so hide it. */
.eb-quote-badge {
	display: none;
}

.eb-quote-content {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.eb-quote-eyebrow {
	display: flex;
	align-items: center;
	gap: 7px;
	/* Same system sans-serif as the quote text itself — this label sits
	   right above it, so a monospace/code-style typeface here (the actual
	   source of the "Consolas" seen before) reads as an unrelated font
	   change rather than a deliberate label style. */
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 10.5px;
	font-weight: 700;
	color: var(--eb-quote-accent);
	margin: 0 0 12px;
}

.eb-quote-eyebrow [contenteditable] {
	display: inline-block;
	min-width: 1ch;
}

.eb-quote-eyebrow-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--eb-quote-accent);
	flex-shrink: 0;
}

.eb-quote-text {
	/* A plain system sans-serif — not "inherit", which sounds right in theory
	   but in practice picks up whatever font a wrapping Group/Column block
	   happens to have (a theme's code-block styling, a manually-set
	   typography override, etc.) and can silently turn the quote into
	   Consolas or worse. This matches the sans-serif body copy used
	   elsewhere in the plugin (Callout, Fact Box) so the quote reads like
	   normal prose instead of a mismatched decorative serif. The badge
	   monogram and decorative background quotation mark keep their own
	   serif "stamp" styling — those are ornamental, not copy. */
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-style: italic;
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.58;
	color: var(--eb-ink);
	margin: 0;
}

.eb-quote-rule {
	height: 2px;
	width: 46px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--eb-quote-accent) 0%, rgba(var(--eb-quote-accent-rgb), 0.2) 100%);
	margin: 18px 0 12px;
}

.eb-quote-citation-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.eb-quote-citation {
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--eb-ink);
}

.eb-quote-role {
	font-size: 12.5px;
	color: var(--eb-ink-soft);
}

.eb-quote-sep {
	color: var(--eb-border);
	font-size: 12px;
}

.wp-block-editorial-blocks-modern-quote.is-style-teal { --eb-quote-accent: var(--eb-teal); --eb-quote-accent-rgb: var(--eb-teal-rgb); }
.wp-block-editorial-blocks-modern-quote.is-style-amber { --eb-quote-accent: var(--eb-amber); --eb-quote-accent-rgb: var(--eb-amber-rgb); }
.wp-block-editorial-blocks-modern-quote.is-style-rose { --eb-quote-accent: var(--eb-rose); --eb-quote-accent-rgb: var(--eb-rose-rgb); }
.wp-block-editorial-blocks-modern-quote.is-style-ink { --eb-quote-accent: var(--eb-ink); --eb-quote-accent-rgb: 20, 33, 61; }

@media ( prefers-reduced-motion: reduce ) {
	.eb-quote-inner {
		transition: none;
	}
	.eb-quote-inner:hover {
		transform: none;
	}
}

/* ---------------------------------------------------------------- */
/* Callout block                                                     */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-callout {
	margin: 2em 0;
}

.eb-callout {
	--eb-callout-accent: var(--eb-teal);
	--eb-callout-rgb: var(--eb-teal-rgb);
	position: relative;
	display: flex;
	gap: 16px;
	padding: 22px 24px;
	background:
		linear-gradient(135deg, rgba(var(--eb-callout-rgb), 0.08) 0%, rgba(var(--eb-callout-rgb), 0.015) 60%),
		var(--eb-card-bg);
	border: 1px solid rgba(var(--eb-callout-rgb), 0.18);
	border-radius: var(--eb-radius);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.eb-callout:hover {
	box-shadow: var(--eb-shadow);
	transform: translateY(-1px);
}

.eb-callout-icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--eb-callout-accent) 0%, rgba(var(--eb-callout-rgb), 0.8) 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 14px rgba(var(--eb-callout-rgb), 0.3);
}

.eb-callout-icon svg {
	width: 18px;
	height: 18px;
}

.eb-callout-body {
	flex: 1;
	min-width: 0;
}

/* The "kicker" names what kind of note this is (Info, Warning, …) — the
   qualifier that gives the text its meaning at a glance, before reading a word. */
.eb-callout-kicker {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--eb-callout-accent);
	margin: 0 0 5px;
}

.eb-callout-title {
	font-weight: 700;
	font-size: 15.5px;
	color: var(--eb-ink);
	margin: 0 0 4px;
}

.eb-callout-text {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--eb-ink-soft);
	margin: 0;
}

.eb-callout-text p {
	margin: 0 0 0.6em;
}
.eb-callout-text p:last-child {
	margin-bottom: 0;
}

.eb-callout[data-type="info"] { --eb-callout-accent: var(--eb-blue); --eb-callout-rgb: var(--eb-blue-rgb); }
.eb-callout[data-type="success"] { --eb-callout-accent: var(--eb-teal); --eb-callout-rgb: var(--eb-teal-rgb); }
.eb-callout[data-type="warning"] { --eb-callout-accent: var(--eb-amber); --eb-callout-rgb: var(--eb-amber-rgb); }
.eb-callout[data-type="tip"] { --eb-callout-accent: var(--eb-violet); --eb-callout-rgb: var(--eb-violet-rgb); }

@media ( prefers-reduced-motion: reduce ) {
	.eb-callout {
		transition: none;
	}
	.eb-callout:hover {
		transform: none;
	}
}

/* ---------------------------------------------------------------- */
/* Key Stat block                                                    */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-key-stat {
	margin: 2em 0;
}

.eb-stat {
	display: inline-block;
	min-width: min(200px, 100%);
	max-width: 100%;
	padding: 24px 26px;
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius);
	box-sizing: border-box;
}

.eb-stat-number {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: clamp(38px, 6vw, 58px);
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--eb-ink) 0%, var(--eb-teal) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin: 0;
}

.eb-stat-label {
	margin: 12px 0 0;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 12px;
	font-weight: 700;
	color: var(--eb-ink);
}

.eb-stat-description {
	margin: 6px 0 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--eb-ink-soft);
}

/* ---------------------------------------------------------------- */
/* Highlight text format                                             */
/* ---------------------------------------------------------------- */

mark.eb-highlight {
	background: transparent;
	background-image: linear-gradient(180deg, transparent 58%, var(--eb-mark-color, rgba(var(--eb-teal-rgb), 0.32)) 58%);
	color: inherit;
	padding: 0 1px;
	border-radius: 2px;
}

mark.eb-highlight-teal { --eb-mark-color: rgba(var(--eb-teal-rgb), 0.32); }
mark.eb-highlight-amber { --eb-mark-color: rgba(var(--eb-amber-rgb), 0.32); }
mark.eb-highlight-rose { --eb-mark-color: rgba(var(--eb-rose-rgb), 0.28); }

/* ---------------------------------------------------------------- */
/* Fact Box block                                                    */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-fact-box {
	margin: 2em 0;
}

.eb-fact {
	position: relative;
	display: flex;
	gap: 18px;
	padding: 24px 26px 24px 30px;
	background: linear-gradient(135deg, rgba(var(--eb-teal-rgb), 0.06) 0%, rgba(var(--eb-teal-rgb), 0.015) 65%), var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.eb-fact:hover {
	box-shadow: var(--eb-shadow);
	transform: translateY(-1px);
}

/* A soft accent rail replaces the old plain border for a more considered,
   less "boxed-in" feel while still reading instantly as a highlighted insight. */
.eb-fact::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	bottom: 14px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--eb-teal) 0%, rgba(var(--eb-teal-rgb), 0.25) 100%);
}

.eb-fact-badge {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--eb-ink) 0%, var(--eb-teal) 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(-4deg);
	box-shadow: 0 8px 16px rgba(var(--eb-teal-rgb), 0.28);
}

.eb-fact-badge svg {
	width: 20px;
	height: 20px;
	transform: rotate(4deg);
}

.eb-fact-body {
	flex: 1;
	min-width: 0;
}

.eb-fact-eyebrow {
	display: flex;
	align-items: center;
	gap: 7px;
	/* Same system sans-serif as the fact text itself — see the note on
	   .eb-quote-eyebrow for why this used to be a stray monospace font. */
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 10.5px;
	font-weight: 700;
	color: var(--eb-teal-dark);
	margin: 0 0 9px;
}

.eb-fact-eyebrow-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--eb-teal);
	flex-shrink: 0;
}

.eb-fact-text {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.55;
	color: var(--eb-ink);
	margin: 0;
}

.eb-fact-source {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	margin-top: 12px;
	padding: 4px 12px 4px 5px;
	border-radius: 999px;
	background: rgba(var(--eb-teal-rgb), 0.08);
	font-size: 12px;
	color: var(--eb-ink-soft);
}

.eb-fact-source svg {
	width: 12px;
	height: 12px;
	color: var(--eb-teal-dark);
	flex-shrink: 0;
}

.eb-fact-source a {
	color: var(--eb-teal-dark);
	text-decoration: none;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.eb-fact-source a:hover {
	text-decoration: underline;
}

@media ( prefers-reduced-motion: reduce ) {
	.eb-fact {
		transition: none;
	}
	.eb-fact:hover {
		transform: none;
	}
}

/* ---------------------------------------------------------------- */
/* Transaction Steps block                                           */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-transaction-steps {
	margin: 2em 0;
}

.eb-txn-card {
	background: linear-gradient(160deg, var(--eb-code-bg-start) 0%, var(--eb-code-bg-end) 100%);
	border-radius: 14px;
	padding: 26px 28px;
	color: #fff;
	box-shadow: var(--eb-shadow);
}

.eb-txn-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eb-txn-title {
	font-weight: 700;
	font-size: 15px;
}

.eb-txn-code {
	font-family: ui-monospace, "SF Mono", Consolas, monospace;
	font-size: 12.5px;
	color: var(--eb-teal-glow);
	background: rgba(var(--eb-teal-glow-rgb), 0.12);
	border: 1px solid rgba(var(--eb-teal-glow-rgb), 0.3);
	padding: 3px 10px;
	border-radius: 999px;
}

.eb-txn-list {
	position: relative;
	margin-top: 20px;
}

.eb-txn-list::before {
	content: "";
	position: absolute;
	left: 13px;
	top: 14px;
	bottom: 14px;
	width: 1px;
	background: rgba(255, 255, 255, 0.14);
}

.eb-txn-step {
	position: relative;
	display: grid;
	grid-template-columns: 28px 1fr;
	column-gap: 14px;
	padding-bottom: 22px;
}

.eb-txn-step:last-child {
	padding-bottom: 0;
}

.eb-txn-node {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(var(--eb-teal-glow-rgb), 0.15);
	border: 1px solid rgba(var(--eb-teal-glow-rgb), 0.4);
	color: var(--eb-teal-glow);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: ui-monospace, "SF Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 700;
	position: relative;
	z-index: 1;
}

.eb-txn-body {
	padding-top: 3px;
	min-width: 0;
}

.eb-txn-instruction {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--eb-code-text);
}

.eb-txn-input-chip {
	display: inline-flex;
	margin-top: 8px;
	padding: 3px 10px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 6px;
	font-family: ui-monospace, "SF Mono", Consolas, monospace;
	font-size: 12px;
	letter-spacing: 0.02em;
	color: var(--eb-teal-glow);
}

/* ---------------------------------------------------------------- */
/* Timeline block (ruler / measured-time concept)                    */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-timeline {
	margin: 2em 0;
}

.eb-timeline {
	/* The date column fits 19 monospace characters on one line (enough for a
	   full date such as "September 30, 2026") before wrapping onto the next. */
	--eb-tl-date-w: 152px;
	position: relative;
}

.eb-timeline::before {
	content: "";
	position: absolute;
	left: calc(var(--eb-tl-date-w) + 24px);
	top: 6px;
	bottom: 6px;
	width: 1px;
	background: var(--eb-border);
}

.eb-timeline-event {
	position: relative;
	display: grid;
	grid-template-columns: var(--eb-tl-date-w) 20px 1fr;
	column-gap: 14px;
	padding-bottom: 30px;
}

.eb-timeline-event:last-child {
	padding-bottom: 0;
}

.eb-timeline-date {
	font-family: ui-monospace, "SF Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--eb-ink-soft);
	text-align: right;
	padding-top: 3px;
	line-height: 1.4;
	min-width: 0;
	overflow-wrap: anywhere;
}

.eb-timeline-marker {
	position: relative;
	display: flex;
	justify-content: center;
}

.eb-timeline-tick {
	position: absolute;
	left: -9px;
	top: 9px;
	width: 9px;
	height: 1px;
	background: var(--eb-border);
}

.eb-timeline-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--eb-teal);
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--eb-teal);
	margin-top: 5px;
	position: relative;
	z-index: 1;
}

.eb-timeline-content {
	padding-top: 1px;
	min-width: 0;
}

.eb-timeline-title {
	font-weight: 700;
	font-size: 15px;
	color: var(--eb-ink);
	margin-bottom: 4px;
}

.eb-timeline-description {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--eb-ink-soft);
}

/* Narrow screens: a 19-character date column would squeeze the text, so the
   date sits above each event instead, with the ruler on the left. */
@media (max-width: 520px) {
	.eb-timeline::before {
		left: 10px;
	}

	.eb-timeline-event {
		grid-template-columns: 20px 1fr;
		column-gap: 12px;
	}

	.eb-timeline-date {
		grid-column: 2;
		grid-row: 1;
		text-align: left;
		padding-top: 0;
		margin-bottom: 4px;
	}

	.eb-timeline-marker {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.eb-timeline-tick {
		display: none;
	}

	.eb-timeline-content {
		grid-column: 2;
		grid-row: 2;
	}
}

/* ---------------------------------------------------------------- */
/* Image Comparison block                                            */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-image-compare {
	margin: 2em 0;
}

.eb-compare {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 12px;
	overflow: hidden;
	background: var(--eb-bg-soft);
}

.eb-compare-after,
.eb-compare-before {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eb-compare-before {
	clip-path: inset( 0 calc( 100% - var( --eb-pos, 50% ) ) 0 0 );
}

.eb-compare-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var( --eb-pos, 50% );
	width: 2px;
	background: #fff;
	transform: translateX( -50% );
	pointer-events: none;
	box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.08 );
}

.eb-compare-handle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	transform: translate( -50%, -50% );
	box-shadow: 0 4px 14px rgba(var(--eb-ink-rgb), 0.25);
}

.eb-compare-handle::before {
	content: "\2194";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
	z-index: 1;
	font-size: 14px;
	color: var(--eb-ink);
}

.eb-compare-label {
	position: absolute;
	top: 14px;
	font-family: ui-monospace, "SF Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(var(--eb-ink-rgb), 0.65);
	padding: 4px 10px;
	border-radius: 999px;
	pointer-events: none;
}

.eb-compare-label.is-before { left: 14px; }
.eb-compare-label.is-after { right: 14px; }

.eb-compare-range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	appearance: none;
	-webkit-appearance: none;
}

.eb-compare-kbd-hint {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	font-family: ui-monospace, "SF Mono", Consolas, monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	color: #fff;
	background: rgba(var(--eb-ink-rgb), 0.65);
	padding: 4px 10px;
	border-radius: 999px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.eb-compare-range:focus-visible ~ .eb-compare-kbd-hint,
.eb-compare:hover .eb-compare-kbd-hint {
	opacity: 1;
}

.eb-compare-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 60px 20px;
	border: 1.5px dashed var(--eb-border);
	border-radius: 12px;
	color: var(--eb-ink-soft);
	text-align: center;
}

.eb-compare-placeholder svg {
	width: 32px;
	height: 32px;
	color: var(--eb-teal);
}

.eb-compare-placeholder p {
	margin: 0;
	font-size: 13.5px;
}

/* ---------------------------------------------------------------- */
/* Smart Table block                                                 */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-smart-table {
	margin: 2em 0;
}

.eb-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--eb-border);
	border-radius: 10px;
}

.eb-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.eb-table thead th {
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 11px;
	font-weight: 700;
	color: var(--eb-ink-soft);
	background: var(--eb-bg-soft);
	padding: 12px 16px;
	border-bottom: 2px solid var(--eb-ink);
	position: relative;
}

.eb-table[data-sortable="true"] thead th {
	cursor: pointer;
	user-select: none;
	transition: color 0.15s ease;
}

.eb-table[data-sortable="true"] thead th:hover {
	color: var(--eb-ink);
}

.eb-table[data-sortable="true"] thead th::after {
	content: "";
	display: inline-block;
	margin-left: 6px;
	width: 0;
	height: 0;
	border-left: 3.5px solid transparent;
	border-right: 3.5px solid transparent;
	vertical-align: middle;
	opacity: 0.35;
	border-bottom: 4px solid currentColor;
}

.eb-table[data-sortable="true"] thead th[aria-sort="descending"]::after {
	border-bottom: none;
	border-top: 4px solid currentColor;
	opacity: 1;
}

.eb-table[data-sortable="true"] thead th[aria-sort="ascending"]::after {
	opacity: 1;
}

.eb-table tbody td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--eb-border);
	color: var(--eb-ink);
}

.eb-table tbody tr:last-child td {
	border-bottom: none;
}

.eb-table tbody tr.is-emphasized {
	background: var(--eb-teal-soft);
}

.eb-table tbody tr.is-emphasized td {
	font-weight: 700;
	color: var(--eb-teal-dark);
	box-shadow: inset 3px 0 0 var(--eb-teal);
}

.eb-table tbody td:first-child {
	font-weight: 600;
}

/* ---------------------------------------------------------------- */
/* Definition block                                                  */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-definition {
	margin: 2em 0;
}

.eb-definition {
	padding: 24px 26px;
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: 10px;
}

.eb-definition-head {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--eb-border);
}

.eb-definition-term {
	font-family: Georgia, "Iowan Old Style", serif;
	font-weight: 700;
	font-size: 22px;
	color: var(--eb-ink);
}

.eb-definition-pron {
	font-family: ui-monospace, "SF Mono", Consolas, monospace;
	font-size: 12.5px;
	color: var(--eb-ink-soft);
}

.eb-definition-pos {
	font-style: italic;
	font-size: 12.5px;
	color: var(--eb-teal-dark);
}

.eb-definition-body {
	display: flex;
	gap: 10px;
	align-items: baseline;
	font-size: 15px;
	line-height: 1.6;
	color: var(--eb-ink);
}

.eb-definition-text {
	flex: 1;
	min-width: 0;
}

.eb-definition-index {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(var(--eb-teal-rgb), 0.16);
	color: var(--eb-teal-dark);
	font-size: 10.5px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transform: translateY(2px);
}

.eb-definition-example {
	margin-top: 12px;
	padding-left: 14px;
	border-left: 2px solid var(--eb-border);
	font-style: italic;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--eb-ink-soft);
}

/* ---------------------------------------------------------------- */
/* Reference List block                                              */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-reference-list {
	margin: 2em 0;
}

.eb-refs-title {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 11px;
	font-weight: 700;
	color: var(--eb-ink-soft);
	border-bottom: 1px solid var(--eb-border);
	padding-bottom: 8px;
	margin-bottom: 12px;
}

.eb-refs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: eb-refs;
}

.eb-refs-item {
	position: relative;
	padding-left: 32px;
	margin-bottom: 10px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--eb-ink-soft);
	overflow-wrap: anywhere;
}

.eb-refs-item:last-child {
	margin-bottom: 0;
}

.eb-refs-item::before {
	counter-increment: eb-refs;
	content: "[" counter( eb-refs ) "]";
	position: absolute;
	left: 0;
	top: 0;
	font-family: ui-monospace, "SF Mono", Consolas, monospace;
	font-weight: 700;
	font-size: 12px;
	color: var(--eb-teal-dark);
}

.eb-refs-item a {
	color: var(--eb-ink);
	text-decoration: underline;
	text-decoration-color: var(--eb-border);
	text-underline-offset: 2px;
}

.eb-refs-item a:hover {
	text-decoration-color: var(--eb-teal);
}

/* ---------------------------------------------------------------- */
/* Pros & Cons block                                                 */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-pros-cons {
	margin: 2em 0;
}

.eb-proscons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--eb-border);
	border-radius: 12px;
	overflow: hidden;
}

.eb-proscons-col {
	min-width: 0;
	padding: 22px 24px;
}

.eb-proscons-col.is-pros {
	background: var(--eb-teal-soft);
	border-right: 1px solid var(--eb-border);
}

.eb-proscons-col.is-cons {
	background: var(--eb-rose-soft);
}

.eb-proscons-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 14px;
}

.eb-proscons-heading svg {
	width: 16px;
	height: 16px;
}

.is-pros .eb-proscons-heading { color: var(--eb-teal-dark); }
.is-cons .eb-proscons-heading { color: var(--eb-rose); }

.eb-proscons-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eb-proscons-item {
	display: flex;
	gap: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--eb-ink);
}

.eb-proscons-item svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 2px;
}

.is-pros .eb-proscons-item svg { color: var(--eb-teal); }
.is-cons .eb-proscons-item svg { color: var(--eb-rose); }

@media ( max-width: 600px ) {
	.eb-proscons {
		grid-template-columns: 1fr;
	}
	.eb-proscons-col.is-pros {
		border-right: none;
		border-bottom: 1px solid var(--eb-border);
	}
}

/* Small-screen fixes: below this width, a few blocks that work fine as a single
   horizontal row on desktop need a genuinely different arrangement rather than
   just "shrink everything" — shrinking alone still leaves them cramped/illegible. */
@media ( max-width: 480px ) {
	/* USSD Code: icon + code + copy button no longer fit on one line without
	   squeezing the code down to a sliver, so stack them instead. */
	.eb-ussd-card {
		flex-direction: column;
		align-items: flex-start;
		padding: 22px 20px;
		gap: 14px;
	}
	.eb-ussd-copy {
		align-self: flex-start;
	}

	/* Status Tracker: past 3-4 steps, flex-shrinking every step's label to fit
	   becomes unreadable — let the row scroll horizontally instead. */
	.eb-status-steps {
		overflow-x: auto;
		padding-bottom: 6px;
		-webkit-overflow-scrolling: touch;
	}
	.eb-status-step {
		flex: 0 0 auto;
		min-width: 84px;
	}
	.eb-status-step::after {
		width: 84px;
	}

	/* A little breathing room back on the tightest card paddings. */
	.eb-txn-card,
	.eb-definition,
	.eb-fact,
	.eb-callout,
	.eb-reveal-text {
		padding: 18px 20px;
	}
}

/* ---------------------------------------------------------------- */
/* Status Tracker block                                              */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-status-track {
	margin: 2em 0;
}

.eb-status-steps {
	display: flex;
	align-items: flex-start;
}

.eb-status-step {
	flex: 1;
	min-width: 0;
	position: relative;
	text-align: center;
	padding: 0 4px;
}

.eb-status-step::after {
	content: "";
	position: absolute;
	top: 11px;
	left: 50%;
	width: 100%;
	height: 2px;
	background: var(--eb-border);
	z-index: 0;
}

.eb-status-step:last-child::after {
	display: none;
}

.eb-status-step.is-complete::after {
	background: var(--eb-teal);
}

.eb-status-node {
	position: relative;
	z-index: 1;
	width: 24px;
	height: 24px;
	margin: 0 auto 8px;
	border-radius: 50%;
	background: var(--eb-card-bg);
	border: 2px solid var(--eb-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: var(--eb-ink-soft);
}

.eb-status-node svg {
	width: 12px;
	height: 12px;
}

.eb-status-step.is-complete .eb-status-node {
	background: var(--eb-teal);
	border-color: var(--eb-teal);
	color: #fff;
}

.eb-status-step.is-current .eb-status-node {
	border-color: var(--eb-teal);
	color: var(--eb-teal);
	box-shadow: 0 0 0 4px var(--eb-teal-soft);
}

.eb-status-label,
.eb-status-label-field input {
	font-size: 12px;
	font-weight: 600;
	color: var(--eb-ink-soft);
	text-align: center;
}

.eb-status-step.is-complete .eb-status-label,
.eb-status-step.is-current .eb-status-label {
	color: var(--eb-ink);
}

.eb-status-bar-wrap {
	padding: 4px 0;
}

.eb-status-bar-head {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 600;
	color: var(--eb-ink);
	margin-bottom: 8px;
}

.eb-status-bar-track {
	height: 10px;
	border-radius: 999px;
	background: var(--eb-bg-soft);
	border: 1px solid var(--eb-border);
	overflow: hidden;
}

.eb-status-bar-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--eb-teal) 0%, var(--eb-ink) 100%);
	transition: width 0.3s ease;
}

/* ---------------------------------------------------------------- */
/* Reveal block                                                      */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-reveal {
	margin: 2em 0;
}

.eb-reveal {
	position: relative;
	border-radius: var(--eb-radius);
	overflow: hidden;
}

.eb-reveal-content {
	display: block;
}

.eb-reveal-text {
	margin: 0;
	padding: 30px 32px;
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius);
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--eb-ink);
}

.eb-reveal-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--eb-radius);
}

/* The scrim is a <button> so keyboard focus + Enter/Space activation come for free. */
.eb-reveal-scrim {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	color: #fff;
	background: linear-gradient(135deg, rgba(var(--eb-ink-rgb), 0.72) 0%, rgba(var(--eb-teal-rgb), 0.6) 100%);
	-webkit-backdrop-filter: blur(22px) saturate(140%);
	backdrop-filter: blur(22px) saturate(140%);
	border: none;
	border-radius: inherit;
	cursor: pointer;
	font-family: inherit;
	/* Only transform + opacity animate here — both are compositor-only properties,
	   so the reveal stays smooth even on low-powered devices. */
	transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
	transform-origin: 50% 50%;
	will-change: transform, opacity;
}

.eb-reveal-scrim:hover {
	filter: brightness(1.06);
}

.eb-reveal-scrim:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

.eb-reveal-scrim.is-revealing {
	transform: scale(0);
	opacity: 0;
	pointer-events: none;
}

.eb-reveal-scrim.is-done {
	display: none;
}

.eb-reveal-icon svg {
	width: 26px;
	height: 26px;
}

.eb-reveal-prompt {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.02em;
}

.eb-reveal-hint {
	font-size: 12px;
	opacity: 0.82;
}

/* Graceful degradation where backdrop-filter isn't supported: a fully opaque scrim
   still works perfectly well as a spoiler cover, just without the frosted-glass peek. */
@supports not ( ( backdrop-filter: blur( 1px ) ) or ( -webkit-backdrop-filter: blur( 1px ) ) ) {
	.eb-reveal-scrim {
		background: linear-gradient(135deg, rgba(var(--eb-ink-rgb), 0.95) 0%, rgba(var(--eb-teal-rgb), 0.9) 100%);
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.eb-reveal-scrim {
		transition: opacity 0.25s ease;
	}
	.eb-reveal-scrim.is-revealing {
		transform: none;
	}
}

/* ---------------------------------------------------------------- */
/* Category Posts (widget block)                                     */
/* ---------------------------------------------------------------- */

.wp-block-editorial-blocks-category-posts {
	margin: 1.5em 0;
}

.eb-postlist-title {
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--eb-ink);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--eb-ink);
}

.eb-postlist-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Shared thumbnail + monogram fallback */

.eb-postlist-thumb {
	flex-shrink: 0;
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--eb-bg-soft);
}

.eb-postlist-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eb-postlist-monogram {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--eb-ink) 0%, var(--eb-teal) 100%);
	color: #fff;
	font-family: Georgia, "Iowan Old Style", serif;
	font-weight: 700;
	font-size: 20px;
}

/* Shared row (list / thumbnail-row) */

.eb-postlist-item--row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.eb-postlist-meta {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.eb-postlist-link {
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--eb-ink);
	text-decoration: none;
}

.eb-postlist-link:hover {
	color: var(--eb-teal-dark);
	text-decoration: underline;
}

.eb-postlist-date {
	font-size: 11.5px;
	color: var(--eb-ink-soft);
}

.eb-postlist--thumbnail-row .eb-postlist-thumb {
	width: 76px;
	height: 76px;
	border-radius: var(--eb-radius-sm);
}

.eb-postlist--thumbnail-row .eb-postlist-link {
	font-size: 14.5px;
}

/* Ranked (numbered, no images — the lightest-weight option) */

.eb-postlist-item--ranked {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--eb-border);
}

.eb-postlist-item--ranked:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.eb-postlist-rank {
	flex-shrink: 0;
	font-family: Georgia, "Iowan Old Style", serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1;
	color: var(--eb-teal-soft);
	-webkit-text-stroke: 1px var(--eb-teal);
}

/* Cards (image on top, with excerpt) */

.eb-postlist-item--card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--eb-border);
}

.eb-postlist-item--card:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.eb-postlist-card-media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--eb-radius-sm);
	overflow: hidden;
	background: var(--eb-bg-soft);
}

.eb-postlist-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eb-postlist-monogram--card {
	font-size: 34px;
}

.eb-postlist-item--card .eb-postlist-link {
	font-size: 15px;
}

.eb-postlist-excerpt {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--eb-ink-soft);
}

/* Plain rows — used only for the tail list under a "featured" hero */

.eb-postlist-item--plain {
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--eb-border);
}

.eb-postlist-item--plain:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.eb-postlist-item--plain .eb-postlist-link {
	font-size: 13.5px;
}

/* Featured hero */

.eb-postlist-feature {
	display: block;
	position: relative;
	border-radius: var(--eb-radius);
	overflow: hidden;
	margin-bottom: 18px;
	text-decoration: none;
}

.eb-postlist-feature-media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--eb-bg-soft);
}

.eb-postlist-feature-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eb-postlist-monogram--feature {
	font-size: 48px;
}

.eb-postlist-feature-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 34px 16px 14px;
	background: linear-gradient(0deg, rgba(var(--eb-ink-rgb), 0.88) 0%, rgba(var(--eb-ink-rgb), 0) 100%);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.eb-postlist-feature-title {
	color: #fff;
	font-weight: 700;
	font-size: 15.5px;
	line-height: 1.35;
}

.eb-postlist-feature-date {
	color: rgba(255, 255, 255, 0.75);
	font-size: 11.5px;
}

/* "More" link — wrapped in its own centering container, since an inline-flex
   element doesn't respond to margin:auto the way a block-level one does. */

.eb-postlist-more-wrap {
	text-align: center;
	margin-top: 16px;
}

.eb-postlist-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--eb-teal-dark);
	background: rgba(var(--eb-teal-rgb), 0.09);
	border: 1px solid rgba(var(--eb-teal-rgb), 0.18);
	padding: 9px 18px;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.eb-postlist-more svg {
	transition: transform 0.18s ease;
}

.eb-postlist-more:hover {
	color: #fff;
	background: var(--eb-teal);
	border-color: var(--eb-teal);
	box-shadow: 0 6px 16px rgba(var(--eb-teal-rgb), 0.3);
	transform: translateY(-1px);
}

.eb-postlist-more:active {
	transform: translateY(0);
}

.eb-postlist-more:hover svg {
	transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
	.eb-postlist-more {
		transition: none;
	}
	.eb-postlist-more:hover {
		transform: none;
	}
}

/* Whenever a background colour/gradient is chosen via the block's own Color
   panel, give it breathing room and rounded corners automatically — without
   this, a background would butt right up against the text with square corners. */
.eb-postlist.has-background {
	padding: 20px;
	border-radius: var(--eb-radius);
}

/* Ranked — Bold: solid number badges instead of the outlined ghost numeral */

.eb-postlist-item--ranked-bold {
	display: flex;
	align-items: center;
	gap: 14px;
}

.eb-postlist-rank-badge {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--eb-ink) 0%, var(--eb-teal) 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 700;
	font-size: 13px;
}

/* Timeline — reuses the Timeline block's "ruler" idea: dates sit along a line */

.eb-postlist--timeline .eb-postlist-items {
	position: relative;
}

.eb-postlist--timeline .eb-postlist-items::before {
	content: "";
	position: absolute;
	left: 72px;
	top: 4px;
	bottom: 4px;
	width: 1px;
	background: var(--eb-border);
}

.eb-postlist-item--timeline {
	display: grid;
	grid-template-columns: 56px 12px 1fr;
	column-gap: 10px;
	align-items: baseline;
}

.eb-postlist-timeline-date {
	font-family: ui-monospace, "SF Mono", Consolas, monospace;
	font-size: 11px;
	color: var(--eb-ink-soft);
}

.eb-postlist-timeline-tick {
	position: relative;
	z-index: 1;
	justify-self: center;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--eb-teal);
	box-shadow: 0 0 0 3px #fff;
}

.eb-postlist-item--timeline .eb-postlist-link {
	font-size: 13.5px;
}

/* Grid — adaptive thumbnail tiles; collapses to one column in a narrow sidebar
   and fans out to more columns automatically in a wider widget area. */

.eb-postlist--grid .eb-postlist-items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
	gap: 14px;
}

.eb-postlist-item--grid {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.eb-postlist-grid-media {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: var(--eb-radius-sm);
	overflow: hidden;
	background: var(--eb-bg-soft);
}

.eb-postlist-grid-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eb-postlist-monogram--grid {
	font-size: 22px;
}

.eb-postlist-item--grid .eb-postlist-link {
	font-size: 12.5px;
	line-height: 1.35;
}

/* ---------------------------------------------------------------- */
/* Last Paragraph — sitewide closing-note styling for the final      */
/* paragraph of every post's content. Off by default; switched on    */
/* and coloured from Settings → Editorial Blocks → Last paragraph     */
/* styling. Variables below are safe fallbacks; the real values are  */
/* injected inline once the feature is enabled.                      */
/* ---------------------------------------------------------------- */

.eb-last-paragraph {
	--eb-lp-bg: var(--eb-teal-soft);
	--eb-lp-color: var(--eb-ink);
	--eb-lp-link: var(--eb-teal);
	--eb-lp-border: transparent;
	--eb-lp-radius-tl: var(--eb-radius);
	--eb-lp-radius-tr: var(--eb-radius);
	--eb-lp-radius-br: var(--eb-radius);
	--eb-lp-radius-bl: var(--eb-radius);
	--eb-lp-padding: 22px;
	display: block;
	background: var(--eb-lp-bg);
	color: var(--eb-lp-color);
	border: 1px solid var(--eb-lp-border);
	border-top-left-radius: var(--eb-lp-radius-tl);
	border-top-right-radius: var(--eb-lp-radius-tr);
	border-bottom-right-radius: var(--eb-lp-radius-br);
	border-bottom-left-radius: var(--eb-lp-radius-bl);
	padding: var(--eb-lp-padding);
	margin: 1.8em 0 0;
}

.eb-last-paragraph a {
	color: var(--eb-lp-link);
	text-decoration-color: currentColor;
	text-underline-offset: 2px;
}

.eb-last-paragraph a:hover {
	opacity: 0.82;
}

/* ---------------------------------------------------------------- */
/* Standout Paragraph — a regular paragraph promoted to a            */
/* deliberately emphasised one. No icon, no badge, no attribution —  */
/* just a tinted panel, a short accent "cap" mark, and larger type,  */
/* so a single sentence a writer wants to land gets to land.         */
/* ---------------------------------------------------------------- */

.eb-standout {
	position: relative;
	background: linear-gradient(135deg, rgba(var(--eb-teal-rgb), 0.07) 0%, rgba(var(--eb-teal-rgb), 0.015) 65%), var(--eb-card-bg);
	border: 1px solid rgba(var(--eb-teal-rgb), 0.16);
	border-radius: var(--eb-radius);
	padding: 26px 30px;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.eb-standout:hover {
	box-shadow: var(--eb-shadow);
	transform: translateY(-1px);
}

.eb-standout::before {
	content: "";
	display: block;
	width: 34px;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--eb-teal) 0%, rgba(var(--eb-teal-rgb), 0.25) 100%);
	margin-bottom: 14px;
}

.eb-standout-text {
	margin: 0;
	font-size: clamp(17px, 1.6vw, 19.5px);
	font-weight: 600;
	line-height: 1.65;
	color: var(--eb-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
	.eb-standout {
		transition: none;
	}

	.eb-standout:hover {
		transform: none;
	}
}

/* ---------------------------------------------------------------- */
/* Recipe                                                            */
/* ---------------------------------------------------------------- */

.eb-recipe {
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius);
	padding: 26px 28px 30px;
}

.eb-recipe-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 340px;
	object-fit: cover;
	border-radius: var(--eb-radius-sm);
	margin-bottom: 18px;
}

.eb-recipe-title {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 800;
	color: var(--eb-ink);
}

.eb-recipe-description {
	margin: 0 0 16px;
	color: var(--eb-ink-soft);
	line-height: 1.6;
}

.eb-recipe-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 22px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--eb-border);
}

.eb-recipe-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--eb-ink-soft);
	background: var(--eb-bg-soft);
	border-radius: 999px;
	padding: 6px 12px;
}

.eb-recipe-meta-item svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	color: var(--eb-teal);
}

.eb-recipe-diff {
	text-transform: capitalize;
}

.eb-recipe-diff.is-easy {
	color: var(--eb-teal-dark);
	background: rgba(var(--eb-teal-rgb), 0.12);
}

.eb-recipe-diff.is-medium {
	color: var(--eb-amber);
	background: rgba(var(--eb-amber-rgb), 0.14);
}

.eb-recipe-diff.is-hard {
	color: var(--eb-rose);
	background: rgba(var(--eb-rose-rgb), 0.13);
}

.eb-recipe-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
}

@media (min-width: 700px) {
	.eb-recipe-columns {
		grid-template-columns: 1fr 1.4fr;
	}
}

.eb-recipe-col-title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: var(--eb-ink);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.eb-recipe-ingredients {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eb-recipe-ingredients li {
	position: relative;
	padding: 8px 0 8px 22px;
	color: var(--eb-ink);
	border-bottom: 1px dashed var(--eb-border);
	line-height: 1.5;
}

.eb-recipe-ingredients li:last-child {
	border-bottom: none;
}

.eb-recipe-ingredients li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 15px;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--eb-teal);
}

.eb-recipe-instructions {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: eb-recipe-step;
}

.eb-recipe-instructions li {
	position: relative;
	counter-increment: eb-recipe-step;
	padding: 4px 0 18px 38px;
	color: var(--eb-ink);
	line-height: 1.6;
}

.eb-recipe-instructions li::before {
	content: counter(eb-recipe-step);
	position: absolute;
	left: 0;
	top: 2px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--eb-teal);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Recipe — editor-only repeater rows */

.eb-recipe-editimage {
	margin-bottom: 16px;
}

.eb-recipe-editimage img {
	display: block;
	width: 100%;
	max-height: 220px;
	object-fit: cover;
	border-radius: var(--eb-radius-sm);
	margin-bottom: 8px;
}

.eb-recipe-editrow {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
}

.eb-recipe-editnum {
	width: 22px;
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--eb-ink-soft);
	text-align: center;
}

.eb-recipe-edit-field {
	flex: 1;
}

.eb-recipe-add {
	margin-top: 6px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ---------------------------------------------------------------- */
/* Recipe Nutrition                                                  */
/* ---------------------------------------------------------------- */

.eb-nutrition {
	max-width: 360px;
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-ink);
	border-width: 2px;
	border-radius: 4px;
	padding: 16px 18px 14px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--eb-ink);
}

.eb-nutrition-title {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.01em;
	border-bottom: 8px solid var(--eb-ink);
	padding-bottom: 6px;
	margin-bottom: 6px;
}

.eb-nutrition-serving {
	font-size: 14px;
	font-weight: 700;
	border-bottom: 1px solid var(--eb-ink);
	padding-bottom: 6px;
	margin-bottom: 4px;
}

.eb-nutrition-calories {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	font-weight: 800;
	border-bottom: 4px solid var(--eb-ink);
	padding-bottom: 6px;
	margin-bottom: 4px;
}

.eb-nutrition-calories-num {
	font-size: 28px;
}

.eb-nutrition-dv-head {
	text-align: right;
	font-size: 11.5px;
	font-weight: 700;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--eb-ink);
	margin-bottom: 2px;
}

.eb-nutrition-rows {
	font-size: 13.5px;
}

.eb-nutrition-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 5px 0;
	border-bottom: 1px solid var(--eb-border);
}

.eb-nutrition-row.is-indent .eb-nutrition-row-label {
	padding-left: 16px;
	font-weight: 400;
}

.eb-nutrition-row-label {
	font-weight: 700;
}

.eb-nutrition-row-amount {
	font-weight: 400;
}

.eb-nutrition-row-daily {
	font-weight: 700;
	flex-shrink: 0;
}

.eb-nutrition-footnote {
	margin: 8px 0 0;
	font-size: 10.5px;
	color: var(--eb-ink-soft);
	line-height: 1.4;
}

/* Recipe Nutrition — editor-only repeater rows */

.eb-nutrition-editrow {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 4px;
}

.eb-nutrition-field-label {
	flex: 2;
}

.eb-nutrition-field-amount,
.eb-nutrition-field-daily {
	flex: 1;
	max-width: 90px;
}

.eb-nutrition-add {
	margin-top: 6px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ---------------------------------------------------------------- */
/* Map                                                               */
/* ---------------------------------------------------------------- */

.eb-map {
	border-radius: var(--eb-radius);
	overflow: hidden;
	border: 1px solid var(--eb-border);
	background: var(--eb-card-bg);
}

.eb-map-frame {
	display: block;
	width: 100%;
	border: 0;
}

.eb-map-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--eb-bg-soft);
	color: var(--eb-ink-soft);
	text-align: center;
	padding: 20px;
}

.eb-map-placeholder svg {
	width: 28px;
	height: 28px;
	opacity: 0.6;
}

.eb-map-placeholder p {
	margin: 0;
	font-size: 13px;
	max-width: 280px;
}

.eb-map-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 18px;
	font-size: 13.5px;
}

.eb-map-address {
	color: var(--eb-ink);
	font-weight: 600;
}

.eb-map-directions {
	flex-shrink: 0;
	color: var(--eb-teal-dark);
	font-weight: 700;
	text-decoration: none;
}

.eb-map-directions:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------------- */
/* Product Card                                                      */
/* ---------------------------------------------------------------- */

.eb-productcard {
	max-width: 380px;
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius);
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.eb-productcard:hover {
	box-shadow: var(--eb-shadow);
	transform: translateY(-2px);
}

.eb-productcard-media {
	position: relative;
	background: var(--eb-bg-soft);
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.eb-productcard-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 18px;
}

.eb-productcard-imagewrap {
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.eb-productcard-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	background: var(--eb-teal);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 5px 10px;
	border-radius: 999px;
}

.eb-productcard-body {
	padding: 18px 20px 22px;
}

.eb-productcard-name {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: var(--eb-ink);
}

.eb-productcard-rating {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-bottom: 10px;
}

.eb-productcard-star {
	width: 15px;
	height: 15px;
	color: var(--eb-border);
}

.eb-productcard-star svg {
	width: 100%;
	height: 100%;
	display: block;
}

.eb-productcard-star.is-full,
.eb-productcard-star.is-half {
	color: var(--eb-amber);
	fill: var(--eb-amber);
}

.eb-productcard-star.is-full svg,
.eb-productcard-star.is-half svg {
	fill: currentColor;
}

.eb-productcard-reviews {
	margin-left: 4px;
	font-size: 12.5px;
	color: var(--eb-ink-soft);
}

.eb-productcard-description {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--eb-ink-soft);
}

.eb-productcard-pricerow {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 14px;
}

.eb-productcard-price {
	font-size: 22px;
	font-weight: 800;
	color: var(--eb-ink);
}

.eb-productcard-price-original {
	font-size: 14px;
	color: var(--eb-ink-soft);
	text-decoration: line-through;
}

.eb-productcard-cta {
	display: block;
	text-align: center;
	background: var(--eb-teal);
	color: #fff;
	font-weight: 700;
	font-size: 14.5px;
	text-decoration: none;
	padding: 12px 18px;
	border-radius: var(--eb-radius-sm);
	transition: background 0.18s ease, transform 0.18s ease;
}

a.eb-productcard-cta:hover {
	background: var(--eb-teal-dark);
	transform: translateY(-1px);
}

/* ---------------------------------------------------------------- */
/* Key Takeaways                                                     */
/* ---------------------------------------------------------------- */

.eb-takeaways {
	background: var(--eb-teal-soft);
	border: 1px solid rgba(var(--eb-teal-rgb), 0.2);
	border-left: 4px solid var(--eb-teal);
	border-radius: var(--eb-radius);
	padding: 22px 26px;
}

.eb-takeaways-head {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 800;
	color: var(--eb-teal-dark);
	margin-bottom: 14px;
}

.eb-takeaways-head svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.eb-takeaways-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eb-takeaways-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--eb-ink);
	line-height: 1.55;
}

.eb-takeaways-list li svg {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--eb-teal);
}

/* Key Takeaways — editor-only repeater rows */

.eb-takeaways-edititem {
	display: flex;
	align-items: center;
	gap: 6px;
}

.eb-takeaways-edititem svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--eb-teal);
}

/* ---------------------------------------------------------------- */
/* Glossary                                                          */
/* ---------------------------------------------------------------- */

.eb-glossary {
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius);
	padding: 24px 28px;
}

.eb-glossary-title {
	margin: 0 0 16px;
	font-size: 17px;
	font-weight: 800;
	color: var(--eb-ink);
}

.eb-glossary-list {
	margin: 0;
}

.eb-glossary-term {
	font-weight: 700;
	color: var(--eb-teal-dark);
	margin: 0;
	padding-top: 14px;
}

.eb-glossary-list dt:first-child {
	padding-top: 0;
}

.eb-glossary-definition {
	margin: 4px 0 0;
	padding-bottom: 14px;
	border-bottom: 1px dashed var(--eb-border);
	color: var(--eb-ink-soft);
	line-height: 1.55;
}

.eb-glossary-definition:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

/* Glossary — editor-only repeater rows */

.eb-glossary-editrow {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px dashed var(--eb-border);
}

.eb-glossary-editrow-fields {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.eb-glossary-field-term {
	max-width: 220px;
}

.eb-glossary-field-definition {
	width: 100%;
}

.eb-glossary-add {
	margin-top: 4px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ---------------------------------------------------------------- */
/* FAQ                                                                */
/* ---------------------------------------------------------------- */

.eb-faq {
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius);
	padding: 24px 26px;
}

.eb-faq-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 800;
	color: var(--eb-ink);
}

.eb-faq-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eb-faq-item {
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius-sm);
	padding: 4px 18px;
	background: var(--eb-bg-soft);
}

.eb-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	list-style: none;
	cursor: pointer;
	padding: 14px 0;
	font-weight: 700;
	color: var(--eb-ink);
}

.eb-faq-question::-webkit-details-marker {
	display: none;
}

.eb-faq-icon {
	flex-shrink: 0;
	display: inline-flex;
	color: var(--eb-teal);
	transition: transform 0.2s ease;
}

.eb-faq-icon svg {
	width: 16px;
	height: 16px;
}

.eb-faq-item[open] .eb-faq-icon {
	transform: rotate(180deg);
}

.eb-faq-answer {
	margin: 0;
	padding: 0 0 16px;
	color: var(--eb-ink-soft);
	line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
	.eb-faq-icon {
		transition: none;
	}
}

/* FAQ — editor-only repeater rows */

.eb-faq-edititem {
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius-sm);
	padding: 12px 14px;
	background: var(--eb-bg-soft);
	margin-bottom: 4px;
}

.eb-faq-editrow-head {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
}

.eb-faq-editnum {
	width: 20px;
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--eb-ink-soft);
	text-align: center;
}

.eb-faq-field-question {
	flex: 1;
}

.eb-faq-field-answer {
	min-height: 40px;
	padding: 8px 10px;
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: 6px;
}

.eb-faq-add {
	margin-top: 4px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ---------------------------------------------------------------- */
/* Download                                                          */
/* ---------------------------------------------------------------- */

.eb-download {
	display: flex;
	align-items: center;
	gap: 18px;
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius);
	padding: 20px 24px;
}

.eb-download-icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: var(--eb-radius-sm);
	background: rgba(var(--eb-teal-rgb), 0.1);
	color: var(--eb-teal-dark);
	display: flex;
	align-items: center;
	justify-content: center;
}

.eb-download-icon svg {
	width: 24px;
	height: 24px;
}

.eb-download-ext {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.eb-download-body {
	flex: 1;
	min-width: 0;
}

.eb-download-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--eb-ink);
}

.eb-download-description {
	margin: 4px 0 0;
	font-size: 13.5px;
	color: var(--eb-ink-soft);
	line-height: 1.5;
}

.eb-download-meta {
	margin-top: 6px;
	font-size: 12px;
	color: var(--eb-ink-soft);
}

.eb-download-select {
	margin-top: 10px;
}

.eb-download-button {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--eb-teal);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	padding: 11px 20px;
	border-radius: var(--eb-radius-sm);
	transition: background 0.18s ease, transform 0.18s ease;
}

.eb-download-button svg {
	width: 16px;
	height: 16px;
}

a.eb-download-button:hover {
	background: var(--eb-teal-dark);
	transform: translateY(-1px);
}

@media (max-width: 480px) {
	.eb-download {
		flex-direction: column;
		align-items: flex-start;
	}

	.eb-download-button {
		width: 100%;
		justify-content: center;
	}
}

/* ---------------------------------------------------------------- */
/* Update Notice — an article's update history, including            */
/* "prospective" (planned) updates readers can expect.                */
/* ---------------------------------------------------------------- */

.eb-updatenotice {
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius);
	padding: 22px 26px;
}

.eb-updatenotice-title {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 800;
	color: var(--eb-ink);
}

.eb-updatenotice-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.eb-updatenotice-item {
	position: relative;
	display: flex;
	gap: 14px;
	padding: 0 0 18px 0;
}

.eb-updatenotice-item::before {
	content: "";
	position: absolute;
	left: 11px;
	top: 26px;
	bottom: 0;
	width: 2px;
	background: var(--eb-border);
}

.eb-updatenotice-item:last-child::before {
	display: none;
}

.eb-updatenotice-item:last-child {
	padding-bottom: 0;
}

.eb-updatenotice-dot {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.eb-updatenotice-dot svg {
	width: 13px;
	height: 13px;
}

.eb-updatenotice-item.is-update .eb-updatenotice-dot {
	background: var(--eb-teal);
	color: #fff;
}

.eb-updatenotice-item.is-planned .eb-updatenotice-dot {
	background: var(--eb-amber-soft);
	color: var(--eb-amber);
	border: 2px solid var(--eb-amber);
}

.eb-updatenotice-content {
	flex: 1;
	padding-top: 1px;
}

.eb-updatenotice-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}

.eb-updatenotice-date {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--eb-ink-soft);
}

.eb-updatenotice-tag {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--eb-teal-dark);
}

.eb-updatenotice-item.is-planned .eb-updatenotice-tag {
	color: var(--eb-amber);
}

.eb-updatenotice-text {
	margin: 0;
	color: var(--eb-ink);
	line-height: 1.55;
}

/* Update Notice — editor-only repeater rows */

.eb-updatenotice-editrow {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
}

.eb-updatenotice-dot.is-update,
.eb-updatenotice-dot.is-planned {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	flex-shrink: 0;
}

.eb-updatenotice-dot.is-update {
	background: var(--eb-teal);
	color: #fff;
}

.eb-updatenotice-dot.is-planned {
	background: var(--eb-amber-soft);
	color: var(--eb-amber);
	border: 2px solid var(--eb-amber);
}

.eb-updatenotice-dot svg {
	width: 12px;
	height: 12px;
}

.eb-updatenotice-field-type {
	max-width: 150px;
}

.eb-updatenotice-field-date {
	max-width: 130px;
}

.eb-updatenotice-field-text {
	flex: 1;
}

.eb-updatenotice-add {
	margin-top: 4px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ---------------------------------------------------------------- */
/* Explained List — each item is a short point followed by its       */
/* explanation, numbered (1, 2, 3…) or bulleted.                      */
/* ---------------------------------------------------------------- */

.eb-elist {
	background: var(--eb-card-bg);
	border: 1px solid var(--eb-border);
	border-radius: var(--eb-radius);
	padding: 8px 26px;
}

.eb-elist-items {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: eb-elist;
}

.eb-elist-item,
.eb-elist-edititem {
	position: relative;
	padding: 18px 0 18px 46px;
	border-bottom: 1px solid var(--eb-border);
	counter-increment: eb-elist;
}

.eb-elist-item:last-child,
.eb-elist-edititem:last-child {
	border-bottom: none;
}

.eb-elist-item::before {
	content: counter(eb-elist);
	position: absolute;
	left: 0;
	top: 17px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(var(--eb-teal-rgb), 0.12);
	color: var(--eb-teal-dark);
	font-weight: 800;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.eb-elist.is-bulleted .eb-elist-item::before {
	content: "";
	left: 9px;
	top: 26px;
	width: 10px;
	height: 10px;
	background: var(--eb-teal);
	border-radius: 3px;
}

.eb-elist-point {
	display: block;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--eb-ink);
}

.eb-elist-text {
	margin-top: 4px;
	color: var(--eb-ink-soft);
	line-height: 1.6;
}

/* Explained List — editor-only rows */

.eb-elist-edititem {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding-left: 0;
}

.eb-elist-marker {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(var(--eb-teal-rgb), 0.12);
	color: var(--eb-teal-dark);
	font-weight: 800;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.eb-elist.is-bulleted .eb-elist-marker {
	width: 10px;
	height: 10px;
	margin: 10px 10px 0;
	border-radius: 3px;
	background: var(--eb-teal);
}

.eb-elist-editfields {
	flex: 1;
	min-width: 0;
}

.eb-elist-editactions {
	display: flex;
	flex-shrink: 0;
}

.eb-elist-add {
	margin: 4px 0 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
