/**
 * Flood Map Section — feature_cards + feature_callout merged over ONE background.
 * Element styling is identical to those two layouts; the only change is that both
 * now sit in a single section so one background image runs behind both with no
 * seam. Self-contained: the template only enqueues a layout's own CSS, so the
 * card and callout rules are repeated here. Typography via utilities.
 */

.flexible-section.flood-map-section {
	padding-inline: var(--section-pad-x);
	background-color: var(--color-bg);
	background-position: center;
	border-bottom: 1px solid var(--color-border);
}

/* Cream wash over the map (page --color-bg at 76%) so text on the map stays readable. */
.flexible-section.flood-map-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(247, 242, 234, 0.76);
	pointer-events: none;
}

.fms-cards-inner,
.fms-callout-in {
	z-index: 1;
}

/* ---- Cards part (as feature_cards) ---- */

.fms-cards-inner {
	position: relative;
	max-width: 1350px;
	margin: 0 auto;
}

.fms-head {
	margin-bottom: clamp(28px, 2vw + 16px, 44px);
}

.fms-head .section-ti { margin-block-end: 0; }

.fms-sub {
	max-width: 720px;
	margin: 10px 0 0;
}

.fms-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 1vw + 10px, 22px);
}

.fms-card {
	background: var(--color-card);
	border: 1px solid var(--color-border);
	border-top: 3px solid var(--color-navy);
	border-radius: 10px;
	padding: clamp(24px, 1.4vw + 17px, 37.5px) clamp(20px, 1vw + 14px, 32.5px);
}

.fms-card .d {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--color-gold2);
	margin-bottom: 16px;
}

.fms-card-k {
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: clamp(11px, 0.4vw + 9.6px, 17.5px);
}

.fms-card h3 { margin: 0 0 9px; }
.fms-card p { margin: 0; }

/* ---- Callout part (as feature_callout) ---- */

/* One section, so one moderate gap — not the two stacked section paddings. */
.fms-cards-inner + .fms-callout-in {
	margin-top: clamp(36px, 2.5vw + 20px, 72px);
}

.fms-callout-in {
	position: relative;
	max-width: var(--container-narrow);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 1.94vw + 18px, 70px);
	align-items: center;
}

.fms-title {
	margin: clamp(4px, 0.24vw + 3px, 7.5px) 0 clamp(10px, 0.4vw + 8px, 17.5px);
	line-height: 1.18;
}

.fms-body {
	margin-block-end: clamp(18px, 0.9vw + 14.8px, 27.5px);
}

.fms-card-gold {
	padding: clamp(26px, 0.97vw + 22.5px, 37.5px) clamp(24px, 0.9vw + 20.8px, 35px);
	background: var(--color-card);
	border: 1px solid var(--color-border);
	border-left: 3px solid var(--color-gold2);
	border-radius: 0 10px 10px 0;
}

.fms-card-gold .cc-ey {
	margin-block-end: clamp(10px, 0.4vw + 8px, 15px);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.fms-card-gold .cc-big {
	margin-block-end: clamp(8px, 0.32vw + 6.9px, 12.5px);
	line-height: 1.35;
}

@media (max-width: 1024px) {
	.fms-callout-in {
		grid-template-columns: 1fr;
		gap: clamp(26px, 3vw, 36px);
	}
}

@media (max-width: 900px) {
	.fms-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
	.fms-cards-grid { grid-template-columns: 1fr; }
}
