/* ==========================================================================
   pages.css — 화면별 스타일 (홈 / 지역 / 현장 상세 / 캘린더 / 상담)
   ========================================================================== */

/* ══════════════════════════════════════════════════
   1. 홈 — 히어로 (중앙 정렬)
   ══════════════════════════════════════════════════

   이전에는 좌측 정렬이라 넓은 화면에서 오른쪽 절반이 통째로 비었다.
   Notion 홈처럼 중앙 정렬로 바꾸고 폭을 제한하면
   빈 공간이 "여백"이 되지 "구멍"이 되지 않는다. */

.rl-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 9vw, 8rem) var(--rl-gutter) clamp(3rem, 6vw, 5rem);
	background: var(--rl-bg);
}

/* 상단 중앙에서 은은하게 퍼지는 광 — 평면적으로 보이지 않게 */
.rl-hero::before {
	content: "";
	position: absolute;
	top: -40%;
	left: 50%;
	width: min(70rem, 130%);
	aspect-ratio: 1;
	transform: translateX(-50%);
	background: radial-gradient(circle at center,
		var(--rl-hue-blue-tint) 0%,
		transparent 62%);
	opacity: 0.9;
	pointer-events: none;
}

.rl-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 60rem;
	margin-inline: auto;
	text-align: center;
}

.rl-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--rl-space-2);
	padding: var(--rl-space-2) var(--rl-space-4);
	margin-bottom: var(--rl-space-6);
	background: var(--rl-bg);
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius-round);
	box-shadow: var(--rl-shadow-xs);
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-muted);
}

.rl-hero__eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rl-hue-green-base);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--rl-hue-green-base) 20%, transparent);
}

.rl-hero__title {
	max-width: 20ch;
	margin-inline: auto;
	font-size: var(--rl-text-hero);
	font-weight: var(--rl-weight-bold);
	line-height: 1.08;
	letter-spacing: -0.038em;
	text-wrap: balance;
}

.rl-hero__title strong {
	color: var(--rl-accent);
	font-weight: inherit;
}

.rl-hero__sub {
	max-width: 44ch;
	margin: var(--rl-space-6) auto 0;
	font-size: var(--rl-text-lg);
	line-height: var(--rl-lh-normal);
	color: var(--rl-text-muted);
	text-wrap: pretty;
}

/* 검색 — 알약형 한 덩어리로 묶어 입력창과 버튼이 따로 놀지 않게 */
.rl-hero__search {
	display: flex;
	gap: var(--rl-space-2);
	max-width: 34rem;
	margin: var(--rl-space-8) auto 0;
	padding: var(--rl-space-2);
	background: var(--rl-bg);
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius-round);
	box-shadow: var(--rl-shadow);
	transition: border-color var(--rl-duration) var(--rl-ease),
		box-shadow var(--rl-duration) var(--rl-ease);
}

.rl-hero__search:focus-within {
	border-color: var(--rl-accent);
	box-shadow: var(--rl-shadow-lg);
}

.rl-hero__search input[type="search"] {
	flex: 1;
	min-height: 46px;
	padding-inline: var(--rl-space-5);
	background: transparent;
	border: 0;
	box-shadow: none;
	font-size: var(--rl-text-md);
}

.rl-hero__search input[type="search"]:focus {
	outline: none;
	box-shadow: none;
}

.rl-hero__search .rl-btn {
	min-height: 46px;
	padding-inline: var(--rl-space-6);
	border-radius: var(--rl-radius-round);
}

.rl-hero__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--rl-space-3);
	margin-top: var(--rl-space-6);
}

/* 통계 — 선 위에 숫자만 늘어놓으면 허전해서 옅은 면 위에 올린다 */
.rl-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--rl-space-4);
	max-width: 52rem;
	margin: var(--rl-space-16) auto 0;
	padding: var(--rl-space-8) var(--rl-space-6);
	background: var(--rl-bg-subtle);
	border: 1px solid var(--rl-border-subtle);
	border-radius: var(--rl-radius-card);
}

.rl-hero__stat dd {
	margin: 0;
	font-size: var(--rl-text-3xl);
	font-weight: var(--rl-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--rl-text-strong);
	font-variant-numeric: tabular-nums;
}

.rl-hero__stat dd span {
	font-size: 0.5em;
	font-weight: var(--rl-weight-medium);
	color: var(--rl-text-subtle);
}

.rl-hero__stat dt {
	margin-top: var(--rl-space-1);
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-medium);
	color: var(--rl-text-muted);
}

@media (max-width: 640px) {
	.rl-hero__stats {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--rl-space-6) var(--rl-space-4);
	}
	.rl-hero__search {
		flex-direction: column;
		border-radius: var(--rl-radius-lg);
	}
	.rl-hero__search .rl-btn { border-radius: var(--rl-radius); }
}

/* ══════════════════════════════════════════════════
   2. 홈 — 지역 그리드 (색 테마 카드)
   ══════════════════════════════════════════════════

   이전에는 17개가 전부 같은 회색 카드였고, 현장이 없는 지역은
   opacity:0.5 로 흐려서 "고장난 화면"처럼 보였다.

   Notion 방식으로 카드마다 옅은 색면을 주면
   같은 정보량인데도 훑어보는 재미가 생기고,
   비어 있는 지역도 "흐릿한 것"이 아니라 "아직 조용한 것"으로 읽힌다. */

.rl-region-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(11rem, 100%), 1fr));
	gap: var(--rl-space-3);
}

