/*
Theme Name: Cambodia Handbook
Theme URI: https://cambodiahandbook.com/
Description: Editorial child theme for Cambodia Handbook.
Author: Cambodia Handbook
Version: 1.0.1
Template: kadence
Text Domain: cambodia-handbook
*/

:root {
	--ch-ink: #202421;
	--ch-paper: #f7f3e8;
	--ch-forest: #244b3a;
	--ch-mekong: #356878;
	--ch-laterite: #a45136;
	--ch-sandstone: #c9a96e;
	--ch-mist: #e7e8df;
	--ch-alert: #9b332d;
	--ch-border: color-mix(in srgb, var(--ch-ink) 18%, transparent);
	--ch-radius: 0.25rem;
	--ch-measure: 44rem;
}

body {
	background: var(--ch-paper);
	color: var(--ch-ink);
	font-family: Inter, "Noto Sans Khmer", system-ui, sans-serif;
	line-height: 1.7;
}

.ch-page {
	display: flow-root;
	background: var(--ch-paper);
}

.ch-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--ch-border);
	background: color-mix(in srgb, var(--ch-paper) 94%, #fff);
}

.ch-header__inner {
	display: flex;
	width: min(100% - 2rem, 76rem);
	min-height: 5.25rem;
	align-items: center;
	justify-content: space-between;
	margin-inline: auto;
	gap: 2rem;
}

