/*
 * Chennai Home Guide — Homepage V3.
 *
 * Full-bleed Hero with centered editorial stack, floating search panel,
 * intent pills, and trust row. Base rules are the complete no-JS /
 * mobile / reduced-motion experience — content never depends on
 * progressive-enhancement JS. Critical imagery remains responsive
 * WordPress <img> markup, never a CSS background.
 */

/* Zero base-layout .chg-main margin-top so the full-bleed hero
 * photo meets the header bottom (header is sticky/opaque, in-flow). */
.chg-main:has(> .chg-home-v3) {
	margin-top: 0;
}

.chg-main > .chg-home-v3 {
	margin-block-start: 0;
	max-width: none;
}

/* Homepage-only: hide Sign Up / Login. Shared header.html keeps the
 * link for every other template; body.home scopes this to the front page. */
body.home .chg-nav-cta--tertiary {
	display: none;
}

.chg-home-v3 {
	--chg-home-gutter: 20px;
	background: var(--wp--preset--color--page-bg);
	color: var(--wp--preset--color--foreground);
	font-family: var(--wp--preset--font-family--system);
	width: 100%;
	/* Do NOT set overflow:hidden here — it breaks position:sticky on the
	 * site header and traps the search-panel overlap below. */
}

@media (min-width: 480px) {
	.chg-home-v3 {
		--chg-home-gutter: 24px;
	}
}

/* ---------- Hero ---------- */

.chg-home-v3__hero {
	position: relative;
	isolation: isolate;
	/* Visible so the search panel can straddle onto the section below.
	 * Media is clipped on .chg-home-v3__hero-stage instead. */
	overflow: visible;
	background:
		radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--wp--preset--color--accent) 10%, transparent), transparent 28rem),
		var(--wp--preset--color--page-bg);
	color: var(--wp--preset--color--foreground);
}

