/**
 * Book of Emil v3.0 — Flagship Clinical-Editorial Stylesheet
 * Engineered exclusively for https://bookofemil.com/
 * Mobile-first, WCAG 2.1 AA+ contrast, zero external font blocking, print-ready.
 */

/* ==========================================================================
   1. Design Tokens, Base Reset & Editorial Typography
   ========================================================================== */

:root {
	--boe-primary: #0b4f6c;
	--boe-primary-dark: #07364b;
	--boe-primary-mid: #0e6ba8;
	--boe-primary-tint: #f0f7fa;
	--boe-primary-border: #bae6fd;

	--boe-verified: #0d7a5f;
	--boe-verified-tint: #ecfdf5;
	--boe-verified-border: #a7f3d0;

	--boe-cta: #0d7a5f;
	--boe-cta-hover: #065f46;
	--boe-cta-ink: #ffffff;

	--boe-ink: #0f172a;
	--boe-body: #1e293b;
	--boe-muted: #475569;
	--boe-subtle: #64748b;

	--boe-surface: #f8fafc;
	--boe-surface-alt: #f1f5f9;
	--boe-border: #e2e8f0;
	--boe-border-strong: #cbd5e1;

	--boe-pros-bg: #f0fdf4;
	--boe-pros-ink: #14532d;
	--boe-pros-accent: #15803d;
	--boe-cons-bg: #fef2f2;
	--boe-cons-ink: #7f1d1d;
	--boe-cons-accent: #b91c1c;

	--boe-caution-bg: #fffbeb;
	--boe-caution-border: #d97706;
	--boe-caution-ink: #78350f;

	--boe-star: #d97706;
	--boe-star-bg: #cbd5e1;
	--boe-footer-bg: #0b192c;
	--boe-white: #ffffff;

	--boe-radius-xs: 5px;
	--boe-radius-sm: 8px;
	--boe-radius: 12px;
	--boe-radius-lg: 16px;

	--boe-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
	--boe-shadow-sm: 0 3px 10px rgba(15, 23, 42, 0.06);
	--boe-shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.09);
	--boe-shadow-lg: 0 18px 40px -8px rgba(15, 23, 42, 0.14);
}

