/**
 * Ranked listicle layout (spec §4.3) — Premium Editorial mockup:
 * docs/premium-editorial/listicle-extracted.html. Loaded only when a post
 * uses the ranked listicle layout.
 */

/* ── Article header ───────────────────────────────────────────────── */

.bc-lst__header { max-width: 820px; padding-top: 30px; }
.bc-lst__title {
	margin: 18px 0 0;
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: clamp(38px, 5vw, 58px);
	line-height: 1.03;
	letter-spacing: -0.018em;
	color: var(--ink);
}
.bc-lst__dek {
	margin: 20px 0 0;
	font-family: var(--font-serif);
	font-size: 21px;
	line-height: 1.45;
	color: var(--body);
	max-width: 64ch;
}
.bc-lst__byline {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--rule);
	font-size: 13px;
	color: var(--muted);
}
.bc-lst__byline b { color: var(--ink); font-weight: 600; }
.bc-lst__sep { color: var(--rule-strong); }
.bc-lst__author { display: inline-flex; align-items: center; gap: 9px; }
.bc-lst__avatar {
	width: 30px; height: 30px;
	border-radius: 50%;
	background: var(--paper-2);
	border: 1px solid var(--rule-strong);
	display: grid;
	place-items: center;
	font-size: 11px;
	font-weight: 700;
	color: var(--muted);
}

.bc-lst__bottomline {
	margin-top: 26px;
	border: 1px solid var(--rule);
	border-left: 3px solid var(--teal);
	background: var(--surface);
	padding: 22px 26px;
}
.bc-lst__bottomline > p:last-child {
	margin: 10px 0 0;
	font-family: var(--font-serif);
	font-size: 19px;
	line-height: 1.5;
	color: var(--ink);
}

.bc-lst__billboard { max-width: 820px; }
.bc-lst__billboard .bc-adzone { margin-top: 26px; }

/* ── Comparison table ─────────────────────────────────────────────── */

.bc-lst__cmp { padding-top: 44px; scroll-margin-top: 74px; }
.bc-lst__cmpnote { font-size: 12px; color: var(--muted); padding-bottom: 3px; }
.bc-lst__cmpbox {
	border: 1px solid var(--rule-strong);
	border-top: none;
	background: var(--surface);
	overflow-x: auto;
}
.bc-lst__cmp .bc-sechead { margin-bottom: 0; }
.bc-lst__cmptable { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.bc-lst__cmptable th[scope="col"] {
	padding: 14px 16px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--muted);
	text-align: left;
	border-bottom: 1px solid var(--rule-strong);
	white-space: nowrap;
}
.bc-lst__cmptable td, .bc-lst__cmptable th[scope="row"] {
	padding: 20px 16px;
	vertical-align: top;
	border-bottom: 1px solid var(--rule);
	text-align: left;
	font-size: 13px;
	color: var(--body);
	font-weight: 400;
}
.bc-lst__cmptable tbody tr:last-child td, .bc-lst__cmptable tbody tr:last-child th { border-bottom: none; }
.bc-lst__cmprow--best { background: var(--highlight); }
.bc-lst__cmprank {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 600;
	color: var(--faint);
	margin-right: 11px;
}
.bc-lst__cmprow--best .bc-lst__cmprank { color: var(--ink); }
.bc-lst__cmptable th[scope="row"] a { font-weight: 700; font-size: 16px; color: var(--ink); }
.bc-lst__cmptable th[scope="row"] a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.bc-lst__cmptable th[scope="row"] .bc-badge { margin-left: 9px; vertical-align: middle; }
.bc-lst__cmpscore {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 23px;
	line-height: 1;
	color: var(--score-c, var(--ink));
}
.bc-lst__outof { font-size: 11px; color: var(--faint); margin-left: 4px; }
.bc-lst__meter { display: block; height: 4px; width: 100%; max-width: 96px; background: var(--rule); margin-top: 8px; }
.bc-lst__meter i { display: block; height: 100%; background: var(--score-c, var(--teal)); }
.bc-lst__visit { padding: 8px 14px; font-size: 12px; }
.bc-lst__cmpfoot { margin: 12px 0 0; font-size: 11px; color: var(--muted); }

/* ── Key takeaways ────────────────────────────────────────────────── */

.bc-lst__tk { padding-top: 52px; scroll-margin-top: 74px; }
.bc-lst__sechead {
	margin: 0 0 20px;
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 26px;
	color: var(--ink);
}
.bc-lst__tkgrid { display: grid; grid-template-columns: 1fr; gap: 0 48px; }
.bc-lst__tkitem {
	display: grid;
	grid-template-columns: 30px 1fr;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid var(--rule);
}
.bc-lst__tkitem:last-child { border-bottom: 1px solid var(--rule); }
.bc-lst__tkitem p b, .bc-lst__tkitem p strong { color: var(--ink); }
.bc-lst__tkitem > span { font-family: var(--font-serif); font-size: 22px; color: var(--teal); }
.bc-lst__tkitem p { margin: 0; font-size: 14.5px; line-height: 1.6; }
@media (min-width: 761px) {
	.bc-lst__tkgrid { grid-template-columns: 1fr 1fr; }
}

/* ── Body layout ──────────────────────────────────────────────────── */

.bc-lst__body { padding-top: 52px; }
.bc-lst__prose { margin-top: 34px; }
.bc-lst__faq { margin-top: 48px; scroll-margin-top: 74px; }