.chg-home-v3__hero-stage {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.chg-home-v3__hero-media {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/*
 * Light warm wash through the kicker/H1/lede/panel zone (top ~65%) so the
 * photo's own color reads through instead of being flattened; real
 * darkening only from ~65% down so the trust row (which sits inside the
 * photo, not on white — see .chg-home-v3__trust below) gets a genuinely
 * dark backdrop for its white text.
 */
.chg-home-v3__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		color-mix(in srgb, #f6ead9 30%, transparent) 0%,
		color-mix(in srgb, #f6ead9 20%, transparent) 45%,
		color-mix(in srgb, #1a140c 32%, transparent) 68%,
		color-mix(in srgb, #120e08 64%, transparent) 100%
	);
}

.chg-home-v3__hero-provenance {
	position: absolute;
	right: 0.85rem;
	bottom: 0.7rem;
	z-index: 1;
	margin: 0;
	padding: 0.25rem 0.5rem;
	border-radius: var(--wp--custom--radius--sm, 0.25rem);
	background: color-mix(in srgb, var(--wp--preset--color--background) 78%, transparent);
	color: var(--wp--preset--color--muted);
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	pointer-events: auto;
}

.chg-home-v3__hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	width: min(100%, 82rem);
	margin-inline: auto;
	/* In-flow opaque header — top padding is aesthetic, not clearance for overlay. */
	padding: 2.5rem var(--chg-home-gutter) 0;
}

.chg-home-v3__hero-content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100%, 60rem);
	text-align: center;
	overflow-x: clip;
}

.chg-home-v3__hero-content::before {
	content: '';
	position: absolute;
	inset: -12% -20%;
	background: radial-gradient(ellipse at center, rgba(255, 250, 240, 0.55) 0%, rgba(255, 250, 240, 0.28) 42%, rgba(255, 250, 240, 0) 72%);
	filter: blur(32px);
	z-index: -1;
	pointer-events: none;
}

.chg-home-v3__hero-accent {
	position: absolute;
	top: 1rem;
	right: var(--chg-home-gutter);
	z-index: 2;
	color: var(--wp--preset--color--accent);
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-size: 1.1rem;
	line-height: 1.3;
	text-align: right;
	pointer-events: none;
}

.chg-home-v3__hero-location-tag {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	align-self: flex-end;
	gap: 0.15rem;
	margin-top: 0.85rem;
	color: inherit;
	font-size: 0.75rem;
	line-height: 1.35;
	text-align: right;
}

.chg-home-v3__hero-location-tag-row {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.chg-home-v3__hero-location-tag-icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 0.9rem;
	height: 0.9rem;
	color: currentColor;
}

.chg-home-v3__hero-location-tag-icon .chg-icon {
	width: 100%;
	height: 100%;
}

.chg-home-v3__hero-location-tag-city {
	font-size: 0.8125rem;
	font-weight: 750;
	line-height: 1.25;
}

.chg-home-v3__hero-location-tag-line {
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-size: 0.75rem;
	line-height: 1.35;
	opacity: 0.9;
}

.chg-home-v3__hero:not(.chg-home-v3__hero--no-media) .chg-home-v3__hero-location-tag {
	color: #ffffff;
}

.chg-home-v3__hero--no-media .chg-home-v3__hero-location-tag {
	color: var(--wp--preset--color--foreground);
}

.chg-home-v3__hero--no-media .chg-home-v3__hero-location-tag-line {
	color: var(--wp--preset--color--muted);
	opacity: 1;
}

@media (max-width: 780px) {
	.chg-home-v3__hero-accent {
		display: none;
	}
}

@media (max-width: 480px) {
	.chg-home-v3__hero-content::before {
		inset: -8% -10%;
	}
}

.chg-home-v3__kicker {
	margin: 0 0 0.875rem;
	color: var(--wp--preset--color--accent);
	font-size: 0.6875rem;
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.chg-home-v3__title {
	margin: 0;
	max-width: 18ch;
	color: var(--wp--preset--color--foreground);
	font-size: clamp(2rem, 5.2vw, 3.35rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.chg-home-v3__title span {
	display: block;
	font-weight: 700;
}

.chg-home-v3__lede {
	max-width: 38rem;
	margin: 0.95rem 0 1.5rem;
	color: color-mix(in srgb, var(--wp--preset--color--foreground) 72%, transparent);
	font-size: clamp(0.95rem, 1.7vw, 1.0625rem);
	line-height: 1.55;
}

.chg-home-v3__search-panel {
	position: relative;
	z-index: 2;
	width: min(100%, 58rem);
	padding: 0.85rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 70%, transparent);
	border-radius: 1.25rem;
	background: var(--wp--preset--color--background);
	box-shadow: var(--wp--custom--shadow--md, 0 12px 32px rgba(17, 24, 32, 0.12));
}

.chg-home-v3__intent-pills {
	margin: 0 0 0.75rem;
}

.chg-home-v3__intent-pills ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chg-home-v3__intent-pills a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 2.35rem;
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--pill);
	background: color-mix(in srgb, var(--wp--preset--color--surface) 70%, var(--wp--preset--color--background));
	color: var(--wp--preset--color--foreground);
	font-size: 0.8125rem;
	font-weight: 650;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chg-home-v3__intent-pills a:hover,
.chg-home-v3__intent-pills a:focus-visible {
	border-color: var(--wp--preset--color--accent);
	background: var(--wp--preset--color--accent);
	color: #ffffff;
}

.chg-home-v3__intent-pills a:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

.chg-home-v3__intent-pill-icon {
	display: inline-flex;
	color: var(--wp--preset--color--muted);
}

.chg-home-v3__intent-pills a:hover .chg-home-v3__intent-pill-icon,
.chg-home-v3__intent-pills a:focus-visible .chg-home-v3__intent-pill-icon {
	color: #ffffff;
}

.chg-home-v3__search {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	width: 100%;
	min-height: 3.35rem;
	padding: 0.3rem 0.3rem 0.3rem 0.65rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
}

.chg-home-v3__search-icon {
	display: inline-flex;
	margin-inline-end: 0.4rem;
	color: var(--wp--preset--color--muted);
}

.chg-home-v3__search input {
	min-width: 0;
	height: 2.75rem;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--wp--preset--color--foreground);
	font: inherit;
}

.chg-home-v3__search input::placeholder {
	color: var(--wp--preset--color--muted);
	opacity: 1;
}

.chg-home-v3__search-fake-placeholder {
	display: none;
	grid-area: input;
	align-self: center;
	pointer-events: none;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.chg-home-v3__search-locale {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-inline: 0.35rem;
	padding: 0.35rem 0.55rem;
	border-inline-start: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--foreground);
	font-size: 0.8125rem;
	font-weight: 650;
	white-space: nowrap;
	user-select: none;
}

.chg-home-v3__search-locale-icon,
.chg-home-v3__search-locale-chevron {
	display: inline-flex;
	color: var(--wp--preset--color--muted);
}

.chg-home-v3__search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.75rem;
	padding: 0 1.15rem;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent);
	color: #ffffff;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
}

