/*
 * Single post — theblogrelay/assets/css/post.css
 * Source of truth: theblogrelay-blog-post.html (Fiona)
 *
 * Scope: blog post hero, two-column layout, article body typography,
 * sidebar (TOC, newsletter, trending, tool promo, ad), share strip,
 * author bio, related posts.
 *
 * Load order: normalizer → base → ds → header → post.css
 * Loaded conditionally on is_singular('post') only.
 */

/* ── Post hero ─────────────────────────────────────────────────── */

.post-hero {
	background: var(--warm-50);
	border-bottom: 1px solid var(--warm-200);
	padding: 2.5rem 0;
}

.post-breadcrumb {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .8125rem;
	color: var(--warm-500);
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.post-breadcrumb a { color: var(--warm-500); }
.post-breadcrumb a:hover { color: var(--primary-700); }
.post-breadcrumb__sep { color: var(--warm-300); }

.post-title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2.25vw + .75rem, 2.25rem);
	font-weight: 400;
	color: var(--warm-900);
	line-height: 1.2;
	margin-bottom: .875rem;
}

.post-desc {
	font-size: .9375rem;
	color: var(--warm-600);
	line-height: 1.65;
	margin-bottom: 1.5rem;
}

.post-meta {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	padding-bottom: 0;
}

.post-meta__author {
	display: flex;
	align-items: center;
	gap: .625rem;
}

.post-meta__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-200), var(--primary-400));
	flex-shrink: 0;
	overflow: hidden;
}

.post-meta__avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-meta__name { font-size: .875rem; font-weight: 600; color: var(--warm-800); }
.post-meta__divider { width: 1px; height: 16px; background: var(--warm-300); }

.post-meta__item {
	font-size: .875rem;
	color: var(--warm-500);
	display: flex;
	align-items: center;
	gap: .375rem;
}

.post-meta__item svg { width: 14px; height: 14px; opacity: .6; }

.post-content-image {
	margin: 2rem 0;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16/9;
	background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
	display: flex;
	align-items: center;
	justify-content: center;
}

.post-content-image img { width: 100%; height: 100%; object-fit: cover; }

.post-content-image__placeholder {
	font-size: .875rem;
	font-weight: 500;
	color: var(--primary-600);
}

.post-content-image__caption {
	font-size: .8125rem;
	color: var(--warm-500);
	line-height: 1.5;
	margin-top: .625rem;
	font-style: italic;
}

/* ── Post layout ───────────────────────────────────────────────── */

.post-layout-wrap {
	padding: 3rem 0 4rem;
	background: #fff;
}

.post-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 4rem;
	align-items: start;
}

@media (max-width: 1024px) {
	.post-layout { grid-template-columns: 1fr 280px; gap: 2.5rem; }
}

@media (max-width: 768px) {
	.post-layout { grid-template-columns: 1fr; gap: 0; }
}

/* ── Article body ──────────────────────────────────────────────── */

.post-body {
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.85;
	color: var(--warm-800);
}

.post-body .lead {
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-style: italic;
	font-weight: 400;
	line-height: 1.75;
	color: var(--warm-800);
	background: var(--primary-50);
	border-left: 3px solid var(--primary-400);
	border-radius: 0 10px 10px 0;
	padding: 1.125rem 1.375rem;
	margin-bottom: 2rem;
}

.post-body p { margin-bottom: 1.625rem; }

.post-body h2 {
	font-family: var(--font-display);
	font-size: var(--tbr-h2-size);
	font-weight: 400;
	color: var(--warm-900);
	line-height: 1.2;
	margin: 1rem 0 1rem;
	padding-top: .5rem;
}

.post-body h3 {
	font-family: var(--font-display);
	font-size: var(--tbr-h3-size);
	font-weight: 500;
	color: var(--warm-900);
	line-height: 1.3;
	margin: 2rem 0 .75rem;
}

.post-body h4 {
	font-family: var(--font-body);
	font-size: var(--tbr-h4-size);
	font-weight: 700;
	color: var(--warm-900);
	line-height: 1.3;
	letter-spacing: .01em;
	margin: 1.75rem 0 .5rem;
}