.rl-region-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--rl-space-1);
	min-height: 6.5rem;
	padding: var(--rl-space-5);
	background: var(--rl-c-tint);
	border: 1px solid transparent;
	border-radius: var(--rl-radius-md);
	overflow: hidden;
	transition: transform var(--rl-duration) var(--rl-ease-out),
		box-shadow var(--rl-duration) var(--rl-ease);
}

/* 우상단 색 점 — 카드가 어느 테마인지 알려주는 최소한의 신호 */
.rl-region-card::after {
	content: "";
	position: absolute;
	top: var(--rl-space-4);
	right: var(--rl-space-4);
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--rl-c-base);
	opacity: 0.75;
	transition: transform var(--rl-duration) var(--rl-ease-out);
}

.rl-region-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--rl-shadow);
}

.rl-region-card:hover::after {
	transform: scale(1.6);
}

.rl-region-card__name {
	font-size: var(--rl-text-md);
	font-weight: var(--rl-weight-semibold);
	letter-spacing: var(--rl-ls-tight);
	color: var(--rl-c-deep);
}

.rl-region-card__count {
	margin-top: auto;
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-medium);
	color: var(--rl-c-deep);
	opacity: 0.72;
	font-variant-numeric: tabular-nums;
}

/* 현장이 없는 지역 — 흐리게(opacity) 만들지 않는다.
   대신 자기 색을 "절반만" 낸다.

   색을 아예 빼면(흰 카드) 콘텐츠가 쌓이기 전에는 17칸이 전부 흰 상자라
   리디자인 전과 다를 게 없어진다. 반대로 꽉 채우면 등록된 지역과 구분이 안 된다.
   그래서 배경과 tint 를 섞어 농도만 낮춘다 — 색은 살고, 위계는 생긴다. */
.rl-region-card--empty {
	background: color-mix(in srgb, var(--rl-c-tint) 45%, var(--rl-bg));
	border-color: var(--rl-border-subtle);
}

.rl-region-card--empty::after {
	opacity: 0.45;
}

.rl-region-card--empty .rl-region-card__name {
	color: var(--rl-text);
}

.rl-region-card--empty .rl-region-card__count {
	color: var(--rl-text-subtle);
	opacity: 1;
}
/* ══════════════════════════════════════════════════
   3. 홈 — 벤토 그리드
   ══════════════════════════════════════════════════ */

.rl-bento {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: var(--rl-space-4);
}

/* Notion 벤토 카드 — 색면 위에 eyebrow → 제목 → 화살표.
   기존에는 캘린더/상담만 진한 단색이라 두 장만 튀고 나머지는 밋밋했다.
   이제 모든 카드가 자기 색을 갖되 전부 옅은 톤이라 함께 보면 한 세트로 읽힌다. */
.rl-bento__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--rl-space-2);
	min-height: 13rem;
	padding: var(--rl-space-8);
	/* 색면 + 우하단에서 번지는 옅은 빛.
	   이전에는 ::before 원 + z-index:-1 로 만들었는데, 그 조합은
	   합성 레이어를 타면서 카드가 통째로 안 그려지는 일이 있었다.
	   배경 그라디언트로 옮기면 쌓임 맥락을 아예 만들지 않아 안전하다. */
	background:
		radial-gradient(20rem 20rem at 112% 115%,
			color-mix(in srgb, var(--rl-c-base) 14%, transparent) 0%,
			transparent 62%),
		var(--rl-c-tint);
	border: 1px solid transparent;
	border-radius: var(--rl-radius-card);
	color: var(--rl-text);
	overflow: hidden;
	transition: transform var(--rl-duration) var(--rl-ease-out),
		box-shadow var(--rl-duration) var(--rl-ease);
}

a.rl-bento__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--rl-shadow-lg);
	color: var(--rl-text);
}

.rl-bento__card--guide    { grid-column: span 4; }
.rl-bento__card--news     { grid-column: span 2; }
.rl-bento__card--calendar { grid-column: span 2; }
.rl-bento__card--trade    { grid-column: span 2; }
.rl-bento__card--contact  { grid-column: span 2; }

/* 화살표 — Notion 은 카드마다 → 를 두어 "눌리는 것"임을 알린다 */
.rl-bento__arrow {
	position: absolute;
	top: var(--rl-space-6);
	right: var(--rl-space-6);
	font-size: var(--rl-text-lg);
	line-height: 1;
	color: var(--rl-c-deep);
	opacity: 0.45;
	transition: transform var(--rl-duration) var(--rl-ease-out),
		opacity var(--rl-duration) var(--rl-ease);
}

a.rl-bento__card:hover .rl-bento__arrow {
	opacity: 1;
	transform: translate(3px, -3px);
}

.rl-bento__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: var(--rl-space-3);
	background: var(--rl-bg);
	border: 0;
	border-radius: var(--rl-radius-md);
	box-shadow: var(--rl-shadow-sm);
	font-size: 1.25rem;
}

.rl-bento__eyebrow {
	margin-bottom: var(--rl-space-1);
}

.rl-bento__title {
	font-size: var(--rl-text-xl);
	font-weight: var(--rl-weight-bold);
	letter-spacing: var(--rl-ls-tight);
	color: var(--rl-c-deep);
}

.rl-bento__desc {
	font-size: var(--rl-text-base);
	line-height: var(--rl-lh-normal);
	color: var(--rl-c-deep);
	opacity: 0.72;
	text-wrap: pretty;
}

.rl-bento__list {
	display: flex;
	flex-direction: column;
	gap: var(--rl-space-2);
	margin-top: var(--rl-space-4);
}

