/* RD Neighborhoods block — all selectors scoped/prefixed so this never touches theme styles */

.rd-neighborhoods {
	--rd-ink: #16223F;
	--rd-hivis: #F2B01E;
	--rd-display: "Museo Sans Rounded", "Museo Sans", Nunito, "Segoe UI", system-ui, sans-serif;
	--rd-data: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
	--rd-body: "Museo Sans Rounded", "Museo Sans", Nunito, "Segoe UI", system-ui, sans-serif;
	--rd-wrap: 1400px;
	--rd-gut: clamp(20px, 5vw, 56px);

	background: var(--rd-ink);
	color: #fff;
	font-family: var(--rd-body);
	padding: clamp(54px, 6.5vw, 92px) 0;
}

.rd-neighborhoods *,
.rd-neighborhoods *::before,
.rd-neighborhoods *::after {
	box-sizing: border-box;
}

.rd-neighborhoods .rd-wrap {
	max-width: var(--rd-wrap);
	margin-inline: auto;
	padding-inline: var(--rd-gut);
}

.rd-neighborhoods h2,
.rd-neighborhoods h3 {
	color: #fff;
	font-family: var(--rd-display);
	letter-spacing: -.02em;
	margin: 0;
}

.rd-neighborhoods h2 {
	font-weight: 900;
	font-size: clamp(29.6px, 3.5vw, 44.8px);
	line-height: 1.05;
	margin-bottom: 16px;
}

.rd-neighborhoods h3 {
	font-weight: 800;
	font-size: clamp(17.92px, 1.7vw, 21.6px);
	line-height: 1.22;
	margin-bottom: 10px;
}

.rd-neighborhoods p {
	margin: 0 0 1.1em;
}

.rd-sec__head {
	max-width: 760px;
	margin-bottom: clamp(28px, 4vw, 46px);
}

.rd-sec__head p {
	color: rgba(255, 255, 255, .72);
	margin-bottom: 0;
}

.rd-neighborhoods .rd-tag {
	font-family: var(--rd-data);
	font-size: 11.2px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--rd-hivis);
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
}

.rd-neighborhoods .rd-tag::before {
	content: "";
	width: 9px;
	height: 9px;
	background: var(--rd-hivis);
	flex: none;
}

/* stats strip */
.rd-neighborhoods .rd-figs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .16);
	margin-bottom: 38px;
}

.rd-neighborhoods .rd-fig {
	background: var(--rd-ink);
	padding: 24px 22px;
}

.rd-neighborhoods .rd-fig b {
	display: block;
	font-family: var(--rd-display);
	font-weight: 900;
	font-size: clamp(25.6px, 3vw, 35.2px);
	letter-spacing: -.03em;
	color: #fff;
}

.rd-neighborhoods .rd-fig span {
	display: block;
	font-family: var(--rd-data);
	font-size: 11.68px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .65);
	margin-top: 6px;
}

/* quads */
.rd-neighborhoods .rd-quads {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .16);
}

.rd-neighborhoods .rd-quad {
	background: var(--rd-ink);
	padding: 28px;
}

.rd-neighborhoods .rd-quad p {
	margin-bottom: 0;
	color: rgba(255, 255, 255, .78);
	font-size: 15.2px;
}

.rd-neighborhoods .rd-quad__k {
	font-family: var(--rd-data);
	font-size: 10.4px;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--rd-hivis);
	margin-bottom: 10px;
}

/* closing note */
.rd-neighborhoods__note {
	margin: 26px 0 0;
	color: rgba(255, 255, 255, .78);
	max-width: 76ch;
}

.rd-neighborhoods__note p:last-child {
	margin-bottom: 0;
}

.rd-neighborhoods__note strong {
	font-weight: 800;
	color: #fff;
}

/* areas list */
.rd-neighborhoods .rd-areas {
	font-family: var(--rd-data);
	font-size: 13.12px;
	line-height: 2;
	color: rgba(255, 255, 255, .55);
	margin: 40px 0 0;
}

@media (max-width: 1040px) {
	.rd-neighborhoods .rd-figs {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 720px) {
	.rd-neighborhoods .rd-quads {
		grid-template-columns: 1fr;
	}
}
