/*
Theme Name: EmmaHouse Warm Japandi
Theme URI: https://emmahouse.net/
Author: EmmaHouse
Description: Giao diện WordPress song ngữ dành cho căn hộ dịch vụ, homestay và lưu trú dài hạn.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: emmahouse
*/

:root {
  --eh-cream: #f7f4ee;
  --eh-paper: #fffdf9;
  --eh-sand: #e9dfd1;
  --eh-olive: #68745f;
  --eh-olive-dark: #4f5a48;
  --eh-terracotta: #b56f53;
  --eh-ink: #252621;
  --eh-muted: #686a62;
  --eh-line: #ded9cf;
  --eh-white: #fff;
  --eh-radius: 22px;
  --eh-radius-sm: 14px;
  --eh-shadow: 0 18px 60px rgba(39, 39, 32, 0.09);
  --eh-container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--eh-paper);
  color: var(--eh-ink);
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  clip: auto;
  background: var(--eh-white);
}

.eh-container {
  width: min(calc(100% - 40px), var(--eh-container));
  margin-inline: auto;
}

.eh-section {
  padding: clamp(70px, 9vw, 120px) 0;
}

.eh-section--cream {
  background: var(--eh-cream);
}

.eh-section--olive {
  background: var(--eh-olive-dark);
  color: var(--eh-white);
}

.eh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  color: var(--eh-olive-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eh-kicker::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eh-section--olive .eh-kicker {
  color: #d7ddcf;
}

.eh-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.eh-section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.eh-section-heading p {
  max-width: 520px;
  margin-bottom: 4px;
  color: var(--eh-muted);
}

.eh-section--olive .eh-section-heading p {
  color: #d3d7cf;
}

.eh-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.82rem 1.3rem;
  border: 1px solid var(--eh-olive-dark);
  border-radius: 999px;
  background: var(--eh-olive-dark);
  color: var(--eh-white);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.eh-button:hover,
.eh-button:focus-visible {
  border-color: var(--eh-ink);
  background: var(--eh-ink);
  transform: translateY(-2px);
}

.eh-button--light {
  border-color: var(--eh-white);
  background: var(--eh-white);
  color: var(--eh-ink);
}

.eh-button--outline {
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
  color: var(--eh-white);
}

.eh-button--soft {
  border-color: var(--eh-line);
  background: var(--eh-white);
  color: var(--eh-ink);
}

.eh-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--eh-olive-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.eh-text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.eh-text-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.eh-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(222, 217, 207, 0.75);
  background: rgba(255, 253, 249, 0.93);
  backdrop-filter: blur(15px);
}

.eh-header-inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: 28px;
}

.eh-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.eh-brand__mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50% 50% 50% 8px;
  background: var(--eh-olive-dark);
  color: var(--eh-white);
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.eh-brand__text {
  display: flex;
  flex-direction: column;
  font-family: Georgia, serif;
  font-size: 1.33rem;
  line-height: 1;
}

.eh-brand__text small {
  margin-top: 6px;
  color: var(--eh-muted);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eh-site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-site-nav a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 650;
}

.eh-site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--eh-olive);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.eh-site-nav a:hover::after,
.eh-site-nav .current-menu-item a::after {
  transform: scaleX(1);
}

.eh-lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--eh-line);
  border-radius: 999px;
  background: var(--eh-white);
}

.eh-lang-switcher a {
  display: grid;
  min-width: 32px;
  min-height: 30px;
  place-items: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.eh-lang-switcher a.is-active,
.eh-lang-switcher .current-lang a {
  background: var(--eh-olive-dark);
  color: var(--eh-white);
}

.eh-lang-switcher ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--eh-line);
  border-radius: 50%;
  background: var(--eh-white);
}

.eh-menu-toggle span,
.eh-menu-toggle span::before,
.eh-menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--eh-ink);
}

.eh-menu-toggle span {
  position: relative;
}

.eh-menu-toggle span::before,
.eh-menu-toggle span::after {
  position: absolute;
  left: 0;
  content: "";
}

.eh-menu-toggle span::before {
  top: -6px;
}

