/* ==========================================================================
   Single article template
   Source: design team's "Blog Article.dc.html"
   ========================================================================== */

.bh-article-header {
	padding: var(--space-9) var(--section-pad-x) var(--space-7);
	background: var(--surface-page);
}

.bh-article-header__inner {
	max-width: 820px;
	margin-inline: auto;
	display: grid;
	gap: var(--space-5);
}

.bh-article-header__title {
	margin: 0;
	font-size: var(--fs-display);
	line-height: 1.15;
	font-weight: var(--fw-light);
	letter-spacing: var(--ls-caps);
	text-transform: uppercase;
	color: var(--text-heading);
}

.bh-article-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4);
	padding-top: var(--space-2);
}

.bh-avatar {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-circle);
	object-fit: cover;
}

.bh-avatar--lg {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
}

.bh-article-byline__name {
	display: block;
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	color: var(--text-heading);
}

.bh-article-byline__name a { color: var(--link); }

.bh-article-byline__meta {
	display: block;
	font-size: 12px;
	color: var(--text-muted);
}

.bh-share {
	display: flex;
	gap: var(--space-2);
}

.bh-share--article {
	margin-left: auto;
}

.bh-share a {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: var(--border-width-1) solid var(--border-default);
	color: var(--text-muted);
}

.bh-share a:hover {
	border-color: var(--gold-500);
	color: var(--gold-600);
}

.bh-article-hero {
	position: relative;
	width: 100%;
	height: 320px;
	margin-inline: auto;
	background: var(--cream-100);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	border: var(--border-width-1) dashed var(--rule-light);
	color: var(--text-muted);
	font-size: var(--fs-small);
	text-align: center;
}

.bh-article-hero i { font-size: 26px; color: var(--gold-500); }

.bh-article-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Same width as the featured image and the article container above/below it
   (Blog Page feedback: "Box width should match with page width"). */
.bh-article-tldr-wrap {
	max-width: var(--container-max);
	margin: var(--space-8) auto 0;
	padding-inline: var(--section-pad-x);
}

.bh-article-tldr {
	border: var(--border-width-1) solid var(--border-default);
	background: var(--surface-tint);
	padding: var(--space-6) var(--space-7);
	display: grid;
	gap: var(--space-3);
}

.bh-article-tldr__label {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: 12px;
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-caps);
	color: var(--text-heading);
}

.bh-article-tldr p {
	margin: 0;
	font-size: var(--fs-small);
	line-height: 1.8;
	color: var(--text-body);
}

/* No side padding here: the inner .bh-container already pads the sides, so
   the text column lines up with the featured image and TL;DR at every width. */
.bh-article-body-section {
	padding: var(--space-9) 0 0;
}

.bh-article-layout {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-7);
	align-items: flex-start;
}

/* ---- Article content (the_content output) ---- */

.bh-article-content {
	flex: 1 1 420px;
	min-width: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--text-body);
}

.bh-article-content > * + * { margin-top: var(--space-6); }

.bh-article-content h2 {
	font-size: var(--fs-h1);
	line-height: var(--lh-h1);
	font-weight: var(--fw-regular);
	color: var(--text-heading);
	/* clears the 64px fixed header when jumped to from the TOC */
	scroll-margin-top: 88px;
}

body.admin-bar .bh-article-content h2 { scroll-margin-top: 120px; }

.bh-article-content h3 {
	font-size: var(--fs-h4);
	font-weight: var(--fw-bold);
	color: var(--text-heading);
}

.bh-article-content p { margin: 0; }

.bh-article-content ul,
.bh-article-content ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* never wider than the article */
	gap: var(--space-4);
}

/* Normal text flow (not flex) so a bullet that mixes plain text, bold words
   and links wraps like a sentence instead of splitting into columns that
   push the page wider than a phone screen. The gold dot sits in the padding. */
.bh-article-content ul li {
	position: relative;
	padding-left: calc(6px + var(--space-3));
}

.bh-article-content ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 11px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gold-500);
}

.bh-article-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-small);
	border: var(--border-width-1) solid var(--border-default);
}

.bh-article-content thead tr { background: var(--navy-900); }

/* Header row stays visible while scrolling a long table. The offset clears
   the fixed site header (64px once scrolled) so the row isn't hidden behind
   it; logged-in users also have the 32px WP admin bar on top. */
.bh-article-content thead th {
	position: sticky;
	top: 64px;
	z-index: 2;
	background: var(--navy-900);
}

body.admin-bar .bh-article-content thead th { top: 96px; }