.rl-bento__list a {
	display: flex;
	align-items: center;
	gap: var(--rl-space-2);
	font-size: var(--rl-text-base);
	font-weight: var(--rl-weight-medium);
	color: var(--rl-text);
}

.rl-bento__list a::before {
	content: "·";
	color: var(--rl-text-subtle);
}

.rl-bento__list a:hover {
	color: var(--rl-accent);
}

.rl-bento__list--plain li {
	font-size: var(--rl-text-sm);
	color: color-mix(in srgb, currentColor 72%, transparent);
}

.rl-bento__list--plain li::before {
	content: "· ";
}

.rl-bento__more {
	margin-top: auto;
	padding-top: var(--rl-space-4);
	font-size: var(--rl-text-base);
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-accent);
}

.rl-bento__arrow {
	position: absolute;
	top: var(--rl-space-5);
	right: var(--rl-space-5);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--rl-radius);
	background: var(--rl-bg);
	border: 1px solid var(--rl-border);
	color: var(--rl-text-subtle);
	font-size: 0.875rem;
	transition: transform var(--rl-duration) var(--rl-ease);
}

.rl-bento__card--calendar .rl-bento__arrow,
.rl-bento__card--contact .rl-bento__arrow {
	background: color-mix(in srgb, var(--rl-gray-0) 18%, transparent);
	border-color: color-mix(in srgb, var(--rl-gray-0) 26%, transparent);
	color: var(--rl-gray-0);
}

a.rl-bento__card:hover .rl-bento__arrow {
	transform: translate(2px, -2px);
}

/* ══════════════════════════════════════════════════
   4. 지역 페이지
   ══════════════════════════════════════════════════ */

.rl-subregions {
	display: flex;
	align-items: flex-start;
	gap: var(--rl-space-4);
	padding: var(--rl-space-4) var(--rl-space-5);
	margin-bottom: var(--rl-space-8);
	background: var(--rl-bg-subtle);
	border: 1px solid var(--rl-border-subtle);
	border-radius: var(--rl-radius-lg);
}

.rl-subregions__label {
	flex-shrink: 0;
	padding-top: var(--rl-space-2);
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-subtle);
}

/* 전국 지역 인덱스 */
.rl-region-index {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: var(--rl-space-8);
}

.rl-region-index__group {
	padding: var(--rl-space-5);
	background: var(--rl-bg-subtle);
	border: 1px solid var(--rl-border-subtle);
	border-radius: var(--rl-radius-lg);
}

.rl-region-index__sido {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--rl-space-3);
	padding-bottom: var(--rl-space-3);
	margin-bottom: var(--rl-space-3);
	border-bottom: 1px solid var(--rl-border);
	font-size: var(--rl-text-lg);
}

.rl-region-index__sido a {
	color: var(--rl-text-strong);
}

.rl-region-index__sido a:hover {
	color: var(--rl-accent);
}

.rl-region-index__count {
	flex-shrink: 0;
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-medium);
	color: var(--rl-text-subtle);
}

.rl-region-index__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rl-space-1) var(--rl-space-3);
}

.rl-region-index__list a {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: var(--rl-text-sm);
	color: var(--rl-text-subtle);
}

.rl-region-index__list a.has-posts {
	color: var(--rl-text);
	font-weight: var(--rl-weight-medium);
}

.rl-region-index__list a span {
	color: var(--rl-accent);
	font-size: var(--rl-text-xs);
	font-weight: var(--rl-weight-semibold);
}

/* ══════════════════════════════════════════════════
   5. 현장 상세 (single-presale)
   ══════════════════════════════════════════════════ */

.rl-single__hero {
	padding-bottom: var(--rl-space-8);
}

.rl-single__hero-head {
	display: flex;
	align-items: center;
	gap: var(--rl-space-2);
	margin-bottom: var(--rl-space-4);
}

.rl-single__dday {
	padding: 3px var(--rl-space-2);
	border-radius: var(--rl-radius-sm);
	background: var(--rl-inverse);
	color: var(--rl-bg);
	font-size: var(--rl-text-xs);
	font-weight: var(--rl-weight-bold);
	letter-spacing: var(--rl-ls-wide);
}

.rl-single__title {
	font-size: var(--rl-text-4xl);
	letter-spacing: -0.035em;
}

.rl-single__region {
	margin-top: var(--rl-space-3);
	font-size: var(--rl-text-md);
	color: var(--rl-text-muted);
}

.rl-single__summary {
	max-width: 62ch;
	margin-top: var(--rl-space-4);
	font-size: var(--rl-text-lg);
	line-height: var(--rl-lh-normal);
	color: var(--rl-text-muted);
}

.rl-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rl-space-2);
	margin-top: var(--rl-space-5);
}

.rl-single__figure {
	margin-top: var(--rl-space-8);
	border-radius: var(--rl-radius-xl);
	border: 1px solid var(--rl-border);
	overflow: hidden;
	background: var(--rl-surface);
}

.rl-single__figure img {
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
}

/* 본문 2단 레이아웃: 본문 + 고정 CTA */
.rl-single__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: var(--rl-space-12);
	align-items: start;
	padding-block: 0 var(--rl-section-y);
}

.rl-single__main {
	min-width: 0;
}

/* 핵심 요약 4칸 */
.rl-keyfacts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: var(--rl-space-4);
	padding: var(--rl-space-5);
	margin-bottom: var(--rl-space-10);
	background: var(--rl-bg-subtle);
	border: 1px solid var(--rl-border-subtle);
	border-radius: var(--rl-radius-lg);
}