.eh-menu-toggle span::after {
  top: 6px;
}

/* Hero */
.eh-hero {
  position: relative;
  min-height: min(820px, calc(100svh - 80px));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(28, 31, 25, 0.72) 0%, rgba(28, 31, 25, 0.38) 48%, rgba(28, 31, 25, 0.14) 100%),
    url("assets/img/apartment-placeholder.svg") center/cover no-repeat,
    #72786f;
  color: var(--eh-white);
}

.eh-hero__inner {
  display: flex;
  min-height: inherit;
  align-items: center;
  padding: 80px 0 150px;
}

.eh-hero__content {
  max-width: 820px;
}

.eh-hero .eh-kicker {
  color: #f2f0ea;
}

.eh-hero h1 {
  margin-bottom: 24px;
  color: var(--eh-white);
}

.eh-hero__lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.eh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eh-search-panel {
  position: relative;
  z-index: 4;
  margin-top: -73px;
}

.eh-search-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr auto;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius);
  background: var(--eh-line);
  box-shadow: var(--eh-shadow);
}

.eh-field {
  min-width: 0;
  padding: 17px 20px;
  background: var(--eh-white);
}

.eh-field label {
  display: block;
  margin-bottom: 3px;
  color: var(--eh-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eh-field input,
.eh-field select {
  width: 100%;
  min-height: 30px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--eh-ink);
}

.eh-search-form .eh-button {
  min-width: 150px;
  margin: 12px;
  border-radius: var(--eh-radius-sm);
}

/* Apartment cards */
.eh-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.eh-apartment-card {
  overflow: hidden;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius);
  background: var(--eh-white);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.eh-apartment-card:hover {
  box-shadow: var(--eh-shadow);
  transform: translateY(-5px);
}

.eh-apartment-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(181, 111, 83, 0.18), rgba(104, 116, 95, 0.24)),
    url("assets/img/apartment-placeholder.svg") center/cover no-repeat;
}

.eh-apartment-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.eh-apartment-card:hover .eh-apartment-card__media img {
  transform: scale(1.035);
}

.eh-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--eh-ink);
  font-size: 0.7rem;
  font-weight: 800;
  backdrop-filter: blur(7px);
}

.eh-apartment-card__body {
  padding: 23px;
}

.eh-apartment-card__location {
  margin-bottom: 7px;
  color: var(--eh-terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eh-apartment-card h3 {
  margin-bottom: 14px;
}

.eh-apartment-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-bottom: 17px;
  color: var(--eh-muted);
  font-size: 0.8rem;
}

.eh-apartment-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  padding-top: 16px;
  border-top: 1px solid var(--eh-line);
}

.eh-price {
  display: flex;
  flex-direction: column;
  color: var(--eh-muted);
  font-size: 0.72rem;
}

.eh-price strong {
  color: var(--eh-ink);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
}

/* Locations */
.eh-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.eh-location-card {
  position: relative;
  display: flex;
  min-height: 480px;
  align-items: end;
  overflow: hidden;
  border-radius: var(--eh-radius);
  background:
    linear-gradient(0deg, rgba(28, 30, 25, 0.72), rgba(28, 30, 25, 0.06) 72%),
    url("assets/img/location-placeholder.svg") center/cover no-repeat;
  color: var(--eh-white);
}

.eh-location-card:nth-child(2) {
  background-image:
    linear-gradient(0deg, rgba(28, 30, 25, 0.72), rgba(28, 30, 25, 0.06) 72%),
    url("assets/img/location-coast-placeholder.svg");
}

.eh-location-card__content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  padding: 38px;
}

.eh-location-card__content p {
  color: rgba(255, 255, 255, 0.84);
}

/* Feature tiles */
.eh-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--eh-line);
  border-left: 1px solid var(--eh-line);
}

.eh-feature {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--eh-line);
  border-bottom: 1px solid var(--eh-line);
}

.eh-feature__number {
  display: block;
  margin-bottom: 42px;
  color: var(--eh-terracotta);
  font-family: Georgia, serif;
  font-size: 1.4rem;
}

.eh-feature h3 {
  margin-bottom: 9px;
  font-size: 1.1rem;
}