.chg-home-v3__search-submit:hover {
	background: var(--wp--preset--color--accent-dark);
}

.chg-home-v3__search:focus-within {
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent);
	outline-offset: 3px;
}

.chg-home-v3__trust {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
	width: min(100%, 48rem);
	margin: 1.35rem 0 0;
	padding: 0;
	list-style: none;
}

.chg-home-v3__trust-item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	text-align: left;
}

.chg-home-v3__trust-icon {
	display: inline-flex;
	flex-shrink: 0;
	margin-top: 0.1rem;
	color: currentColor;
	opacity: 0.92;
}

.chg-home-v3__trust-copy {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.chg-home-v3__trust-title {
	font-size: 0.875rem;
	font-weight: 750;
	line-height: 1.25;
}

.chg-home-v3__trust-text {
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.35;
	opacity: 0.82;
}

/* Photo present: dark copy over the light top wash (kicker/H1/lede).
 * Trust row sits lower, inside the photo's darker bottom band, so it
 * stays light-on-dark rather than matching the H1's dark-on-light. */
.chg-home-v3__hero:not(.chg-home-v3__hero--no-media) .chg-home-v3__title {
	color: #1a1a1a;
	text-shadow: 0 1px 0 color-mix(in srgb, #fff 35%, transparent);
}

.chg-home-v3__hero:not(.chg-home-v3__hero--no-media) .chg-home-v3__lede {
	color: color-mix(in srgb, #1a1a1a 78%, transparent);
}

.chg-home-v3__hero:not(.chg-home-v3__hero--no-media) .chg-home-v3__trust {
	color: #ffffff;
}

.chg-home-v3__hero:not(.chg-home-v3__hero--no-media) .chg-home-v3__trust-text {
	color: #ffffff;
	opacity: 0.88;
}

/* No-media: trust uses dark-on-light tokens on the page surface wash. */
.chg-home-v3__hero--no-media .chg-home-v3__trust {
	color: var(--wp--preset--color--foreground);
}

.chg-home-v3__hero--no-media .chg-home-v3__trust-text {
	color: var(--wp--preset--color--muted);
	opacity: 1;
}

@media (min-width: 768px) {
	.chg-home-v3__hero-inner {
		/*
		 * Content-sized hero (not viewport-tall). Bottom padding keeps the
		 * trust row inside the photo with breathing room before the stage ends.
		 */
		padding: 3.25rem clamp(2rem, 6vw, 6rem) 3rem;
	}

	.chg-home-v3__trust {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1rem 1.5rem;
		margin-top: 1.5rem;
	}

	.chg-home-v3__search-panel {
		padding: 1rem;
	}
}

@media (max-width: 767.98px) {
	.chg-home-v3__hero-inner {
		padding-top: 1.5rem;
		padding-bottom: 1.25rem;
	}

	.chg-home-v3__search-panel {
		padding: 0.65rem;
	}

	.chg-home-v3__search {
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			"icon input input"
			"locale locale submit";
		gap: 0.3rem 0.25rem;
		padding: 0.4rem;
		border-radius: 1rem;
	}

	.chg-home-v3__search-icon {
		grid-area: icon;
	}

	.chg-home-v3__search input {
		grid-area: input;
	}

	.chg-home-v3__search input::placeholder {
		color: transparent;
	}

	.chg-home-v3__search input:placeholder-shown ~ .chg-home-v3__search-fake-placeholder {
		display: block;
		color: var(--wp--preset--color--muted);
	}

	.chg-home-v3__search-locale {
		grid-area: locale;
		justify-self: start;
		margin-inline: 0;
		border-inline-start: 0;
		padding-inline-start: 0.15rem;
	}

	.chg-home-v3__search-submit {
		grid-area: submit;
		justify-self: end;
		width: 100%;
		max-width: 9.5rem;
	}

	.chg-home-v3__intent-pills {
		margin-bottom: 0.5rem;
	}

	.chg-home-v3__intent-pills ul {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 0.15rem;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
		-webkit-mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
	}

	.chg-home-v3__intent-pills li {
		flex: 0 0 auto;
	}
}

@media (max-width: 379px) {
	.chg-home-v3__title {
		font-size: clamp(1.75rem, 9vw, 2.2rem);
	}

	.chg-home-v3__trust {
		gap: 0.85rem;
	}

	.chg-home-v3__search-submit-label {
		font-size: 0.8125rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.chg-home-v3 *,
	.chg-home-v3 *::before,
	.chg-home-v3 *::after {
		scroll-behavior: auto;
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
		transition-duration: 0.01ms;
	}
}

/* ---------- Homepage V3 post-cinematic discovery (Slice 3) ---------- */

.chg-main > .chg-home-v3-discovery {
	margin-block-start: 0;
	max-width: none;
}

.chg-home-v3-discovery {
	--chg-home-discovery-gutter: 20px;
	--chg-home-discovery-surface: var(--wp--preset--color--page-bg);
	--chg-home-discovery-paper: var(--wp--preset--color--background);
	--chg-home-discovery-line: var(--wp--preset--color--border);
	background: var(--chg-home-discovery-surface);
	color: var(--wp--preset--color--foreground);
	font-family: var(--wp--preset--font-family--system);
}

@media (min-width: 480px) {
	.chg-home-v3-discovery {
		--chg-home-discovery-gutter: 24px;
	}
}

.chg-home-v3-discovery__transition {
	height: clamp(3rem, 7vw, 5rem);
	background: linear-gradient(180deg, var(--chg-home-discovery-surface) 0%, var(--chg-home-discovery-paper) 100%);
}

.chg-home-v3-discovery__section {
	padding-block: clamp(2rem, 5.5vw, 3.25rem);
}

.chg-home-v3-discovery__section:nth-child(even) {
	background: var(--chg-home-discovery-paper);
}

.chg-home-v3-discovery__inner {
	width: min(100%, 82rem);
	margin-inline: auto;
	padding-inline: var(--chg-home-discovery-gutter);
}

.chg-home-v3-discovery__inner--narrow {
	width: min(100%, 58rem);
}

.chg-home-v3-discovery__title {
	max-width: 42rem;
	margin: 0 0 1.35rem;
	font-size: clamp(1.75rem, 4.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.chg-home-v3-discovery__title.chg-home-v3-discovery__title--compact {
	max-width: 36rem;
	font-size: clamp(1.35rem, 3.2vw, 1.85rem);
}

.chg-home-v3-discovery__title.chg-home-v3-discovery__title--lead {
	max-width: none;
	font-size: clamp(1.85rem, 4.8vw, 2.85rem);
}

.chg-home-v3-discovery__explore {
	padding-block: clamp(1.5rem, 4vw, 2.25rem);
	background: transparent;
}

.chg-home-v3-discovery__explore-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 1.35rem;
}

.chg-home-v3-discovery__explore-heading {
	flex: 1 1 16rem;
	min-width: 0;
}

.chg-home-v3-discovery__explore-heading .chg-home-v3-discovery__title {
	margin-bottom: 0.55rem;
}

.chg-home-v3-discovery__explore-lede {
	max-width: 40rem;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.chg-home-v3-discovery__explore-archive-cta {
	margin: 0;
	flex: 0 0 auto;
}

.chg-home-v3-discovery__explore-archive-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.5rem;
	padding: 0.45rem 1rem;
	border: 1px solid var(--chg-home-discovery-line);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--chg-home-discovery-paper);
	color: var(--wp--preset--color--foreground);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.chg-home-v3-discovery__explore-archive-link:hover {
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent-dark);
}

.chg-home-v3-discovery__explore-archive-icon {
	display: inline-flex;
	color: var(--wp--preset--color--accent);
}

.chg-home-v3-discovery__explore-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chg-home-v3-discovery__explore-item {
	margin: 0;
	min-width: 0;
	list-style: none;
}

.chg-home-v3-discovery__explore-card {
	height: 100%;
	border: 1px solid var(--chg-home-discovery-line);
	border-radius: var(--wp--custom--radius--lg, 12px);
	background: var(--chg-home-discovery-paper);
	box-shadow: var(--wp--custom--shadow--md, 0 4px 16px rgba(27, 31, 34, 0.08));
	overflow: hidden;
}

.chg-home-v3-discovery__explore-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.chg-home-v3-discovery__explore-card-link:hover .chg-home-v3-discovery__explore-card-title {
	color: var(--wp--preset--color--accent-dark);
}

.chg-home-v3-discovery__explore-card-media {
	position: relative;
	display: block;
	background: var(--wp--preset--color--surface);
}

.chg-home-v3-discovery__explore-card-image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.chg-home-v3-discovery__explore-card-image--placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	color: var(--wp--preset--color--muted);
	border-bottom: 1px solid var(--chg-home-discovery-line);
}

.chg-home-v3-discovery__explore-card-image--placeholder .chg-icon {
	width: 1.75rem;
	height: 1.75rem;
	opacity: 0.5;
}

.chg-home-v3-discovery__explore-card-image-label {
	font-size: 0.75rem;
	font-weight: 500;
}

.chg-home-v3-discovery__explore-badges {
	position: absolute;
	top: 0.7rem;
	left: 0.7rem;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	max-width: calc(100% - 1.4rem);
}

.chg-home-v3-discovery__explore-badge {
	display: inline-flex;
	align-items: center;
	min-height: 1.45rem;
	padding: 0.2rem 0.55rem;
	border-radius: 0.35rem;
	color: #ffffff;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.chg-home-v3-discovery__explore-badge--featured {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 92%, #0a3d3d);
}

.chg-home-v3-discovery__explore-badge--launch {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 72%, #1a4f6e);
}

.chg-home-v3-discovery__explore-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 0.55rem;
	padding: 1rem 1.05rem 1.1rem;
}

.chg-home-v3-discovery__explore-card-title {
	margin: 0;
	color: var(--wp--preset--color--foreground);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.chg-home-v3-discovery__explore-card-locality {
	display: flex;
	align-items: flex-start;
	gap: 0.35rem;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.chg-home-v3-discovery__explore-card-pin {
	display: inline-flex;
	flex: 0 0 auto;
	margin-top: 0.05rem;
	color: var(--wp--preset--color--muted);
}

.chg-home-v3-discovery__explore-card-pin .chg-icon {
	width: 0.875rem;
	height: 0.875rem;
}

.chg-home-v3-discovery__explore-card-details {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.15rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
	line-height: 1.35;
}

.chg-home-v3-discovery__explore-card-config,
.chg-home-v3-discovery__explore-card-price {
	min-width: 0;
}

.chg-home-v3-discovery__explore-card-config {
	padding: 0.2rem 0.55rem;
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--pill);
	white-space: nowrap;
}

.chg-home-v3-discovery__explore-card-details-sep {
	flex: 0 0 auto;
	width: 1px;
	align-self: stretch;
	min-height: 1em;
	background: var(--chg-home-discovery-line);
}

.chg-home-v3-discovery__explore-card-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 0.55rem;
}

.chg-home-v3-discovery__explore-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	min-height: 1.5rem;
	padding: 0.2rem 0.65rem;
	border-radius: var(--wp--custom--radius--pill);
	font-size: 0.6875rem;
	font-weight: 650;
	line-height: 1.25;
}

.chg-home-v3-discovery__explore-pill--launch,
.chg-home-v3-discovery__explore-pill--status {
	background: color-mix(in srgb, #4f7cac 12%, #eef4f8);
	color: color-mix(in srgb, #2f567a 70%, #1b2b3a);
}

.chg-home-v3-discovery__explore-pill--rera {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 12%, #eef7f4);
	color: var(--wp--preset--color--accent-dark);
}

.chg-home-v3-discovery__explore-pill-icon {
	display: inline-flex;
	color: var(--wp--preset--color--accent);
}

.chg-home-v3-discovery__explore-pill-icon .chg-icon {
	width: 0.8rem;
	height: 0.8rem;
}

@media (min-width: 640px) {
	.chg-home-v3-discovery__explore-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.chg-home-v3-discovery__explore-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.chg-home-v3-discovery__locality {
	padding-block: clamp(1.5rem, 4vw, 2.25rem);
}

.chg-home-v3-discovery__locality-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 1.35rem;
}

.chg-home-v3-discovery__locality-heading {
	flex: 1 1 16rem;
	min-width: 0;
}

.chg-home-v3-discovery__locality-heading .chg-home-v3-discovery__title {
	margin-bottom: 0.55rem;
}

.chg-home-v3-discovery__locality-lede {
	max-width: 40rem;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.chg-home-v3-discovery__locality-archive-cta {
	margin: 0;
	flex: 0 0 auto;
}

.chg-home-v3-discovery__locality-archive-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.5rem;
	padding: 0.45rem 1rem;
	border: 1px solid var(--chg-home-discovery-line);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--chg-home-discovery-paper);
	color: var(--wp--preset--color--foreground);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.chg-home-v3-discovery__locality-archive-link:hover {
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent-dark);
}

.chg-home-v3-discovery__locality-archive-icon {
	display: inline-flex;
	color: var(--wp--preset--color--accent);
}

.chg-home-v3-discovery__locality-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chg-home-v3-discovery__locality-item {
	margin: 0;
	min-width: 0;
	list-style: none;
}

.chg-home-v3-discovery__locality-card {
	height: 100%;
	border: 1px solid var(--chg-home-discovery-line);
	border-radius: var(--wp--custom--radius--lg, 12px);
	background: var(--chg-home-discovery-paper);
	box-shadow: var(--wp--custom--shadow--md, 0 4px 16px rgba(27, 31, 34, 0.08));
	overflow: hidden;
}

.chg-home-v3-discovery__locality-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.chg-home-v3-discovery__locality-card-link:hover .chg-home-v3-discovery__locality-card-name {
	color: var(--wp--preset--color--accent-dark);
}

.chg-home-v3-discovery__locality-card-media {
	position: relative;
	display: block;
	background: var(--wp--preset--color--surface);
}

.chg-home-v3-discovery__locality-card-image,
.chg-home-v3-discovery__locality-card-media .chg-home-v3-discovery__media-fallback {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 3;
	min-height: 0;
	object-fit: cover;
}

.chg-home-v3-discovery__locality-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 0.3rem;
	padding: 1rem 1.05rem 1.1rem;
}

.chg-home-v3-discovery__locality-card-name {
	margin: 0;
	color: var(--wp--preset--color--foreground);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.chg-home-v3-discovery__locality-card-meta {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.chg-home-v3-discovery__provenance {
	position: absolute;
	right: 0.75rem;
	bottom: 0.6rem;
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.chg-home-v3-discovery__project-name {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.025em;
}

@media (min-width: 640px) {
	.chg-home-v3-discovery__locality-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.chg-home-v3-discovery__locality-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.chg-home-v3-discovery__locality-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.chg-home-v3-discovery__builders {
	padding-block: clamp(1.5rem, 4vw, 2.25rem);
}

.chg-home-v3-discovery__builders-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 1.35rem;
}

.chg-home-v3-discovery__builders-heading {
	flex: 1 1 16rem;
	min-width: 0;
}

.chg-home-v3-discovery__builders-heading .chg-home-v3-discovery__title {
	margin-bottom: 0.55rem;
}

.chg-home-v3-discovery__builders-lede {
	max-width: 40rem;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.chg-home-v3-discovery__builders-archive-cta {
	margin: 0;
	flex: 0 0 auto;
}

.chg-home-v3-discovery__builders-archive-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.5rem;
	padding: 0.45rem 1rem;
	border: 1px solid var(--chg-home-discovery-line);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--chg-home-discovery-paper);
	color: var(--wp--preset--color--foreground);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.chg-home-v3-discovery__builders-archive-link:hover {
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent-dark);
}

.chg-home-v3-discovery__builders-archive-icon {
	display: inline-flex;
	color: var(--wp--preset--color--accent);
}

.chg-home-v3-discovery__builders-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chg-home-v3-discovery__builders-item {
	margin: 0;
	min-width: 0;
	list-style: none;
}

.chg-home-v3-discovery__builders-card {
	height: 100%;
}

.chg-home-v3-discovery__builders-card-link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	height: 100%;
	padding: 1.25rem 1.1rem;
	border: 1px solid var(--chg-home-discovery-line);
	border-radius: var(--wp--custom--radius--lg, 12px);
	background: var(--chg-home-discovery-paper);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chg-home-v3-discovery__builders-card-link:hover {
	border-color: var(--wp--preset--color--accent);
	box-shadow: var(--wp--custom--shadow--hover);
}

.chg-home-v3-discovery__builders-card-mark {
	display: flex;
	align-items: flex-start;
	min-height: 2.5rem;
	max-height: 2.5rem;
	margin-bottom: 0.15rem;
}

.chg-home-v3-discovery__builders-card-mark-image {
	display: block;
	max-height: 2.5rem;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.chg-home-v3-discovery__builders-card-name {
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--foreground);
}

.chg-home-v3-discovery__builders-card-link:hover .chg-home-v3-discovery__builders-card-name {
	color: var(--wp--preset--color--accent-dark);
}

.chg-home-v3-discovery__builders-card-meta {
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--wp--preset--color--muted);
}

@media (min-width: 640px) {
	.chg-home-v3-discovery__builders-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.chg-home-v3-discovery__builders-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

.chg-home-v3-discovery__section--primary {
	padding-block: clamp(2.35rem, 6vw, 3.75rem);
	background: var(--chg-home-discovery-paper);
	border-block: 1px solid var(--chg-home-discovery-line);
}

.chg-home-v3-discovery__filters .chg-home-v3-discovery__tile-grid {
	gap: 1rem;
}

.chg-home-v3-discovery__filters .chg-home-v3-discovery__tile-link {
	min-height: 7.25rem;
	padding: 1.15rem 1.2rem;
	background: var(--chg-home-discovery-surface);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 18%, var(--chg-home-discovery-line));
}

.chg-home-v3-discovery__filters .chg-home-v3-discovery__tile-label {
	font-size: 1.125rem;
}

.chg-home-v3-discovery__paths {
	padding-block: clamp(1.75rem, 4.5vw, 2.75rem);
}

.chg-home-v3-discovery__paths .chg-home-v3-discovery__path-link {
	min-height: 5.75rem;
	box-shadow: none;
	transform: none;
}

.chg-home-v3-discovery__paths .chg-home-v3-discovery__path-link:hover {
	transform: none;
}

.chg-home-v3-discovery__eyebrow {
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--accent);
	font-size: 0.6875rem;
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.chg-home-v3-discovery__media-fallback {
	min-height: 16rem;
	background:
		linear-gradient(135deg, transparent 0 48%, rgba(15, 107, 114, 0.05) 48% 48.15%, transparent 48.15%),
		linear-gradient(145deg, #eef2f3, #f7f5ef);
}

.chg-home-v3-discovery__tile-grid,
.chg-home-v3-discovery__path-list {
	display: grid;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chg-home-v3-discovery__tile-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chg-home-v3-discovery__tile-link,
.chg-home-v3-discovery__path-link {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.45rem;
	min-height: 6.5rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--chg-home-discovery-line);
	border-radius: var(--wp--custom--radius--md);
	background: var(--chg-home-discovery-paper);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.chg-home-v3-discovery__tile-link:hover,
.chg-home-v3-discovery__path-link:hover {
	border-color: var(--wp--preset--color--accent);
	box-shadow: var(--wp--custom--shadow--hover);
	transform: translateY(-1px);
}

.chg-home-v3-discovery__tile-label,
.chg-home-v3-discovery__path-label {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
}

.chg-home-v3-discovery__tile-desc,
.chg-home-v3-discovery__path-meta {
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.chg-home-v3-discovery__footer-handoff {
	height: clamp(1.75rem, 4vw, 2.75rem);
	border-top: 1px solid var(--chg-home-discovery-line);
	background:
		linear-gradient(180deg, var(--chg-home-discovery-surface) 0%, var(--wp--preset--color--background) 100%);
}

@media (max-width: 767.98px) {
	.chg-home-v3-discovery__footer-handoff {
		height: clamp(1rem, 3vw, 1.75rem);
	}
}

@media (min-width: 768px) {
	.chg-home-v3-discovery__tile-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.chg-home-v3-discovery__path-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.chg-home-v3-discovery__path-list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 379px) {
	.chg-home-v3-discovery__tile-grid {
		grid-template-columns: 1fr;
	}
}

.chg-home-v3-discovery__guides {
	padding-block: clamp(1.5rem, 4vw, 2.25rem);
}

.chg-home-v3-discovery__guides-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 1.35rem;
}

.chg-home-v3-discovery__guides-heading {
	flex: 1 1 16rem;
	min-width: 0;
}

.chg-home-v3-discovery__guides-heading .chg-home-v3-discovery__title {
	margin-bottom: 0.55rem;
}

.chg-home-v3-discovery__guides-lede {
	max-width: 40rem;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.chg-home-v3-discovery__guides-archive-cta {
	margin: 0;
	flex: 0 0 auto;
}

.chg-home-v3-discovery__guides-archive-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.5rem;
	padding: 0.45rem 1rem;
	border: 1px solid var(--chg-home-discovery-line);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--chg-home-discovery-paper);
	color: var(--wp--preset--color--foreground);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.chg-home-v3-discovery__guides-archive-link:hover {
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent-dark);
}

.chg-home-v3-discovery__guides-archive-icon {
	display: inline-flex;
	color: var(--wp--preset--color--accent);
}

.chg-home-v3-discovery__guides-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chg-home-v3-discovery__guides-item {
	margin: 0;
	min-width: 0;
	list-style: none;
}

.chg-home-v3-discovery__guides-card {
	height: 100%;
	border: 1px solid var(--chg-home-discovery-line);
	border-radius: var(--wp--custom--radius--lg, 12px);
	background: var(--chg-home-discovery-paper);
	box-shadow: var(--wp--custom--shadow--md, 0 4px 16px rgba(27, 31, 34, 0.08));
	overflow: hidden;
}

.chg-home-v3-discovery__guides-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.chg-home-v3-discovery__guides-card-link:hover .chg-home-v3-discovery__guides-card-title {
	color: var(--wp--preset--color--accent-dark);
}

.chg-home-v3-discovery__guides-card-image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--wp--preset--color--surface);
}

.chg-home-v3-discovery__guides-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 0.55rem;
	padding: 1.1rem 1.15rem 1.2rem;
}