/* Older posts (built in Elementor / pasted from Word) have no <thead>: their
   first row is the header. Give that row the same header look and sticky
   behaviour. Only applies when the table has no real <thead>. */
.bh-article-content table:not(:has(thead)) > tbody > tr:first-child > td,
.bh-article-content table:not(:has(thead)) > tbody > tr:first-child > th {
	position: sticky;
	top: 64px;
	z-index: 2;
	background: var(--navy-900);
	color: var(--white);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-caps);
}

body.admin-bar .bh-article-content table:not(:has(thead)) > tbody > tr:first-child > td,
body.admin-bar .bh-article-content table:not(:has(thead)) > tbody > tr:first-child > th { top: 96px; }

/* Core's table block wraps tables in a scroll container (overflow-x: auto),
   which disables sticky positioning for anything inside it, so the header row
   scrolled away and was cut off at the top on phones. Drop the scroll box at
   every width and let long words wrap on small screens so the table still
   fits the column instead of needing a sideways scroll. */
.bh-article-content .wp-block-table { overflow: visible; }

@media (max-width: 767px) {
	.bh-article-content table th,
	.bh-article-content table td {
		width: auto; /* ignore old fixed width="…" attributes from Elementor/Word */
		padding: var(--space-2);
		font-size: 13px;
		letter-spacing: 0;
		overflow-wrap: break-word;
		hyphens: auto;
	}

	/* Short header labels may break mid-word rather than push a 4-column
	   table wider than the phone screen. */
	.bh-article-content thead th { overflow-wrap: anywhere; }
}

/* Logged-in only: the WP admin bar is 46px tall up to 782px wide, and below
   600px it scrolls away with the page, leaving just the 64px site header. */
@media (max-width: 782px) {
	body.admin-bar .bh-article-content thead th,
	body.admin-bar .bh-article-content table:not(:has(thead)) > tbody > tr:first-child > td,
	body.admin-bar .bh-article-content table:not(:has(thead)) > tbody > tr:first-child > th { top: 110px; }
}

@media (max-width: 600px) {
	body.admin-bar .bh-article-content thead th,
	body.admin-bar .bh-article-content table:not(:has(thead)) > tbody > tr:first-child > td,
	body.admin-bar .bh-article-content table:not(:has(thead)) > tbody > tr:first-child > th { top: 64px; }
}

.bh-article-content th {
	text-align: left;
	padding: var(--space-3) var(--space-4);
	color: var(--white);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-caps);
}

.bh-article-content td {
	padding: var(--space-3) var(--space-4);
	color: var(--text-body);
}

.bh-article-content tbody tr:nth-child(odd) { background: var(--surface-card); }
.bh-article-content tbody tr:nth-child(even) { background: var(--surface-tint); }

.bh-article-content blockquote {
	padding: var(--space-6) var(--space-7);
	background: var(--surface-tint);
	border: none;
	font-size: var(--fs-h3);
	line-height: 1.5;
	font-style: italic;
	font-weight: var(--fw-regular);
	color: var(--text-heading);
}

.bh-article-content blockquote cite {
	display: block;
	margin-top: var(--space-3);
	font-size: var(--fs-small);
	font-style: normal;
	color: var(--text-muted);
}

.bh-article-content figure {
	margin: 0;
	display: grid;
	gap: var(--space-3);
	max-width: 560px;
}

.bh-article-content figcaption {
	font-size: 12px;
	color: var(--text-muted);
	text-align: center;
}

.bh-article-content img { width: 100%; height: auto; }

/* Article links: darker than the gold accent and underlined, so they read as
   links; navy on hover like the header/footer links. */
/* The :not() list keeps buttons and image links out, and raises specificity
   above Elementor's `.elementor a { text-decoration: none }`, which loads
   after this file on posts built with Elementor. */