.rl-keyfacts__label {
	display: block;
	font-size: var(--rl-text-xs);
	color: var(--rl-text-subtle);
	margin-bottom: var(--rl-space-1);
}

.rl-keyfacts__value {
	font-size: var(--rl-text-lg);
	font-weight: var(--rl-weight-bold);
	color: var(--rl-text-strong);
	letter-spacing: -0.02em;
}

.rl-block {
	margin-bottom: var(--rl-space-12);
}

.rl-block__title {
	padding-bottom: var(--rl-space-3);
	margin-bottom: var(--rl-space-4);
	border-bottom: 2px solid var(--rl-text-strong);
	font-size: var(--rl-text-xl);
}

/* 사이드 고정 CTA */
.rl-single__aside {
	position: sticky;
	top: calc(var(--rl-header-h) + var(--rl-space-5));
}

.rl-sticky-cta {
	display: flex;
	flex-direction: column;
	gap: var(--rl-space-3);
	padding: var(--rl-space-6);
	background: var(--rl-bg);
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius-lg);
	box-shadow: var(--rl-shadow-sm);
}

.rl-sticky-cta__eyebrow {
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-subtle);
}

.rl-sticky-cta__price {
	font-size: var(--rl-text-xl);
	font-weight: var(--rl-weight-bold);
	color: var(--rl-text-strong);
	letter-spacing: -0.02em;
}

.rl-sticky-cta__dday {
	padding: var(--rl-space-2) var(--rl-space-3);
	background: var(--rl-accent-faint);
	border-radius: var(--rl-radius);
	font-size: var(--rl-text-sm);
	color: var(--rl-accent-strong);
}

.rl-sticky-cta__dday strong {
	font-weight: var(--rl-weight-bold);
}

.rl-sticky-cta__link {
	font-size: var(--rl-text-sm);
	color: var(--rl-text-muted);
	text-align: center;
}

/* ══════════════════════════════════════════════════
   6. 가이드·뉴스 상세
   ══════════════════════════════════════════════════ */

.rl-article-head {
	margin-bottom: var(--rl-space-8);
}

.rl-article-title {
	margin-top: var(--rl-space-4);
	font-size: var(--rl-text-3xl);
}

.rl-article-lede {
	max-width: 60ch;
	margin-top: var(--rl-space-4);
	font-size: var(--rl-text-lg);
	line-height: var(--rl-lh-normal);
	color: var(--rl-text-muted);
}

.rl-article-meta {
	display: flex;
	align-items: center;
	gap: var(--rl-space-3);
	margin-top: var(--rl-space-5);
	font-size: var(--rl-text-sm);
	color: var(--rl-text-subtle);
}

.rl-article-meta__dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--rl-border-strong);
}

.rl-article-figure {
	margin-bottom: var(--rl-space-10);
	border-radius: var(--rl-radius-lg);
	overflow: hidden;
	border: 1px solid var(--rl-border);
}

.rl-post-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: var(--rl-space-4);
	margin-top: var(--rl-space-16);
	padding-top: var(--rl-space-8);
	border-top: 1px solid var(--rl-border);
}

.rl-post-nav__item {
	display: flex;
	flex-direction: column;
	gap: var(--rl-space-1);
	padding: var(--rl-space-4);
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius-md);
	transition: background var(--rl-duration) var(--rl-ease);
}

.rl-post-nav__item:hover {
	background: var(--rl-surface);
}

.rl-post-nav__item span {
	font-size: var(--rl-text-xs);
	color: var(--rl-text-subtle);
}

.rl-post-nav__item strong {
	font-size: var(--rl-text-base);
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-strong);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rl-post-nav__item--next {
	text-align: right;
}

/* ══════════════════════════════════════════════════
   7. 청약 캘린더
   ══════════════════════════════════════════════════ */

.rl-cal {
	margin-bottom: var(--rl-space-12);
}

.rl-cal__head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--rl-space-6);
	margin-bottom: var(--rl-space-2);
}

.rl-cal__month {
	font-size: var(--rl-text-2xl);
	min-width: 8em;
	text-align: center;
}

.rl-cal__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius);
	color: var(--rl-text-muted);
	font-size: var(--rl-text-lg);
}

.rl-cal__nav:hover {
	background: var(--rl-surface);
	color: var(--rl-text-strong);
}

.rl-cal__today-link {
	margin-bottom: var(--rl-space-4);
	text-align: center;
	font-size: var(--rl-text-sm);
}

.rl-cal__table {
	table-layout: fixed;
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius-lg);
	overflow: hidden;
}

.rl-cal__table th {
	padding: var(--rl-space-3);
	background: var(--rl-surface);
	border-bottom: 1px solid var(--rl-border);
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-muted);
}

.rl-cal__table th.is-sun { color: var(--rl-red-500); }
.rl-cal__table th.is-sat { color: var(--rl-blue-500); }

.rl-cal__cell {
	height: 108px;
	padding: var(--rl-space-2);
	border-right: 1px solid var(--rl-border-subtle);
	border-bottom: 1px solid var(--rl-border-subtle);
	vertical-align: top;
	overflow: hidden;
}

.rl-cal__cell--empty {
	background: var(--rl-bg-subtle);
}

.rl-cal__cell.is-today {
	background: var(--rl-accent-faint);
	box-shadow: inset 0 0 0 2px var(--rl-accent);
}

.rl-cal__date {
	display: block;
	margin-bottom: var(--rl-space-1);
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-muted);
}

