/**
 * Article / single post template (2b): header block (breadcrumb, tag,
 * title, byline, hero photo, scorecard) plus post-content overrides for
 * the pull-quote/H2/inline-image conventions used by the body copy.
 */

.chb-article__meta-block {
	max-width: 760px;
	margin: 0 auto;
	padding: 56px 48px 0;
}
.chb-article__tag {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.chb-article__title {
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 42px;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 22px;
}
.chb-article__byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var( --border );
}
.chb-article__avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var( --accent );
	color: var( --accent-ink );
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 14px;
	flex: none;
}
.chb-article__author {
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 14px;
}
.chb-article__date {
	font-size: 12.5px;
	color: var( --muted );
}

.chb-article__hero {
	max-width: 760px;
	margin: 0 auto 36px;
	padding: 0 48px;
}
.chb-article__hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var( --radius-large );
	display: block;
}
/* Scorecard */
.chb-article__scorecard-wrap {
	max-width: 760px;
	margin: 0 auto 36px;
	padding: 0 48px;
}
.chb-scorecard {
	border-radius: var( --radius-large );
	border: 1px solid;
	padding: 24px 28px;
}
.chb-scorecard__header {
	display: flex;
	align-items: center;
	gap: 18px;
}
.chb-scorecard__circle {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 24px;
	color: var( --badge-ink );
	flex: none;
}
.chb-scorecard__tier {
	flex: 1;
	min-width: 0;
}
.chb-scorecard__tier-name {
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 24px;
}
.chb-scorecard__tier-blurb {
	font-size: 14.5px;
	color: var( --muted );
	margin-top: 2px;
}
.chb-scorecard__rank {
	text-align: right;
	flex: none;
	align-self: flex-start;
}
.chb-scorecard__rank-label {
	font-family: var( --font-heading );
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var( --muted );
	margin-bottom: 2px;
}
.chb-scorecard__rank-num {
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 24px;
	line-height: 1;
}
.chb-scorecard__divider {
	border-top: 1px solid var( --border );
	margin: 20px 0 12px;
}
.chb-scorecard__total {
	text-align: right;
	font-size: 14px;
	color: var( --muted );
	margin-bottom: 16px;
}
.chb-scorecard__total strong {
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 16px;
	color: var( --ink );
}
.chb-scorecard__total-max {
	font-weight: 600;
}
.chb-scorecard__breakdown-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 8px 0;
}
.chb-scorecard__breakdown-label {
	font-size: 16px;
}
.chb-scorecard__breakdown-value {
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 19px;
}
.chb-scorecard__breakdown-max {
	font-size: 14px;
	font-weight: 600;
	color: var( --muted );
	margin-left: 2px;
}

/* Body copy conventions */
.chb-article__body {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 48px 20px;
}
.chb-article__body .wp-block-pullquote {
	margin: 40px 0;
	border: none;
	padding: 0;
}
.chb-article__body .wp-block-pullquote blockquote {
	margin: 0;
	border: none;
	padding: 0;
	text-align: center;
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 24px;
	line-height: 1.4;
	font-style: italic;
	color: var( --ink );
}
.chb-article__body .wp-block-pullquote cite {
	display: none;
}
.chb-article__body h2 {
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 22px;
	margin: 8px 0 16px;
	letter-spacing: normal;
}
.chb-article__body img {
	border-radius: var( --radius-medium );
}
.chb-article__body p {
	margin: 0 0 24px;
}

/* ---- Tablet ---- */
@media ( max-width: 900px ) {
	.chb-article__meta-block {
		padding: 40px 32px 0;
	}
	.chb-article__title {
		font-size: 32px;
		line-height: 1.18;
	}
	.chb-article__hero {
		padding: 0 32px;
	}
	.chb-article__scorecard-wrap {
		padding: 0 32px;
	}
	.chb-article__body {
		padding: 0 32px 20px;
	}
}

/* ---- Mobile ---- */
@media ( max-width: 600px ) {
	.chb-article__meta-block {
		padding: 28px 20px 0;
	}
	.chb-article__title {
		font-size: 26px;
		line-height: 1.2;
		margin-bottom: 18px;
	}
	.chb-article__byline {
		margin-bottom: 24px;
		padding-bottom: 24px;
	}
	.chb-article__hero {
		padding: 0 20px;
		margin-bottom: 24px;
	}
	.chb-article__scorecard-wrap {
		padding: 0 20px;
		margin-bottom: 24px;
	}
	.chb-scorecard {
		padding: 18px 16px;
	}
	.chb-scorecard__header {
		gap: 12px;
	}
	.chb-scorecard__circle {
		width: 56px;
		height: 56px;
		font-size: 18px;
	}
	.chb-scorecard__tier-name {
		font-size: 19px;
	}
	.chb-scorecard__tier-blurb {
		font-size: 13.5px;
	}
	.chb-scorecard__rank-num {
		font-size: 19px;
	}
	.chb-article__body {
		padding: 0 20px 20px;
		font-size: 16px;
	}
	.chb-article__body .wp-block-pullquote blockquote {
		font-size: 19px;
	}
	.chb-article__body h2 {
		font-size: 19px;
	}
}
