
:root {
  --bg: #f8f5ef;
  --paper: #fffdf8;
  --ink: #23211d;
  --muted: #6c665d;
  --line: #ddd4c7;
  --accent: #496b45;
  --accent-dark: #30472d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

body.lightbox-open {
  overflow: hidden;
}

a { color: var(--accent-dark); }

.layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

.layout.has-sidebar {
  grid-template-columns: 260px minmax(0, 1fr);
}

.sidebar {
  display: none;
}

.sidebar.sidebar-ready {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 28px 22px;
  background: #26251f;
  color: #fffdf8;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sidebar-brand {
  display: inline-block;
  margin: 0 0 28px;
  color: #fffdf8;
  text-decoration: none;
  font-size: 1.56rem;
  line-height: 1.15;
}

.sidebar.sidebar-ready nav a {
  display: block;
  padding: 8px 0;
  color: #fffdf8;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.11);
  font-family: "Times New Roman", Times, serif;
}

.sidebar.sidebar-ready nav a:hover { color: #d9e8d1; }

.sidebar.sidebar-ready nav a.sidebar-link-static {
  font-weight: 600;
  font-size: 1.12rem;
  padding: 7px 12px;
  margin-bottom: 5px;
  width: calc(100% - 22px);
  box-sizing: border-box;
  color: var(--ink);
  background: #efe7da;
  border: 1px solid rgba(221, 212, 199, 0.92);
  border-radius: 999px;
  line-height: 1.2;
}

.sidebar.sidebar-ready nav a.sidebar-link-static.sidebar-link-level-1 {
  margin-left: 18px;
  font-size: 1.02rem;
}

.sidebar.sidebar-ready nav a.sidebar-link-section {
  font-weight: 400;
  line-height: 1.16;
}

.sidebar.sidebar-ready nav a.sidebar-link-static:hover,
.sidebar.sidebar-ready nav a.sidebar-link-static:focus-visible {
  color: var(--ink);
  background: #f7f1e7;
}

.sidebar.sidebar-ready nav a[aria-current="page"] {
  color: #d9e8d1;
  font-weight: 700;
}

.sidebar.sidebar-ready nav a.sidebar-link-static[aria-current="page"] {
  color: var(--ink);
  background: #dcc9ae;
  border-color: rgba(169, 145, 112, 0.94);
}

.sidebar.sidebar-ready hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  margin: 14px 0;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 24px;
  flex-shrink: 0;
  text-align: center;
}

.sidebar-logo {
  display: inline-block;
  margin: 0 auto;
}

.sidebar-logo img {
  display: block;
  width: auto;
  max-width: 148px;
  height: auto;
  opacity: 0.92;
}

.sidebar-footer-copy {
  margin: 12px 0 0;
  color: #d8d0c2;
  font-size: 0.88rem;
}

.sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fffdf8;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.sidebar-toggle::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus-visible {
  background: rgba(255,255,255,0.14);
}

.content {
  max-width: 1120px;
  padding: 36px clamp(18px, 4vw, 56px) 80px;
  min-width: 0;
}

.content a,
.content figcaption,
.content p,
.content li {
  overflow-wrap: anywhere;
}

.hero {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-bottom: 28px;
}

.hero img {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  display: block;
  background: #ddd;
}

.hero img.hero-fit-contain {
  object-fit: contain;
  background: #efe7da;
}

.hero-text {
  padding: 26px;
}

h1 {
  font-size: clamp(1.85rem, 4.3vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 10px;
}

h2 {
  font-size: 1.8rem;
  margin: 44px 0 12px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

h3 {
  font-size: 1.25rem;
  margin: 24px 0 8px;
}

h4 {
  font-size: 1.05rem;
  margin: 18px 0 8px;
}

.section-with-heading-media {
  display: flow-root;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.section-with-heading-media h2 {
  margin: 0 0 12px;
  border-top: 0;
  padding-top: 0;
}

.section-heading-media {
  display: block;
  float: right;
  width: min(31%, 280px);
  margin: 0 0 18px 22px;
  color: inherit;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-heading-media:hover,
.section-heading-media:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.section-heading-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.section-heading-media span {
  display: block;
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.summary {
  font-size: 1.22rem;
  color: var(--muted);
  max-width: 780px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.hero-price {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 18px;
  margin-top: 22px;
  width: 100%;
  padding: 16px 18px;
  background: #e8f0e4;
  border: 1px solid #cadbc4;
  border-radius: 16px;
}

.hero-price-copy {
  min-width: 0;
}

.hero-price h2 {
  margin: 0 0 8px;
  padding-top: 0;
  border-top: 0;
  font-size: 1.8rem;
}

.hero-price p {
  margin: 0;
  font-size: 1.02rem;
}

.hero-price-link {
  display: inline-block;
  align-self: flex-end;
  flex-shrink: 0;
  margin-top: auto;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fffdf8;
  font-weight: 700;
  text-decoration: none;
  text-align: right;
}

.hero-price-link:hover,
.hero-price-link:focus-visible {
  background: #25381f;
  color: #fffdf8;
  text-decoration: none;
}

.fact {
  background: #f1eadf;
  border-radius: 14px;
  padding: 12px;
}

.fact strong { display: block; }

.section-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin: 18px 0;
}

.section-card h2 {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.guide-figure {
  margin: 18px 0 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

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

.guide-figure figcaption {
  padding: 10px 14px 14px;
  color: var(--muted);
  font-size: 0.93rem;
}

.terms-guidance-table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  background: #223e70;
  color: #fffdf8;
}

.terms-guidance-table th,
.terms-guidance-table td {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  vertical-align: top;
}

.terms-guidance-table th {
  background: #1a3158;
  text-align: left;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.terms-guidance-table ul {
  margin: 0;
  padding-left: 20px;
}

.terms-guidance-table li + li {
  margin-top: 8px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.property-card {
  display: block;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover,
.property-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

.property-card-image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #efe7da;
}

.property-card-body {
  padding: 22px 24px 24px;
}

.property-card h2 {
  margin: 0 0 10px;
  border-top: 0;
  padding-top: 0;
}

.property-card p {
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gallery-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.gallery-category-link {
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-category-link:hover,
.gallery-category-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.gallery-category-link img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
}

.gallery-category-link span {
  display: block;
  padding: 12px 14px 14px;
  font-weight: bold;
}

.gallery-section h3 {
  margin-top: 0;
}

.gallery figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.gallery figcaption {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

ul.columns {
  columns: 2;
  column-gap: 42px;
}

.booking-panel {
  background: #e8f0e4;
  border: 1px solid #cadbc4;
  border-radius: 18px;
  padding: 14px 24px 24px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.button-row-end {
  justify-content: flex-end;
}

.booking-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.booking-panel-copy p {
  margin: 0;
}

.booking-panel-copy {
  padding-top: 0.35rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: bold;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
}

.booking-strip-submit {
  appearance: none;
  border: 0;
  background: var(--accent);
  color: #fffdf8;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
}

.booking-panel-airbnb {
  margin-top: 6px;
  line-height: 1.45;
}

.small-note {
  color: var(--muted);
  font-size: 0.93rem;
}

.booking-widget {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(48, 71, 45, 0.14);
}

.beds24-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.beds24-field {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}

.beds24-field input,
.beds24-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cadbc4;
  border-radius: 12px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

.booking-widget-note {
  margin: 10px 0 0;
}

.booking-calendar {
  margin-top: 18px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
}

.booking-calendar [data-beds24-calendar] {
  max-width: 100%;
}

.beds24-calendar-scale-shell {
  display: inline-block;
  transform-origin: top left;
}

.booking-calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.booking-calendar-title {
  margin: 0;
  font-weight: bold;
}

.booking-calendar-key {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.booking-calendar-key-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.booking-calendar-key-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid transparent;
}

.booking-calendar-key-swatch.is-available {
  background: #e1e1de;
  border-color: #bbb9b2;
}

.booking-calendar-key-swatch.is-occupied {
  background: #cbd9c3;
  border-color: #98ab8f;
}

.booking-calendar-error {
  color: #8a3b2e;
}

footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 16, 14, 0.88);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-frame {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(100%, 1200px);
}

.lightbox-image {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.08);
}

.lightbox-caption {
  width: min(100%, 900px);
  margin: 14px 0 0;
  text-align: center;
  color: #fffdf8;
  font-size: 0.98rem;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  color: #fffdf8;
  background: rgba(255, 253, 248, 0.14);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(255, 253, 248, 0.24);
}

@media (max-width: 820px) {
  .layout,
  .layout.has-sidebar { grid-template-columns: 1fr; }
  .sidebar {
    position: relative;
    height: auto;
    padding: 16px;
  }
  .content { padding: 22px 16px 60px; }
  .quick-facts { grid-template-columns: repeat(2, minmax(110px, 1fr)); }
  .hero-price {
    flex-direction: column;
    align-items: flex-start;
  }
  .property-grid {
    grid-template-columns: 1fr;
  }
  .beds24-strip {
    grid-template-columns: 1fr;
  }
  .booking-panel-header {
    flex-direction: column;
  }
  .button-row-end {
    justify-content: flex-start;
  }
  .section-heading-media {
    float: none;
    width: 100%;
    max-width: 360px;
    margin: 12px 0 18px;
  }
  .terms-guidance-table,
  .terms-guidance-table thead,
  .terms-guidance-table tbody,
  .terms-guidance-table tr,
  .terms-guidance-table th,
  .terms-guidance-table td {
    display: block;
  }
  .terms-guidance-table th,
  .terms-guidance-table td {
    width: 100%;
  }
  .gallery { grid-template-columns: 1fr; }
  ul.columns { columns: 1; }
  .lightbox {
    padding: 18px 12px;
  }
  .lightbox-frame {
    grid-template-columns: 1fr;
  }
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .lightbox-prev {
    left: 12px;
  }
  .lightbox-next {
    right: 12px;
  }
  .lightbox-image {
    max-height: 74vh;
  }
}

@media (max-width: 820px) {
  .sidebar.sidebar-ready {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 16px;
    align-items: center;
    align-content: start;
    height: auto;
    min-height: 0;
    padding: 16px;
    max-height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .sidebar.sidebar-ready .sidebar-brand {
    margin: 0;
    font-size: 1.28rem;
  }
  .sidebar.sidebar-ready .sidebar-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .sidebar.sidebar-ready nav,
  .sidebar.sidebar-ready .sidebar-footer {
    display: none;
  }
  .sidebar.sidebar-ready.open nav {
    display: block;
    grid-column: 1 / -1;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.14);
  }
  .sidebar.sidebar-ready.open .sidebar-footer {
    display: block;
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 16px;
  }
  .sidebar.sidebar-ready nav a {
    padding: 12px 0;
  }
  .sidebar.sidebar-ready nav a.sidebar-link-static {
    padding: 9px 12px;
    width: calc(100% - 14px);
  }
  .sidebar.sidebar-ready nav a.sidebar-link-static.sidebar-link-level-1 {
    margin-left: 12px;
  }
}