.rl-cal__cell.is-sun .rl-cal__date { color: var(--rl-red-500); }
.rl-cal__cell.is-sat .rl-cal__date { color: var(--rl-blue-500); }
.rl-cal__cell.is-today .rl-cal__date { color: var(--rl-accent-strong); }

.rl-cal__events {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.rl-cal__events a {
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 0.6875rem;
	line-height: 1.3;
	color: var(--rl-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rl-cal__kind {
	flex-shrink: 0;
	padding: 1px 4px;
	border-radius: 3px;
	font-size: 0.625rem;
	font-weight: var(--rl-weight-semibold);
	background: var(--rl-surface-2);
	color: var(--rl-text-muted);
}

.rl-cal__kind--1순위,
.rl-cal__kind--1 { background: var(--rl-status-accepting-bg); color: var(--rl-status-accepting-fg); }
.rl-cal__kind--2순위,
.rl-cal__kind--2 { background: var(--rl-accent-soft); color: var(--rl-accent-strong); }

.rl-cal__more {
	font-size: 0.625rem;
	color: var(--rl-text-subtle);
}

.rl-cal__empty {
	margin-top: var(--rl-space-6);
	text-align: center;
	color: var(--rl-text-subtle);
}

/* 캘린더 리스트 뷰 */
.rl-timeline {
	display: flex;
	flex-direction: column;
	gap: var(--rl-space-5);
}

.rl-timeline__day {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: var(--rl-space-5);
	padding: var(--rl-space-4) 0;
	border-bottom: 1px solid var(--rl-border-subtle);
}

.rl-timeline__day.is-today .rl-timeline__date {
	color: var(--rl-accent);
	font-weight: var(--rl-weight-bold);
}

.rl-timeline__date {
	font-size: var(--rl-text-base);
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-muted);
}

.rl-timeline__items {
	display: flex;
	flex-direction: column;
	gap: var(--rl-space-3);
}

.rl-timeline__items li {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--rl-space-2);
}

.rl-timeline__items a {
	font-size: var(--rl-text-md);
	font-weight: var(--rl-weight-medium);
	color: var(--rl-text-strong);
}

.rl-timeline__items a:hover {
	color: var(--rl-accent);
}

.rl-timeline__items em {
	font-style: normal;
	font-size: var(--rl-text-sm);
	color: var(--rl-text-subtle);
}

/* ══════════════════════════════════════════════════
   8. 상담 페이지
   ══════════════════════════════════════════════════ */

.rl-contact {
	display: grid;
	grid-template-columns: 1fr minmax(320px, 460px);
	gap: var(--rl-space-16);
	align-items: start;
}

.rl-contact__direct {
	padding: var(--rl-space-5);
	margin-top: var(--rl-space-8);
	background: var(--rl-bg-subtle);
	border: 1px solid var(--rl-border-subtle);
	border-radius: var(--rl-radius-lg);
}

.rl-contact__direct-label {
	font-size: var(--rl-text-sm);
	color: var(--rl-text-subtle);
}

.rl-contact__direct-phone {
	display: inline-block;
	margin-top: var(--rl-space-1);
	font-size: var(--rl-text-3xl);
	font-weight: var(--rl-weight-bold);
	letter-spacing: -0.03em;
	color: var(--rl-text-strong);
}

.rl-contact__direct-phone:hover {
	color: var(--rl-accent);
}

.rl-contact__hours {
	font-size: var(--rl-text-sm);
	color: var(--rl-text-subtle);
}

.rl-contact__points {
	display: flex;
	flex-direction: column;
	gap: var(--rl-space-2);
	margin-top: var(--rl-space-6);
}

.rl-contact__points li {
	display: flex;
	align-items: flex-start;
	gap: var(--rl-space-2);
	font-size: var(--rl-text-base);
	color: var(--rl-text-muted);
}

.rl-contact__points li::before {
	content: "✓";
	color: var(--rl-green-500);
	font-weight: var(--rl-weight-bold);
}

.rl-contact__formwrap {
	padding: var(--rl-space-8);
	background: var(--rl-bg);
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius-xl);
	box-shadow: var(--rl-shadow-sm);
}

/* ══════════════════════════════════════════════════
   9. 반응형
   ══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
	.rl-single__body {
		grid-template-columns: 1fr;
		gap: var(--rl-space-8);
	}
	.rl-single__aside {
		position: static;
	}
	.rl-bento {
		grid-template-columns: repeat(4, 1fr);
	}
	.rl-bento__card--guide {
		grid-column: span 4;
	}
	.rl-contact {
		grid-template-columns: 1fr;
		gap: var(--rl-space-10);
	}
}

@media (max-width: 720px) {
	.rl-hero__stats {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--rl-space-5);
	}
	.rl-bento {
		grid-template-columns: 1fr;
	}
	.rl-bento__card,
	.rl-bento__card--guide,
	.rl-bento__card--news,
	.rl-bento__card--calendar,
	.rl-bento__card--trade,
	.rl-bento__card--contact {
		grid-column: span 1;
	}
	.rl-subregions {
		flex-direction: column;
		gap: var(--rl-space-2);
	}
	.rl-timeline__day {
		grid-template-columns: 1fr;
		gap: var(--rl-space-2);
	}
	.rl-filterbar__row {
		align-items: flex-start;
	}
	.rl-filterbar__label {
		width: auto;
	}
	.rl-contact__formwrap {
		padding: var(--rl-space-5);
	}

	/* 캘린더는 좁은 화면에서 표가 무의미해진다 → 리스트만 보여준다. */
	.rl-cal__table {
		display: none;
	}
	.rl-cal-list {
		padding-top: 0;
	}
}

