/* Khmer Hands design system, layered on top of the Webflow stylesheet (loaded last on every page).
   Palette: brown #443F3E, ink #2B2726, gold #FFC83B, dark gold #BF8A00, cream #FFFBF2, grey #6F7278. */

/* ---------- 1. One palette: repoint the template and pasted-in library colors to the brand ---------- */
:root {
  --kh-brown: #443f3e;
  --kh-ink: #2b2726;
  --kh-gold: #ffc83b;
  --kh-gold-deep: #bf8a00;
  --kh-cream: #fffbf2;
  --kh-grey: #6f7278;
  --kh-grey-on-brown: #c9c4c2;
  --kh-green: #2f7d4a;          /* the foliage in the photos and the original icon greens */

  --core--colors--primary--100: #443f3e;        /* was template forest green, the site "accent" */
  --core--colors--primary--300: #ffc83b;
  --core--colors--primary--400: #bf8a00;
  --core--colors--secondary--200: #fffbf2;      /* was mint */
  --core--colors--secondary--300: #2b2726;
  --core--colors--secondary--700: #443f3e;
  --core--colors--secondary--800: #fffbf2;
  --core--colors--neutral--700: #443f3e;        /* body copy on home/about was #494A4D */
  --core--colors--system--yellow-400: #ffc83b;  /* second yellow #EFC42C */
  --core--colors--system--yellow-300: #ffc83b;  /* third yellow #FBE080 */
  --core--colors--system--blue-200: #fffbf2;    /* light-blue sections */
  --core--colors--system--green-100: #fffbf2;
  --radiant-ui-components-library-marketplace--color--button-background-dark: #443f3e;
  --radiant-ui-components-library-marketplace--color--body-font-dark: #6f7278;
  --radiant-ui-components-library-marketplace--color--heading-dark: #443f3e;
  --radiant-ui-components-library-marketplace--color--theme-color: #443f3e;
  --untitled-ui--gray500: #6f7278;
  --untitled-ui--gray600: #443f3e;              /* adventure pages copy was slate #475467 */
  --untitled-ui--gray700: #443f3e;
  --untitled-ui--gray800: #2b2726;
  --untitled-ui--gray900: #2b2726;
  --untitled-ui--primary600: #443f3e;
  --untitled-ui--primary700: #2b2726;
  --untitled-ui--primary100: #fffbf2;
  --test-site---blue: #443f3e;
  --test-site---dark-grey: #443f3e;
  --test-site---dark-teal: #bf8a00;
  --test-site---light-teal: #fff4d6;

  /* ---------- 3. One typeface: Evolventa everywhere ---------- */
  --test-site---headers: Evolventa, sans-serif;               /* was Chivo */
  --core--font-family--secondary-font: Evolventa, sans-serif; /* was Objectivity */
}

/* Hard-coded text colors (black, olive #3C4238, navy #072032, teal #2A514C) -> brown */
.select-field, .paragraph-regular, .field-label, .subheading-regular, .product-detail-title, .product-close-button,
.paragraph-x-small-2, .paragraph-large-2, .h3-heading, .product-shipping-list, .h4-heading, .product-quantity,
.breadcrumb-link, .product-list, .subheading-large, .paragraph-small-3, .product-action, .subheading-small,
.h2-heading, .rt-textarea-4, .rt-text-field-4, .rt-client-text, .nav-menu-wrapper-2, .rttext-black {
  color: var(--kh-brown);
}

/* ---------- 2. Readability ---------- */
/* Gold accent words on light backgrounds: brown text with a gold underline (gold text on white is 1.6:1) */
.text-span, .text-span-2, .text-span-3, .text-span-4, .text-span-5, .text-span-6, .text-span-7, .rt-font-two {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--kh-gold);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
}
.display-3.mid.textmid { color: var(--kh-grey); }              /* staff job titles: 2.45:1 -> 4.6:1 */
.text-light.copyright { color: var(--kh-grey-on-brown); }       /* footer on brown: 4.06:1 -> 6.0:1 */
strong { color: inherit; }                                      /* was navy #19213D wherever it appeared */
.rt-category-cards-text-2.subheader.price { color: var(--kh-brown); }  /* adventure price tags: gold on white was 1.6:1 */