.ch-brand {
	color: var(--ch-ink);
	font-family: "Noto Serif", Georgia, serif;
	font-size: 1.35rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.ch-primary-nav ul,
.ch-mobile-nav ul {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	gap: 1.25rem;
	list-style: none;
}

.ch-primary-nav a,
.ch-mobile-nav a {
	color: var(--ch-ink);
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none;
}

.ch-primary-nav a:hover,
.ch-primary-nav .current-menu-item > a {
	color: var(--ch-laterite);
}

.ch-mobile-menu {
	display: none;
}

.ch-mobile-menu summary {
	cursor: pointer;
	font-size: 0.85rem;
	font-weight: 700;
	list-style: none;
	text-transform: uppercase;
}

.ch-mobile-menu summary::-webkit-details-marker {
	display: none;
}

.ch-breadcrumbs {
	width: 100%;
	margin: 0;
	padding: 0.8rem max(1rem, calc((100% - 76rem) / 2));
	border-bottom: 1px solid color-mix(in srgb, var(--ch-sandstone) 28%, transparent);
	background: color-mix(in srgb, var(--ch-sandstone) 9%, var(--ch-paper));
	color: color-mix(in srgb, var(--ch-ink) 67%, transparent);
	font-size: 0.82rem;
}

.ch-breadcrumbs a {
	color: inherit;
}

.ch-site-footer {
	padding: clamp(3rem, 7vw, 5rem) 0 2rem;
	background: #18251f;
	color: color-mix(in srgb, #fff 82%, transparent);
}

.ch-site-footer__inner {
	width: min(100% - 2rem, 76rem);
	margin-inline: auto;
}

.ch-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(12rem, 1fr);
	gap: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid color-mix(in srgb, #fff 16%, transparent);
}

.ch-site-footer__brand {
	margin: 0 0 0.75rem;
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
}

.ch-site-footer__description {
	max-width: 38rem;
	margin: 0;
	font-size: 1.05rem;
}

.ch-site-footer__heading {
	margin: 0 0 1rem;
	color: var(--ch-sandstone);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ch-site-footer__links {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ch-site-footer a {
	color: #fff;
	text-decoration-color: color-mix(in srgb, var(--ch-sandstone) 70%, transparent);
	text-underline-offset: 0.2em;
}

.ch-site-footer__legal {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 1.5rem;
	font-size: 0.85rem;
}

@media (max-width: 720px) {
	.ch-site-footer__grid {
		grid-template-columns: 1fr;
	}

	.ch-site-footer__legal {
		flex-direction: column;
	}
}

h1,
h2,
h3,
h4,
.site-title {
	color: var(--ch-ink);
	font-family: "Noto Serif", "Noto Serif Khmer", Georgia, serif;
	letter-spacing: -0.02em;
}

a {
	color: var(--ch-forest);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

a:hover {
	color: var(--ch-laterite);
}

:focus-visible {
	outline: 3px solid var(--ch-mekong);
	outline-offset: 3px;
}

.content-area {
	margin-block: clamp(2rem, 5vw, 5rem);
}

.entry-content {
	font-size: clamp(1.05rem, 1rem + 0.2vw, 1.18rem);
}

.entry-content > :where(p, ul, ol, blockquote) {
	max-width: var(--ch-measure);
}

.ch-kicker {
	color: var(--ch-laterite);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ch-standfirst {
	max-width: 46rem;
	color: color-mix(in srgb, var(--ch-ink) 82%, transparent);
	font-family: "Noto Serif", "Noto Serif Khmer", Georgia, serif;
	font-size: clamp(1.2rem, 1rem + 0.8vw, 1.65rem);
	line-height: 1.45;
}

.ch-review-meta,
.ch-place-facts {
	padding: 1rem 1.25rem;
	border: 1px solid var(--ch-border);
	border-radius: var(--ch-radius);
	background: color-mix(in srgb, var(--ch-mist) 55%, transparent);
	font-size: 0.9rem;
}

.ch-place-name-km {
	margin: 0.25rem 0 0;
	color: var(--ch-mekong);
	font-family: "Noto Serif Khmer", serif;
	font-size: 0.55em;
	font-weight: 500;
	letter-spacing: 0;
}

.ch-review-meta {
	margin-top: 1rem;
}

.ch-source-list ol {
	max-width: var(--ch-measure);
	padding-left: 1.4rem;
}

.ch-source-list li + li {
	margin-top: 0.75rem;
}

.ch-single-place .entry-hero-container-inner {
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--ch-forest) 9%, transparent), transparent 60%),
		var(--ch-paper);
}

.ch-source-list {
	padding-top: 1.5rem;
	border-top: 1px solid var(--ch-border);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

.ch-home {
	background: var(--ch-paper);
}

.ch-home-shell {
	width: min(100% - 2rem, 1200px);
	margin-inline: auto;
}

.ch-home-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(5rem, 11vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
	background:
		radial-gradient(circle at 78% 25%, color-mix(in srgb, var(--ch-sandstone) 30%, transparent), transparent 28rem),
		linear-gradient(150deg, var(--ch-paper), color-mix(in srgb, var(--ch-mist) 68%, var(--ch-paper)));
	border-bottom: 1px solid var(--ch-border);
}

.ch-home-hero::after {
	position: absolute;
	right: -8rem;
	bottom: -12rem;
	width: 40rem;
	height: 27rem;
	border: 1px solid color-mix(in srgb, var(--ch-mekong) 25%, transparent);
	border-radius: 50%;
	content: "";
	transform: rotate(-12deg);
}

.ch-home-hero__inner {
	position: relative;
	z-index: 1;
}

.ch-home-hero h1 {
	max-width: 12ch;
	margin: 0.2em 0;
	font-size: clamp(3.7rem, 9vw, 8rem);
	line-height: 0.95;
}

.ch-home-hero__intro {
	max-width: 42rem;
	margin: 1.5rem 0 2rem;
	font-family: "Noto Serif", "Noto Serif Khmer", Georgia, serif;
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	line-height: 1.45;
}

.ch-home-search {
	max-width: 40rem;
}

.ch-home-search form {
	display: flex;
	padding: 0.35rem;
	border: 1px solid var(--ch-border);
	border-radius: 99px;
	background: #fff;
	box-shadow: 0 1rem 3rem color-mix(in srgb, var(--ch-ink) 8%, transparent);
}

.ch-home-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 0.8rem 1rem;
	border: 0;
	background: transparent;
}

.ch-home-search input[type="submit"],
.ch-home-search button {
	padding: 0.75rem 1.25rem;
	border: 0;
	border-radius: 99px;
	background: var(--ch-forest);
	color: #fff;
}

.ch-home-section {
	padding-block: clamp(4rem, 8vw, 7rem);
}

.ch-section-heading {
	max-width: 48rem;
	margin-bottom: 2rem;
}

.ch-section-heading h2 {
	margin: 0.25rem 0;
	font-size: clamp(2.2rem, 5vw, 4rem);
	line-height: 1.05;
}

.ch-section-heading--split {
	display: flex;
	max-width: none;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
}

.ch-card-grid {
	display: grid;
	gap: 1px;
	border: 1px solid var(--ch-border);
	background: var(--ch-border);
}

.ch-card-grid--four {
	grid-template-columns: repeat(4, 1fr);
}

.ch-card {
	min-height: 18rem;
	padding: clamp(1.4rem, 3vw, 2.25rem);
	background: var(--ch-paper);
}

.ch-card h3,
.ch-topic h3 {
	font-size: 1.5rem;
}

.ch-card h3 a,
.ch-topic h3 a {
	color: inherit;
	text-decoration-color: var(--ch-sandstone);
	text-underline-offset: 0.2em;
}

.ch-card__number {
	color: var(--ch-laterite);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.ch-home-places {
	background: var(--ch-forest);
	color: #fff;
}

.ch-home-places h2,
.ch-home-places h3,
.ch-home-places a,
.ch-home-places .ch-kicker {
	color: #fff;
}

.ch-map-panel {
	display: grid;
	overflow: hidden;
	grid-template-columns: 1.25fr 1fr;
	border: 1px solid color-mix(in srgb, #fff 25%, transparent);
	background: color-mix(in srgb, #fff 6%, transparent);
}

.ch-map-panel__graphic {
	display: grid;
	min-height: 28rem;
	place-items: center;
	background: color-mix(in srgb, var(--ch-mekong) 28%, transparent);
}

.ch-map-panel svg {
	width: min(90%, 42rem);
}

.ch-map-panel .ch-geo-grid {
	fill: none;
	stroke: color-mix(in srgb, #fff 22%, transparent);
	stroke-width: 1.5;
}

.ch-map-panel .ch-geo-axis {
	fill: none;
	stroke: color-mix(in srgb, var(--ch-sandstone) 78%, #fff);
	stroke-width: 3;
}

.ch-map-panel .ch-geo-marker {
	fill: var(--ch-sandstone);
	stroke: color-mix(in srgb, #fff 65%, var(--ch-sandstone));
	stroke-width: 2;
}

.ch-map-panel__content {
	align-self: center;
	padding: clamp(2rem, 5vw, 4rem);
}

.ch-inline-list {
	display: flex;
	flex-wrap: wrap;
	margin: 2rem 0 0;
	padding: 0;
	gap: 0.5rem;
	list-style: none;
}

.ch-inline-list li {
	padding: 0.35rem 0.7rem;
	border: 1px solid color-mix(in srgb, #fff 30%, transparent);
	border-radius: 99px;
	font-size: 0.85rem;
}

.ch-topic-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--ch-border);
	border-left: 1px solid var(--ch-border);
}

.ch-topic {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-right: 1px solid var(--ch-border);
	border-bottom: 1px solid var(--ch-border);
}

.ch-topic > span {
	display: grid;
	width: 2.3rem;
	height: 2.3rem;
	place-items: center;
	border-radius: 50%;
	background: var(--ch-mist);
	color: var(--ch-forest);
	font-weight: 700;
}

.ch-home-trust {
	background: var(--ch-ink);
	color: #fff;
}

.ch-home-trust h2,
.ch-home-trust .ch-kicker {
	color: #fff;
}

.ch-home-trust__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 8vw, 8rem);
}

.ch-home-trust h2 {
	font-size: clamp(2.2rem, 5vw, 4.3rem);
	line-height: 1.05;
}

.ch-trust-points p {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid color-mix(in srgb, #fff 20%, transparent);
}

@media (max-width: 900px) {
	.ch-card-grid--four,
	.ch-topic-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ch-map-panel,
	.ch-home-trust__inner {
		grid-template-columns: 1fr;
	}

	.ch-map-panel__graphic {
		min-height: 20rem;
	}
}

@media (max-width: 620px) {
	.ch-card-grid--four,
	.ch-topic-grid {
		grid-template-columns: 1fr;
	}

	.ch-section-heading--split {
		display: block;
	}
}

.ch-page {
	background: var(--ch-paper);
}

.ch-page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
	border-bottom: 1px solid var(--ch-border);
	background:
		linear-gradient(115deg, color-mix(in srgb, var(--ch-sandstone) 17%, transparent), transparent 58%),
		var(--ch-paper);
}

.ch-page-hero::after {
	position: absolute;
	right: -10rem;
	bottom: -18rem;
	width: 34rem;
	height: 34rem;
	border: 1px solid color-mix(in srgb, var(--ch-mekong) 25%, transparent);
	border-radius: 50%;
	content: "";
}

.ch-page-shell {
	position: relative;
	z-index: 1;
	width: min(100% - 2rem, 76rem);
	margin-inline: auto;
}

.ch-page-hero__eyebrow {
	margin: 0 0 1.25rem;
	color: var(--ch-laterite);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ch-page-hero__standfirst {
	max-width: 50rem;
	margin: 1.75rem 0 0;
	color: #36404a;
	font-family: "Noto Serif", Georgia, serif;
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	line-height: 1.6;
}

.ch-page-hero h1 {
	max-width: 13ch;
	margin: 0;
	color: #1f2430;
	font-family: Inter, "Noto Sans Khmer", system-ui, sans-serif;
	font-size: clamp(3rem, 8vw, 6.4rem);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.ch-page-layout {
	max-width: 52rem;
	margin-inline: auto;
	padding-block: clamp(3.5rem, 8vw, 7rem);
}

.ch-page-content {
	font-family: "Noto Serif", "Noto Serif Khmer", Georgia, serif;
	font-size: clamp(1.08rem, 1.6vw, 1.25rem);
	line-height: 1.85;
}

.ch-page-content > p:first-child {
	margin-top: 0;
	color: #303741;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 600;
	line-height: 1.55;
}

.ch-page-content h2 {
	margin: 3.2rem 0 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ch-border);
	color: #1f2430;
	font-family: Inter, "Noto Sans Khmer", system-ui, sans-serif;
	font-size: clamp(1.65rem, 3vw, 2.25rem);
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.ch-fact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	margin-bottom: 3rem;
	border-top: 1px solid var(--ch-border);
	border-left: 1px solid var(--ch-border);
	font-family: Inter, system-ui, sans-serif;
}

.ch-fact-grid > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.35rem;
	border-right: 1px solid var(--ch-border);
	border-bottom: 1px solid var(--ch-border);
	gap: 0.7rem;
	line-height: 1.35;
	text-align: center;
}

.ch-fact-grid strong {
	display: block;
	color: var(--ch-laterite);
	font-size: 0.68rem;
	line-height: 1.35;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ch-gateway-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: min(100% - 2rem, 76rem);
	margin: clamp(3rem, 7vw, 6rem) auto;
	border-top: 1px solid var(--ch-border);
	border-left: 1px solid var(--ch-border);
}

.ch-gateway-card,
.ch-result-card {
	padding: clamp(1.5rem, 3vw, 2.4rem);
	border-right: 1px solid var(--ch-border);
	border-bottom: 1px solid var(--ch-border);
	background: color-mix(in srgb, #fff 22%, transparent);
}

.ch-gateway-card h2,
.ch-result-card h2 {
	margin-top: 0;
	font-size: 1.35rem;
}

.ch-gateway-card a,
.ch-result-card a {
	color: var(--ch-ink);
	text-decoration-color: var(--ch-sandstone);
	text-underline-offset: 0.2em;
}

.ch-empty-state {
	padding: 1.5rem;
	border-left: 3px solid var(--ch-sandstone);
	background: color-mix(in srgb, var(--ch-sandstone) 10%, #fff);
}

.ch-reference {
	width: min(100% - 2rem, 76rem);
	margin-inline: auto;
	padding-block: clamp(3rem, 7vw, 6rem);
}

.ch-reference__layout {
	max-width: 52rem;
	margin-inline: auto;
}

.ch-reference__header h1,
.ch-archive-header h1 {
	margin-bottom: 1rem;
	font-size: clamp(2.8rem, 6vw, 5rem);
	letter-spacing: -0.045em;
	line-height: 1;
}

.ch-reference__standfirst {
	font-family: "Noto Serif", Georgia, serif;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	line-height: 1.6;
}

.ch-editorial-meta {
	display: flex;
	flex-wrap: wrap;
	margin: 3.5rem 0 2rem;
	padding: 1rem 0 0;
	border-top: 1px solid var(--ch-border);
	gap: 0.35rem 1rem;
	color: color-mix(in srgb, var(--ch-ink) 70%, transparent);
	font-size: 0.82rem;
}

.ch-editorial-meta a {
	margin-left: auto;
}

.ch-sources,
.ch-related {
	margin-top: 3.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--ch-border);
}

.ch-sources li {
	overflow-wrap: anywhere;
}

.ch-related__grid,
.ch-results {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--ch-border);
	border-left: 1px solid var(--ch-border);
}

.ch-archive-header {
	width: min(100% - 2rem, 76rem);
	margin: clamp(3rem, 7vw, 6rem) auto 2rem;
}

.ch-results {
	width: min(100% - 2rem, 76rem);
	margin: 0 auto clamp(4rem, 8vw, 7rem);
}

.ch-search-form {
	display: flex;
	max-width: 42rem;
	margin-top: 1.5rem;
}

.ch-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 0.9rem 1rem;
	border: 1px solid var(--ch-border);
}

.ch-search-form button {
	padding-inline: 1.25rem;
	border: 0;
	background: var(--ch-forest);
	color: #fff;
}

@media (max-width: 780px) {
	.ch-primary-nav {
		display: none;
	}

	.ch-mobile-menu {
		display: block;
	}

	.ch-mobile-menu[open] .ch-mobile-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		padding: 1rem;
		border-top: 1px solid var(--ch-border);
		border-bottom: 1px solid var(--ch-border);
		background: var(--ch-paper);
	}

	.ch-mobile-nav ul {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.ch-mobile-nav a {
		display: block;
		padding: 0.75rem;
	}

	.ch-editorial-meta a {
		width: 100%;
		margin-left: 0;
	}

	.ch-gateway-grid,
	.ch-related__grid,
	.ch-results {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.ch-fact-grid {
		grid-template-columns: 1fr;
	}
}

/* Editorial polish release: navigation, reading, discovery, and mobile. */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 2rem;
}

body {
	font-size: 16px;
	text-rendering: optimizeLegibility;
}

.ch-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0);
	backdrop-filter: blur(14px);
}

.ch-header__inner {
	min-height: 5.75rem;
	gap: clamp(1rem, 3vw, 2.25rem);
}

.ch-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

.ch-brand__mark {
	display: grid;
	width: 2.65rem;
	height: 2.65rem;
	place-items: center;
	border: 1px solid color-mix(in srgb, var(--ch-laterite) 42%, transparent);
	border-radius: 50%;
	color: var(--ch-laterite);
	font-family: Inter, sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.ch-brand__type {
	display: grid;
	line-height: 1.05;
}

.ch-brand__type strong {
	font-family: "Noto Serif", Georgia, serif;
	font-size: 1.18rem;
}

.ch-brand__type small {
	margin-top: 0.38rem;
	color: color-mix(in srgb, var(--ch-ink) 58%, transparent);
	font-family: Inter, sans-serif;
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ch-primary-nav ul {
	gap: clamp(0.8rem, 1.55vw, 1.35rem);
}

.ch-primary-nav a {
	position: relative;
	display: inline-block;
	padding-block: 2.1rem;
}

.ch-primary-nav a::after {
	position: absolute;
	right: 0;
	bottom: 1.35rem;
	left: 0;
	height: 2px;
	background: var(--ch-laterite);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 160ms ease;
}

.ch-primary-nav a:hover::after,
.ch-primary-nav .current-menu-item > a::after,
.ch-primary-nav .current_page_item > a::after {
	transform: scaleX(1);
}

.ch-header-search {
	display: grid;
	flex: 0 0 auto;
	width: 2.4rem;
	height: 2.4rem;
	place-items: center;
	border: 1px solid var(--ch-border);
	border-radius: 50%;
	color: var(--ch-ink);
	font-size: 1.4rem;
	line-height: 1;
	text-decoration: none;
}

.ch-breadcrumbs {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ch-page-content :where(p, li) {
	letter-spacing: 0.002em;
}

.ch-page-content :where(ul, ol) {
	padding-left: 1.35em;
}

.ch-page-content li + li {
	margin-top: 0.55rem;
}

.ch-page-content blockquote {
	margin: 2.5rem 0;
	padding: 0.2rem 0 0.2rem 1.5rem;
	border-left: 3px solid var(--ch-sandstone);
	color: color-mix(in srgb, var(--ch-ink) 82%, transparent);
	font-size: 1.15em;
}

.ch-page-content :where(img, figure, table) {
	max-width: 100%;
}

.ch-page-content table {
	width: 100%;
	border-collapse: collapse;
	font-family: Inter, "Noto Sans Khmer", sans-serif;
	font-size: 0.92em;
}

.ch-page-content :where(th, td) {
	padding: 0.8rem;
	border-bottom: 1px solid var(--ch-border);
	text-align: left;
	vertical-align: top;
}

.ch-page-content th {
	color: var(--ch-laterite);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ch-page-content h2 {
	scroll-margin-top: 7.5rem;
}

.ch-contents {
	margin: 0 0 3.25rem;
	padding: 1.25rem 1.4rem;
	border-top: 3px solid var(--ch-forest);
	background: color-mix(in srgb, var(--ch-mist) 58%, transparent);
	font-family: Inter, "Noto Sans Khmer", sans-serif;
}

.ch-contents__title {
	margin: 0 0 0.7rem;
	color: var(--ch-forest);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ch-contents ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding-left: 1.2rem;
	gap: 0.4rem 2rem;
	font-size: 0.9rem;
}

.ch-contents a {
	color: var(--ch-ink);
}

.ch-fact-grid {
	box-shadow: 0 1rem 3rem color-mix(in srgb, var(--ch-ink) 4%, transparent);
}

.ch-fact-grid > div {
	min-height: 7rem;
	background: color-mix(in srgb, #fff 24%, transparent);
}

/* Tourism-first homepage release. */
.ch-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	margin-top: 1.5rem;
	gap: 0.75rem;
}

.ch-home-button {
	display: inline-flex;
	min-height: 3rem;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.1rem;
	border: 1px solid var(--ch-forest);
	border-radius: 99px;
	background: var(--ch-forest);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.ch-home-button--secondary {
	background: transparent;
	color: var(--ch-forest);
}

.ch-destination-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	border-top: 1px solid color-mix(in srgb, #fff 25%, transparent);
	border-left: 1px solid color-mix(in srgb, #fff 25%, transparent);
}

.ch-destination-card {
	display: flex;
	min-height: 17rem;
	flex-direction: column;
	justify-content: space-between;
	grid-column: span 4;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-right: 1px solid color-mix(in srgb, #fff 25%, transparent);
	border-bottom: 1px solid color-mix(in srgb, #fff 25%, transparent);
	background: color-mix(in srgb, #fff 5%, transparent);
}

.ch-destination-card:first-child,
.ch-destination-card:nth-child(2) {
	grid-column: span 6;
}

.ch-destination-card__type {
	margin: 0;
	color: color-mix(in srgb, var(--ch-sandstone) 78%, #fff);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.ch-destination-card h3 {
	margin: 0.6rem 0;
	font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.ch-destination-card p:last-child {
	max-width: 30rem;
	margin-bottom: 0;
	color: color-mix(in srgb, #fff 78%, transparent);
}

.ch-itinerary-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.ch-itinerary {
	display: flex;
	min-height: 20rem;
	flex-direction: column;
	padding: clamp(1.5rem, 3vw, 2.4rem);
	border: 1px solid var(--ch-border);
	background: color-mix(in srgb, #fff 28%, transparent);
}

.ch-itinerary__days {
	color: var(--ch-laterite);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.ch-itinerary h3 {
	margin: 1rem 0 0.7rem;
	font-size: clamp(1.7rem, 3vw, 2.25rem);
	line-height: 1.1;
}

.ch-itinerary ul {
	margin: 0 0 1.5rem;
	padding-left: 1.15rem;
	color: var(--ch-muted);
}

.ch-itinerary .ch-text-link {
	margin-top: auto;
}

.ch-plan-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--ch-border);
	border-left: 1px solid var(--ch-border);
}

.ch-plan-card {
	padding: clamp(1.4rem, 3vw, 2.2rem);
	border-right: 1px solid var(--ch-border);
	border-bottom: 1px solid var(--ch-border);
}

.ch-plan-card h3 {
	margin: 0 0 0.6rem;
	font-size: 1.25rem;
}

.ch-plan-card p {
	margin-bottom: 0;
	color: var(--ch-muted);
}

.ch-home-invitation {
	background: var(--ch-ink);
	color: #fff;
}

.ch-home-invitation__inner {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: end;
	gap: clamp(2rem, 8vw, 8rem);
}

.ch-home-invitation h2,
.ch-home-invitation .ch-kicker {
	color: #fff;
}

.ch-home-invitation h2 {
	margin: 0.25rem 0 0;
	font-size: clamp(2.2rem, 5vw, 4.3rem);
	line-height: 1.05;
}

.ch-home-invitation p:last-child {
	margin: 0;
	color: color-mix(in srgb, #fff 78%, transparent);
	font-family: "Noto Serif", "Noto Serif Khmer", Georgia, serif;
	font-size: 1.2rem;
	line-height: 1.7;
}

@media (max-width: 900px) {
	.ch-destination-card,
	.ch-destination-card:first-child,
	.ch-destination-card:nth-child(2) {
		grid-column: span 6;
	}

	.ch-itinerary-grid {
		grid-template-columns: 1fr;
	}

	.ch-itinerary {
		min-height: 0;
	}

	.ch-plan-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ch-home-invitation__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.ch-destination-card,
	.ch-destination-card:first-child,
	.ch-destination-card:nth-child(2) {
		min-height: 14rem;
		grid-column: 1 / -1;
	}

	.ch-plan-grid {
		grid-template-columns: 1fr;
	}
}

.ch-gateway-section {
	width: min(100% - 2rem, 76rem);
	margin: clamp(1rem, 3vw, 2rem) auto clamp(4rem, 8vw, 7rem);
}

.ch-gateway-section__header {
	max-width: 42rem;
	margin-bottom: 2rem;
}

.ch-gateway-section__header h2 {
	margin: 0.25rem 0 0;
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.08;
}

.ch-gateway-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: auto;
	margin: 0;
}

.ch-gateway-card,
.ch-result-card,
.ch-card,
.ch-topic {
	position: relative;
	transition: background-color 160ms ease, transform 160ms ease;
}

.ch-gateway-card:hover,
.ch-result-card:hover,
.ch-card:hover,
.ch-topic:hover {
	z-index: 1;
	background: color-mix(in srgb, var(--ch-sandstone) 13%, var(--ch-paper));
}

.ch-gateway-card h3 {
	margin: 0.4rem 0 0.65rem;
	font-size: 1.45rem;
}

.ch-gateway-card__index {
	margin: 0;
	color: var(--ch-laterite);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.ch-gateway-card > span,
.ch-result-card__link {
	display: inline-block;
	margin-top: 1rem;
	color: var(--ch-forest);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.ch-result-card {
	display: flex;
	min-height: 16rem;
	flex-direction: column;
}

.ch-result-card__link {
	margin-top: auto;
	padding-top: 1rem;
}

.ch-editorial-meta {
	align-items: center;
	line-height: 1.5;
}

.ch-editorial-meta span:not(:last-of-type)::after {
	margin-left: 1rem;
	color: var(--ch-sandstone);
	content: "·";
}

.ch-sources ol {
	padding-left: 1.25rem;
}

.ch-sources li + li {
	margin-top: 0.75rem;
}

.ch-site-footer__grid {
	grid-template-columns: minmax(0, 1.8fr) minmax(10rem, 0.65fr) minmax(12rem, 0.85fr);
	gap: clamp(2rem, 5vw, 5rem);
}

.ch-site-footer__search {
	display: inline-block;
	margin-top: 1.5rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ch-site-footer__links a {
	text-decoration-color: transparent;
}

.ch-site-footer__links a:hover {
	text-decoration-color: var(--ch-sandstone);
}

.ch-archive-header {
	padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.ch-archive-header > p:not(.ch-kicker) {
	max-width: 48rem;
	font-family: "Noto Serif", "Noto Serif Khmer", Georgia, serif;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.ch-search-form {
	overflow: hidden;
	max-width: 48rem;
	border: 1px solid var(--ch-border);
	border-radius: 0.2rem;
	background: #fff;
	box-shadow: 0 1rem 3rem color-mix(in srgb, var(--ch-ink) 6%, transparent);
}

.ch-search-form input[type="search"],
.ch-search-form select {
	min-height: 3.35rem;
	border: 0;
	background: #fff;
}

.ch-search-form input[type="search"] {
	border-right: 1px solid var(--ch-border);
}

.ch-search-form select {
	padding-inline: 0.9rem 2rem;
	color: var(--ch-ink);
}

.ch-search-form button {
	min-width: 6.5rem;
}

.ch-pagination {
	width: min(100% - 2rem, 76rem);
	margin: -3rem auto clamp(4rem, 8vw, 7rem);
}

.ch-pagination .nav-links {
	display: flex;
	gap: 0.4rem;
}

.ch-pagination .page-numbers {
	display: grid;
	min-width: 2.5rem;
	height: 2.5rem;
	place-items: center;
	padding-inline: 0.6rem;
	border: 1px solid var(--ch-border);
	text-decoration: none;
}

.ch-pagination .current {
	border-color: var(--ch-forest);
	background: var(--ch-forest);
	color: #fff;
}

@media (max-width: 1080px) {
	.ch-brand__type small {
		display: none;
	}

	.ch-primary-nav ul {
		gap: 0.8rem;
	}

	.ch-primary-nav a {
		font-size: 0.78rem;
	}
}

@media (max-width: 900px) {
	.ch-gateway-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.ch-header {
		position: relative;
		top: auto;
	}

	.ch-header__inner {
		min-height: 4.8rem;
	}

	.ch-header-search {
		display: none;
	}

	.ch-mobile-menu summary {
		display: flex;
		align-items: center;
		gap: 0.65rem;
	}

	.ch-mobile-menu summary i,
	.ch-mobile-menu summary i::before,
	.ch-mobile-menu summary i::after {
		display: block;
		width: 1.15rem;
		height: 1px;
		background: currentColor;
		content: "";
		transition: transform 160ms ease;
	}

	.ch-mobile-menu summary i {
		position: relative;
	}

	.ch-mobile-menu summary i::before {
		position: absolute;
		top: -0.35rem;
	}

	.ch-mobile-menu summary i::after {
		position: absolute;
		top: 0.35rem;
	}

	.ch-mobile-menu[open] summary i {
		background: transparent;
	}

	.ch-mobile-menu[open] summary i::before {
		top: 0;
		transform: rotate(45deg);
	}

	.ch-mobile-menu[open] summary i::after {
		top: 0;
		transform: rotate(-45deg);
	}

	.ch-mobile-menu[open] .ch-mobile-nav {
		padding: 0.6rem 1rem 1rem;
		box-shadow: 0 1.2rem 2rem color-mix(in srgb, var(--ch-ink) 12%, transparent);
	}

	.ch-mobile-nav a {
		padding: 0.85rem 0;
		border-bottom: 1px solid var(--ch-border);
	}

	.ch-mobile-nav__search {
		display: block;
		margin-top: 0.4rem;
		color: var(--ch-laterite);
	}

	.ch-page-hero {
		padding-block: 3.5rem;
	}

	.ch-page-hero h1 {
		font-size: clamp(2.75rem, 15vw, 4.7rem);
	}

	.ch-page-layout {
		padding-block: 3rem;
	}

	.ch-contents ol {
		grid-template-columns: 1fr;
	}

	.ch-editorial-meta span::after {
		display: none;
	}

	.ch-editorial-meta {
		display: grid;
	}

	.ch-site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.ch-site-footer__intro {
		grid-column: 1 / -1;
	}

	.ch-search-form {
		display: grid;
	}

	.ch-search-form input[type="search"] {
		border-right: 0;
		border-bottom: 1px solid var(--ch-border);
	}

	.ch-search-form select {
		border-bottom: 1px solid var(--ch-border);
	}

	.ch-search-form button {
		min-height: 3.2rem;
	}

	.ch-fact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ch-fact-grid {
		grid-template-columns: 1fr;
	}

	.ch-brand__mark {
		width: 2.35rem;
		height: 2.35rem;
	}

	.ch-brand__type strong {
		font-size: 1.02rem;
	}

	.ch-breadcrumbs {
		font-size: 0.75rem;
	}

	.ch-gateway-grid,
	.ch-site-footer__grid {
		grid-template-columns: 1fr;
	}

	.ch-site-footer__intro {
		grid-column: auto;
	}

	.ch-site-footer__legal {
		gap: 0.5rem;
	}

	.ch-page-content {
		font-size: 1.05rem;
		line-height: 1.75;
	}

	.ch-page-content > p:first-child {
		font-size: 1.25rem;
	}
}

/* Branded link language: ink and forest replace browser/Kadence blue. */
.ch-home a:not(.ch-home-button),
.ch-page a,
.ch-gateway-section a,
.ch-pagination a {
	color: inherit;
	text-decoration: none;
}

.ch-page-content a,
.ch-contents a,
.ch-sources a,
.ch-editorial-meta a,
.ch-text-link {
	color: var(--ch-forest);
	text-decoration: none;
	background-image: linear-gradient(var(--ch-sandstone), var(--ch-sandstone));
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 100% 1px;
	transition: color 160ms ease, background-size 160ms ease;
}

.ch-page-content a:hover,
.ch-contents a:hover,
.ch-sources a:hover,
.ch-editorial-meta a:hover,
.ch-text-link:hover {
	color: var(--ch-laterite);
	background-size: 100% 2px;
}

.ch-card h3 a,
.ch-topic h3 a,
.ch-gateway-card h3 a,
.ch-result-card h2 a,
.ch-destination-card h3 a {
	color: inherit;
	text-decoration: none;
}

.ch-card h3 a:hover,
.ch-topic h3 a:hover,
.ch-gateway-card h3 a:hover,
.ch-result-card h2 a:hover {
	color: var(--ch-laterite);
}

.ch-destination-card h3 a:hover {
	color: var(--ch-sandstone);
}

.ch-site-footer a {
	text-decoration: none;
}

.ch-site-footer a:hover {
	color: var(--ch-sandstone);
}

/* Navigation, buttons, and Places discovery release. */
body .ch-home-button,
body .ch-home-button:visited,
body .ch-search-form button,
body .ch-home-search button,
body .ch-home-search input[type="submit"] {
	color: #fff;
}

body .ch-home-button:hover,
body .ch-home-button:focus-visible,
body .ch-search-form button:hover,
body .ch-search-form button:focus-visible,
body .ch-home-search button:hover,
body .ch-home-search button:focus-visible,
body .ch-home-search input[type="submit"]:hover,
body .ch-home-search input[type="submit"]:focus-visible {
	border-color: var(--ch-laterite);
	background: var(--ch-laterite);
	color: #fff;
}

body .ch-home-button--secondary,
body .ch-home-button--secondary:visited {
	border-color: var(--ch-forest);
	background: transparent;
	color: var(--ch-forest);
}

body .ch-home-button--secondary:hover,
body .ch-home-button--secondary:focus-visible {
	border-color: var(--ch-forest);
	background: var(--ch-forest);
	color: #fff;
}

.ch-header-search {
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.ch-header-search:hover,
.ch-header-search:focus-visible {
	border-color: var(--ch-forest);
	background: var(--ch-forest);
	color: #fff;
}

.ch-places-intro {
	width: min(100% - 2rem, 76rem);
	margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.ch-place-paths {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border-top: 1px solid var(--ch-border);
	border-left: 1px solid var(--ch-border);
}

.ch-place-path {
	display: flex;
	min-height: 10rem;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.25rem;
	border-right: 1px solid var(--ch-border);
	border-bottom: 1px solid var(--ch-border);
	color: var(--ch-ink);
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.ch-place-path:hover,
.ch-place-path:focus-visible {
	background: var(--ch-forest);
	color: #fff;
}

.ch-place-path span {
	color: var(--ch-laterite);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ch-place-path:hover span,
.ch-place-path:focus-visible span {
	color: var(--ch-sandstone);
}

.ch-place-path strong {
	font-family: "Noto Serif", "Noto Serif Khmer", Georgia, serif;
	font-size: 1.35rem;
	line-height: 1.2;
}

.ch-place-filter {
	display: flex;
	flex-wrap: wrap;
	margin: -2rem 0 3rem;
	gap: 0.5rem;
}

.ch-place-filter a {
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--ch-border);
	border-radius: 99px;
	color: var(--ch-ink);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

.ch-place-filter a:hover,
.ch-place-filter a:focus-visible {
	border-color: var(--ch-forest);
	background: var(--ch-forest);
	color: #fff;
}

.ch-empty-state--places {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	grid-column: 1 / -1;
	padding: clamp(2rem, 5vw, 4.5rem);
	gap: clamp(2rem, 7vw, 6rem);
	background: color-mix(in srgb, var(--ch-mist) 58%, transparent);
}

.ch-empty-state--places h2 {
	margin: 0 0 0.8rem;
	font-size: clamp(1.8rem, 4vw, 3rem);
}

.ch-empty-state--places p {
	margin: 0;
}

.ch-empty-state__actions {
	display: grid;
	gap: 0.6rem;
}

.ch-empty-state__actions a {
	padding: 0.8rem 1rem;
	border: 1px solid var(--ch-border);
	color: var(--ch-ink);
	font-weight: 700;
	text-decoration: none;
}

.ch-empty-state__actions a:hover,
.ch-empty-state__actions a:focus-visible {
	border-color: var(--ch-forest);
	background: var(--ch-forest);
	color: #fff;
}

@media (max-width: 900px) {
	.ch-place-paths {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ch-place-path:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 620px) {
	.ch-place-paths,
	.ch-empty-state--places {
		grid-template-columns: 1fr;
	}

	.ch-place-path:last-child {
		grid-column: auto;
	}

	.ch-place-path {
		min-height: 8rem;
	}
}

/* Cambodian identity system: Romduol mark and a restrained krama grid. */
.ch-romduol__petals {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.1;
}

.ch-romduol__bud {
	fill: color-mix(in srgb, currentColor 11%, transparent);
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.65;
}

/* Visitor discovery system — v1.0. */

.ch-archive-header--places {
	display: grid;
	box-sizing: border-box;
	width: 100%;
	min-height: 0;
	align-content: end;
	margin-top: 0;
	margin-bottom: 0;
	padding:
		clamp(4.5rem, 8vw, 7rem)
		max(1rem, calc((100% - 76rem) / 2))
		clamp(3.5rem, 6vw, 5rem);
}

.ch-archive-header--places::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 82% 30%, color-mix(in srgb, var(--ch-sandstone) 28%, transparent), transparent 24rem),
		linear-gradient(145deg, var(--ch-paper), color-mix(in srgb, var(--ch-mist) 72%, var(--ch-paper)));
	content: "";
}

.ch-archive-header--places {
	position: relative;
}

.ch-archive-header--places h1,
.ch-archive-header--places > p {
	width: min(100%, 76rem);
}

.ch-archive-header--places > p:last-child {
	max-width: 48rem;
	margin-bottom: 0;
	font-family: "Noto Serif", "Noto Serif Khmer", Georgia, serif;
	font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.ch-explorer-panel {
	width: min(100% - 2rem, 76rem);
	margin: clamp(2rem, 5vw, 4rem) auto;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--ch-border);
	background: color-mix(in srgb, #fff 38%, var(--ch-paper));
	box-shadow: 0 1.5rem 4rem color-mix(in srgb, var(--ch-ink) 7%, transparent);
}

.ch-explorer-panel__heading,
.ch-place-results__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
}

.ch-explorer-panel__heading h2,
.ch-place-results__heading h2 {
	margin: 0.2rem 0 0;
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1.05;
}

.ch-explorer-panel__heading > p,
.ch-place-results__heading > p {
	max-width: 24rem;
	color: color-mix(in srgb, var(--ch-ink) 68%, transparent);
	font-size: 0.9rem;
}

.ch-explorer-form {
	display: grid;
	grid-template-columns: 1.35fr repeat(3, minmax(9rem, 1fr));
	align-items: end;
	margin-top: 2rem;
	gap: 1rem;
}

.ch-explorer-form label {
	display: grid;
	gap: 0.4rem;
}

.ch-explorer-form label > span {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ch-explorer-form input,
.ch-explorer-form select {
	width: 100%;
	min-height: 3.2rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--ch-border);
	border-radius: 0;
	background: #fff;
	color: var(--ch-ink);
}

.ch-explorer-form__actions {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	gap: 1rem;
}

.ch-explorer-form button,
.ch-button {
	display: inline-flex;
	min-height: 3rem;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.25rem;
	border: 1px solid var(--ch-forest);
	background: var(--ch-forest);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
}

.ch-explorer-form button:hover,
.ch-button:hover {
	border-color: var(--ch-laterite);
	background: var(--ch-laterite);
	color: #fff !important;
}

.ch-place-results {
	width: min(100% - 2rem, 76rem);
	margin: 0 auto clamp(4rem, 8vw, 7rem);
}

.ch-place-results .ch-results {
	width: 100%;
	margin: 2rem 0 0;
}

.ch-place-card {
	display: flex;
	min-height: 31rem;
	flex-direction: column;
	padding: 0;
}

.ch-place-card__image {
	display: grid;
	overflow: hidden;
	min-height: 12rem;
	place-items: center;
	background:
		radial-gradient(circle, color-mix(in srgb, var(--ch-sandstone) 20%, transparent), transparent 60%),
		color-mix(in srgb, var(--ch-mist) 65%, var(--ch-paper));
	color: color-mix(in srgb, var(--ch-laterite) 42%, transparent);
	text-decoration: none;
}

.ch-place-card__image img {
	width: 100%;
	height: 13rem;
	object-fit: cover;
	transition: transform 300ms ease;
}

.ch-place-card:hover .ch-place-card__image img {
	transform: scale(1.025);
}

.ch-place-card__flower {
	width: 5rem;
	height: 5rem;
}

.ch-place-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(1.35rem, 3vw, 2rem);
}

.ch-place-card h3 {
	margin: 0.2rem 0 0.7rem;
	font-size: 1.65rem;
}

.ch-place-card__meta {
	margin: 0 0 0.8rem;
	color: var(--ch-mekong);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.ch-place-card__body > p:not(.ch-kicker, .ch-place-card__meta) {
	color: color-mix(in srgb, var(--ch-ink) 74%, transparent);
	font-size: 0.94rem;
}

.ch-result-card__link {
	margin-top: auto;
	padding-top: 1rem;
	font-size: 0.86rem;
	font-weight: 700;
}

.ch-empty-state--places {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(2rem, 5vw, 4rem);
}

.ch-reference__layout:has(.ch-destination-hero) {
	max-width: 76rem;
}

.ch-destination-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
	align-items: stretch;
	overflow: hidden;
	margin-bottom: 2rem;
	border: 1px solid var(--ch-border);
}

.ch-destination-hero__copy {
	display: grid;
	align-content: center;
	min-height: 30rem;
	padding: clamp(2rem, 6vw, 5rem);
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--ch-sandstone) 15%, transparent), transparent 60%),
		var(--ch-paper);
}

.ch-destination-hero__copy h1 {
	margin: 0.2rem 0 1rem;
	font-size: clamp(3rem, 7vw, 6rem);
}

.ch-destination-hero__khmer {
	margin: -0.35rem 0 1rem;
	color: var(--ch-mekong);
	font-family: "Noto Serif Khmer", serif;
	font-size: 1.25rem;
}

.ch-destination-hero__visual {
	display: grid;
	min-height: 26rem;
	place-items: center;
	background: var(--ch-forest);
	color: color-mix(in srgb, var(--ch-sandstone) 72%, #fff);
}

.ch-destination-hero__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ch-destination-hero__flower {
	width: min(48%, 13rem);
	height: auto;
	opacity: 0.6;
}

.ch-visitor-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	margin-bottom: clamp(3rem, 7vw, 5rem);
	border-top: 1px solid var(--ch-border);
	border-left: 1px solid var(--ch-border);
	background: color-mix(in srgb, #fff 26%, transparent);
}

.ch-visitor-facts > div,
.ch-visitor-facts > a {
	display: grid;
	align-content: center;
	min-height: 7.2rem;
	padding: 1.25rem;
	border-right: 1px solid var(--ch-border);
	border-bottom: 1px solid var(--ch-border);
	gap: 0.35rem;
	text-decoration: none;
}

.ch-visitor-facts span {
	color: var(--ch-laterite);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.ch-visitor-facts strong {
	font-family: "Noto Serif", "Noto Serif Khmer", Georgia, serif;
	font-size: 1rem;
	line-height: 1.4;
}

.ch-reference__layout:has(.ch-destination-hero) > .ch-page-content,
.ch-reference__layout:has(.ch-destination-hero) > .ch-sources,
.ch-reference__layout:has(.ch-destination-hero) > .ch-related,
.ch-reference__layout:has(.ch-destination-hero) > .ch-editorial-meta {
	max-width: 52rem;
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 900px) {
	.ch-explorer-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ch-destination-hero {
		grid-template-columns: 1fr;
	}

	.ch-destination-hero__copy {
		min-height: auto;
	}

	.ch-destination-hero__visual {
		min-height: 20rem;
	}
}

@media (max-width: 620px) {
	.ch-explorer-panel__heading,
	.ch-place-results__heading,
	.ch-empty-state--places {
		align-items: flex-start;
		flex-direction: column;
	}

	.ch-explorer-form {
		grid-template-columns: 1fr;
	}

	.ch-explorer-form__actions {
		grid-column: auto;
		flex-wrap: wrap;
	}

	.ch-place-card {
		min-height: 0;
	}

	.ch-visitor-facts {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 420px) {
	.ch-visitor-facts {
		grid-template-columns: 1fr;
	}
}

.ch-brand__mark {
	overflow: hidden;
	border-color: color-mix(in srgb, var(--ch-laterite) 52%, transparent);
	background: color-mix(in srgb, var(--ch-sandstone) 9%, transparent);
}

.ch-brand__flower {
	width: 1.8rem;
	height: 1.8rem;
	color: var(--ch-laterite);
}

.ch-home-hero__motif {
	position: absolute;
	z-index: 0;
	top: 50%;
	right: max(2rem, calc((100% - 76rem) / 2));
	width: clamp(15rem, 29vw, 25rem);
	color: var(--ch-laterite);
	opacity: 0.11;
	pointer-events: none;
	transform: translateY(-48%) rotate(-8deg);
}

.ch-home-hero__flower {
	display: block;
	width: 100%;
	height: auto;
}

.ch-home-start {
	position: relative;
}

.ch-home-start::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 0.42rem;
	background-color: var(--ch-paper);
	background-image:
		linear-gradient(90deg, color-mix(in srgb, var(--ch-laterite) 42%, transparent) 1px, transparent 1px),
		linear-gradient(color-mix(in srgb, var(--ch-laterite) 42%, transparent) 1px, transparent 1px);
	background-size: 0.5rem 0.5rem;
	content: "";
	opacity: 0.65;
}

.ch-site-footer__identity {
	display: flex;
	align-items: center;
	margin-bottom: 0.8rem;
	gap: 0.8rem;
}

.ch-site-footer__identity > span {
	display: grid;
	width: 2.8rem;
	height: 2.8rem;
	flex: 0 0 auto;
	place-items: center;
	border: 1px solid color-mix(in srgb, var(--ch-sandstone) 42%, transparent);
	border-radius: 50%;
}

.ch-site-footer__flower {
	width: 1.9rem;
	height: 1.9rem;
	color: var(--ch-sandstone);
}

.ch-site-footer__identity .ch-site-footer__brand {
	margin: 0;
}

@media (max-width: 900px) {
	.ch-home-hero__motif {
		right: -4rem;
		width: 19rem;
		opacity: 0.075;
	}
}

@media (max-width: 560px) {
	.ch-home-hero h1 {
		font-size: clamp(3.15rem, 13vw, 4rem);
		letter-spacing: -0.045em;
	}

	.ch-home-hero__motif {
		top: 32%;
		right: -5rem;
		width: 15rem;
		opacity: 0.06;
	}
}