.eh-feature p {
  margin-bottom: 0;
  color: var(--eh-muted);
  font-size: 0.82rem;
}

/* Gallery */
.eh-gallery {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  grid-template-rows: repeat(2, 230px);
  gap: 14px;
}

.eh-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--eh-radius-sm);
  background:
    linear-gradient(135deg, rgba(181, 111, 83, 0.18), rgba(104, 116, 95, 0.23)),
    url("assets/img/apartment-placeholder.svg") center/cover no-repeat;
}

.eh-gallery__item:first-child {
  grid-row: 1 / 3;
}

.eh-gallery__item:nth-child(2),
.eh-gallery__item:nth-child(5) {
  filter: sepia(0.08) saturate(0.85);
}

.eh-gallery__item:nth-child(3),
.eh-gallery__item:nth-child(4) {
  background-position: 70% center;
}

.eh-gallery__item span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--eh-ink);
  font-size: 0.66rem;
  font-weight: 800;
}

/* Services and testimonials */
.eh-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.eh-service {
  min-height: 180px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--eh-radius-sm);
  background: rgba(255, 255, 255, 0.05);
}

.eh-service__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.eh-service h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.eh-service p {
  margin-bottom: 0;
  color: #d3d7cf;
  font-size: 0.8rem;
}

.eh-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.eh-testimonial {
  padding: 30px;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius);
  background: var(--eh-white);
}

.eh-stars {
  margin-bottom: 18px;
  color: var(--eh-terracotta);
  letter-spacing: 0.12em;
}

.eh-testimonial blockquote {
  margin: 0 0 28px;
  font-family: Georgia, serif;
  font-size: 1.16rem;
  line-height: 1.55;
}

.eh-guest {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--eh-muted);
  font-size: 0.78rem;
}

.eh-guest__avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--eh-sand);
  color: var(--eh-olive-dark);
  font-weight: 800;
}

.eh-guest strong {
  display: block;
  color: var(--eh-ink);
}

/* FAQ */
.eh-faq {
  max-width: 880px;
  margin-inline: auto;
  border-top: 1px solid var(--eh-line);
}

.eh-faq details {
  border-bottom: 1px solid var(--eh-line);
}

.eh-faq summary {
  position: relative;
  padding: 24px 54px 24px 0;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 1.17rem;
  list-style: none;
}

.eh-faq summary::-webkit-details-marker {
  display: none;
}

.eh-faq summary::after {
  position: absolute;
  top: 24px;
  right: 8px;
  content: "+";
  color: var(--eh-olive-dark);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.4rem;
}

.eh-faq details[open] summary::after {
  content: "−";
}

.eh-faq details p {
  max-width: 760px;
  padding: 0 30px 23px 0;
  color: var(--eh-muted);
}

/* CTA */
.eh-cta {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--eh-radius) + 8px);
  background: var(--eh-terracotta);
  color: var(--eh-white);
}

.eh-cta::after {
  position: absolute;
  top: -70px;
  right: -60px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  content: "";
}

.eh-cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: end;
  padding: clamp(45px, 7vw, 80px);
}

.eh-cta h2 {
  max-width: 700px;
  margin-bottom: 14px;
}

.eh-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.eh-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* Archive */
.eh-page-hero {
  padding: clamp(65px, 9vw, 110px) 0 45px;
  background: var(--eh-cream);
}

.eh-page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.eh-page-hero p {
  max-width: 680px;
  color: var(--eh-muted);
}

.eh-filter {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 12px;
  margin-bottom: 36px;
  padding: 18px;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius);
  background: var(--eh-white);
}

.eh-filter label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--eh-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eh-filter select,
.eh-filter input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--eh-line);
  border-radius: 10px;
  background: var(--eh-paper);
  color: var(--eh-ink);
}

.eh-filter .eh-button {
  align-self: end;
}

.eh-results-count {
  margin-bottom: 24px;
  color: var(--eh-muted);
  font-size: 0.84rem;
}

.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 45px;
}

.nav-links .page-numbers {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--eh-line);
  border-radius: 50%;
}