/* Every TOC jump target clears the sticky masthead. */
#bc-ranked, .bc-lst__prose h2[id] { scroll-margin-top: 74px; }

/* ── Featured (sponsored) slot ────────────────────────────────────── */

.bc-lst__featured {
	border: 1px solid var(--rule-strong);
	border-left: 3px solid var(--gold);
	background: var(--surface);
	padding: 20px 22px;
	margin-bottom: 26px;
}
.bc-lst__featuredtag {
	margin: 0 0 12px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold);
}
.bc-lst__featuredin { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bc-lst__featuredin > div { min-width: 0; flex: 1; }
.bc-lst__featuredin b { font-size: 18px; font-weight: 700; color: var(--ink); }
.bc-lst__featuredin p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.bc-lst__featurednote { margin: 13px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── Ranked cards ─────────────────────────────────────────────────── */

.bc-lst__cards { display: flex; flex-direction: column; gap: 26px; }
.bc-lst__card {
	background: var(--surface);
	border: 1px solid var(--rule);
	padding: 24px;
	scroll-margin-top: 74px;
}
.bc-lst__card--best { border-color: var(--rule-strong); border-top: 3px solid var(--gold); }
.bc-lst__ribbon {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 15px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold);
}
.bc-lst__ribbon span { width: 6px; height: 6px; background: var(--gold); }
.bc-lst__cardhead { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 18px; }
.bc-lst__rank {
	font-family: var(--font-serif);
	font-size: 40px;
	font-weight: 600;
	line-height: 0.9;
	color: var(--faint);
}
.bc-lst__card--best .bc-lst__rank { color: var(--ink); }
.bc-lst__id { min-width: 0; }
.bc-lst__id b { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.bc-lst__id p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.bc-lst__cardscore { text-align: right; flex: none; }
.bc-lst__scorenum {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 34px;
	line-height: 1;
	color: var(--score-c, var(--ink));
}
.bc-lst__cardscore .bc-lst__meter { width: 120px; max-width: 120px; margin-left: auto; }
.bc-lst__cardscore .bc-lst__outof { font-size: 12px; }

.bc-lst__verdictrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.bc-lst__verdict {
	margin: 0;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 17px;
	color: var(--ink);
}

.bc-lst__cmpmeta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 14px;
}
.bc-lst__cmpmeta .bc-lst__cmpfoot { margin: 0; }
.bc-lst__legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.bc-lst__legend span { display: inline-flex; align-items: center; gap: 6px; }
.bc-lst__legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.bc-lst__specs {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0;
	margin: 18px 0 0;
	border: 1px solid var(--rule);
	font-size: 13px;
}
.bc-lst__specs dt {
	background: var(--paper-2);
	padding: 9px 14px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 1px solid var(--rule);
}
.bc-lst__specs dd { margin: 0; padding: 9px 15px; color: var(--body); border-bottom: 1px solid var(--rule); }
.bc-lst__specs dt:last-of-type, .bc-lst__specs dd:last-of-type { border-bottom: none; }

.bc-lst__take { margin: 16px 0 0; font-size: 15px; line-height: 1.66; color: var(--body); }

.bc-lst__proscons { display: grid; grid-template-columns: 1fr; gap: 14px 28px; margin-top: 18px; }
.bc-lst__proscons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bc-lst__proscons li {
	display: grid;
	grid-template-columns: 16px 1fr;
	gap: 10px;
	font-size: 13.5px;
	color: var(--body);
}
.bc-lst__pro > span:first-child { color: var(--good); font-weight: 700; }
.bc-lst__con > span:first-child { color: var(--poor); font-weight: 700; }
@media (min-width: 640px) {
	.bc-lst__proscons { grid-template-columns: 1fr 1fr; }
}

.bc-lst__whofor {
	margin: 18px 0 0;
	padding: 13px 16px;
	border-left: 3px solid var(--teal);
	background: var(--paper-2);
	font-size: 13.5px;
	color: var(--body);
}
.bc-lst__whofor b {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--teal);
	display: block;
	margin-bottom: 4px;
}

.bc-lst__ctas {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--rule);
}
.bc-lst__reviewlink {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.bc-lst__verified { margin-left: auto; font-size: 11px; color: var(--faint); }

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

.bc-lst__pick {
	border: 1px solid var(--rule);
	border-left: 3px solid var(--gold);
	background: var(--surface);
	padding: 18px 20px;
}
.bc-lst__picktag { color: var(--gold); letter-spacing: 0.1em; font-size: 10.5px; }
.bc-lst__pick > b {
	display: block;
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 20px;
	color: var(--ink);
	margin-top: 8px;
}
.bc-lst__pickblurb { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.bc-lst__pickscore { display: flex; align-items: baseline; gap: 8px; margin: 12px 0; }
.bc-lst__pickscore > span:first-child {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 26px;
	color: var(--score-c, var(--ink));
}
.bc-lst__pickscore > span:last-child { font-size: 12px; color: var(--muted); }
.bc-lst__pick .bc-lst__reviewlink, .bc-lst__howwe .bc-lst__reviewlink { font-size: 12.5px; }

.bc-lst__sourced { display: inline-flex; align-items: center; gap: 6px; color: var(--good); font-weight: 600; }

.bc-lst__howwe { border: 1px solid var(--rule); background: var(--surface); padding: 18px 20px; }
.bc-lst__howwe p:not(.bc-kicker) { margin: 9px 0 12px; font-size: 13.5px; line-height: 1.6; color: var(--body); }