.post-body h5 {
	font-family: var(--font-body);
	font-size: var(--tbr-h5-size);
	font-weight: 700;
	color: var(--warm-600);
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin: 1.5rem 0 .4rem;
}

.post-body h6 {
	font-family: var(--font-body);
	font-size: var(--tbr-h6-size);
	font-weight: 700;
	color: var(--warm-500);
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: .1em;
	margin: 1.25rem 0 .35rem;
}

.post-body ul,
.post-body ol { margin-bottom: 1.625rem; padding-left: 1.5rem; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: .5rem; line-height: 1.7; }
.post-body strong { font-weight: 700; color: var(--warm-900); }
.post-body em { font-style: italic; }

.post-body a:not(.wp-element-button) {
	color: var(--primary-700);
	text-decoration: underline;
	text-decoration-color: var(--primary-200);
	text-underline-offset: 3px;
}

.post-body a:not(.wp-element-button):hover { text-decoration-color: var(--primary-600); }

.post-body blockquote {
	border-left: 3px solid var(--primary-400);
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	background: var(--primary-50);
	border-radius: 0 12px 12px 0;
}

.post-body blockquote p {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 400;
	font-style: italic;
	color: var(--primary-800);
	line-height: 1.55;
	margin: 0;
}

.post-body hr {
	border: none;
	border-top: 1px solid var(--warm-200);
	margin: 2.5rem 0;
}

/* ── Inline CTA ────────────────────────────────────────────────── */

.inline-cta {
	background: var(--warm-50);
	border: 1px solid var(--warm-200);
	border-radius: 16px;
	padding: 1.75rem;
	margin: 2.5rem 0;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.inline-cta__eyebrow {
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--primary-600);
}

.inline-cta__title {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--warm-900);
	line-height: 1.3;
}

.inline-cta__desc { font-size: .875rem; color: var(--warm-600); line-height: 1.6; }

.inline-cta__form { display: flex; gap: .5rem; flex-wrap: wrap; }

.inline-cta__input {
	flex: 1;
	min-width: 200px;
	padding: .625rem 1rem;
	border: 1.5px solid var(--warm-300);
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: .875rem;
	color: var(--warm-900);
	background: #fff;
}

.inline-cta__input:focus { outline: none; border-color: var(--primary-400); }

.inline-cta__btn {
	background: var(--accent-yellow);
	color: var(--warm-900);
	border: 1.5px solid rgba(0, 0, 0, .16);
	border-radius: 8px;
	padding: .625rem 1.25rem;
	font-size: .875rem;
	font-weight: 700;
	cursor: pointer;
	font-family: var(--font-body);
	white-space: nowrap;
}
.inline-cta__btn:link,
.inline-cta__btn:visited { color: var(--warm-900); }

.inline-cta__btn:hover { background: var(--accent-yellow-hover); }

/* ── Share strip ───────────────────────────────────────────────── */

.post-share {
	display: flex;
	align-items: center;
	gap: .75rem;
	flex-wrap: wrap;
	padding-top: 1rem;
	margin-top: .5rem;
	margin-bottom: .5rem;
}

.post-share__label {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--warm-500);
	text-transform: uppercase;
	letter-spacing: .06em;
}

.share-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .5rem 1rem;
	border-radius: 8px;
	font-size: .8125rem;
	font-weight: 600;
	border: 1.5px solid var(--warm-200);
	color: var(--warm-700);
	transition: all .15s;
	cursor: pointer;
	background: #fff;
}

.share-btn:hover {
	border-color: var(--primary-300);
	color: var(--primary-700);
	background: var(--primary-50);
}

.share-btn svg { width: 15px; height: 15px; }

/* ── Author bio ────────────────────────────────────────────────── */

.author-bio {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	padding-top: 1rem;
	margin-top: 2.5rem;
	border-top: 1px solid var(--warm-200);
	margin-bottom: 1rem;
}