.nav-links .current {
  border-color: var(--eh-olive-dark);
  background: var(--eh-olive-dark);
  color: var(--eh-white);
}

/* Single apartment */
.eh-breadcrumbs {
  padding: 22px 0;
  color: var(--eh-muted);
  font-size: 0.76rem;
}

.eh-breadcrumbs a:hover {
  color: var(--eh-olive-dark);
}

.eh-single-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
  margin-bottom: 30px;
}

.eh-single-head h1 {
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.eh-single-head__location {
  color: var(--eh-muted);
}

.eh-single-gallery {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  grid-template-rows: repeat(2, minmax(170px, 270px));
  gap: 12px;
  overflow: hidden;
  border-radius: var(--eh-radius);
}

.eh-single-gallery__main {
  grid-row: 1 / 3;
}

.eh-single-gallery img,
.eh-single-gallery__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eh-single-gallery__placeholder {
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(181, 111, 83, 0.16), rgba(104, 116, 95, 0.22)),
    url("assets/img/apartment-placeholder.svg") center/cover no-repeat;
}

.eh-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: clamp(40px, 7vw, 80px);
  align-items: start;
  padding: 60px 0 100px;
}

.eh-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--eh-line);
}

.eh-stat {
  min-width: 110px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--eh-cream);
  color: var(--eh-muted);
  font-size: 0.75rem;
}

.eh-stat strong {
  display: block;
  color: var(--eh-ink);
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.eh-content-block {
  padding: 30px 0;
  border-bottom: 1px solid var(--eh-line);
}

.eh-content-block h2 {
  font-size: 1.9rem;
}

.eh-content-block p,
.eh-content-block li {
  color: var(--eh-muted);
}

.eh-amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-amenities li {
  padding: 10px 0;
}

.eh-amenities li::before {
  margin-right: 9px;
  color: var(--eh-olive);
  content: "✓";
  font-weight: 800;
}

.eh-booking-card {
  position: sticky;
  top: 105px;
  padding: 28px;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius);
  background: var(--eh-white);
  box-shadow: var(--eh-shadow);
}

.eh-booking-card__price {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--eh-line);
}

.eh-booking-card__price strong {
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
}

/* Booking form */
.eh-booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.eh-booking-form .eh-form-row--full {
  grid-column: 1 / -1;
}

.eh-booking-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--eh-muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.eh-booking-form input,
.eh-booking-form select,
.eh-booking-form textarea {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid var(--eh-line);
  border-radius: 10px;
  background: var(--eh-paper);
  color: var(--eh-ink);
  font-weight: 400;
}

.eh-booking-form textarea {
  min-height: 92px;
  resize: vertical;
}

.eh-booking-form .eh-button {
  width: 100%;
}

.eh-form-note {
  margin: 0;
  color: var(--eh-muted);
  font-size: 0.7rem;
  text-align: center;
}

.eh-alert {
  margin-bottom: 20px;
  padding: 12px 15px;
  border-radius: 10px;
  background: #edf5e9;
  color: #3c5b34;
  font-size: 0.82rem;
}

.eh-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

/* Generic pages */
.eh-content {
  max-width: 840px;
  margin-inline: auto;
}

.eh-content > * + * {
  margin-top: 1.2em;
}

.eh-content a {
  color: var(--eh-olive-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eh-long-stay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.eh-long-stay-card {
  padding: 30px;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius);
  background: var(--eh-white);
}

.eh-long-stay-card .eh-feature__number {
  margin-bottom: 25px;
}

/* Footer */
.eh-site-footer {
  margin-top: 100px;
  padding: 70px 0 24px;
  background: #252821;
  color: var(--eh-white);
}

.eh-site-footer--flush {
  margin-top: 0;
}

.eh-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 44px;
  padding-bottom: 55px;
}

.eh-site-footer .eh-brand {
  margin-bottom: 22px;
}

.eh-site-footer .eh-brand__mark {
  background: var(--eh-white);
  color: var(--eh-olive-dark);
}

.eh-site-footer .eh-brand__text small {
  color: #aeb4a9;
}