/* Room page photo titles: dark gradient behind the title instead of a light-grey veil */
.rt-portfolio-card-contain { background-color: rgba(68, 63, 62, 0.55); }
.rt-portfolio-card-contain.rt-active {
  background-color: transparent;
  background-image: linear-gradient(to top, rgba(43, 39, 38, 0.78) 0%, rgba(43, 39, 38, 0.35) 38%, rgba(43, 39, 38, 0) 65%);
}
.rt-component-heading-five-2.rt-text-white.rt-text-large { color: var(--kh-cream); }

/* Pages whose dark hero photo sits behind the header: solid header bar (Webflow sets the see-through
   background inline while scrolling, hence !important) */
.kh-solid-header :is(.navbar-flowbase.nav, .navbar-flowbase-copy.nav-copy) { background-color: #fff !important; border-radius: 20px; box-shadow: 0 2px 12px rgba(43, 39, 38, 0.12); }
/* ...and the hero photo starts below that bar instead of underneath it (the template pulled it up ~100px) */
.kh-solid-header .main-container.top.home-v1.services_page { margin-top: 16px; }
@media screen and (max-width: 767px) { .kh-solid-header .main-container.top.home-v1.services_page { border-radius: 24px; } }
.kh-solid-header .section.hero.activities > .main-container-bg-absolute.activities-bg-absolute.adventurepage { margin-top: 16px; }

/* ---------- Layout fixes ---------- */
/* Adventure pages: heading + intro stick together instead of sliding over each other */
.rt-team-two-process-block-left { position: sticky; top: 100px; align-self: flex-start; }
.rt-team-two-process-block-left > .rt-sticky { position: static; }
@media screen and (max-width: 991px) { .rt-team-two-process-block-left { position: static; } }

/* About page: the team heading was pulled 223px up into the photo gallery above it (overlapping it) */
@media screen and (min-width: 992px) { section:has(.team-slider) .flex-horizontal.gap-small-wrap { margin-top: 0; } }

/* Contact page FAQ (was hidden) */
.main-container.bg-secondary-color.top-bottom-200px.kh-faq { display: block; }

/* Comfortable reading width on the long intro paragraphs */
.kh-long-copy p:not([class]), .adventuredetailsparagraph { max-width: 72ch; }
.adventuredetailsparagraph.top { margin-left: auto; margin-right: auto; }
.rt-home-two-award-card.top :is(.rt-home-two-award-left-block, .rt-home-two-award-teft-contain) { width: 100%; }
.rt-home-two-award-card.top .rt-home-two-award-teft-contain { align-items: center; }


/* ---------- 4. Buttons: three styles, all pill-shaped, 16px bold, title case ---------- */
.primary-button, .primary-button-support, .w-commerce-commercecheckoutplaceorderbutton,
.secondary-button, .button-outline, .button-sign-up, .button-primary-2, .rt-button-4,
.mb-adventure-learn-more-button, .rt-button-two-4 {
  border-radius: 999px;
  font-family: var(--core--font-family--primary-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  line-height: 1.2;
}
/* Primary: gold with brown text */
.primary-button, .primary-button-support, .w-commerce-commercecheckoutplaceorderbutton, .primary-button.inside-input,
.primary-button.dark-mode.contact, .mb-adventure-learn-more-button {
  background-color: var(--kh-gold);
  color: var(--kh-brown);
  border: 2px solid var(--kh-gold);
}
/* Secondary: brown with white text */
.button-sign-up.request { font-family: var(--core--font-family--primary-font); letter-spacing: 0; text-transform: none; }
.button-sign-up, .button-primary-2, .rt-button-4 {
  background-color: var(--kh-brown);
  color: #fff;
  border: 2px solid var(--kh-brown);
  padding: 13px 28px;
}
/* Outline: transparent with a brown edge (white edge on dark backgrounds) */
.secondary-button, .button-outline, .primary-button.small.dark-mode {
  background-color: transparent;
  color: var(--kh-brown);
  border: 2px solid var(--kh-brown);
}
.primary-button.small.dark-mode, .button-outline.restaurants, .rt-button-two-4 {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 24px;
}
.rt-button-two-4 { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.rt-button-two-4 .rt-button-two-text-2 { text-transform: none; }
/* adventure pages: the template's stronger rules (uppercase, 4px gold border) */
.rt-button-4.rt-button-two:is(.rt-third-width, .rt-full-width-button) {
  font-family: var(--core--font-family--primary-font); font-size: 16px; letter-spacing: 0; text-transform: none; border-radius: 999px;
}
.rt-button-4.rt-button-two.rt-third-width { background-color: var(--kh-gold); color: var(--kh-brown); border: 2px solid var(--kh-gold); }
.rt-button-4.rt-button-two.rt-full-width-button { background-color: var(--kh-brown); color: #fff; border: 2px solid var(--kh-brown); }
.rt-button-4.rt-button-two.rt-third-width:hover { background-color: #ffd466; border-color: #ffd466; }
.rt-button-4.rt-button-two.rt-full-width-button:hover { background-color: var(--kh-ink); border-color: var(--kh-ink); }
@media screen and (max-width: 767px) { .rt-button-4.rt-button-two.rt-third-width { width: auto; padding: 13px 28px; white-space: nowrap; } }
.primary-button.small.dark-mode { font-size: 14px; }
.button-sign-up:hover, .button-primary-2:hover, .rt-button-4:hover { background-color: var(--kh-ink); border-color: var(--kh-ink); }
.primary-button:hover, .primary-button-support:hover, .mb-adventure-learn-more-button:hover { background-color: #ffd466; border-color: #ffd466; }

/* ---------- 3. Type scale (desktop / tablet / phone) ---------- */
/* No forced capitals: H1/H2 are typed in Title Case (tools/improve.py) */
:is(h1, h2)[class], :is(h1, h2)[class] * { text-transform: none !important; } /* beats .display-8.mid */

h1:is(.display-10, .display-9) { font-size: 64px; line-height: 1.1; font-weight: 700; }
h1:is(.h4-heading, .heading-9, .display-8, .display-7),
h2:is(.display-8, .heading-3, .heading-9, .display-10, .rt-margin-top-twenty-five, .rt-no-margin-bottom,
  .rt-margin-bottom-twenty, .rt-contact-v7-heading, .rt-sticky) { font-size: 44px; line-height: 1.15; font-weight: 700; }
h2.display-8.text-light { font-size: 36px; line-height: 1.2; }
/* Ministry heroes: long titles; on phones the old size spilled out of the photo (white text on white) */
h1.display-10.mid.text-light.ministry { font-size: 60px; line-height: 1.1; }
@media screen and (max-width: 991px) { h1.display-10.mid.text-light.ministry { font-size: 44px; } }
@media screen and (max-width: 767px) { h1.display-10.mid.text-light.ministry { font-size: 32px; margin-top: 12px; } }
h2.rt-no-margin-top.rt-margin-bottom-twenty { font-size: 28px; line-height: 1.25; }   /* title inside the adventure booking card */
h3:is(.display-7, .display-6, .display-5, .heading-2, .rt-category-cards-text-2, .roomgridheading, .card-heading-light-mode,
  .card-heading-dark-mode, .mb-adventure-heading, .heading-5, .heading-6, .heading-7, .heading-8) {
  font-size: 24px; line-height: 1.3; font-weight: 700;
}
h3:is(.heading-5, .heading-6, .heading-7, .heading-8) { font-size: 32px; line-height: 1.2; }   /* partner names: the page's main items */
.rt-body-font-color-2, .adventuredetailsparagraph, .rt-body-font-color { font-size: 18px; line-height: 1.6; font-weight: 400; }
.kh-long-copy li { font-weight: 400; }

@media screen and (max-width: 991px) {
  h1:is(.display-10, .display-9) { font-size: 52px; }
  h1:is(.h4-heading, .heading-9, .display-8, .display-7),
  h2:is(.display-8, .heading-3, .heading-9, .display-10, .rt-margin-top-twenty-five, .rt-no-margin-bottom,
    .rt-margin-bottom-twenty, .rt-contact-v7-heading, .rt-sticky) { font-size: 38px; }
}
@media screen and (max-width: 767px) {
  h1:is(.display-10, .display-9) { font-size: 40px; }
  h1:is(.h4-heading, .heading-9, .display-8, .display-7),
  h2:is(.display-8, .heading-3, .heading-9, .display-10, .rt-margin-top-twenty-five, .rt-no-margin-bottom,
    .rt-margin-bottom-twenty, .rt-contact-v7-heading, .rt-sticky) { font-size: 30px; }
  h2.display-8.text-light { font-size: 28px; }
  h2.rt-no-margin-top.rt-margin-bottom-twenty { font-size: 24px; }
  h3:is(.display-7, .display-6, .display-5, .heading-2, .rt-category-cards-text-2, .roomgridheading, .card-heading-light-mode,
    .card-heading-dark-mode, .mb-adventure-heading, .heading-5, .heading-6, .heading-7, .heading-8) { font-size: 21px; }
  .rt-body-font-color-2, .adventuredetailsparagraph, .rt-body-font-color { font-size: 17px; }
  h3:is(.heading-5, .heading-6, .heading-7, .heading-8) { font-size: 24px; }
}

/* Everything in the pasted-in "rt" components uses the site typeface (was Chivo / Objectivity) */
[class*="rt-"]:not([class*="icon"]), [class*="rt-"] :not([class*="icon"]):not(svg):not(path) {
  font-family: var(--core--font-family--primary-font);
}

/* ---------- 5. Spacing: three steps (standard 120 / 96 / 72, set per exact section type) ---------- */
[class="main-container top-bottom-200px flipped-copy"], [class="section top-bottom-large"], [class="section top-medium"],
[class="section top-default"], [class="main-container cta-v2 ministry"], [class="main-container cta-v1"],
[class="section bottom-medium"], [class="section top-bottom-140px"], [class="section top-medium ministry"],
[class="rt-component-section"], [class="rt-component-section-2"], [class="rt-component-section-5"] {
  padding-top: 120px; padding-bottom: 120px;
}
@media screen and (max-width: 991px) {
  [class="main-container top-bottom-200px flipped-copy"], [class="section top-bottom-large"], [class="section top-medium"],
  [class="section top-default"], [class="main-container cta-v2 ministry"], [class="main-container cta-v1"],
  [class="section bottom-medium"], [class="section top-bottom-140px"], [class="section top-medium ministry"],
  [class="rt-component-section"], [class="rt-component-section-2"], [class="rt-component-section-5"] {
    padding-top: 96px; padding-bottom: 96px;
  }
}
@media screen and (max-width: 767px) {
  [class="main-container top-bottom-200px flipped-copy"], [class="section top-bottom-large"], [class="section top-medium"],
  [class="section top-default"], [class="main-container cta-v2 ministry"], [class="main-container cta-v1"],
  [class="section bottom-medium"], [class="section top-bottom-140px"], [class="section top-medium ministry"],
  [class="rt-component-section"], [class="rt-component-section-2"], [class="rt-component-section-5"] {
    padding-top: 72px; padding-bottom: 72px;
  }
}

/* ---------- Guest reviews (room pages) ---------- */
.kh-rating { color: inherit; text-decoration: none; }
.kh-rating:hover [data-kh-count] { text-decoration: underline; }
.kh-reviews { background-color: var(--kh-cream); padding: 96px 0; }
.kh-reviews .container-large { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.kh-reviews-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.kh-reviews-title { margin: 12px 0 16px; font-size: 44px; line-height: 1.15; font-weight: 700; color: var(--kh-brown); }
.kh-reviews-score { display: flex; align-items: center; gap: 12px; font-size: 18px; color: var(--kh-brown); margin-bottom: 16px; }
.kh-reviews-note { color: var(--kh-grey); font-size: 17px; line-height: 1.6; max-width: 44ch; }
.kh-stars { display: inline-block; font-size: 20px; line-height: 1; letter-spacing: 2px; white-space: nowrap;
  background: linear-gradient(90deg, #f2b02c var(--kh-fill, 0%), #d9d4cf var(--kh-fill, 0%));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.kh-stars::before { content: "★★★★★"; }
.kh-reviews-list { display: grid; gap: 16px; }
.kh-reviews.is-empty .kh-reviews-grid { grid-template-columns: 1fr; }
.kh-reviews.is-empty .kh-reviews-list { display: none; }
.kh-review-form { max-width: 880px; }
.kh-review { background: #fff; border-radius: 16px; padding: 20px 24px; box-shadow: 0 1px 2px rgba(43, 39, 38, 0.06); }
.kh-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 8px; color: var(--kh-brown); }
.kh-review-head span:last-child { color: var(--kh-grey); font-size: 15px; }
.kh-review p { margin: 0; color: var(--kh-brown); font-size: 17px; line-height: 1.6; white-space: pre-line; }
.kh-review-form { margin-top: 56px; background: #fff; border-radius: 20px; padding: 32px; }
.kh-review-form-title { margin: 0 0 16px; font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--kh-brown); }
.kh-star-input { border: 0; margin: 0 0 20px; padding: 0; }
.kh-star-input legend { font-weight: 700; color: var(--kh-brown); margin-bottom: 4px; padding: 0; }
.kh-star-options { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.kh-star-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kh-star-options label { cursor: pointer; font-size: 36px; line-height: 1; color: #d9d4cf; padding: 4px; margin: 0; }
.kh-star-options label::before { content: "★"; }
.kh-star-options label:hover, .kh-star-options label:hover ~ label,
.kh-star-options input:checked ~ label { color: #f2b02c; }
.kh-star-options input:focus-visible + label { outline: 2px solid var(--kh-brown); outline-offset: 2px; border-radius: 4px; }
.kh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kh-review-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.kh-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-weight: 700; color: var(--kh-brown); }
.kh-field small { font-weight: 400; color: var(--kh-grey); }
.kh-field input, .kh-field textarea { margin: 0; font-weight: 400; }
.kh-field-wide { grid-column: 1 / -1; }
.kh-review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; }
.kh-review-status { margin: 0; color: var(--kh-brown); }
.kh-review-status.is-error { color: #a1321b; }
.kh-review-status.is-done { font-weight: 700; }
.kh-turnstile:empty { display: none; }
@media screen and (max-width: 991px) {
  .kh-reviews { padding: 72px 0; }
  .kh-reviews-grid { grid-template-columns: 1fr; gap: 24px; }
  .kh-reviews-title { font-size: 38px; }
}
@media screen and (max-width: 767px) {
  .kh-reviews .container-large { padding: 0 16px; }
  .kh-reviews-title { font-size: 30px; }
  .kh-review-form { padding: 24px 20px; margin-top: 40px; }
  .kh-review-fields { grid-template-columns: 1fr; }
}

/* ---------- Footer: brand + three link groups (built by tools/improve.py) ---------- */
.kh-footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.kh-footer-logo { display: inline-flex; }
.kh-footer-logo img { display: block; width: 96px; height: 96px; }
.kh-footer-tagline { color: var(--kh-grey-on-brown); font-size: 16px; line-height: 1.5; margin: 16px 0 20px; max-width: 30ch; }
.kh-footer-support { display: inline-block; width: auto; padding: 12px 22px; }
.kh-footer-heading { color: var(--kh-gold); font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.kh-footer ul { list-style: none; margin: 0; padding: 0; }
.kh-footer li a { display: inline-block; padding: 6px 0; color: #fff; font-size: 16px; line-height: 1.4; text-decoration: none; }
.kh-footer li a:hover, .kh-footer li a[aria-current="page"] { color: var(--kh-gold); }
.kh-footer li a:focus-visible { outline: 2px solid var(--kh-gold); outline-offset: 2px; border-radius: 4px; }
.kh-footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.kh-footer-bar .copyright { margin: 0; }
@media screen and (max-width: 991px) {
  .kh-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .kh-footer-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
  .kh-footer-tagline { margin: 0; }
}
@media screen and (max-width: 767px) {
  .kh-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .kh-footer-brand { display: block; }
  .kh-footer-tagline { margin: 16px 0 20px; }
  .kh-footer-contact { grid-column: 1 / -1; }
  .kh-footer-contact ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .kh-footer-contact li:has(a[href^="mailto:"]) { grid-column: 1 / -1; }
  .kh-footer-support { display: block; text-align: center; }
  .kh-footer li a { padding: 10px 0; }   /* 44px tap targets */
  .kh-footer-bar { margin-top: 32px; flex-direction: column; }
}

/* ---------- Room cards ("Book Your Room Today") ---------- */
:is(.collection-list, .collection-list-2):has(.kh-room-card) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
:is(.collection-item, .w-dyn-item):has(> .kh-room-card) { display: flex; padding: 0; border-radius: 20px; overflow: hidden; background-color: #fff;
  box-shadow: 0 1px 2px rgba(43, 39, 38, 0.06), 0 8px 24px rgba(43, 39, 38, 0.08); }
.kh-room-card { display: flex; flex-direction: column; width: 100%; }
.kh-room-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.kh-room-card .kh-room-img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; transition: transform 0.4s ease; }
/* hover (mouse only) or keyboard focus: gold outline and a small lift */
:is(.collection-item, .w-dyn-item):has(> .kh-room-card) { position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease; }
@media (hover: hover) {
  :is(.collection-item, .w-dyn-item):has(> .kh-room-card):hover {
    z-index: 1; transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 0 3px var(--kh-gold), 0 16px 36px rgba(43, 39, 38, 0.16);
  }
  .kh-room-card:hover .kh-room-img { transform: scale(1.04); }
}
:is(.collection-item, .w-dyn-item):has(> .kh-room-card):focus-within { z-index: 1; box-shadow: 0 0 0 3px var(--kh-gold), 0 16px 36px rgba(43, 39, 38, 0.16); }
/* Adventure package cards (Adventure Packages list, "Explore All Our Adventures"): the same hover.
   The card for the package you're on stays still, as before. */
.rt-home-one-about-cards, .rt-home-three-service-card:not(.w--current) { position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease; }
@media (hover: hover) {
  .rt-home-one-about-cards:hover, .rt-home-three-service-card:not(.w--current):hover {
    z-index: 1; transform: translateY(-4px) scale(1.03) !important;   /* Webflow's entrance animation leaves an inline transform */
    box-shadow: 0 0 0 3px var(--kh-gold), 0 16px 36px rgba(43, 39, 38, 0.16);
  }
}
.rt-home-one-about-cards:focus-within, .rt-home-three-service-card:not(.w--current):focus-visible {
  z-index: 1; outline: none; box-shadow: 0 0 0 3px var(--kh-gold), 0 16px 36px rgba(43, 39, 38, 0.16);
}
@media (prefers-reduced-motion: reduce) {
  .rt-home-one-about-cards, .rt-home-three-service-card { transition: none; }
  .rt-home-one-about-cards:hover, .rt-home-three-service-card:hover { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.collection-item, .w-dyn-item):has(> .kh-room-card), .kh-room-card .kh-room-img { transition: none; }
  :is(.collection-item, .w-dyn-item):has(> .kh-room-card):hover, .kh-room-card:hover .kh-room-img { transform: none; }
}
.kh-room-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.kh-room-card .roomheading { margin: 0; padding: 0; text-align: left; font-size: 22px; line-height: 1.25; }
.kh-room-card .roomparagraph { padding: 0; text-align: left; color: var(--kh-grey); font-size: 16px; line-height: 1.55; }
.kh-room-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.kh-room-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background-color: var(--kh-cream); color: var(--kh-brown); font-size: 14px; line-height: 1.2; }
.kh-room-facts svg { width: 16px; height: 16px; flex: none; color: var(--kh-green); }
.kh-room-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #efe9e2; }
.kh-room-price { margin: 0; color: var(--kh-grey); font-size: 15px; white-space: nowrap; }
.kh-room-price strong { color: var(--kh-brown); font-size: 26px; font-weight: 700; }
.kh-room-foot .button-outline { padding: 10px 20px; white-space: nowrap; }
@media screen and (max-width: 991px) { .pagecontainer:has(.kh-room-card) { padding-left: 24px; padding-right: 24px; } }
@media screen and (max-width: 767px) { .pagecontainer:has(.kh-room-card) { padding-left: 16px; padding-right: 16px; } }
/* pages that list only two rooms: centre them instead of leaving an empty third column */
:is(.collection-list, .collection-list-2):has(.kh-room-card):has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
@media screen and (max-width: 991px) { :is(.collection-list, .collection-list-2):has(.kh-room-card), :is(.collection-list, .collection-list-2):has(.kh-room-card):has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 767px) { :is(.collection-list, .collection-list-2):has(.kh-room-card), :is(.collection-list, .collection-list-2):has(.kh-room-card):has(> :nth-child(2):last-child) { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Khmer version (/km/) ---------- */
@font-face {  /* Noto Sans Khmer, SIL Open Font License; Khmer letters only, Latin stays in Evolventa */
  font-family: "Noto Sans Khmer";
  src: url("../fonts/noto-sans-khmer.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC;
}
html[lang="km"] body, html[lang="km"] body :not([class*="icon"]):not([class*="w-icon"]) {
  font-family: Evolventa, "Noto Sans Khmer", "Khmer OS", sans-serif;
}
html[lang="km"] :is(p, li, .roomparagraph, .rt-body-font-color-2, .rt-body-font-color, .adventuredetailsparagraph, .kh-review p) { line-height: 1.85; }
html[lang="km"] :is(h1, h2, h3, h4, .roomheading, .kh-reviews-title) { line-height: 1.45; }
html[lang="km"] .kh-room-facts li { line-height: 1.5; }

/* the small language button: under "Book a Bungalow" on desktop, beside the menu icon on phones */
.account-button { position: relative; }
.kh-lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  height: 26px; min-width: 36px; padding: 0 9px; border: 1.5px solid var(--kh-brown); border-radius: 999px;
  background-color: #fff; color: var(--kh-brown); font-size: 12px; font-weight: 700; line-height: 1;
  text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.account-button > .kh-lang-toggle { position: absolute; top: calc(100% + 6px); right: 0; z-index: 3; }
.navbar-container > .kh-lang-toggle { margin-right: 12px; }
.kh-lang-toggle:hover { background-color: var(--kh-gold); border-color: var(--kh-gold); color: var(--kh-brown); }
.kh-lang-toggle:focus-visible { outline: 2px solid var(--kh-brown); outline-offset: 2px; }
.kh-lang-toggle.is-pulsing { animation: kh-lang-pulse 1.1s ease 2; }
@keyframes kh-lang-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 200, 59, 0); }
  35% { box-shadow: 0 0 0 7px rgba(255, 200, 59, .75); background-color: var(--kh-gold); }
}

/* first-visit language popup */
.kh-lang-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  padding: 20px; background-color: rgba(43, 39, 38, .55); opacity: 0; transition: opacity .25s ease; }
.kh-lang-modal.is-open { opacity: 1; }
.kh-lang-card { width: min(380px, 100%); background-color: #fff; border-radius: 20px; padding: 26px 26px 22px; text-align: center;
  box-shadow: 0 20px 60px rgba(43, 39, 38, .3); transform-origin: center; transition: transform .42s cubic-bezier(.4, 0, .2, 1), opacity .42s ease; }
.kh-lang-card h2 { margin: 0 0 4px; font-size: 22px; line-height: 1.3; color: var(--kh-brown); }
.kh-lang-card .kh-lang-km { display: block; font-size: 19px; color: var(--kh-brown); }
.kh-lang-switch { display: inline-flex; margin: 18px 0 14px; padding: 4px; border-radius: 999px; background-color: var(--kh-cream); }
.kh-lang-switch button { min-width: 104px; padding: 10px 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--kh-brown); font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color .2s ease; }
.kh-lang-switch button[aria-pressed="true"] { background-color: var(--kh-gold); }
.kh-lang-switch button:focus-visible { outline: 2px solid var(--kh-brown); outline-offset: 2px; }
.kh-lang-hint { margin: 0; color: var(--kh-grey); font-size: 14px; line-height: 1.5; }
.kh-lang-hint span { display: block; }
.kh-lang-close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; color: var(--kh-grey);
  font-size: 24px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.kh-lang-card { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .kh-lang-modal, .kh-lang-card { transition: none; }
  .kh-lang-toggle.is-pulsing { animation: none; background-color: var(--kh-gold); }
}

/* Demoted H1s (generated by tools/improve.py) */
:is(h2, h3, p):where(.kh-h1) { letter-spacing: inherit; margin: 0; }
:is(h2, h3, p):where(.kh-h1) { margin: .67em 0; font-size: 2em; }
:is(h2, h3, p):where(.kh-h1) { margin-top: 20px; font-size: 38px; line-height: 44px; }
:is(h2, h3, p):where(.kh-h1) { font-family: var(--core--font-family--headlines); color: var(--components--titles-paragraphs--text-titles); font-size: var(--core--font-size--headings--h1); line-height: var(--core--line-height--small); margin-top: 0; margin-bottom: 0; font-weight: 600; }
@media screen and (max-width: 991px) { :is(h2, h3, p):where(.kh-h1) { font-size: var(--core--font-size--headings-tablet--h1); } }
@media screen and (max-width: 767px) { :is(h2, h3, p):where(.kh-h1) { font-size: var(--core--font-size--headings-mbl--h1); } }
@media screen and (max-width: 479px) { :is(h2, h3, p):where(.kh-h1) { font-size: var(--core--font-size--headings-mbp--h1); } }