/* ═══════════════════════════════════════════════════
   실거래가 (page-real-trade)
   표·랭킹카드·CSS 막대차트. 값은 전부 토큰 — 리터럴 금지.
   ═══════════════════════════════════════════════════ */

.rl-trade-meta {
	margin-top: var(--rl-space-8);
	font-size: var(--rl-text-xs);
	color: var(--rl-text-subtle);
	line-height: var(--rl-lh-relaxed);
}

.rl-trade-blurb {
	margin-bottom: var(--rl-space-4);
	font-size: var(--rl-text-base);
	color: var(--rl-text-muted);
}

/* ── 요약 스탯 타일 ── */

.rl-trade-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--rl-space-4);
	margin-bottom: var(--rl-space-12);
}

.rl-trade-stat {
	display: flex;
	flex-direction: column;
	gap: var(--rl-space-1);
	padding: var(--rl-space-5);
	background: var(--rl-surface);
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius-card);
}

.rl-trade-stat__label {
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-medium);
	color: var(--rl-text-muted);
}

.rl-trade-stat__value {
	font-size: var(--rl-text-2xl);
	font-weight: var(--rl-weight-bold);
	color: var(--rl-text-strong);
	letter-spacing: var(--rl-ls-tight);
}

.rl-trade-stat__sub {
	font-size: var(--rl-text-xs);
	color: var(--rl-text-subtle);
}

/* ── 데이터 표 (components 의 .rl-table 은 키-값 표라 별도) ── */

.rl-trade-tablewrap {
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius-md);
	overflow-x: auto;
}

.rl-trade-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: var(--rl-text-sm);
}

.rl-trade-table th,
.rl-trade-table td {
	padding: var(--rl-space-3) var(--rl-space-4);
	border-bottom: 1px solid var(--rl-border-subtle);
	text-align: left;
	white-space: nowrap;
}

.rl-trade-table thead th {
	background: var(--rl-surface);
	color: var(--rl-text-muted);
	font-weight: var(--rl-weight-medium);
	font-size: var(--rl-text-xs);
}

.rl-trade-table tbody tr:last-child th,
.rl-trade-table tbody tr:last-child td {
	border-bottom: 0;
}

.rl-trade-table tbody tr {
	transition: background var(--rl-duration-fast) var(--rl-ease);
}

.rl-trade-table tbody tr:hover {
	background: var(--rl-surface-hover);
}

.rl-trade-table tbody tr.is-first {
	background: var(--rl-hue-amber-tint);
}

.rl-trade-table tbody tr.is-first .rl-trade-rank {
	color: var(--rl-hue-amber-deep);
	font-weight: var(--rl-weight-bold);
}

.rl-trade-table .is-num {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.rl-trade-rank {
	color: var(--rl-text-subtle);
}

.rl-trade-price {
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-strong);
}

.rl-trade-up {
	color: var(--rl-hue-red-deep);
	font-size: var(--rl-text-xs);
	font-weight: var(--rl-weight-semibold);
}

.rl-trade-dim {
	color: var(--rl-text-subtle);
	font-weight: var(--rl-weight-regular);
}

.rl-trade-region {
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-strong);
}

a.rl-trade-region:hover {
	color: var(--rl-link);
}

.rl-trade-crosslink {
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-medium);
	color: var(--rl-link);
}

.rl-trade-crosslink:hover {
	color: var(--rl-link-hover);
}

/* ── 시도별 랭킹 카드 ── */

.rl-trade-rankgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--rl-space-4);
}

.rl-trade-rankcard {
	display: flex;
	flex-direction: column;
	padding: var(--rl-space-5);
	background: var(--rl-surface);
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius-card);
}

.rl-trade-rankcard__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--rl-space-2);
	padding-bottom: var(--rl-space-3);
	margin-bottom: var(--rl-space-3);
	border-bottom: 1px solid var(--rl-border-subtle);
}

.rl-trade-rankcard__name {
	font-size: var(--rl-text-md);
	font-weight: var(--rl-weight-bold);
	color: var(--rl-text-strong);
}

a.rl-trade-rankcard__name:hover {
	color: var(--rl-link);
}

.rl-trade-rankcard__count {
	font-size: var(--rl-text-xs);
	color: var(--rl-text-subtle);
	white-space: nowrap;
}

.rl-trade-rankcard__list {
	display: flex;
	flex-direction: column;
	gap: var(--rl-space-3);
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 1;
}

.rl-trade-rankcard__row {
	display: flex;
	align-items: center;
	gap: var(--rl-space-3);
}

.rl-trade-rankcard__rank {
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--rl-radius-round);
	background: var(--rl-surface-2);
	font-size: var(--rl-text-xs);
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-muted);
}

.rl-trade-rankcard__row.is-first .rl-trade-rankcard__rank {
	background: var(--rl-hue-amber-tint);
	color: var(--rl-hue-amber-deep);
}

.rl-trade-rankcard__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.rl-trade-rankcard__apt {
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-strong);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rl-trade-rankcard__loc {
	font-size: var(--rl-text-xs);
	color: var(--rl-text-subtle);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rl-trade-rankcard__price {
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-bold);
	color: var(--rl-text-strong);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.rl-trade-rankcard__foot {
	padding-top: var(--rl-space-3);
	margin-top: var(--rl-space-3);
	border-top: 1px solid var(--rl-border-subtle);
}

/* ── CSS 막대차트 ── */

.rl-trade-chart {
	padding: var(--rl-space-5);
	background: var(--rl-surface);
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius-card);
}

.rl-trade-chart__scroll {
	overflow-x: auto;
}