.eh-footer-intro {
  max-width: 380px;
  color: #c8ccc4;
  font-size: 0.84rem;
}

.eh-footer-title {
  margin-bottom: 18px;
  color: #aeb4a9;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eh-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-footer-links li + li {
  margin-top: 10px;
}

.eh-footer-links a,
.eh-footer-contact {
  color: #e4e6e0;
  font-size: 0.82rem;
}

.eh-footer-links a:hover {
  color: var(--eh-white);
}

.eh-footer-contact p {
  margin-bottom: 9px;
}

.eh-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #aeb4a9;
  font-size: 0.72rem;
}

.eh-socials {
  display: flex;
  gap: 12px;
}

.eh-socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
}

.eh-mobile-book {
  display: none;
}

/* Responsive */
@media (max-width: 1060px) {
  .eh-site-nav {
    position: fixed;
    z-index: 110;
    inset: 80px 0 0;
    padding: 32px 20px;
    background: var(--eh-paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-open .eh-site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .eh-site-nav a {
    display: block;
    padding: 15px 4px;
    border-bottom: 1px solid var(--eh-line);
    font-family: Georgia, serif;
    font-size: 1.35rem;
  }

  .eh-header-book {
    display: none;
  }

  .eh-menu-toggle {
    display: grid;
  }

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

  .eh-feature-grid,
  .eh-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eh-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .eh-section-heading,
  .eh-cta__inner,
  .eh-single-layout {
    grid-template-columns: 1fr;
  }

  .eh-search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eh-search-form .eh-button {
    min-height: 58px;
    grid-column: 1 / -1;
  }

  .eh-location-card {
    min-height: 400px;
  }

  .eh-testimonial-grid,
  .eh-long-stay-grid {
    grid-template-columns: 1fr;
  }

  .eh-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 180px 180px;
  }

  .eh-gallery__item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .eh-cta__actions {
    justify-content: flex-start;
  }

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

  .eh-booking-card {
    position: static;
  }

  .eh-single-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 66px;
  }

  .eh-container {
    width: min(calc(100% - 28px), var(--eh-container));
  }

  .eh-header-inner {
    min-height: 70px;
  }

  .eh-brand__text small {
    display: none;
  }

  .eh-lang-switcher {
    margin-left: auto;
  }

  .eh-site-nav {
    inset-block-start: 70px;
  }

  .eh-hero {
    min-height: 680px;
    background-position: 58% center;
  }

  .eh-hero__inner {
    align-items: end;
    padding: 80px 0 145px;
  }

  .eh-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .eh-hero__actions .eh-button {
    width: 100%;
  }

  .eh-search-panel {
    margin-top: -92px;
  }

  .eh-search-form,
  .eh-card-grid,
  .eh-location-grid,
  .eh-feature-grid,
  .eh-service-grid,
  .eh-filter {
    grid-template-columns: 1fr;
  }

  .eh-search-form {
    gap: 1px;
  }

  .eh-search-form .eh-button {
    grid-column: auto;
  }

  .eh-section-heading {
    gap: 20px;
  }

  .eh-section-heading h2 {
    font-size: 2.35rem;
  }

  .eh-location-card {
    min-height: 360px;
  }

  .eh-location-card__content {
    padding: 28px;
  }

  .eh-feature {
    min-height: 150px;
  }

  .eh-feature__number {
    margin-bottom: 24px;
  }

  .eh-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 150px 150px;
  }

  .eh-single-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 150px;
  }

  .eh-single-gallery__main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .eh-single-gallery__placeholder {
    min-height: 150px;
  }

  .eh-amenities,
  .eh-booking-form {
    grid-template-columns: 1fr;
  }

  .eh-booking-form .eh-form-row--full {
    grid-column: auto;
  }

  .eh-footer-grid {
    grid-template-columns: 1fr;
  }

  .eh-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .eh-mobile-book {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid var(--eh-line);
    background: rgba(255, 253, 249, 0.97);
    backdrop-filter: blur(12px);
  }

  .eh-mobile-book .eh-button {
    min-height: 48px;
    padding-inline: 10px;
    font-size: 0.78rem;
  }
}

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