.author-bio__avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-200), var(--primary-400));
	flex-shrink: 0;
	overflow: hidden;
}

.author-bio__avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-bio__name {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--warm-900);
	margin-bottom: .25rem;
}

.author-bio__role {
	font-size: .8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--primary-600);
	margin-bottom: .75rem;
}

.author-bio__text { font-size: .9375rem; color: var(--warm-600); line-height: 1.65; }

.coffee-line {
	font-size: .875rem;
	color: var(--warm-500);
	line-height: 1.6;
	margin-top: 1.25rem;
	margin-bottom: 3rem;
}

.coffee-line a {
	color: var(--warm-900);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--accent-yellow);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.coffee-line a:hover { color: var(--primary-700); }

/* ── Related posts ─────────────────────────────────────────────── */

.related-posts {
	margin-top: 2.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--warm-200);
}

.related-posts__heading,
.product-faq__heading,
.product-testimonials__heading {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--warm-400);
	margin-bottom: 1.75rem;
}

.related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

@media (max-width: 768px) { .related-posts__grid { grid-template-columns: 1fr; } }

@media (min-width: 480px) and (max-width: 768px) {
	.related-posts__grid { grid-template-columns: repeat(2, 1fr); }
}

.related-card {
	border: 1px solid var(--warm-200);
	border-radius: 16px;
	overflow: hidden;
	transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s;
	will-change: transform;
	display: block;
}

.related-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .1);
}

.related-card__img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--primary-100), var(--primary-200)); }
.related-card__body { padding: .875rem 1rem 1rem; }

.related-card__title {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 500;
	color: var(--warm-900);
	line-height: 1.35;
	margin-bottom: .25rem;
}

.related-card__cat {
	font-size: .75rem;
	color: var(--warm-400);
	margin: 0;
}

/* ── Post tags ──────────────────────────────────────────────────── */

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: 2rem;
}

.post-tag {
	display: inline-block;
	padding: .375rem .75rem;
	font-size: .8125rem;
	font-weight: 500;
	color: var(--warm-600);
	background: var(--warm-50);
	border: 1px solid var(--warm-200);
	border-radius: 0;
	text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}

.post-tag:hover {
	background: var(--warm-100);
	color: var(--warm-900);
	border-color: var(--warm-300);
}

/* ── Sidebar ───────────────────────────────────────────────────── */

.sidebar-outer {
	align-self: stretch;
}

.sidebar {
	position: sticky;
	top: 88px; /* below fixed header — JS overrides for tall sidebars */
	bottom: auto;
	display: flex;
	flex-direction: column;
	gap: 0;
}

@media (max-width: 768px) {
	.sidebar-outer {
		border-top: 1px solid var(--warm-200);
		padding-top: 1.25rem;
	}
}

/* Open section — no box, hairline divider */
.sidebar-section {
	padding: 1.375rem 0;
	border-bottom: 1px solid var(--warm-100);
}

.sidebar-section:last-child { border-bottom: none; }
.sidebar > *:first-child { padding-top: 0; }

.sidebar-section__title {
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--warm-400);
	margin-bottom: 1rem;
}

/* Boxed widget */
.sidebar-widget {
	background: #fff;
	border: 1px solid var(--warm-200);
	border-radius: 16px;
	padding: 1.5rem;
	margin: .625rem 0;
}

.sidebar-widget__title {
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--warm-500);
	margin-bottom: 1.125rem;
}

/* ── TOC ───────────────────────────────────────────────────────── */

.toc__list { display: flex; flex-direction: column; gap: .125rem; }

.toc__item a {
	display: block;
	font-size: .875rem;
	color: var(--warm-600);
	padding: .375rem .75rem;
	border-radius: 8px;
	border-left: 2px solid transparent;
	transition: all .15s;
	line-height: 1.4;
}

.toc__item a:hover {
	color: var(--primary-700);
	background: var(--primary-50);
	border-left-color: var(--primary-300);
}

.toc__item.active a {
	color: var(--primary-700);
	background: var(--primary-50);
	border-left-color: var(--primary-600);
	font-weight: 600;
}

