/* ── Stacking Cards Widget ─────────────────────────────────────────────────── */

.scout-sc-wrapper {
	--sc-offset: 24px;
	--sc-sticky-top: 0px;
	--sc-scale-to: 0.95;
}

.scout-sc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	padding-bottom: 1px;
}

/* Card */
.scout-sc-card {
	position: sticky;
	top: calc(var(--sc-sticky-top) + var(--sc-index) * var(--sc-offset));
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	border: 1px solid #d4d6d4;
	transform-origin: 50% 0;
	will-change: transform;
	box-sizing: border-box;
	overflow: hidden;
}

/* Image */
.scout-sc-image {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
	flex-shrink: 0;
}

/* Content area */
.scout-sc-content {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 20px 25px;
}

/* Icon */
.scout-sc-icon {
	display: inline-flex;
	align-items: center;
	font-size: 25px;
	width: 25px;
	height: 25px;
	color: #1f3646;
	line-height: 1;
}

.scout-sc-icon i,
.scout-sc-icon svg {
	display: block;
	width: 1em;
	height: 1em;
}

/* Title */
.scout-sc-title {
	margin: 0;
	font-family: "Big Shoulders Display", sans-serif;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.03;
	letter-spacing: 1.08px;
	text-transform: uppercase;
	color: #1f3646;
}

/* Body */
.scout-sc-body {
	margin: 0;
	font-family: "DM Sans", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.63;
	color: #1f3646;
}

/* JS fallback: .scout-sc-scaled applied by stacking-cards.js */
.scout-sc-card.scout-sc-scaled {
	transition: scale 0.3s ease;
	scale: var(--sc-scale-to);
}