.chg-home-v3-discovery__guides-card-title {
	margin: 0;
	color: var(--wp--preset--color--foreground);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.chg-home-v3-discovery__guides-card-excerpt {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.875rem;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.chg-home-v3-discovery__guides-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 0.4rem;
}

.chg-home-v3-discovery__guides-card-date {
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
}

.chg-home-v3-discovery__guides-card-arrow {
	display: inline-flex;
	color: var(--wp--preset--color--accent);
}

@media (min-width: 640px) {
	.chg-home-v3-discovery__guides-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.chg-home-v3-discovery__guides-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.chg-home-v3-discovery__cta-band {
	padding-block: clamp(2rem, 5vw, 3rem);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 10%, #ffffff);
	border-block: 1px solid var(--chg-home-discovery-line);
}

.chg-home-v3-discovery__cta-band-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.chg-home-v3-discovery__cta-band-copy {
	flex: 1 1 22rem;
	max-width: 34rem;
}

.chg-home-v3-discovery__cta-band-copy .chg-home-v3-discovery__title {
	margin-bottom: 0.65rem;
}

.chg-home-v3-discovery__cta-band-lede {
	margin: 0 0 1.35rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.chg-home-v3-discovery__cta-band-action {
	margin: 0;
}

.chg-home-v3-discovery__cta-band-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.7rem 1.35rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent);
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.chg-home-v3-discovery__cta-band-button:hover {
	background: var(--wp--preset--color--accent-dark);
}

.chg-home-v3-discovery__cta-band-art {
	display: none;
	flex: 0 0 auto;
	align-items: flex-end;
	gap: 0.75rem;
	color: color-mix(in srgb, var(--wp--preset--color--accent) 45%, var(--chg-home-discovery-line));
}

.chg-home-v3-discovery__cta-band-art .chg-icon {
	width: 2.75rem;
	height: 2.75rem;
}

.chg-home-v3-discovery__cta-band-art .chg-icon:nth-child(2) {
	width: 3.75rem;
	height: 3.75rem;
}

.chg-home-v3-discovery__cta-band-accent {
	margin: 0;
	flex: 0 0 auto;
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-size: 1.1rem;
	line-height: 1.35;
	color: var(--wp--preset--color--accent-dark);
	text-align: right;
}

@media (min-width: 640px) {
	.chg-home-v3-discovery__cta-band-art {
		display: flex;
	}
}

@media (max-width: 767.98px) {
	.chg-home-v3-discovery__cta-band-accent {
		display: none;
	}

	.chg-home-v3-discovery__cta-band {
		padding-block: 1.5rem;
	}
}
