/* =============================================================
   template-parts/case-study/case-overview/case-overview.css
   Scoped styles for: .rev-overview, .rev-overview__heading,
   .rev-overview-text, .rev-stats, .rev-stat.
   Global reset + body bg + .rev-container live in
   assets/css/global.css and case-hero.css respectively.
   ============================================================= */

/* ── OVERVIEW WRAPPER ── */
.rev-overview-main {
	padding-top: 10px;
	min-width: 0;
}

/* ── OVERVIEW HEADING ── */
.rev-overview__heading {
	font-family: var(--font-primary);
	font-size:     clamp(2rem, 3.2vw, 3.35rem);
	font-weight:   300;
	line-height:   1.08;
	margin-bottom: 25px;
	max-width:     720px;
	color:         var(--ink);
}

/* ── OVERVIEW TEXT (wysiwyg output) ── */
.rev-overview-text {
	color:        var(--muted);
	line-height:  1.9;
	font-size:    15px;
	text-align:   justify;
	text-justify: inter-word;
	border-top:   1px solid #1c1c1c;
	padding-top:  25px;
}

/* ── STATS GRID ── */
.rev-stats {
	display:               grid;
	grid-column:           1 / -1;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top:            -12px;
	border-top:            1px solid #1c1c1c;
	padding-top:           35px;
	gap:                   10px;
	width:                 100%;
}

.rev-stat {
	border-right: 1px solid #1c1c1c;
	padding-right: 15px;
}

.rev-stat:last-child {
	border: none;
}

.rev-stat h3 {
	font-family: var(--font-primary);
	font-size:   42px;
	font-weight: 700;
	color:       var(--muted);
}

.rev-stat span {
	font-size:      11px;
	letter-spacing: 1px;
	color:          var(--soft-grey);
	text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
	.rev-stats {
		grid-template-columns: repeat(2, 1fr);
		margin-top:            10px;
	}
}

@media (max-width: 768px) {
	.rev-overview__heading {
		font-size: clamp(1.5rem, 5vw, 2.1rem);
	}

	.rev-stat h3 {
		font-size: clamp(1.8rem, 7vw, 2.6rem);
	}

	.rev-stats {
		gap: 18px 10px;
	}

	.rev-stat:nth-child(2n) {
		border-right: none;
	}
}