a {
	color: var(--boe-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

a:hover {
	color: var(--boe-primary-dark);
}

:focus-visible {
	outline: 2px solid var(--boe-primary);
	outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--boe-ink);
	font-weight: 760;
	letter-spacing: -0.022em;
	line-height: 1.25;
	margin: 0 0 0.75rem;
}

h1 {
	font-size: clamp(1.85rem, 4.1vw, 2.55rem);
	line-height: 1.18;
	text-wrap: balance;
}

h2 {
	font-size: clamp(1.375rem, 2.9vw, 1.75rem);
	scroll-margin-top: 96px;
}

h3 {
	font-size: clamp(1.1875rem, 2.3vw, 1.375rem);
	scroll-margin-top: 96px;
}

h4 {
	font-size: 1.125rem;
}

p {
	margin: 0 0 1.28rem;
}

ul, ol {
	margin: 0 0 1.28rem;
	padding-left: 1.4rem;
}

li {
	margin-bottom: 0.45rem;
}

figure {
	margin: 0 0 1.6rem;
}

hr {
	border: 0;
	border-top: 1px solid var(--boe-border);
	margin: 2.25rem 0;
}

/* ==========================================================================
   2. Sticky Header, Slim Health Topics Bar, Search & Mobile Drawer
   ========================================================================== */

.site-header {
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.site-brand__link:hover {
	color: var(--boe-primary);
	text-decoration: none;
}

.site-brand__mark {
	display: inline-flex;
	flex-shrink: 0;
}

.site-brand__wordmark {
	display: flex;
	flex-direction: column;
}

.site-brand__text {
	color: var(--boe-ink);
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.site-brand__sub {
	color: var(--boe-muted);
	font-size: 0.7rem;
	font-weight: 650;
	letter-spacing: 0.05em;
	margin-top: 2px;
	text-transform: uppercase;
}

@media (max-width: 420px) {
	.site-brand__sub {
		display: none;
	}
}

.primary-nav {
	display: none;
}

@media (min-width: 992px) {
	.primary-nav {
		display: block;
		margin-left: auto;
		margin-right: 0.5rem;
	}
}

.primary-nav__list {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav__list > li {
	margin: 0;
	position: relative;
}

.primary-nav__list > li > a {
	align-items: center;
	border-radius: var(--boe-radius-sm);
	color: var(--boe-body);
	display: inline-flex;
	font-size: 0.9375rem;
	font-weight: 650;
	padding: 0.5rem 0.8rem;
	text-decoration: none;
}

.primary-nav__list > li > a:hover,
.primary-nav__list > li.current-menu-item > a,
.primary-nav__list > li.current-menu-ancestor > a {
	background: var(--boe-primary-tint);
	color: var(--boe-primary);
}

.primary-nav__list .sub-menu {
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	box-shadow: var(--boe-shadow-lg);
	display: none;
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 230px;
	padding: 0.45rem;
	position: absolute;
	top: 100%;
	z-index: 260;
}

.primary-nav__list > li:hover > .sub-menu,
.primary-nav__list > li:focus-within > .sub-menu {
	display: block;
}

.primary-nav__list .sub-menu li {
	margin: 0;
}

.primary-nav__list .sub-menu a {
	border-radius: var(--boe-radius-xs);
	color: var(--boe-body);
	display: block;
	font-size: 0.90625rem;
	font-weight: 550;
	padding: 0.55rem 0.8rem;
	text-decoration: none;
}

.primary-nav__list .sub-menu a:hover {
	background: var(--boe-primary-tint);
	color: var(--boe-primary);
}

.site-header__actions {
	align-items: center;
	display: flex;
	gap: 0.35rem;
}

.header-icon-btn {
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--boe-radius-sm);
	color: var(--boe-ink);
	cursor: pointer;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	padding: 0;
	width: 42px;
}

.header-icon-btn:hover {
	background: var(--boe-surface);
	color: var(--boe-primary);
}

@media (min-width: 992px) {
	.mobile-menu-toggle {
		display: none;
	}
}

/* Slim Health Topics Strip */
.boe-topics-bar {
	background: var(--boe-surface);
	border-top: 1px solid var(--boe-border);
}

.boe-topics-bar__nav {
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.boe-topics-bar__nav::-webkit-scrollbar {
	display: none;
}

.boe-topics-bar__list {
	align-items: center;
	display: flex;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0.42rem 0;
	white-space: nowrap;
}

.boe-topics-bar__list li {
	margin: 0;
}

.boe-topics-bar__list a {
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--boe-muted);
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 650;
	padding: 0.24rem 0.78rem;
	text-decoration: none;
}

.boe-topics-bar__list a:hover {
	background: var(--boe-white);
	border-color: var(--boe-border-strong);
	color: var(--boe-primary);
}

.boe-topics-bar__list li.is-active a,
.boe-topics-bar__list li.current-menu-item a {
	background: var(--boe-primary);
	border-color: var(--boe-primary);
	color: var(--boe-white);
}

/* Header Search Dropdown */
.header-search-panel {
	background: var(--boe-surface);
	border-bottom: 1px solid var(--boe-border);
	box-shadow: var(--boe-shadow-sm);
	left: 0;
	padding: 1rem 0;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 240;
}

.header-search-panel__inner {
	max-width: 680px;
}

/* Search Bar + Instant Live Typeahead */
.boe-search-wrap {
	position: relative;
	width: 100%;
}

.boe-search-form {
	background: var(--boe-white);
	border: 1.5px solid var(--boe-border-strong);
	border-radius: 10px;
	box-shadow: var(--boe-shadow-xs);
	display: flex;
	overflow: hidden;
	padding: 0.25rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.boe-search-form:focus-within {
	border-color: var(--boe-primary);
	box-shadow: 0 0 0 3px rgba(11, 79, 108, 0.14);
}

.boe-search-form__input {
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--boe-ink);
	flex: 1 1 auto;
	font-family: inherit;
	font-size: 0.96875rem;
	min-height: 44px;
	min-width: 0;
	outline: none;
	padding: 0.45rem 0.875rem;
}

.boe-search-form__submit {
	background: var(--boe-primary);
	border: 0;
	border-radius: 7px;
	color: var(--boe-white);
	cursor: pointer;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	min-height: 44px;
	padding: 0.45rem 1.35rem;
	transition: background-color 0.15s ease;
	white-space: nowrap;
}

.boe-search-form__submit:hover {
	background: var(--boe-primary-dark);
}

.boe-live-results {
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	box-shadow: var(--boe-shadow-lg);
	left: 0;
	margin-top: 0.45rem;
	max-height: 360px;
	overflow-y: auto;
	padding: 0.4rem;
	position: absolute;
	right: 0;
	text-align: left;
	top: 100%;
	z-index: 320;
}

.boe-live-item {
	align-items: center;
	border-radius: var(--boe-radius-sm);
	color: var(--boe-ink);
	display: flex;
	gap: 0.65rem;
	justify-content: space-between;
	padding: 0.65rem 0.85rem;
	text-decoration: none;
}

.boe-live-item:hover,
.boe-live-item:focus {
	background: var(--boe-primary-tint);
	color: var(--boe-primary-dark);
}

.boe-live-item__title {
	font-size: 0.9375rem;
	font-weight: 650;
	line-height: 1.35;
}

.boe-live-item__badges {
	align-items: center;
	display: inline-flex;
	flex-shrink: 0;
	gap: 0.35rem;
}

.boe-live-item__cat {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: 4px;
	color: var(--boe-muted);
	font-size: 0.74rem;
	font-weight: 650;
	padding: 0.1rem 0.45rem;
}

.boe-live-item__score {
	color: var(--boe-star);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.boe-live-empty {
	color: var(--boe-muted);
	font-size: 0.9375rem;
	margin: 0;
	padding: 0.75rem 0.85rem;
}

.boe-live-all {
	border-top: 1px solid var(--boe-border);
	color: var(--boe-primary);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	margin-top: 0.25rem;
	padding: 0.6rem 0.85rem 0.4rem;
	text-align: center;
	text-decoration: none;
}

/* Mobile Slide-Out Drawer */
.mobile-drawer {
	inset: 0;
	position: fixed;
	z-index: 500;
}

.mobile-drawer__backdrop {
	background: rgba(15, 23, 42, 0.48);
	inset: 0;
	position: absolute;
}

.mobile-drawer__panel {
	background: var(--boe-white);
	bottom: 0;
	box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
	display: flex;
	flex-direction: column;
	max-width: 350px;
	overflow-y: auto;
	padding: 1rem 1.25rem 2rem;
	position: absolute;
	right: 0;
	top: 0;
	width: 88vw;
}

.mobile-drawer__header {
	align-items: center;
	border-bottom: 1px solid var(--boe-border);
	display: flex;
	justify-content: space-between;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
}

.mobile-drawer__brand {
	color: var(--boe-primary);
	font-size: 1.15rem;
	font-weight: 800;
}

.mobile-drawer__search {
	margin-bottom: 1rem;
}

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

.mobile-nav__list li {
	margin: 0;
}

.mobile-nav__list a {
	align-items: center;
	border-bottom: 1px solid var(--boe-border);
	color: var(--boe-ink);
	display: flex;
	font-size: 1rem;
	font-weight: 650;
	min-height: 46px;
	padding: 0.6rem 0.25rem;
	text-decoration: none;
}

.mobile-nav__list a:hover,
.mobile-nav__list .current-menu-item > a {
	color: var(--boe-primary);
}

.mobile-nav__list .sub-menu {
	list-style: none;
	margin: 0;
	padding-left: 1rem;
}

.mobile-nav__list .sub-menu a {
	color: var(--boe-body);
	font-size: 0.9375rem;
	font-weight: 550;
}

body.has-drawer-open {
	overflow: hidden;
}

/* ==========================================================================
   3. Homepage Sections (Hero, Editorial Bento, Vector Topic Hubs, Filter Grid)
   ========================================================================== */

.boe-hero {
	background:
		radial-gradient(circle at 50% 0%, rgba(11, 79, 108, 0.09) 0%, rgba(240, 247, 250, 0.55) 52%, #ffffff 100%);
	border-bottom: 1px solid var(--boe-border);
	padding: 3rem 0 3.25rem;
	text-align: center;
}

@media (min-width: 768px) {
	.boe-hero {
		padding: 4.25rem 0 4.25rem;
	}
}

.boe-hero__inner {
	max-width: 800px;
}

.boe-hero__eyebrow {
	align-items: center;
	background: var(--boe-verified-tint);
	border: 1px solid var(--boe-verified-border);
	border-radius: 999px;
	color: var(--boe-verified);
	display: inline-flex;
	font-size: 0.78125rem;
	font-weight: 750;
	gap: 0.4rem;
	letter-spacing: 0.04em;
	margin-bottom: 1.1rem;
	padding: 0.3rem 0.9rem;
	text-transform: uppercase;
}

.boe-hero__title {
	font-size: clamp(2rem, 4.6vw, 2.9rem);
	letter-spacing: -0.026em;
	margin-bottom: 1rem;
}

.boe-hero__subtitle {
	color: var(--boe-muted);
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	line-height: 1.64;
	margin: 0 auto 1.85rem;
	max-width: 660px;
}

.boe-hero__search {
	margin: 0 auto;
	max-width: 610px;
}

.boe-hero__topics {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	justify-content: center;
	margin-top: 1.35rem;
}

.boe-hero__topic-pill {
	background: var(--boe-white);
	border: 1px solid var(--boe-border-strong);
	border-radius: 999px;
	color: var(--boe-body);
	font-size: 0.84375rem;
	font-weight: 650;
	padding: 0.34rem 0.9rem;
	text-decoration: none;
}

.boe-hero__topic-pill:hover {
	background: var(--boe-primary);
	border-color: var(--boe-primary);
	color: var(--boe-white);
}

.boe-home-section {
	padding: 3rem 0;
}

.boe-home-section + .boe-home-section {
	border-top: 1px solid var(--boe-border);
}

.boe-home-section--alt {
	background: var(--boe-surface);
}

@media (min-width: 768px) {
	.boe-home-section {
		padding: 3.75rem 0;
	}
}

.boe-section-header {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.25rem;
	justify-content: space-between;
	margin-bottom: 1.65rem;
}

.boe-section-title {
	font-size: clamp(1.375rem, 2.7vw, 1.75rem);
	margin: 0;
}

.boe-section-more {
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
}

.boe-section-more:hover {
	text-decoration: underline;
}

/* Featured Editorial Bento (Lead Story + Side Stack) */
.boe-bento-grid {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: 1fr;
}

@media (min-width: 960px) {
	.boe-bento-grid {
		align-items: start;
		gap: 2.25rem;
		grid-template-columns: 1.35fr 1fr;
	}
}

.boe-lead-card {
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius-lg);
	box-shadow: var(--boe-shadow-sm);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.boe-lead-card:hover {
	border-color: var(--boe-border-strong);
	box-shadow: var(--boe-shadow-md);
}

.boe-lead-card__media {
	aspect-ratio: 16 / 9.5;
	background: var(--boe-surface);
	display: block;
	overflow: hidden;
}

.boe-lead-card__img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
	width: 100%;
}

.boe-lead-card:hover .boe-lead-card__img {
	transform: scale(1.025);
}

.boe-lead-card__body {
	padding: 1.5rem 1.65rem;
}

.boe-lead-card__title {
	font-size: clamp(1.35rem, 2.5vw, 1.7rem);
	line-height: 1.28;
	margin: 0.65rem 0 0.65rem;
}

.boe-lead-card__title a {
	color: var(--boe-ink);
	text-decoration: none;
}

.boe-lead-card__title a:hover {
	color: var(--boe-primary);
}

.boe-lead-card__excerpt {
	color: var(--boe-muted);
	font-size: 0.98rem;
	line-height: 1.62;
	margin: 0 0 1.1rem;
}

.boe-lead-card__meta {
	align-items: center;
	border-top: 1px solid var(--boe-border);
	color: var(--boe-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.825rem;
	font-weight: 550;
	gap: 0.4rem;
	padding-top: 0.85rem;
}

.boe-side-stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.boe-side-item {
	align-items: center;
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	box-shadow: var(--boe-shadow-xs);
	display: flex;
	gap: 1rem;
	padding: 1rem 1.1rem;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.boe-side-item:hover {
	border-color: var(--boe-primary-border);
	box-shadow: var(--boe-shadow-sm);
}

.boe-side-item__thumb {
	border-radius: var(--boe-radius-sm);
	flex-shrink: 0;
	height: 82px;
	overflow: hidden;
	width: 88px;
}

.boe-side-item__img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.boe-side-item__content {
	min-width: 0;
}

.boe-side-item__cat {
	color: var(--boe-primary);
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	margin-bottom: 0.2rem;
	text-decoration: none;
	text-transform: uppercase;
}

.boe-side-item__title {
	font-size: 1.02rem;
	line-height: 1.35;
	margin: 0 0 0.35rem;
}

.boe-side-item__title a {
	color: var(--boe-ink);
	text-decoration: none;
}

.boe-side-item__title a:hover {
	color: var(--boe-primary);
}

.boe-side-item__meta {
	color: var(--boe-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.78125rem;
	gap: 0.35rem;
}

/* Explore Health Topics Vector Hub Grid */
.boe-cat-grid {
	display: grid;
	gap: 1.15rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.boe-cat-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.boe-cat-grid {
		gap: 1.25rem;
		grid-template-columns: repeat(4, 1fr);
	}
}

.boe-cat-card {
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	box-shadow: var(--boe-shadow-xs);
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 1.35rem 1.35rem;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.boe-cat-card:hover {
	border-color: var(--boe-primary);
	box-shadow: var(--boe-shadow-md);
	transform: translateY(-2px);
}

.boe-cat-card__top {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.2rem;
}

.boe-cat-card__icon {
	align-items: center;
	background: var(--boe-primary-tint);
	border: 1px solid var(--boe-primary-border);
	border-radius: 10px;
	color: var(--boe-primary);
	display: inline-flex;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.boe-cat-card__count {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: 999px;
	color: var(--boe-muted);
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
	font-weight: 650;
	padding: 0.14rem 0.58rem;
}

.boe-cat-card__title {
	font-size: 1.1rem;
	margin: 0;
}

.boe-cat-card__main-link {
	color: var(--boe-ink);
	text-decoration: none;
}

.boe-cat-card__main-link:hover {
	color: var(--boe-primary);
}

.boe-cat-card__desc {
	color: var(--boe-muted);
	font-size: 0.875rem;
	line-height: 1.54;
	margin: 0;
}

.boe-cat-card__recent {
	border-top: 1px dashed var(--boe-border-strong);
	list-style: none;
	margin: 0.25rem 0 0;
	padding: 0.6rem 0 0;
}

.boe-cat-card__recent li {
	font-size: 0.835rem;
	line-height: 1.38;
	margin-bottom: 0.35rem;
}

.boe-cat-card__recent a {
	color: var(--boe-body);
	font-weight: 550;
	text-decoration: none;
}

.boe-cat-card__recent a:hover {
	color: var(--boe-primary);
	text-decoration: underline;
}

.boe-cat-card__explore {
	font-size: 0.84375rem;
	font-weight: 700;
	margin-top: auto;
	padding-top: 0.35rem;
	text-decoration: none;
}

/* Interactive Filter Pills */
.boe-filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.42rem;
}

.boe-filter-pill {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: 999px;
	color: var(--boe-muted);
	cursor: pointer;
	font-family: inherit;
	font-size: 0.84375rem;
	font-weight: 650;
	min-height: 36px;
	padding: 0.32rem 0.9rem;
	transition: all 0.15s ease;
}

.boe-filter-pill:hover {
	border-color: var(--boe-primary);
	color: var(--boe-primary);
}

.boe-filter-pill.is-active {
	background: var(--boe-primary);
	border-color: var(--boe-primary);
	color: var(--boe-white);
}

/* Editorial Post Card Grid */
.boe-post-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.boe-post-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.boe-post-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.boe-card {
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	box-shadow: var(--boe-shadow-xs);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.boe-card[hidden] {
	display: none !important;
}

.boe-card:hover {
	border-color: var(--boe-border-strong);
	box-shadow: var(--boe-shadow-md);
	transform: translateY(-2px);
}

.boe-card__media {
	aspect-ratio: 16 / 10;
	background: var(--boe-surface);
	display: block;
	overflow: hidden;
}

.boe-card__img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	width: 100%;
}

.boe-card:hover .boe-card__img {
	transform: scale(1.03);
}

.boe-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 1.3rem;
}

.boe-card__top-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: space-between;
	margin-bottom: 0.6rem;
}

.boe-card__cat {
	background: var(--boe-primary-tint);
	border-radius: 5px;
	color: var(--boe-primary-dark);
	display: inline-block;
	font-size: 0.74rem;
	font-weight: 750;
	letter-spacing: 0.03em;
	padding: 0.18rem 0.56rem;
	text-decoration: none;
	text-transform: uppercase;
}

.boe-card__cat:hover {
	background: var(--boe-primary);
	color: var(--boe-white);
}

.boe-card__title {
	font-size: 1.15rem;
	line-height: 1.36;
	margin: 0 0 0.55rem;
}

.boe-card__title-link {
	color: var(--boe-ink);
	text-decoration: none;
}

.boe-card__title-link:hover {
	color: var(--boe-primary);
}

.boe-card__excerpt {
	color: var(--boe-muted);
	font-size: 0.9375rem;
	line-height: 1.58;
	margin: 0 0 1rem;
}

.boe-card__footer {
	border-top: 1px solid var(--boe-border);
	margin-top: auto;
	padding-top: 0.75rem;
}

.boe-card__meta-line {
	align-items: center;
	color: var(--boe-muted);
	display: flex;
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	justify-content: space-between;
}

.boe-card__date--updated {
	color: var(--boe-verified);
	font-weight: 650;
}

/* Homepage Editorial Trust Strip */
.boe-trust-strip {
	background: var(--boe-primary-tint);
	border-top: 1px solid var(--boe-primary-border);
	padding: 1.45rem 0;
}

.boe-trust-strip__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 2rem;
	justify-content: space-between;
}

.boe-trust-strip__pillars {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.5rem;
}

.boe-trust-pillar {
	align-items: center;
	color: var(--boe-primary-dark);
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 650;
	gap: 0.4rem;
}

.boe-trust-pillar svg {
	color: var(--boe-verified);
	flex-shrink: 0;
}

.boe-trust-strip__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.boe-trust-strip__links li {
	margin: 0;
}

.boe-trust-strip__links a {
	color: var(--boe-primary);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

.boe-trust-strip__links a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   4. Single Health Article Layout, E-E-A-T Byline & Companion Sidebar
   ========================================================================== */

.boe-single {
	padding: 1.85rem 0 4rem;
}

@media (min-width: 768px) {
	.boe-single {
		padding: 2.6rem 0 4.75rem;
	}
}

@media (min-width: 1024px) {
	.boe-article-layout--with-rail {
		display: grid;
		gap: 2.75rem;
		grid-template-columns: minmax(0, 740px) 305px;
		justify-content: space-between;
	}

	.boe-article-layout--with-rail > .boe-reading-col {
		align-self: start;
		margin: 0;
		min-width: 0;
	}

	.boe-article-layout--with-rail > .boe-sticky-rail {
		align-self: stretch;
		min-width: 0;
		position: relative;
	}
}

@media (min-width: 1160px) {
	.boe-article-layout--with-rail {
		gap: 3.25rem;
		grid-template-columns: minmax(0, 740px) 320px;
		justify-content: center;
	}
}

/* Breadcrumbs */
.boe-breadcrumbs {
	margin-bottom: 1rem;
}

.boe-breadcrumbs__list {
	align-items: center;
	color: var(--boe-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.84375rem;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.boe-breadcrumbs__item {
	align-items: center;
	display: inline-flex;
	gap: 0.35rem;
	margin: 0;
}

.boe-breadcrumbs__link {
	color: var(--boe-muted);
	text-decoration: none;
}

.boe-breadcrumbs__link:hover {
	color: var(--boe-primary);
	text-decoration: underline;
}

.boe-breadcrumbs__sep {
	color: var(--boe-border-strong);
}

.boe-breadcrumbs__current {
	color: var(--boe-body);
	font-weight: 550;
}

/* Article Header, Topic Pill & Standfirst Deck */
.boe-entry-header {
	margin-bottom: 1.75rem;
}

.boe-entry-eyebrow {
	margin-bottom: 0.8rem;
}

.boe-topic-pill {
	align-items: center;
	background: var(--boe-primary-tint);
	border: 1px solid var(--boe-primary-border);
	border-radius: 999px;
	color: var(--boe-primary-dark);
	display: inline-flex;
	font-size: 0.78125rem;
	font-weight: 750;
	gap: 0.38rem;
	letter-spacing: 0.03em;
	padding: 0.24rem 0.8rem;
	text-decoration: none;
	text-transform: uppercase;
}

.boe-topic-pill svg {
	color: var(--boe-primary);
	height: 15px;
	width: 15px;
}

.boe-topic-pill:hover {
	background: var(--boe-primary);
	border-color: var(--boe-primary);
	color: var(--boe-white);
}

.boe-topic-pill:hover svg {
	color: var(--boe-white);
}

.boe-entry-title {
	margin-bottom: 0.9rem;
}

.boe-entry-standfirst {
	color: var(--boe-muted);
	font-size: clamp(1.0625rem, 2vw, 1.2rem);
	line-height: 1.62;
	margin: 0 0 1.25rem;
}

/* Clinical E-E-A-T Byline Card */
.boe-byline-card {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 0.95rem 1.15rem;
}

.boe-byline-card__people {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.35rem;
}

.boe-byline-person {
	align-items: center;
	display: inline-flex;
	gap: 0.6rem;
}

.boe-byline-person__avatar {
	border: 2px solid var(--boe-white);
	border-radius: 50%;
	box-shadow: var(--boe-shadow-xs);
	height: 42px;
	object-fit: cover;
	width: 42px;
}

.boe-byline-person__shield {
	align-items: center;
	background: var(--boe-verified-tint);
	border: 1px solid var(--boe-verified-border);
	border-radius: 50%;
	color: var(--boe-verified);
	display: inline-flex;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.boe-byline-person__text {
	display: flex;
	flex-direction: column;
	line-height: 1.28;
}

.boe-byline-person__label {
	color: var(--boe-muted);
	font-size: 0.74rem;
	font-weight: 600;
}

.boe-byline-person__link {
	color: var(--boe-ink);
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
}

.boe-byline-person__link:hover {
	color: var(--boe-primary);
	text-decoration: underline;
}

.boe-fact-badge {
	align-items: center;
	background: var(--boe-verified-tint);
	border: 1px solid var(--boe-verified-border);
	border-radius: 999px;
	color: var(--boe-verified);
	display: inline-flex;
	font-size: 0.775rem;
	font-weight: 700;
	gap: 0.3rem;
	margin-left: auto;
	padding: 0.22rem 0.72rem;
}

.boe-byline-card__meta {
	align-items: center;
	border-top: 1px solid var(--boe-border);
	color: var(--boe-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.84375rem;
	font-variant-numeric: tabular-nums;
	gap: 0.5rem 1rem;
	justify-content: space-between;
	padding-top: 0.65rem;
}

.boe-byline-dates {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.45rem;
}

.boe-byline__date--updated {
	color: var(--boe-verified);
	font-weight: 650;
}

.boe-byline-actions {
	align-items: center;
	display: inline-flex;
	gap: 0.4rem;
}

.boe-util-btn {
	align-items: center;
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: 999px;
	color: var(--boe-body);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 650;
	gap: 0.32rem;
	padding: 0.25rem 0.72rem;
	transition: all 0.15s ease;
}

.boe-util-btn:hover {
	border-color: var(--boe-primary);
	color: var(--boe-primary);
}

.boe-affiliate-line {
	align-items: flex-start;
	color: var(--boe-muted);
	display: flex;
	font-size: 0.84375rem;
	gap: 0.45rem;
	line-height: 1.5;
	margin: 0.75rem 0 0;
}

.boe-affiliate-line svg {
	color: var(--boe-primary);
	flex-shrink: 0;
	margin-top: 0.18rem;
}

.boe-affiliate-line__link {
	font-weight: 650;
	margin-left: 0.2rem;
}

.boe-legal-updated {
	color: var(--boe-muted);
	font-size: 0.9375rem;
	margin: 0;
}

/* Featured Image & Caption */
.boe-featured-media {
	border-radius: var(--boe-radius);
	margin: 0 0 1.9rem;
	overflow: hidden;
}

.boe-featured-media__img {
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	width: 100%;
}

.boe-featured-media__caption {
	color: var(--boe-muted);
	font-size: 0.84375rem;
	line-height: 1.5;
	margin-top: 0.5rem;
}

/* Collapsible "In This Article" Table of Contents */
.boe-toc {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border-strong);
	border-left: 4px solid var(--boe-primary);
	border-radius: var(--boe-radius);
	box-shadow: var(--boe-shadow-xs);
	margin: 0 0 1.9rem;
	overflow: hidden;
}

.boe-toc:hover,
.boe-toc.is-open {
	border-color: var(--boe-primary);
}

.boe-toc__toggle {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--boe-ink);
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	font-family: inherit;
	font-size: 0.98rem;
	font-weight: 750;
	gap: 0.5rem 0.85rem;
	justify-content: space-between;
	min-height: 54px;
	padding: 0.85rem 1.2rem;
	text-align: left;
	width: 100%;
}

.boe-toc__title-wrap {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.boe-toc__title-wrap svg {
	color: var(--boe-primary);
	flex-shrink: 0;
}

.boe-toc__count {
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: 999px;
	color: var(--boe-muted);
	font-size: 0.74rem;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	padding: 0.12rem 0.56rem;
}

.boe-toc__action-pill {
	align-items: center;
	background: var(--boe-primary-tint);
	border: 1px solid var(--boe-primary-border);
	border-radius: 999px;
	color: var(--boe-primary-dark);
	display: inline-flex;
	font-size: 0.8rem;
	font-weight: 700;
	gap: 0.35rem;
	margin-left: auto;
	padding: 0.24rem 0.74rem;
	transition: all 0.15s ease;
}

.boe-toc__toggle:hover .boe-toc__action-pill {
	background: var(--boe-primary);
	border-color: var(--boe-primary);
	color: var(--boe-white);
}

.boe-toc__toggle:hover .boe-toc__chevron {
	color: var(--boe-white);
}

.boe-toc__chevron {
	color: var(--boe-primary);
	display: inline-flex;
	transition: transform 0.2s ease, color 0.15s ease;
}

.boe-toc.is-open .boe-toc__chevron {
	transform: rotate(180deg);
}

.boe-toc.is-collapsed .boe-toc__body,
.boe-toc__body[hidden] {
	display: none !important;
}

.boe-toc__body {
	background: var(--boe-white);
	border-top: 1px solid var(--boe-border);
	padding: 0.95rem 1.25rem 1.15rem;
}

.boe-toc__list {
	counter-reset: boe-toc-counter;
	list-style: none;
	margin: 0;
	padding: 0;
}

.boe-toc__item {
	margin-bottom: 0.48rem;
}

.boe-toc__item:last-child {
	margin-bottom: 0;
}

.boe-toc__item--h2 {
	counter-increment: boe-toc-counter;
}

.boe-toc__item--h2 > .boe-toc__link::before {
	color: var(--boe-primary);
	content: counter(boe-toc-counter) ". ";
	font-variant-numeric: tabular-nums;
	font-weight: 750;
}

.boe-toc__item--h3 {
	padding-left: 1.25rem;
}

.boe-toc__link {
	color: var(--boe-body);
	display: inline-block;
	font-size: 0.95rem;
	line-height: 1.45;
	text-decoration: none;
}

.boe-toc__link:hover,
.boe-toc__link.is-active {
	color: var(--boe-primary);
	font-weight: 650;
	text-decoration: underline;
}

/* Sticky Companion Desktop Sidebar */
.boe-sticky-rail__inner {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	position: -webkit-sticky;
	position: sticky;
	top: calc(var(--boe-header-h, 72px) + 24px);
	z-index: 20;
}

body.admin-bar .boe-sticky-rail__inner {
	top: calc(var(--boe-header-h, 72px) + 56px);
}

.boe-rail-card {
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	box-shadow: var(--boe-shadow-xs);
	padding: 1.2rem;
}

.boe-rail-card__heading {
	color: var(--boe-ink);
	font-size: 0.78125rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
}

.boe-rail-toc {
	max-height: calc(100vh - 240px);
	overflow-y: auto;
}

.boe-rail-toc--compact {
	max-height: 220px;
}

.boe-rail-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.boe-rail-toc__item {
	margin: 0;
}

.boe-rail-toc__item--h3 {
	padding-left: 0.75rem;
}

.boe-rail-toc__link {
	border-left: 2px solid var(--boe-border);
	color: var(--boe-muted);
	display: block;
	font-size: 0.855rem;
	line-height: 1.42;
	padding: 0.35rem 0 0.35rem 0.75rem;
	text-decoration: none;
	transition: all 0.15s ease;
}

.boe-rail-toc__link:hover,
.boe-rail-toc__link.is-active {
	border-left-color: var(--boe-primary);
	color: var(--boe-primary-dark);
	font-weight: 650;
}

.boe-rail-recent__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.boe-rail-recent__item {
	border-bottom: 1px solid var(--boe-border);
	margin: 0;
	padding: 0.5rem 0;
}

.boe-rail-recent__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.boe-rail-recent__link {
	color: var(--boe-ink);
	display: block;
	font-size: 0.875rem;
	font-weight: 620;
	line-height: 1.4;
	text-decoration: none;
}

.boe-rail-recent__link:hover {
	color: var(--boe-primary);
	text-decoration: underline;
}

.boe-rail-recent__meta {
	color: var(--boe-subtle);
	display: block;
	font-size: 0.75rem;
	margin-top: 2px;
}

.boe-rail-trust {
	background: var(--boe-surface);
}

.boe-rail-trust__title {
	align-items: center;
	color: var(--boe-ink);
	display: flex;
	font-size: 0.8rem;
	font-weight: 750;
	gap: 0.35rem;
	margin: 0 0 0.45rem;
	text-transform: uppercase;
}

.boe-rail-trust__title svg {
	color: var(--boe-verified);
}

.boe-rail-trust__links {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.boe-rail-trust__links a {
	font-size: 0.84375rem;
	font-weight: 600;
	text-decoration: none;
}

.boe-rail-trust__links a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   5. Long-Form Health Article Typography, Tables & Clinical Callouts
   ========================================================================== */

.boe-entry-content {
	color: var(--boe-body);
	font-size: 1.125rem;
	line-height: 1.78;
}

@media (max-width: 639.98px) {
	.boe-entry-content {
		font-size: 1.0625rem;
		line-height: 1.74;
	}
}

.boe-entry-content > * + * {
	margin-top: 1.28rem;
}

.boe-entry-content h2 {
	border-bottom: 1px solid var(--boe-border);
	margin-top: 2.6rem;
	padding-bottom: 0.45rem;
}

.boe-entry-content h3 {
	color: var(--boe-primary-dark);
	margin-top: 1.95rem;
}

.boe-entry-content li::marker {
	color: var(--boe-primary);
	font-weight: 700;
}

.boe-entry-content blockquote {
	background: var(--boe-primary-tint);
	border-left: 4px solid var(--boe-primary);
	border-radius: 0 var(--boe-radius-sm) var(--boe-radius-sm) 0;
	color: var(--boe-ink);
	font-style: italic;
	margin: 1.85rem 0;
	padding: 1.15rem 1.4rem;
}

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

/* Both Gutenberg .wp-block-table AND raw HTML tables wrapped in .boe-table-scroll */
.wp-block-table,
.boe-table-scroll {
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	margin: 1.9rem 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.wp-block-table table,
.boe-table-scroll table {
	border-collapse: collapse;
	font-size: 0.9375rem;
	min-width: 500px;
	width: 100%;
}

.wp-block-table th,
.wp-block-table td,
.boe-table-scroll th,
.boe-table-scroll td {
	border-bottom: 1px solid var(--boe-border);
	border-right: 1px solid var(--boe-border);
	line-height: 1.52;
	padding: 0.8rem 1rem;
	text-align: left;
	vertical-align: top;
}

.wp-block-table th:last-child,
.wp-block-table td:last-child,
.boe-table-scroll th:last-child,
.boe-table-scroll td:last-child {
	border-right: 0;
}

.wp-block-table tbody tr:last-child td,
.boe-table-scroll tbody tr:last-child td {
	border-bottom: 0;
}

.wp-block-table thead th,
.boe-table-scroll thead th,
.boe-comparison-table thead th,
.boe-ingredient-table thead th {
	background: var(--boe-primary);
	color: var(--boe-white);
	font-weight: 700;
}

.wp-block-table tbody tr:nth-child(even),
.boe-table-scroll tbody tr:nth-child(even) {
	background: var(--boe-surface);
}

/* Custom Block Styles */
.wp-block-table.is-style-boe-sticky-col th:first-child,
.wp-block-table.is-style-boe-sticky-col td:first-child {
	background: inherit;
	font-weight: 650;
	left: 0;
	position: sticky;
	z-index: 2;
}
.wp-block-table.is-style-boe-sticky-col tbody tr:nth-child(odd) td:first-child {
	background: var(--boe-white);
}
.wp-block-table.is-style-boe-sticky-col tbody tr:nth-child(even) td:first-child {
	background: var(--boe-surface);
}
.wp-block-table.is-style-boe-sticky-col thead th:first-child {
	background: var(--boe-primary);
}

ul.is-style-boe-check-list,
ul.is-style-hs-check-list {
	list-style: none;
	padding-left: 0;
}

ul.is-style-boe-check-list li,
ul.is-style-hs-check-list li {
	padding-left: 1.65rem;
	position: relative;
}

ul.is-style-boe-check-list li::before,
ul.is-style-hs-check-list li::before {
	color: var(--boe-verified);
	content: "\2713";
	font-weight: 800;
	left: 0.15rem;
	position: absolute;
}

.wp-block-group.is-style-boe-clinical-card,
.wp-block-group.is-style-hs-clinical-card {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	padding: 1.375rem 1.5rem;
}

/* Key Takeaways Card (Meta Box + Block Pattern) */
.boe-key-takeaways,
.hs-key-takeaways {
	background: var(--boe-primary-tint);
	border: 1px solid var(--boe-primary-border);
	border-left: 4px solid var(--boe-primary);
	border-radius: var(--boe-radius);
	margin: 0 0 1.9rem;
	padding: 1.35rem 1.5rem;
}

.boe-key-takeaways__head {
	align-items: center;
	color: var(--boe-primary-dark);
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.65rem;
}

.boe-key-takeaways__title,
.boe-key-takeaways h3,
.hs-key-takeaways h3 {
	border: 0 !important;
	color: var(--boe-primary-dark);
	font-size: 1.125rem;
	margin: 0 !important;
	padding: 0 !important;
}

.boe-key-takeaways__list,
.boe-key-takeaways ul,
.hs-key-takeaways ul {
	margin: 0;
	padding-left: 1.25rem;
}

.boe-key-takeaways__list li:last-child,
.boe-key-takeaways ul li:last-child {
	margin-bottom: 0;
}

/* When to Consult a Doctor Callout */
.boe-doctor-callout,
.hs-doctor-callout {
	background: var(--boe-caution-bg);
	border: 1px solid #fde68a;
	border-left: 4px solid var(--boe-caution-border);
	border-radius: var(--boe-radius);
	color: var(--boe-caution-ink);
	margin: 1.85rem 0;
	padding: 1.35rem 1.5rem;
}

.boe-doctor-callout h3,
.hs-doctor-callout h3 {
	color: var(--boe-caution-ink);
	margin-top: 0;
}

.boe-doctor-callout p:last-child,
.hs-doctor-callout p:last-child {
	margin-bottom: 0;
}

/* FAQ Accordion Section */
.boe-faq-section,
.hs-faq-section {
	margin: 2.25rem 0;
}

.boe-faq-section .wp-block-details,
.hs-faq-section .wp-block-details,
.boe-entry-content details {
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius-sm);
	margin-bottom: 0.75rem;
	padding: 0;
}

.boe-faq-section .wp-block-details summary,
.hs-faq-section .wp-block-details summary,
.boe-entry-content details summary {
	align-items: center;
	color: var(--boe-ink);
	cursor: pointer;
	display: flex;
	font-weight: 700;
	justify-content: space-between;
	list-style: none;
	min-height: 52px;
	padding: 0.9rem 1.25rem;
}

.boe-entry-content details summary::-webkit-details-marker {
	display: none;
}

.boe-entry-content details summary::after {
	color: var(--boe-primary);
	content: "+";
	flex-shrink: 0;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1;
	margin-left: 0.75rem;
}

.boe-entry-content details[open] summary::after {
	content: "\2212";
}

.boe-entry-content details > *:not(summary) {
	border-top: 1px solid var(--boe-border);
	margin: 0;
	padding: 1rem 1.25rem;
}

/* Pros & Cons Block Pattern */
.boe-pros-cons,
.hs-pros-cons {
	gap: 1rem !important;
	margin: 1.85rem 0;
}

.boe-pros-cons__col,
.hs-pros-cons__col {
	border-radius: var(--boe-radius);
	padding: 1.25rem;
}

.boe-pros-cons__col--pros,
.hs-pros-cons__col--pros {
	background: var(--boe-pros-bg);
	border: 1px solid #bbf7d0;
}

.boe-pros-cons__col--pros h3,
.hs-pros-cons__col--pros h3 {
	color: var(--boe-pros-accent);
	margin-top: 0;
}

.boe-pros-cons__col--cons,
.hs-pros-cons__col--cons {
	background: var(--boe-cons-bg);
	border: 1px solid #fecaca;
}

.boe-pros-cons__col--cons h3,
.hs-pros-cons__col--cons h3 {
	color: var(--boe-cons-accent);
	margin-top: 0;
}

.boe-cta-box,
.hs-cta-box {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	margin: 1.85rem 0;
	padding: 1.5rem;
	text-align: center;
}

/* ==========================================================================
   6. Opt-In Product Review Scorecard & CTA Styles (Reviews Only)
   ========================================================================== */

.boe-rating {
	align-items: center;
	display: inline-flex;
	gap: 0.38rem;
}

.boe-rating__stars {
	display: inline-block;
	font-size: 1.1rem;
	letter-spacing: 1px;
	line-height: 1;
	position: relative;
}

.boe-rating--card .boe-rating__stars,
.boe-rating--mini .boe-rating__stars {
	font-size: 0.92rem;
}

.boe-rating__stars-bg {
	color: var(--boe-star-bg);
}

.boe-rating__stars-fill {
	color: var(--boe-star);
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	white-space: nowrap;
}

.boe-rating__value {
	color: var(--boe-ink);
	font-size: 0.92rem;
	font-variant-numeric: tabular-nums;
	font-weight: 750;
	line-height: 1;
}

.boe-rating--verdict .boe-rating__value {
	display: none;
}

.boe-rating__value span {
	color: var(--boe-muted);
	font-weight: 500;
}

.boe-verdict {
	background: var(--boe-white);
	border: 1.5px solid var(--boe-primary);
	border-radius: var(--boe-radius-lg);
	box-shadow: var(--boe-shadow-md);
	margin: 2rem 0 2.25rem;
	overflow: hidden;
}

.boe-verdict__top-bar {
	align-items: center;
	background: var(--boe-primary);
	color: var(--boe-white);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: space-between;
	padding: 0.65rem 1.35rem;
}

.boe-verdict__eyebrow {
	align-items: center;
	color: var(--boe-white);
	display: inline-flex;
	font-size: 0.775rem;
	font-weight: 800;
	gap: 0.4rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.boe-verdict__award-pill {
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	color: var(--boe-white);
	font-size: 0.74rem;
	font-weight: 700;
	padding: 0.14rem 0.68rem;
}

.boe-verdict__hero {
	align-items: center;
	background: linear-gradient(180deg, var(--boe-primary-tint) 0%, var(--boe-white) 100%);
	border-bottom: 1px solid var(--boe-border);
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	padding: 1.35rem;
}

.boe-verdict__media {
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	flex-shrink: 0;
	padding: 0.5rem;
}

.boe-verdict__product-img {
	height: 110px;
	object-fit: contain;
	width: 110px;
}

.boe-verdict__identity {
	flex: 1 1 230px;
	min-width: 0;
}

.boe-verdict__brand {
	color: var(--boe-primary);
	font-size: 0.78125rem;
	font-weight: 750;
	letter-spacing: 0.03em;
	margin: 0 0 0.2rem;
	text-transform: uppercase;
}

.boe-verdict__product {
	color: var(--boe-ink);
	font-size: clamp(1.28rem, 2.6vw, 1.55rem);
	font-weight: 800;
	line-height: 1.24;
	margin: 0 0 0.35rem;
}

.boe-verdict__summary {
	color: var(--boe-body);
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0.35rem 0 0;
}

.boe-verdict__score-badge {
	align-items: center;
	background: var(--boe-white);
	border: 1.5px solid var(--boe-primary-border);
	border-radius: var(--boe-radius);
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: auto;
	min-width: 120px;
	padding: 0.75rem 1rem;
	text-align: center;
}

.boe-verdict__score-num {
	color: var(--boe-ink);
	font-size: 1.8rem;
	font-variant-numeric: tabular-nums;
	font-weight: 850;
	line-height: 1;
	margin-bottom: 0.25rem;
}

.boe-verdict__score-num small {
	color: var(--boe-muted);
	font-size: 0.92rem;
	font-weight: 600;
}

.boe-verdict__score-caption {
	color: var(--boe-muted);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-top: 0.25rem;
	text-transform: uppercase;
}

.boe-verdict__table-wrap {
	border-bottom: 1px solid var(--boe-border);
	overflow-x: auto;
	width: 100%;
}

.boe-verdict__table {
	border-collapse: collapse;
	font-size: 0.925rem;
	margin: 0;
	width: 100%;
}

.boe-verdict__table th,
.boe-verdict__table td {
	border-bottom: 1px solid var(--boe-border);
	line-height: 1.48;
	padding: 0.72rem 1.2rem;
	text-align: left;
	vertical-align: middle;
}

.boe-verdict__table tr:last-child th,
.boe-verdict__table tr:last-child td {
	border-bottom: 0;
}

.boe-verdict__table th {
	background: var(--boe-surface);
	border-right: 1px solid var(--boe-border);
	color: var(--boe-muted);
	font-size: 0.77rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	width: 34%;
}

.boe-verdict__table td {
	background: var(--boe-white);
	color: var(--boe-ink);
	font-weight: 600;
}

.boe-verdict__table tr.boe-verdict__row--highlight th,
.boe-verdict__table tr.boe-verdict__row--highlight td {
	background: var(--boe-verified-tint);
}

.boe-verdict__table tr.boe-verdict__row--highlight td {
	color: var(--boe-verified);
	font-weight: 800;
}

.boe-verdict__subscores {
	border-bottom: 1px solid var(--boe-border);
	display: grid;
	gap: 0.85rem 1.5rem;
	grid-template-columns: 1fr;
	padding: 1.15rem 1.35rem;
}

@media (min-width: 600px) {
	.boe-verdict__subscores {
		grid-template-columns: repeat(2, 1fr);
	}
}

.boe-subscore__head {
	align-items: baseline;
	display: flex;
	font-size: 0.86rem;
	justify-content: space-between;
	margin-bottom: 0.3rem;
}

.boe-subscore__label {
	color: var(--boe-body);
	font-weight: 600;
}

.boe-subscore__val {
	color: var(--boe-primary-dark);
	font-variant-numeric: tabular-nums;
	font-weight: 750;
}

.boe-subscore__track {
	background: var(--boe-border);
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
	width: 100%;
}

.boe-subscore__fill {
	background: linear-gradient(90deg, var(--boe-primary) 0%, var(--boe-verified) 100%);
	border-radius: 999px;
	display: block;
	height: 100%;
}

.boe-verdict__lists {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
	padding: 1.25rem 1.35rem;
}

@media (min-width: 640px) {
	.boe-verdict__lists {
		grid-template-columns: repeat(2, 1fr);
	}
}

.boe-verdict__list-col {
	border-radius: var(--boe-radius-sm);
	padding: 1rem 1.15rem;
}

.boe-verdict__list-col--pros {
	background: var(--boe-pros-bg);
	border: 1px solid #dcfce7;
}

.boe-verdict__list-col--cons {
	background: var(--boe-cons-bg);
	border: 1px solid #fee2e2;
}

.boe-verdict__list-heading {
	align-items: center;
	display: flex;
	font-size: 1rem;
	font-weight: 750;
	gap: 0.4rem;
	margin: 0 0 0.6rem;
}

.boe-verdict__list-col--pros .boe-verdict__list-heading {
	color: var(--boe-pros-accent);
}

.boe-verdict__list-col--cons .boe-verdict__list-heading {
	color: var(--boe-cons-accent);
}

.boe-verdict__list {
	font-size: 0.9375rem;
	line-height: 1.55;
	margin: 0;
	padding-left: 1.2rem;
}

.boe-verdict__cta {
	background: var(--boe-surface);
	border-top: 1px solid var(--boe-border);
	padding: 1.25rem 1.35rem;
	text-align: center;
}

.boe-verdict__cta-buttons {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.boe-verdict__cta-note {
	color: var(--boe-muted);
	font-size: 0.83rem;
	margin: 0.6rem 0 0;
}

.boe-btn-cta,
.boe-cta-btn .wp-block-button__link {
	align-items: center;
	background-color: var(--boe-cta) !important;
	border: 1px solid var(--boe-cta-hover);
	border-radius: 9px;
	box-shadow: 0 3px 10px rgba(13, 122, 95, 0.22);
	color: var(--boe-cta-ink) !important;
	cursor: pointer;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 700;
	gap: 0.45rem;
	justify-content: center;
	line-height: 1.3;
	min-height: 50px;
	padding: 0.8rem 1.65rem;
	text-decoration: none !important;
	transition: background-color 0.15s ease, transform 0.12s ease;
}

.boe-btn-cta:hover,
.boe-cta-btn .wp-block-button__link:hover {
	background-color: var(--boe-cta-hover) !important;
	color: var(--boe-white) !important;
	transform: translateY(-1px);
}

.boe-btn-cta--full {
	max-width: 380px;
	width: 100%;
}

.boe-btn-secondary-cta {
	align-items: center;
	background: var(--boe-white);
	border: 1.5px solid var(--boe-primary);
	border-radius: 9px;
	color: var(--boe-primary-dark);
	display: inline-flex;
	font-size: 0.9375rem;
	font-weight: 700;
	justify-content: center;
	min-height: 50px;
	padding: 0.75rem 1.3rem;
	text-decoration: none;
}

.boe-rail-card--verdict {
	border-color: var(--boe-primary-border);
	border-top: 4px solid var(--boe-primary);
	text-align: center;
}

.boe-rail-card__eyebrow {
	background: var(--boe-primary-tint);
	border: 1px solid var(--boe-primary-border);
	border-radius: 999px;
	color: var(--boe-primary-dark);
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	margin-bottom: 0.7rem;
	padding: 0.18rem 0.65rem;
	text-transform: uppercase;
}

.boe-rail-card__img-wrap {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius-sm);
	display: flex;
	justify-content: center;
	margin-bottom: 0.7rem;
	padding: 0.55rem;
}

.boe-rail-card__img {
	max-height: 112px;
	object-fit: contain;
	width: auto;
}

.boe-rail-card__product {
	color: var(--boe-ink);
	font-size: 1.08rem;
	font-weight: 800;
	margin: 0 0 0.35rem;
}

.boe-rail-card__rating {
	display: flex;
	justify-content: center;
	margin-bottom: 0.65rem;
}

.boe-rail-card__facts {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius-sm);
	margin-bottom: 0.8rem;
	padding: 0.6rem 0.75rem;
	text-align: left;
}

.boe-rail-card__meta {
	font-size: 0.82rem;
	line-height: 1.45;
	margin: 0 0 0.3rem;
}

.boe-rail-card__meta:last-child {
	margin-bottom: 0;
}

.boe-btn-cta--rail {
	font-size: 0.9375rem !important;
	min-height: 44px !important;
	padding: 0.6rem 1rem !important;
	width: 100%;
}

.boe-repeat-cta {
	align-items: center;
	background: linear-gradient(135deg, var(--boe-primary-tint) 0%, var(--boe-white) 100%);
	border: 1.5px solid var(--boe-primary-border);
	border-radius: var(--boe-radius);
	display: flex;
	flex-wrap: wrap;
	gap: 1.15rem;
	justify-content: space-between;
	margin: 2.5rem 0;
	padding: 1.45rem 1.6rem;
}

.boe-repeat-cta__product {
	color: var(--boe-ink);
	font-size: 1.15rem;
	font-weight: 750;
	margin: 0;
}

.boe-repeat-cta__sub {
	color: var(--boe-muted);
	font-size: 0.92rem;
	margin: 0.2rem 0 0;
}

.boe-repeat-cta__action {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.boe-repeat-cta__note {
	color: var(--boe-muted);
	font-size: 0.8rem;
}

.boe-mobile-cta-bar {
	align-items: center;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(8px);
	border-top: 1px solid var(--boe-border-strong);
	bottom: 0;
	box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.12);
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
	left: 0;
	padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
	position: fixed;
	right: 0;
	z-index: 300;
}

@media (min-width: 1024px) {
	.boe-mobile-cta-bar {
		display: none !important;
	}
}

.boe-mobile-cta-bar__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.boe-mobile-cta-bar__title {
	color: var(--boe-ink);
	font-size: 0.9rem;
	font-weight: 750;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.boe-mobile-cta-bar__score {
	color: var(--boe-star);
	font-size: 0.8rem;
	font-weight: 700;
}

.boe-mobile-cta-bar__actions {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	gap: 0.45rem;
}

.boe-btn-cta--compact {
	font-size: 0.875rem !important;
	min-height: 40px !important;
	padding: 0.45rem 0.95rem !important;
}

.boe-mobile-cta-bar__close {
	align-items: center;
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: 50%;
	color: var(--boe-muted);
	cursor: pointer;
	display: inline-flex;
	font-size: 1.1rem;
	height: 32px;
	justify-content: center;
	padding: 0;
	width: 32px;
}

/* ==========================================================================
   7. Clinical Sources, Medical Disclaimer, Author Stack & Post Nav
   ========================================================================== */

.boe-entry-footer {
	border-top: 1px solid var(--boe-border);
	margin-top: 2.6rem;
	padding-top: 2rem;
}

.boe-references {
	margin-bottom: 1.5rem;
}

.boe-references__details {
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius-sm);
}

.boe-references__summary {
	align-items: center;
	color: var(--boe-ink);
	cursor: pointer;
	display: flex;
	font-size: 0.95rem;
	font-weight: 700;
	justify-content: space-between;
	list-style: none;
	padding: 0.85rem 1.15rem;
}

.boe-references__summary::-webkit-details-marker {
	display: none;
}

.boe-references__title-group {
	align-items: center;
	display: inline-flex;
	gap: 0.5rem;
}

.boe-references__title-group svg {
	color: var(--boe-primary);
}

.boe-references__badge {
	background: var(--boe-primary-tint);
	border-radius: 999px;
	color: var(--boe-primary-dark);
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
	padding: 0.1rem 0.55rem;
}

.boe-references__toggle-hint {
	color: var(--boe-primary);
	font-size: 1.25rem;
	font-weight: 600;
}

.boe-references__details[open] .boe-references__toggle-hint {
	visibility: hidden;
}

.boe-references__list {
	border-top: 1px solid var(--boe-border);
	color: var(--boe-muted);
	font-size: 0.875rem;
	line-height: 1.58;
	margin: 0;
	padding: 1rem 1.25rem 1rem 2.25rem;
}

.boe-references__item {
	margin-bottom: 0.5rem;
	word-break: break-word;
}

/* Medical Disclaimer Callout */
.boe-medical-disclaimer {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-left: 4px solid var(--boe-primary);
	border-radius: var(--boe-radius-sm);
	color: var(--boe-muted);
	font-size: 0.89rem;
	line-height: 1.62;
	margin-bottom: 1.75rem;
	padding: 1.1rem 1.25rem;
}

.boe-medical-disclaimer__head {
	align-items: center;
	color: var(--boe-ink);
	display: flex;
	gap: 0.42rem;
	margin-bottom: 0.35rem;
}

.boe-medical-disclaimer__head svg {
	color: var(--boe-primary);
}

.boe-medical-disclaimer__label {
	font-size: 0.8125rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.boe-medical-disclaimer__text p:last-child {
	margin-bottom: 0;
}

.boe-medical-disclaimer__more {
	margin-top: 0.5rem;
}

/* Author + Reviewer Stack */
.boe-author-stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.boe-author-box {
	align-items: flex-start;
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	display: flex;
	gap: 1.15rem;
	padding: 1.35rem;
}

.boe-author-box--reviewer {
	background: var(--boe-verified-tint);
	border-color: var(--boe-verified-border);
}

.boe-author-box__avatar-link {
	flex-shrink: 0;
}

.boe-author-box__avatar {
	border-radius: 50%;
	height: 72px;
	object-fit: cover;
	width: 72px;
}

.boe-author-box--reviewer .boe-author-box__avatar {
	height: 60px;
	width: 60px;
}

.boe-author-box__header {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.6rem;
	margin-bottom: 0.4rem;
}

.boe-author-box__tag {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: 4px;
	color: var(--boe-muted);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	padding: 0.1rem 0.45rem;
	text-transform: uppercase;
}

.boe-author-box__tag--reviewer {
	background: var(--boe-verified);
	border-color: var(--boe-verified);
	color: var(--boe-white);
}

.boe-author-box__name {
	color: var(--boe-ink);
	font-size: 1.0625rem;
	font-weight: 750;
	text-decoration: none;
}

.boe-author-box__name:hover {
	color: var(--boe-primary);
}

.boe-author-box__role {
	color: var(--boe-muted);
	font-size: 0.855rem;
	font-weight: 600;
}

.boe-author-box__bio {
	color: var(--boe-body);
	font-size: 0.9375rem;
	line-height: 1.58;
	margin: 0 0 0.55rem;
}

.boe-author-box__more {
	font-size: 0.855rem;
	font-weight: 700;
	text-decoration: none;
}

/* Prev / Next Article Navigation */
.boe-post-nav {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
	margin-top: 1.75rem;
}

@media (min-width: 640px) {
	.boe-post-nav {
		grid-template-columns: repeat(2, 1fr);
	}
}

.boe-post-nav__card {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 1rem 1.15rem;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.boe-post-nav__card:hover {
	background: var(--boe-primary-tint);
	border-color: var(--boe-primary-border);
}

.boe-post-nav__card--next {
	text-align: right;
}

.boe-post-nav__dir {
	color: var(--boe-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.boe-post-nav__title {
	color: var(--boe-ink);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.38;
}

.boe-related {
	border-top: 1px solid var(--boe-border);
	margin-top: 3.25rem;
	padding-top: 2.75rem;
}

.boe-related .boe-section-title {
	margin-bottom: 1.5rem;
}

/* ==========================================================================
   8. Archive, Author Page, Search Results, 404, Pagination & Oxford Footer
   ========================================================================== */

.boe-archive,
.boe-author-archive,
.boe-search-results,
.boe-404 {
	padding: 2rem 0 4rem;
}

.boe-archive-header {
	border-bottom: 1px solid var(--boe-border);
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
}

.boe-archive-header__top {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.boe-archive-header__icon {
	align-items: center;
	background: var(--boe-primary-tint);
	border: 1px solid var(--boe-primary-border);
	border-radius: 10px;
	color: var(--boe-primary);
	display: inline-flex;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.boe-archive-header__title {
	margin: 0;
}

.boe-archive-header__badge {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: 999px;
	color: var(--boe-muted);
	font-size: 0.8rem;
	font-weight: 650;
	padding: 0.2rem 0.7rem;
}

.boe-archive-header__desc {
	color: var(--boe-muted);
	font-size: 1.05rem;
	max-width: 720px;
}

.boe-archive-header__desc p:last-child {
	margin-bottom: 0;
}

.boe-archive-header__count {
	color: var(--boe-muted);
	font-size: 0.95rem;
	margin: 0.4rem 0 1rem;
}

.boe-archive-header__search {
	max-width: 560px;
}

/* Author Archive Hero */
.boe-author-hero {
	align-items: flex-start;
	background: linear-gradient(145deg, var(--boe-surface) 0%, var(--boe-white) 100%);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius-lg);
	box-shadow: var(--boe-shadow-xs);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-bottom: 2.75rem;
	padding: 1.75rem;
}

@media (min-width: 640px) {
	.boe-author-hero {
		flex-direction: row;
		gap: 1.85rem;
		padding: 2.25rem;
	}
}

.boe-author-hero__avatar {
	border: 3px solid var(--boe-white);
	border-radius: 50%;
	box-shadow: var(--boe-shadow-sm);
	height: 116px;
	object-fit: cover;
	width: 116px;
}

.boe-author-hero__name {
	margin-bottom: 0.2rem;
}

.boe-author-hero__role {
	color: var(--boe-primary);
	font-size: 1.02rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
}

.boe-author-hero__credentials-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin-bottom: 0.9rem;
}

.boe-cred-item {
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius-sm);
	color: var(--boe-body);
	font-size: 0.84375rem;
	padding: 0.25rem 0.65rem;
}

.boe-author-hero__bio {
	color: var(--boe-body);
	font-size: 1.02rem;
	max-width: 720px;
}

.boe-author-hero__areas {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.boe-author-hero__areas-label {
	color: var(--boe-ink);
	font-size: 0.875rem;
	font-weight: 750;
}

.boe-topic-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.boe-topic-tags__item {
	background: var(--boe-primary-tint);
	border: 1px solid var(--boe-primary-border);
	border-radius: 999px;
	color: var(--boe-primary-dark);
	font-size: 0.83rem;
	font-weight: 650;
	margin: 0;
	padding: 0.2rem 0.75rem;
}

.boe-author-hero__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.25rem;
	list-style: none;
	margin: 1.1rem 0 0;
	padding: 0;
}

.boe-author-hero__links li {
	margin: 0;
}

.boe-author-hero__links a {
	font-size: 0.92rem;
	font-weight: 650;
}

.boe-author-posts .boe-section-title {
	margin-bottom: 1.5rem;
}

.boe-author-posts--reviewed {
	border-top: 1px solid var(--boe-border);
	margin-top: 3rem;
	padding-top: 2.75rem;
}

/* 404 Page */
.boe-404__box {
	padding: 1.5rem 0;
	text-align: center;
}

.boe-404__code {
	color: var(--boe-primary);
	display: block;
	font-size: 3.75rem;
	font-weight: 850;
	line-height: 1;
	margin-bottom: 0.5rem;
}

.boe-404__desc {
	color: var(--boe-muted);
	margin: 0 auto 1.5rem;
	max-width: 540px;
}

.boe-404__search {
	margin: 0 auto 2.25rem;
	max-width: 540px;
}

.boe-404__cats {
	margin-bottom: 2rem;
}

.boe-404__cats-title {
	font-size: 1.125rem;
	margin-bottom: 0.875rem;
}

.boe-404__cats-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.boe-404__cats-list li {
	margin: 0;
}

.boe-404__cat-pill {
	background: var(--boe-primary-tint);
	border: 1px solid var(--boe-primary-border);
	border-radius: 999px;
	color: var(--boe-primary-dark);
	display: inline-block;
	font-size: 0.92rem;
	font-weight: 650;
	padding: 0.38rem 0.95rem;
	text-decoration: none;
}

.boe-404__cat-pill:hover {
	background: var(--boe-primary);
	border-color: var(--boe-primary);
	color: var(--boe-white);
}

.boe-empty-state {
	background: var(--boe-surface);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius);
	color: var(--boe-muted);
	padding: 2.25rem 1.5rem;
	text-align: center;
}

.boe-empty-state p {
	margin: 0;
}

/* Pagination & Comments */
.navigation.pagination,
.boe-page-links {
	margin-top: 2.5rem;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	justify-content: center;
}

.navigation.pagination .page-numbers {
	align-items: center;
	background: var(--boe-white);
	border: 1px solid var(--boe-border);
	border-radius: var(--boe-radius-sm);
	color: var(--boe-ink);
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 650;
	justify-content: center;
	min-height: 42px;
	min-width: 42px;
	padding: 0.38rem 0.85rem;
	text-decoration: none;
}

.navigation.pagination .page-numbers:hover {
	border-color: var(--boe-primary);
	color: var(--boe-primary);
}

.navigation.pagination .page-numbers.current {
	background: var(--boe-primary);
	border-color: var(--boe-primary);
	color: var(--boe-white);
}

.boe-comments {
	border-top: 1px solid var(--boe-border);
	margin-top: 2.5rem;
	padding-top: 2rem;
}

.boe-comments__list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.boe-comments__list .comment-body {
	border-bottom: 1px solid var(--boe-border);
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
}

.boe-comments__list .children {
	list-style: none;
	padding-left: 1.5rem;
}

.comment-form label {
	display: block;
	font-size: 0.92rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	background: var(--boe-white);
	border: 1px solid var(--boe-border-strong);
	border-radius: var(--boe-radius-sm);
	color: var(--boe-ink);
	font-family: inherit;
	font-size: 1rem;
	padding: 0.65rem 0.85rem;
	width: 100%;
}

.comment-form .submit {
	background: var(--boe-primary);
	border: 0;
	border-radius: var(--boe-radius-sm);
	color: var(--boe-white);
	cursor: pointer;
	font-family: inherit;
	font-size: 0.96875rem;
	font-weight: 700;
	min-height: 46px;
	padding: 0.65rem 1.375rem;
}

.comment-form .submit:hover {
	background: var(--boe-primary-dark);
}

/* Deep Clinical Oxford Footer */
.site-footer {
	background: var(--boe-footer-bg);
	color: rgba(255, 255, 255, 0.82);
	margin-top: auto;
	padding: 3.5rem 0 2.25rem;
}

.site-footer__grid {
	display: grid;
	gap: 2.25rem;
	grid-template-columns: 1fr;
	padding-bottom: 2.25rem;
}

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: 1.5fr 1fr 1fr;
	}
}

.site-footer__brand-col {
	max-width: 460px;
}

.site-footer__brand {
	align-items: center;
	color: var(--boe-white);
	display: inline-flex;
	font-size: 1.25rem;
	font-weight: 800;
	gap: 0.6rem;
	letter-spacing: -0.02em;
	margin-bottom: 0.75rem;
	text-decoration: none;
}

.site-footer__brand:hover {
	color: #bae6fd;
}

.site-footer__desc {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.92rem;
	line-height: 1.62;
	margin: 0;
}

.site-footer__heading {
	color: var(--boe-white);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin: 0 0 0.85rem;
	text-transform: uppercase;
}

.site-footer__links {
	display: grid;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__links li {
	margin: 0;
}

.site-footer__links a {
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.90625rem;
	font-weight: 500;
	text-decoration: none;
}

.site-footer__links a:hover {
	color: var(--boe-white);
	text-decoration: underline;
}

.site-footer__disclaimer {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--boe-radius-sm);
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.8rem;
	line-height: 1.58;
	margin-bottom: 1.5rem;
	padding: 0.95rem 1.15rem;
}

.site-footer__disclaimer p {
	margin: 0;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 1.25rem;
}

.site-footer__copyright {
	color: rgba(255, 255, 255, 0.64);
	font-size: 0.84375rem;
	margin: 0;
}

/* ==========================================================================
   9. Clean Print Stylesheet for Health Articles
   ========================================================================== */

@media print {
	.site-header,
	.boe-sticky-rail,
	.boe-byline-actions,
	.boe-toc,
	.boe-post-nav,
	.boe-related,
	.boe-comments,
	.boe-mobile-cta-bar,
	.site-footer {
		display: none !important;
	}

	body {
		background: #ffffff !important;
		color: #000000 !important;
		font-size: 11.5pt !important;
	}

	.boe-reading-col,
	.boe-container {
		max-width: 100% !important;
		padding: 0 !important;
	}
}
