/* Article-body data furniture for long-form posts: tables, stat cards,
   pros/cons lists, figures. Premium Editorial tokens only — heading, link
   and blockquote typography comes from base.css's prose system (serif),
   this file is strictly additive. */

/* ---- rhythm ---- */
.bc-prose p { margin: 0 0 1.05em; }
.bc-prose ul, .bc-prose ol { margin: 0 0 1.2em; padding-left: 1.25em; }
.bc-prose li { margin: 0.35em 0; }
.bc-prose li::marker { color: var(--teal); }

/* ---- tables: readable, scrollable, striped ---- */
.bc-prose table {
	display: block;
	overflow-x: auto;
	width: 100%;
	margin: 1.4em 0 1.6em;
	border-collapse: collapse;
	font-size: 0.88rem;
	line-height: 1.45;
	border: 1px solid var(--rule-strong);
	background: var(--surface);
}
.bc-prose table th {
	background: var(--paper-2);
	color: var(--ink);
	text-align: left;
	font-weight: 600;
	padding: 0.65em 0.8em;
	border-bottom: 1px solid var(--rule-strong);
	white-space: nowrap;
}
.bc-prose table td {
	padding: 0.6em 0.8em;
	border-bottom: 1px solid var(--rule);
	vertical-align: top;
	color: var(--body);
	min-width: 9em;
}
.bc-prose table td:first-child { color: var(--ink); font-weight: 600; }
.bc-prose table tr:nth-child(even) td { background: #faf8f3; } /* zebra tone from the listicle mockup */
.bc-prose table tr:last-child td { border-bottom: none; }

/* stat cards (small tables directly after an H3) get a tighter look */
.bc-prose h3 + table { font-size: 0.84rem; }
.bc-prose h3 + table td { min-width: 6em; }

/* ---- pros / cons: strong-led lists get status ticks ---- */
.bc-prose p strong:only-child { color: var(--ink); }
.bc-prose ul.bc-pros li::marker,
.bc-prose p.bc-pros + ul li::marker { color: var(--good); }
.bc-prose ul.bc-cons li::marker,
.bc-prose p.bc-cons + ul li::marker { color: var(--poor); }

/* ---- figures ---- */
.bc-prose figure, .bc-prose p > img {
	margin: 1.6em 0;
	border: 1px solid var(--rule);
	display: block;
	max-width: 100%;
	height: auto;
}
.bc-prose figcaption {
	font-size: 0.82rem;
	color: var(--faint);
	padding: 0.6em 0.2em 0;
}
