/**
 * Stacked Cards - default styling.
 *
 * Only structural / base styles live here. All visual card details
 * (width, height, radius, padding, background, border, shadow, alignment,
 * gap) are driven by the element's "Settings" controls via Bricks-generated
 * CSS, so they remain editable from the Parent element.
 */
.stacked-cards-root {
	position: relative;
	width: 100%;
}

.stacked-cards-inner {
	position: relative;
	display: flex;
	flex-direction: column;
}

.stacked-cards-inner > * {
	position: relative;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	padding: 32px;
	min-height: 220px;
	transform-origin: center top;
	transition: transform 0.25s ease;
	will-change: transform;
}

/* Keep a little breathing room after the final card. */
.stacked-cards-inner > *:last-child {
	margin-bottom: 32px;
}