.bh-article-content a:not(.bh-btn):not(.elementor-button):not(.wp-block-button__link):not(:has(> img)) {
	color: var(--link-strong);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

.bh-article-content a:not(.bh-btn):not(.elementor-button):not(.wp-block-button__link):not(:has(> img)):hover,
.bh-article-content a:not(.bh-btn):not(.elementor-button):not(.wp-block-button__link):not(:has(> img)):focus-visible {
	color: var(--navy-900);
	text-decoration-thickness: 2px;
}

/* Numbered step list — apply class "bh-steps" to an <ol> in post content.
   Every child of <li> after the counter badge (heading, paragraph, or any
   other element) is pinned to the second grid column, so authors don't have
   to wrap them in an extra container for the layout to hold. */
.bh-steps { counter-reset: bh-step; }

.bh-steps li {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: var(--space-1) var(--space-4);
}

.bh-steps li::before {
	counter-increment: bh-step;
	content: counter(bh-step);
	grid-column: 1;
	grid-row: 1 / -1;
	width: 36px;
	height: 36px;
	background: var(--navy-900);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	margin-top: 0;
	border-radius: 0;
	flex-shrink: 0;
}

.bh-steps li > * { grid-column: 2; }

/* FAQ accordion — wrap <details>/<summary> pairs in .bh-faqs */
.bh-faqs { border-top: var(--border-width-1) solid var(--border-default); }

.bh-faqs details {
	border-bottom: var(--border-width-1) solid var(--border-default);
}

.bh-faqs summary {
	cursor: pointer;
	list-style: none;
	padding: var(--space-4) 0;
	display: flex;
	justify-content: space-between;
	gap: var(--space-4);
	font-size: var(--fs-body);
	font-weight: var(--fw-bold);
	color: var(--text-heading);
}

.bh-faqs summary::-webkit-details-marker { display: none; }

.bh-faqs summary::after {
	content: '\f078';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 12px;
	color: var(--gold-500);
}

.bh-faqs details[open] summary::after { content: '\f077'; }

.bh-faqs details p {
	margin: 0 0 var(--space-4);
	font-size: var(--fs-small);
	line-height: 1.8;
	color: var(--text-muted);
}

/* Callout box — <div class="bh-callout bh-callout--info|caution|critical"> */
.bh-callout {
	border-left: 3px solid var(--text-muted);
	padding: var(--space-4) var(--space-5);
	display: flex;
	gap: var(--space-3);
	background: var(--surface-page);
}

.bh-callout p { margin: 0; font-size: var(--fs-small); line-height: 1.8; }
.bh-callout i { margin-top: 2px; }

.bh-callout--info { border-color: #4a7ab5; }
.bh-callout--info i { color: #4a7ab5; }
.bh-callout--caution { border-color: #c98a3c; }
.bh-callout--caution i { color: #c98a3c; }
.bh-callout--critical { border-color: #b5473f; }
.bh-callout--critical i { color: #b5473f; }

/* Quick tip aside — <aside class="bh-tip"> */
.bh-tip {
	background: var(--cream-50);
	padding: var(--space-6) var(--space-7);
	display: flex;
	gap: var(--space-4);
	align-items: flex-start;
}

.bh-tip i { color: var(--gold-500); font-size: 22px; margin-top: 2px; }

.bh-tip__label {
	display: block;
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-caps);
	color: var(--text-heading);
	margin-bottom: var(--space-2);
}

/* Stats grid — <div class="bh-stats"> */
.bh-stats {
	background: var(--surface-tint);
	padding: var(--space-7);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: var(--space-6);
	text-align: center;
}

.bh-stats__value {
	display: block;
	font-size: var(--fs-display);
	font-weight: var(--fw-light);
	color: var(--navy-900);
}

.bh-stats__label {
	font-size: 12px;
	letter-spacing: var(--ls-caps);
	color: var(--text-muted);
}

/* Mid-article CTA — <section class="bh-mid-cta"> */
.bh-mid-cta {
	background: var(--navy-900);
	padding: var(--space-8) var(--space-7);
	display: grid;
	justify-items: center;
	gap: var(--space-4);
	text-align: center;
}

.bh-mid-cta h2 {
	margin: 0;
	font-size: var(--fs-h2);
	font-weight: var(--fw-light);
	letter-spacing: var(--ls-caps);
	color: var(--white);
}

.bh-mid-cta p {
	margin: 0;
	max-width: 480px;
	color: var(--text-on-dark);
}

/* Beat the generic gold `.bh-article-content a` link color, which otherwise
   makes the button label gold-on-gold (invisible). */
.bh-article-content .bh-mid-cta .bh-btn { color: var(--text-heading); }

/* ---- Sticky rail ---- */

.bh-article-rail {
	flex: 0 1 220px;
	min-width: 200px;
	position: sticky;
	top: 88px; /* clears the 64px fixed header (scrolled state) + gap */
	/* ends above the 56px floating WhatsApp/Call buttons (24px from bottom) */
	max-height: calc(100vh - 88px - 104px);
	overflow-y: auto;
	display: grid;
	gap: var(--space-5);
	align-self: flex-start;
	padding-right: 2px;
}

/* Logged-in: the WP admin bar adds 32px above the fixed header. Desktop
   only; below 900px the rail is no longer sticky. */
@media (min-width: 901px) {
	body.admin-bar .bh-article-rail {
		top: 120px;
		max-height: calc(100vh - 120px - 104px);
	}
}

.bh-toc {
	border: var(--border-width-1) solid var(--border-default);
	padding: var(--space-5);
	display: grid;
	gap: var(--space-3);
}

.bh-toc__label {
	display: block;
	font-size: 11px;
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-caps);
	text-transform: uppercase;
	color: var(--text-heading);
}

.bh-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--space-2);
}

.bh-toc a {
	font-size: var(--fs-small);
	color: var(--link-strong);
	text-decoration: none;
	transition: color 0.15s ease;
}

.bh-toc a:hover,
.bh-toc a:focus-visible {
	color: var(--navy-900);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Section currently in view (scroll-spy). */
.bh-toc a.is-active {
	color: var(--navy-900);
	font-weight: var(--fw-bold);
	box-shadow: inset 3px 0 0 var(--gold-500);
	padding-left: var(--space-2);
}

/* Collapsible TOC under the TL;DR: phones/tablets only (≤900px, where the
   rail stops being a sidebar and drops below the article). */
.bh-toc-mobile-wrap { display: none; }

.bh-toc--mobile summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	list-style: none;
}

.bh-toc--mobile summary::-webkit-details-marker { display: none; }
.bh-toc--mobile summary i { font-size: 12px; color: var(--gold-500); transition: transform 0.2s ease; }
.bh-toc--mobile[open] summary i { transform: rotate(180deg); }
.bh-toc--mobile:not([open]) { gap: 0; }

@media (max-width: 900px) {
	.bh-toc-mobile-wrap { display: block; margin-top: var(--space-6); }
	.bh-article-rail .bh-toc { display: none; }
}

.bh-rail-cta {
	border: var(--border-width-1) solid var(--border-default);
	padding: var(--space-6);
	display: grid;
	gap: var(--space-4);
}

.bh-rail-cta__label {
	font-size: 12px;
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-caps);
	color: var(--text-heading);
}

.bh-rail-cta p {
	margin: 0;
	font-size: var(--fs-small);
	line-height: 1.7;
	color: var(--text-muted);
}

.bh-btn--small {
	padding: 10px 16px;
	font-size: var(--fs-small);
	justify-self: start;
}

/* ---- Author card ---- */

.bh-author-card {
	max-width: 820px;
	margin: var(--space-9) auto; /* bottom gap keeps it off the dark CTA band */
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-6);
	align-items: center;
	padding: var(--space-6) var(--space-7);
	background: var(--surface-card);
	border: var(--border-width-1) solid var(--border-default);
}

.bh-author-card__body {
	display: grid;
	gap: var(--space-2);
	flex: 1 1 240px;
}

.bh-author-card__name {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-body);
	font-weight: var(--fw-bold);
	color: var(--text-heading);
}

