/**
 * b:web Starter — case-study.css
 *
 * Shared styles for the single-case_study.html template and the
 * case-study-process / case-study-results / case-study-approach /
 * case-study-challenge blocks that always appear together on it.
 * Enqueued only on singular case_study posts — see inc/post-types.php.
 */

/* ── Featured image (single-case_study template) ────────────────────────────── */
.bweb-cs-single .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 480px;
	object-fit: cover;
}

/* ── Content section wrapper spacing ───────────────────────────────────────── */
.bweb-cs-single .wp-block-group.alignfull + .wp-block-group.alignfull {
	margin-top: 0;
}

.bweb-cs-single .wp-block-group {
	margin-block-start: 0;
}

/* ── Case study section layout (shared by process/results/approach/challenge) ── */
.bweb-cs-section {
	padding: 4rem 0;
}

.bweb-cs-section--alt {
	background-color: var(--bweb-color-surface);
}

.bweb-cs-section__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.bweb-cs-section__cols {
	display: grid;
	grid-template-columns: 28% 1fr;
	gap: 3rem;
	align-items: start;
}

.bweb-cs-section__label-col .bweb-cs-section__label {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--bweb-color-muted);
	font-family: var(--bweb-font-body);
	line-height: 1.5;
	margin: 0;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	.bweb-cs-single .wp-block-post-featured-image img {
		height: 260px;
	}

	.bweb-cs-section__cols {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}