.toc__item--h3 a { padding-left: 1.375rem; font-size: .8125rem; }

/* ── Sidebar author ────────────────────────────────────────────── */

.sidebar-author { display: flex; gap: .875rem; align-items: center; }

.sidebar-author__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-200), var(--primary-400));
	flex-shrink: 0;
	overflow: hidden;
}

.sidebar-author__avatar img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-author__name {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--warm-900);
	margin-bottom: .2rem;
}

.sidebar-author__bio { font-size: .8125rem; color: var(--warm-600); line-height: 1.5; }

.sidebar-author__link {
	display: inline-block;
	margin-top: .625rem;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--primary-700);
}

/* ── Sidebar newsletter ────────────────────────────────────────── */

.sidebar-newsletter .sidebar-widget__title { margin-bottom: .625rem; }
.sidebar-newsletter__desc { font-size: .875rem; color: var(--warm-600); line-height: 1.55; margin-bottom: 1rem; }

.sidebar-newsletter__input {
	width: 100%;
	padding: .625rem 1rem;
	border: 1.5px solid var(--warm-300);
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: .875rem;
	margin-bottom: .625rem;
}

.sidebar-newsletter__input:focus { outline: none; border-color: var(--primary-400); }

.sidebar-newsletter__btn {
	width: 100%;
	background: var(--accent-yellow);
	color: var(--warm-900);
	border: 1.5px solid rgba(0, 0, 0, .16);
	border-radius: 8px;
	padding: .625rem 1rem;
	font-size: .875rem;
	font-weight: 700;
	cursor: pointer;
	font-family: var(--font-body);
}

.sidebar-newsletter__btn:hover { background: var(--accent-yellow-hover); }

/* ── Sidebar tool promo ────────────────────────────────────────── */

.sidebar-tool {
	background: var(--warm-900);
	border-color: var(--warm-900);
}

.sidebar-tool .sidebar-widget__title { color: var(--warm-500); }

.sidebar-tool__name {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
	margin-bottom: .5rem;
	line-height: 1.3;
}

.sidebar-tool__desc { font-size: .8125rem; color: var(--warm-400); line-height: 1.55; margin-bottom: 1.125rem; }
.sidebar-tool__price { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 1rem; }

.sidebar-tool__btn {
	display: block;
	text-align: center;
	background: var(--accent-yellow);
	color: var(--warm-900);
	border: 1.5px solid rgba(0, 0, 0, .16);
	border-radius: 8px;
	padding: .625rem 1rem;
	font-size: .875rem;
	font-weight: 700;
	transition: background .15s;
}
.sidebar-tool__btn:link,
.sidebar-tool__btn:visited { color: var(--warm-900); }

.sidebar-tool__btn:hover { background: var(--accent-yellow-hover); }

/* ── Sidebar search ────────────────────────────────────────────── */

.sidebar-search { display: flex; gap: .5rem; }

.sidebar-search__input {
	flex: 1;
	padding: .5625rem .875rem;
	border: 1.5px solid var(--warm-300);
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: .875rem;
	color: var(--warm-900);
	background: #fff;
}

.sidebar-search__input:focus { outline: none; border-color: var(--primary-400); }

.sidebar-search__btn {
	padding: .5625rem .75rem;
	background: var(--primary-600);
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background .15s;
}

.sidebar-search__btn:hover { background: var(--primary-700); }
.sidebar-search__btn svg { width: 15px; height: 15px; }

/* ── Sidebar ad slot ───────────────────────────────────────────── */

.sidebar-ad {
	border: 2px dashed var(--warm-300);
	background: var(--warm-50);
	border-radius: 12px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	margin: .625rem 0;
}

/* Ad div must stretch to full container width so AdSense can measure it.
   Without this, the flex row collapses .tbr-ad to content-width (0 for
   empty ins element) → availableWidth=0 → AdSense skips the slot. */
.sidebar-ad .tbr-ad {
	width: 100%;
}

.sidebar-ad__label {
	font-size: .75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--warm-400);
}