/* 거래량 — 세로 막대. 0 기준선에서 자란다(건수는 0이 의미 있는 값). */

.rl-trade-bars {
	display: flex;
	align-items: flex-end;
	gap: var(--rl-space-2);
	min-width: 560px;
	height: 200px;
	/* 0 기준선 — 헤어라인, 실선, 물러나 있게. */
	border-bottom: 1px solid var(--rl-border);
}

.rl-trade-bars__col {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: var(--rl-space-1);
	height: 100%;
}

/* 컬럼 높이를 값 라벨·막대·월 라벨이 나눠 쓰므로 막대에 0.74 를 곱해
   가장 높은 막대에도 위아래 라벨 자리가 남게 한다. */
.rl-trade-bars__bar {
	width: 100%;
	max-width: 24px;
	height: calc(var(--rl-bar, 0%) * 0.74);
	min-height: 2px;
	background: var(--rl-accent-soft);
	/* 데이터 끝만 둥글고 기준선 쪽은 각지게 — 막대가 어디서 시작하는지 감춰지지 않게. */
	border-radius: var(--rl-radius-sm) var(--rl-radius-sm) 0 0;
	transition: background var(--rl-duration) var(--rl-ease);
}

.rl-trade-bars__col:hover .rl-trade-bars__bar {
	background: var(--rl-accent-hover);
}

.rl-trade-bars__bar.is-current {
	background: var(--rl-accent);
}

.rl-trade-bars__val {
	flex-shrink: 0;
	font-size: var(--rl-text-xs);
	color: var(--rl-text-muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.rl-trade-bars__val.is-strong {
	color: var(--rl-text-strong);
	font-weight: var(--rl-weight-semibold);
}

.rl-trade-bars__label {
	flex-shrink: 0;
	font-size: var(--rl-text-xs);
	color: var(--rl-text-subtle);
	white-space: nowrap;
}

/* 중위가 — 면적 + 선. 축이 0에서 시작하지 않으므로 y축 양끝 값을 표기한다. */

.rl-trade-line {
	display: flex;
	gap: var(--rl-space-3);
}

.rl-trade-line__yaxis {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-shrink: 0;
	width: 2.5rem;
	height: 200px;
	text-align: right;
	font-size: var(--rl-text-xs);
	color: var(--rl-text-subtle);
	font-variant-numeric: tabular-nums;
}

.rl-trade-line__plot {
	position: relative;
	flex: 1;
	min-width: 0;
	height: 200px;
}

.rl-trade-line__svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.rl-trade-line__area {
	fill: var(--rl-hue-teal-base);
	fill-opacity: 0.1;
	stroke: none;
}

.rl-trade-line__stroke {
	fill: none;
	stroke: var(--rl-hue-teal-base);
	stroke-width: 2;
	stroke-linejoin: round;
	stroke-linecap: round;
}

/* 점은 HTML 로 얹는다 — SVG 를 preserveAspectRatio="none" 으로 늘리면
   원이 타원으로 찌그러지기 때문이다. */
.rl-trade-line__dot {
	position: absolute;
	width: 8px;
	height: 8px;
	margin-left: -4px;
	margin-bottom: -4px;
	border-radius: var(--rl-radius-round);
	background: var(--rl-hue-teal-base);
	/* 표면색 링 — 선 위에 겹쳐도 점이 구분된다. */
	box-shadow: 0 0 0 2px var(--rl-surface);
	opacity: 0;
	transition: opacity var(--rl-duration) var(--rl-ease);
}

.rl-trade-line__plot:hover .rl-trade-line__dot {
	opacity: 1;
}

.rl-trade-line__dot.is-mark {
	opacity: 1;
}

.rl-trade-line__dot.is-current {
	opacity: 1;
	background: var(--rl-hue-teal-deep);
	width: 10px;
	height: 10px;
	margin-left: -5px;
	margin-bottom: -5px;
}

.rl-trade-line__vlabel {
	position: absolute;
	transform: translate(-50%, 0);
	margin-bottom: var(--rl-space-3);
	font-size: var(--rl-text-xs);
	color: var(--rl-text-muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	pointer-events: none;
}

.rl-trade-line__vlabel.is-strong {
	color: var(--rl-text-strong);
	font-weight: var(--rl-weight-semibold);
}

.rl-trade-line__xaxis {
	position: relative;
	height: 1.25rem;
	margin-top: var(--rl-space-2);
	/* y축 라벨 폭 + 간격만큼 밀어 plot 영역과 x 좌표를 맞춘다. */
	margin-left: calc(2.5rem + var(--rl-space-3));
	font-size: var(--rl-text-xs);
	color: var(--rl-text-subtle);
}

.rl-trade-line__xaxis span {
	position: absolute;
	transform: translateX(-50%);
	white-space: nowrap;
}

.rl-trade-axisnote {
	margin-top: var(--rl-space-3);
	font-size: var(--rl-text-xs);
	color: var(--rl-text-subtle);
	line-height: var(--rl-lh-relaxed);
}

.rl-trade-down {
	color: var(--rl-hue-blue-deep);
	font-size: var(--rl-text-xs);
	font-weight: var(--rl-weight-semibold);
}

/* 표 대체 뷰 — 차트를 볼 수 없는 경우에도 수치를 읽을 수 있어야 한다. */

.rl-trade-datatable {
	margin-bottom: var(--rl-space-12);
}

.rl-trade-datatable > summary {
	cursor: pointer;
	padding: var(--rl-space-3) 0;
	font-size: var(--rl-text-sm);
	font-weight: var(--rl-weight-medium);
	color: var(--rl-link);
}

.rl-trade-datatable > summary:hover {
	color: var(--rl-link-hover);
}

/* ── 가격대 칩 ── */

.rl-trade-bandchips {
	margin-bottom: var(--rl-space-6);
}

/* ── 반응형 ── */

@media (max-width: 767px) {
	.rl-trade-stats {
		grid-template-columns: 1fr;
	}

	/* 좁은 화면에서 12개월 x축 라벨이 겹친다 → 격월만 남긴다.
	   가려진 달은 아래 표에서 읽을 수 있으므로 정보 손실이 아니다. */
	.rl-trade-line__xaxis span:nth-child(even) {
		display: none;
	}

	.rl-trade-line__yaxis,
	.rl-trade-line__plot {
		height: 160px;
	}

	.rl-trade-stat__value {
		font-size: var(--rl-text-xl);
	}
}

/* ═══════════════════════════════════════════════════
   추천 분양 현장 (홈 상단) — 노션 제품 카드 언어
   위에 한 줄 카피, 아래에 컬러 밴드 + 이미지(아래로 잘림).
   ═══════════════════════════════════════════════════ */

.rl-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--rl-space-5);
}

.rl-feature {
	background: var(--rl-bg);
	border: 1px solid var(--rl-border-subtle);
	border-radius: var(--rl-radius-xl);
	/* 이미지가 아래로 흘러넘치는 구조라 넘친 부분을 잘라낸다. */
	overflow: hidden;
	transition: box-shadow var(--rl-duration) var(--rl-ease),
		transform var(--rl-duration) var(--rl-ease);
}

.rl-feature:hover {
	box-shadow: var(--rl-shadow-lg);
	transform: translateY(-2px);
}

.rl-feature__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
}