.bh-author-card__name a { color: inherit; }
.bh-author-card__name i { color: var(--gold-500); font-size: 14px; }

.bh-author-card__title {
	font-size: var(--fs-small);
	color: var(--text-muted);
}

.bh-author-card__body p {
	margin: 0;
	font-size: var(--fs-small);
	line-height: 1.7;
	color: var(--text-body);
}

.bh-author-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.bh-pill {
	font-size: 11px;
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-caps);
	padding: 5px 12px;
	border-radius: var(--radius-pill);
	background: var(--surface-tint);
	color: var(--text-heading);
	border: var(--border-width-1) solid var(--border-default);
}

.bh-author-card__link {
	align-self: center;
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	color: var(--text-accent);
	white-space: nowrap;
}

/* ---- Back to top ---- */

.bh-back-to-top {
	position: fixed;
	/* Offset above the bottom-right corner so it doesn't collide with
	   third-party floating widgets (WhatsApp chat, accessibility toolbar)
	   that commonly anchor to that same corner. */
	bottom: 96px;
	right: 24px;
	width: 48px;
	height: 48px;
	border-radius: var(--radius-circle);
	background: var(--navy-900);
	color: var(--white);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 50;
	box-shadow: var(--shadow-soft);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.15s ease, color 0.15s ease;
}

.bh-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

.bh-back-to-top:hover {
	background: var(--gold-500);
	color: var(--navy-900);
}

/* ---- Split project CTA (with media) ---- */

.bh-project-cta--split { text-align: left; padding-block: var(--space-10); }

.bh-project-cta__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--space-8);
	align-items: center;
}