/* ── Trending ──────────────────────────────────────────────────── */

.trending-list { display: flex; flex-direction: column; gap: 1rem; }

.trending-item { display: flex; }

.trending-item__link {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
	text-decoration: none;
	width: 100%;
}

.trending-item__thumb {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-sm, 6px);
	overflow: hidden;
	flex-shrink: 0;
	background: var(--warm-100);
}

.trending-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.trending-item__thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--warm-100);
}

.trending-item__title {
	font-size: .875rem;
	font-weight: 500;
	color: var(--warm-800);
	line-height: 1.4;
	display: block;
}

.trending-item__link:hover .trending-item__title { color: var(--primary-700); }

/* ── Post meta kind label ────────────────────────────────────────────────── */

.post-meta__kind {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--warm-500);
	text-transform: capitalize;
	letter-spacing: .02em;
}

/* ── Sidebar video embed ─────────────────────────────────────────────────── */

.sidebar-video__wrap {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	overflow: hidden;
	border-radius: var(--radius-md);
}

.sidebar-video__wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ── Sidebar bestsellers list (product pages) ────────────────────────────── */

.sidebar-bestsellers { display: flex; flex-direction: column; gap: .75rem; }

.sidebar-bestseller {
	display: flex;
	gap: .75rem;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.sidebar-bestseller:hover .sidebar-bestseller__title { color: var(--primary-700); }

.sidebar-bestseller__thumb {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--primary-100);
}

.sidebar-bestseller__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sidebar-bestseller__info { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }

.sidebar-bestseller__title {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--warm-800);
	line-height: 1.35;
	transition: color .15s;
	/* clamp to 2 lines */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sidebar-bestseller__price {
	font-size: .75rem;
	font-weight: 500;
	color: var(--warm-500);
}

/* ── Product features block — plain style when inside sidebar ────────────── */

.sidebar .product-features {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

/* ── Mobile-only sidebar visibility (product pages) ─────────────────────── */

@media (max-width: 768px) {
	.sidebar-section--desktop-only { display: none; }
}

/* ── Float-aligned images — text wrap around alignleft/alignright images ─── */
/* WP core float rules rely on .is-layout-flow parent or descendant .alignleft —
   neither matches TBR's .post-body wrapper. Explicit rules fix wrapping site-wide
   for all single posts. Clearfix prevents .post-body collapse on last floated el. */

.post-body figure.wp-block-image.alignleft {
	float: left;
	margin: 0.5em 1.5em 1em 0;
}

.post-body figure.wp-block-image.alignright {
	float: right;
	margin: 0.5em 0 1em 1.5em;
}

.post-body::after {
	content: '';
	display: table;
	clear: both;
}

/* ── Aligned image blocks — WP requires is-layout-flow parent for margin:auto ─── */
/* Without is-layout-flow on .post-body, WP's aligncenter margin rules don't fire.
   Override here so center-aligned images actually center. */
.post-body .wp-block-image.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

/* ── Responsive tables — prevent horizontal page scroll on mobile ────────── */

/* Grid item min-width fix: .post-layout uses 1fr which defaults to min-width:auto.
   Without this, wide content (tables, pre blocks) expands the column past 1fr
   and causes horizontal page scroll. min-width:0 forces the item to respect its track. */
.post-content {
	min-width: 0;
}

.post-content figure.wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ── Table font-size — fluid desktop rule ────────────────────────────────── */
/* Tables inherit 1.125rem from .post-body. Fluid clamp brings them below body
   text (14px → 15px across 768–1440px). Mobile override below takes over at ≤768px. */
.post-body .wp-block-table td,
.post-body .wp-block-table th {
	font-size: clamp(0.875rem, 0.8rem + 0.15vw, 0.9375rem);
}

/* Table font-size reduction on mobile — inherited 1.125rem (18px) from .post-body
   is too large for multi-column tables on narrow viewports. */
@media (max-width: 768px) {
	.post-body .wp-block-table td,
	.post-body .wp-block-table th {
		font-size: 0.8125rem;
	}
}