/* ── 위: 한 줄 카피 + 원형 화살표 ── */

.rl-feature__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--rl-space-4);
	padding: var(--rl-space-6) var(--rl-space-6) var(--rl-space-5);
}

.rl-feature__text {
	min-width: 0;
}

.rl-feature__eyebrow {
	margin: 0 0 var(--rl-space-2);
	font-size: var(--rl-text-sm);
	color: var(--rl-text-subtle);
}

.rl-feature__title {
	margin: 0;
	font-size: var(--rl-text-xl);
	font-weight: var(--rl-weight-bold);
	line-height: var(--rl-lh-snug);
	letter-spacing: var(--rl-ls-tight);
	color: var(--rl-text-strong);
}

.rl-feature__name {
	margin: var(--rl-space-2) 0 0;
	font-size: var(--rl-text-sm);
	color: var(--rl-text-muted);
}

.rl-feature__arrow {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--rl-radius-round);
	background: var(--rl-inverse);
	color: var(--rl-text-on-dark);
	transition: transform var(--rl-duration) var(--rl-ease);
}

.rl-feature:hover .rl-feature__arrow {
	transform: translateX(2px);
}

/* ── 아래: 컬러 밴드 + 이미지 ──
   밴드는 카드 폭을 꽉 채우고, 이미지 프레임이 그 위에 얹혀 아래로 잘린다.
   padding-bottom 이 0 인 이유가 그것이다 — 아래를 일부러 흘려보낸다. */

.rl-feature__visual {
	position: relative;
	margin-top: auto;
	padding: var(--rl-space-5) var(--rl-space-5) 0;
	background: var(--rl-feature-band, var(--rl-surface));
	/* 잘리는 높이 — 이미지 아래쪽이 카드 밖으로 나가 "이어지는" 느낌을 만든다. */
	max-height: 220px;
	overflow: hidden;
}

.rl-feature__frame {
	aspect-ratio: 16 / 10;
	background: var(--rl-bg);
	border-radius: var(--rl-radius-md) var(--rl-radius-md) 0 0;
	box-shadow: var(--rl-shadow-sm);
	overflow: hidden;
}

.rl-feature__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rl-feature__dday {
	position: absolute;
	top: var(--rl-space-4);
	right: var(--rl-space-5);
	padding: var(--rl-space-1) var(--rl-space-3);
	border-radius: var(--rl-radius-round);
	background: var(--rl-bg);
	box-shadow: var(--rl-shadow-xs);
	font-size: var(--rl-text-xs);
	font-weight: var(--rl-weight-semibold);
	color: var(--rl-text-strong);
	white-space: nowrap;
}

/* 컬러 밴드 — 글 ID 로 돌려 쓴다. 값은 전부 토큰.
   tint(아주 옅은 톤)로 두면 흰 프레임에 눌려 색이 거의 안 보인다.
   밴드는 흰 이미지 프레임을 받쳐주는 면이라 base 로 확실히 낸다. */
.rl-feature--blue   { --rl-feature-band: var(--rl-hue-blue-base); }
.rl-feature--teal   { --rl-feature-band: var(--rl-hue-teal-base); }
.rl-feature--amber  { --rl-feature-band: var(--rl-hue-amber-base); }
.rl-feature--purple { --rl-feature-band: var(--rl-hue-purple-base); }
.rl-feature--red    { --rl-feature-band: var(--rl-hue-red-base); }

@media (max-width: 767px) {
	.rl-feature-grid {
		grid-template-columns: 1fr;
	}

	.rl-feature__head {
		padding: var(--rl-space-5) var(--rl-space-5) var(--rl-space-4);
	}

	.rl-feature__title {
		font-size: var(--rl-text-lg);
	}

	.rl-feature__visual {
		max-height: 180px;
	}
}