.bh-project-cta__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--navy-800);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-on-dark);
	font-size: var(--fs-small);
	border: var(--border-width-1) dashed var(--border-on-dark);
}

.bh-project-cta__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bh-project-cta__copy { display: grid; gap: var(--space-4); }

.bh-project-cta--split .bh-project-cta__title { margin-top: 0; }
.bh-project-cta--split .bh-project-cta__desc { margin: 0; max-width: none; }
.bh-project-cta--split .bh-btn { margin-top: var(--space-2); }

/* ---- Related articles ---- */

.bh-related {
	padding: var(--space-9) var(--section-pad-x);
	background: var(--surface-page);
}

.bh-related__title {
	margin: 0 0 var(--space-8);
	font-size: var(--fs-h2);
	font-weight: var(--fw-regular);
	color: var(--text-heading);
}

.bh-related__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--space-6);
}

.bh-related-card {
	border: var(--border-width-1) solid var(--border-default);
	background: var(--surface-card);
	display: grid;
}

.bh-related-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--cream-100);
	overflow: hidden;
}

.bh-related-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bh-related-card__media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: var(--border-width-1) dashed var(--rule-light);
	color: var(--text-muted);
	font-size: 12px;
}

.bh-related-card__body {
	padding: var(--space-5);
	display: grid;
	gap: var(--space-2);
}

.bh-related-card__body h3 {
	margin: 0;
	font-size: var(--fs-h4);
	font-weight: var(--fw-regular);
	color: var(--text-heading);
}

.bh-related-card__body h3 a { color: inherit; }
.bh-related-card__body h3 a:hover { color: var(--gold-600); }

.bh-related-card__author {
	font-size: 12px;
	color: var(--text-muted);
}

.bh-related-card__author a { color: var(--link); }

/* ---- Responsive ---- */

@media (max-width: 900px) {
	.bh-article-rail {
		position: static;
		max-height: none;
		flex-basis: 100%;
	}
}

@media (max-width: 600px) {
	.bh-article-header__title { font-size: 32px; }
	.bh-article-hero { height: 220px; }
}

/* Fallback if YARPP's strip is still printed (see blog_hub_disable_yarpp_auto_display()). */
.bh-article-content .yarpp-related { display: none !important; }

/* Long bare URLs typed into old posts (e.g. social profile links) can't wrap
   and pushed phones into sideways scrolling; let links break when needed. */
.bh-article-content a { overflow-wrap: anywhere; }

/* Old posts contain long unbroken strings (pasted text, codes, URLs): let
   article text break them when a line would otherwise overflow. */
.bh-article-content { overflow-wrap: break-word; }

/* Some old posts embed Elementor sections whose columns / widgets have a
   fixed pixel width and no phone override (e.g. the "For More Info Please
   contact us on" block, 769px); on phones they take the full column width
   (what Elementor's own mobile layout does). */
@media (max-width: 767px) {
	.bh-article-content .elementor-column,
	.bh-article-content .elementor-widget-wrap,
	.bh-article-content .elementor-widget,
	.bh-article-content .e-con {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex-basis: 100% !important;
	}

	/* Blocks pasted with another page's computed styles baked in as inline
	   style="" (fixed pixel widths): never wider than the article column. */
	.bh-article-content :is(div, section, p, figure, span)[style] {
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	/* Tables pasted from Word carry fixed inline widths and &nbsp; padding:
	   spread them over the column and let cells wrap anywhere if needed. */
	.bh-article-content table[style] {
		width: 100% !important;
		table-layout: fixed;
	}

	.bh-article-content table[style] :is(td, th) {
		width: auto !important;
		overflow-wrap: anywhere;
	}
}

/* Author pull-quote card (design: cream box, gold quote mark, italic quote,
   "— Name, Title"). Also used for any blockquote written in an article. */
.bh-article-content .bh-quote-card,
.bh-article-content blockquote {
	margin: 0;
	padding: var(--space-6) var(--space-7);
	background: var(--surface-tint);
	border: none;
}

.bh-article-content .bh-quote-card > i {
	display: block;
	margin-bottom: var(--space-3);
	font-size: 26px;
	color: var(--gold-500);
}

.bh-article-content .bh-quote-card p {
	margin: 0;
	font-size: var(--fs-h3);
	line-height: 1.5;
	font-style: italic;
	color: var(--text-heading);
}

.bh-article-content .bh-quote-card cite {
	display: block;
	margin-top: var(--space-4);
	font-size: var(--fs-small);
	font-style: normal;
	color: var(--text-muted);
}

