@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --pine: #2C4A66;
  --pine-deep: #1E3A54;
  --bark: #5C4632;
  --creek: #3E5C6B;
  --parchment: #F2F4F6;
  --parchment-light: #FFFFFF;
  --ember: #E1962F;
  --ink: #22303B;
  --line: rgba(30, 58, 84, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment-light);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  color: var(--pine-deep);
}

a { color: inherit; }

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

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Nav */
.nav {
  position: relative;
  z-index: 10;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--pine-deep);
}
.nav .wordmark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
}
.nav .cta, .site-nav .cta {
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 10px 20px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-block;
}
.nav .cta:hover, .site-nav .cta:hover { background: #fff; color: var(--pine-deep); }
.nav .nav-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14.5px;
}
.nav .nav-link:hover { color: #fff; }
.nav-solid .nav-link { color: rgba(255,255,255,0.75); }

/* Sticky shrinking site nav (main landing page) */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--pine-deep);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  transition: padding 0.25s ease;
}
.site-nav.scrolled .nav-inner { padding: 7px 32px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  flex-shrink: 1;
}
.brand-mark {
  width: 72px;
  height: 72px;
  transition: width 0.25s ease, height 0.25s ease;
}
.site-nav.scrolled .brand-mark { width: 51px; height: 51px; }
.brand-text {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  font-size: 18px;
  transition: font-size 0.25s ease;
  white-space: nowrap;
}
.site-nav.scrolled .brand-text { font-size: 13.5px; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: #fff; }

.cta-small { padding: 7px 16px; font-size: 13px; }

/* Airbnb / VRBO booking buttons (replace direct-booking CTA while not offering it yet) */
.book-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.book-btn {
  display: block;
  text-align: center;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease;
}
.book-btn:hover { filter: brightness(1.08); }
.book-airbnb { background: #FF385C; color: #FFFFFF; }
.book-vrbo { background: #245ABC; color: #FFFFFF; }
.dropdown-book-btn { display: inline-block; text-align: left; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 34px;
  height: 34px;
}
.nav-hamburger span {
  width: 20px;
  height: 2px;
  background: #fff;
  display: block;
}

.nav-dropdown {
  display: none;
  flex-direction: column;
  background: var(--pine-deep);
  padding: 4px 32px 22px;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.nav-dropdown a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}
.nav-dropdown.open { display: flex; }

/* On scroll: only the logo/brand text/CTA shrink - Bedrooms/Amenities/Location/Rates/Contact stay full size */
.site-nav.scrolled .book-btn { padding: 5px 13px; font-size: 11.5px; }

/* Mobile: collapsed into hamburger regardless of scroll position */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .book-btn { padding: 5px 11px; font-size: 11.5px; }
}

/* Narrow phones (portrait): logo + wordmark were wide enough to collide with
   the availability button. Shrinks everything further based on viewport
   width - this is why rotating to landscape (wider viewport) already looked
   fine, and this rule extends that same width-based fix down to portrait. */
@media (max-width: 480px) {
  .nav-inner { padding: 10px 16px; }
  .brand { gap: 6px; min-width: 0; align-items: center; overflow: visible; }
  .brand-mark, .site-nav.scrolled .brand-mark { width: 38px; height: 38px; }
  .brand-text, .site-nav.scrolled .brand-text {
    font-size: 11.5px;
    letter-spacing: 0.03em;
    white-space: normal;
    line-height: 1.25;
    max-width: 100px;
    text-align: left;
    overflow: visible;
  }
  .nav-right { gap: 8px; }
  .book-btn { padding: 5px 8px; font-size: 10px; }
  .nav-hamburger { width: 28px; height: 28px; padding: 4px; }
}
.nav-solid .nav-link:hover { color: #fff; }

/* Gallery header (top-of-page photo grid, listing-site style) */
.gallery-header {
  padding: 16px 32px 0;
  max-width: 1280px;
  margin: 0 auto;
  height: calc(75vh - 80px);
  min-height: 320px;
  max-height: 640px;
  overflow: hidden;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  height: 100%;
}
/* Explicit placement for exactly 5 photos - large left spanning both rows, 4 small on the right in a 2x2 */
.gallery-grid a:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.gallery-grid a:nth-child(2) { grid-column: 2; grid-row: 1; }
.gallery-grid a:nth-child(3) { grid-column: 3; grid-row: 1; }
.gallery-grid a:nth-child(4) { grid-column: 2; grid-row: 2; }
.gallery-grid a:nth-child(5) { grid-column: 3; grid-row: 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.gallery-grid a { position: relative; display: block; overflow: hidden; cursor: pointer; }
.gallery-grid .more-overlay {
  position: absolute; inset: 0;
  background: rgba(20,26,20,0.55);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
}

/* Title + quick stats bar */
.listing-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 32px 0;
}
.listing-title { font-size: clamp(30px, 4vw, 44px); }
.quickstats {
  margin-top: 16px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: #52564a;
  font-size: 15px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.quickstats strong { color: var(--pine-deep); }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.badge {
  background: var(--parchment);
  color: var(--pine-deep);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
}

/* Two-column layout: content + sticky sidebar */
.listing-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.listing-main { min-width: 0; }
.listing-layout.no-sidebar { grid-template-columns: 1fr; max-width: 900px; }
.sidebar-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-height, 145px) + 16px);
}
.sidebar-box .price {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  color: var(--pine-deep);
}
.sidebar-box .price span { font-size: 15px; font-family: 'Inter', sans-serif; color: #6b6e60; }
.sidebar-box .sidebar-facts {
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: #52564a;
}
.sidebar-box .sidebar-facts div { padding: 4px 0; }
.sidebar-box .btn { width: 100%; text-align: center; margin-top: 0; box-sizing: border-box; }
.sidebar-note { font-size: 13px; color: #8a8d80; margin-top: 14px; text-align: center; }

/* Rates table, listing-site style */
.rates-table {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.rates-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.rates-row span {
  padding: 16px 20px;
  font-size: 15px;
}
.rates-head {
  background: var(--parchment);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--pine-deep);
}
.rates-row:not(.rates-head) span {
  border-top: 1px solid var(--line);
  color: #3a3d35;
}

@media (max-width: 640px) {
  .rates-row { grid-template-columns: 1fr; }
  .rates-row span { border-top: 1px solid var(--line); }
}

/* Booking platform cards (Rates section - while direct booking is unavailable) */
.platform-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 560px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: filter 0.15s ease;
}
.platform-card:hover { filter: brightness(1.06); }
.platform-airbnb { background: #FF385C; color: #FFFFFF; }
.platform-vrbo { background: #245ABC; color: #FFFFFF; }
.platform-name { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; }
.platform-cta { font-size: 14px; opacity: 0.92; }
@media (max-width: 560px) {
  .platform-options { grid-template-columns: 1fr; }
}

/* Amenity categories, listing-site style */
.amenity-columns {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 28px;
  align-items: start;
}
.amenity-category {
  margin-bottom: 0;
}
.amenity-category h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--creek);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.amenity-category div {
  font-size: 14.5px;
  color: #3a3d35;
  padding: 4px 0;
}

@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .sidebar-box { position: static; }
  .gallery-header { height: auto; max-height: none; overflow: visible; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 220px repeat(4, 140px); height: auto; }
  .gallery-grid a:nth-child(1),
  .gallery-grid a:nth-child(2),
  .gallery-grid a:nth-child(3),
  .gallery-grid a:nth-child(4),
  .gallery-grid a:nth-child(5) { grid-column: 1; grid-row: auto; }
  .amenity-columns { grid-template-columns: 1fr; }
}


/* Section rhythm */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.section-tight { padding: 64px 0; }
.section-tight[id] { scroll-margin-top: calc(var(--nav-height, 100px) + 16px); }
.section-label {
  color: var(--creek);
  font-size: 15px;
  margin-bottom: 10px;
}
.section h2 {
  font-size: clamp(30px, 4vw, 42px);
  max-width: 640px;
}

/* Swapped heading styles for Bedrooms/Amenities/Location/Rates/Reviews:
   the small label becomes the big serif heading, and the big heading
   becomes the small caption-style label. */
#rooms .section-label, #amenities .section-label, #location .section-label,
#rates .section-label, #reviews .section-label, #activities .section-label {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.2vw, 36px);
  color: var(--pine-deep);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 10px;
}
#rooms h2, #amenities h2, #location h2, #rates h2, #reviews h2, #activities h2 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--creek);
  font-weight: 400;
  max-width: none;
}

/* Intro / about, asymmetric two-col */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.about-grid p { max-width: 60ch; color: #3a3d35; }
.about-grid p + p { margin-top: 18px; }
.about-photo {
  border-radius: 2px;
  overflow: hidden;
}
.about-photo img { height: 460px; object-fit: cover; }

/* Highlights - not identical cards, staggered */
.highlights {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.highlight {
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--line);
}
.highlight:last-child { border-right: none; }
.highlight h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.highlight p { color: #52564a; font-size: 15.5px; margin: 0; }

/* Gallery */
.gallery {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 8px;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* Sleeping arrangements */
.rooms {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.room img { height: 200px; object-fit: cover; border-radius: 2px; margin-bottom: 14px; }
.room h3 { font-size: 19px; margin-bottom: 4px; }
.room p { color: #52564a; margin: 0; font-size: 15px; }

/* Amenities - plain list, not icon cards */
.amenities-list {
  margin-top: 40px;
  columns: 2;
  column-gap: 48px;
  max-width: 640px;
}
.amenities-list div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  font-size: 16px;
}

/* Location */
.location-block { margin-top: 32px; max-width: 60ch; color: #3a3d35; }
.location-block ul { padding-left: 20px; }
.location-block li { margin-bottom: 6px; }

/* Reviews */
.review-strip {
  margin-top: 40px;
  display: flex;
  gap: 40px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.review {
  min-width: 320px;
  max-width: 340px;
  flex-shrink: 0;
}
.review-rating { color: var(--ember); font-size: 15px; margin-bottom: 10px; }
.review p { font-style: italic; color: #3a3d35; font-size: 16px; }

/* CTA band */
.cta-band {
  background: var(--pine);
  color: var(--parchment-light);
  padding: 88px 0;
  text-align: left;
}
.cta-band h2 { color: #fff; max-width: 520px; }
.cta-band p { color: rgba(245,241,230,0.8); max-width: 480px; margin-top: 16px; }
.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band-social {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.cta-band-social a {
  width: 63px;
  height: 63px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cta-band-social a:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.7); }
.cta-band-social-only { padding: 48px 0; }
.cta-band-social-only .cta-band-inner { justify-content: center; }
@media (max-width: 640px) {
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-social { margin-top: 8px; }
  .cta-band-social-only .cta-band-inner { align-items: center; }
}
.btn {
  display: inline-block;
  margin-top: 32px;
  background: var(--ember);
  color: #fff;
  padding: 16px 34px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 16px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s ease;
}
.btn:hover { background: #B36B33; }
.btn:disabled { background: #999; cursor: not-allowed; }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Footer */
footer {
  padding: 48px 32px;
  text-align: center;
  color: #6b6e60;
  font-size: 14px;
}

/* Flatpickr theming to match the site */
.flatpickr-calendar {
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 4px;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--pine);
  border-color: var(--pine);
}
.flatpickr-day.today {
  border-color: var(--ember);
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #ccc;
  text-decoration: line-through;
  background: #f5f5f0;
}
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
span.flatpickr-weekday {
  color: var(--pine-deep);
}
.flatpickr-day:hover { background: var(--parchment); }

/* Calendar widget */
.calendar-widget {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--pine-deep);
}
.cal-header span {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  color: #fff;
}
.cal-header button {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  color: #fff;
}
.cal-header button:hover { background: rgba(255,255,255,0.2); }
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--pine-deep);
  background: var(--parchment);
  padding: 10px 0;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cal-day:not(.cal-disabled):hover { background: var(--parchment); }
.cal-empty {
  background: #FAF8F2;
  cursor: default;
}
.cal-blocked {
  background: #E3DECD;
  color: #9c9581;
  text-decoration: line-through;
  font-weight: 500;
  cursor: not-allowed;
}
.cal-past {
  background: #F4F1E6;
  color: #cac4ae;
  cursor: not-allowed;
}
.cal-disabled { cursor: not-allowed; }
.cal-selected-start, .cal-selected-end {
  background: var(--ember);
  color: #fff;
  font-weight: 700;
}
.cal-in-range { background: rgba(201, 122, 61, 0.22); font-weight: 600; }
.cal-legend {
  display: flex;
  gap: 20px;
  padding: 12px 16px;
  font-size: 13px;
  color: #52564a;
  border-top: 1px solid var(--line);
}
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  display: inline-block;
  border: 1px solid var(--line);
}
.legend-blocked { background: #E3DECD; }
.legend-selected { background: var(--ember); border-color: var(--ember); }

.selected-dates-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}
.selected-dates-row .label-small {
  display: block;
  font-size: 12px;
  color: var(--creek);
  margin-bottom: 4px;
}
.selected-dates-row > div > div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  font-size: 14.5px;
}

/* Contact page */
.contact-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.contact-tab {
  background: none;
  border: none;
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #8b8672;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.contact-tab.active {
  color: var(--pine-deep);
  border-bottom-color: var(--ember);
  font-weight: 600;
}
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: var(--parchment-light);
  resize: vertical;
}
.success-msg {
  display: none;
  color: #2A5C24;
  background: #DCEBD9;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14.5px;
  margin-top: 16px;
}

/* Booking page */
.booking-page { padding-top: 40px; }

/* Admin sidebar layout */
.admin-body { margin: 0; }
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 230px;
  flex-shrink: 0;
  background: var(--pine-deep);
  color: #fff;
  padding: 28px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar-brand {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  padding: 0 24px;
}
.admin-sidebar-sub {
  color: rgba(255,255,255,0.55);
  font-size: 12.5px;
  padding: 4px 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 8px;
}
.admin-sidebar-nav { display: flex; flex-direction: column; }
.admin-sidebar-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14.5px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 3px solid transparent;
}
.admin-sidebar-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-sidebar-nav a.is-active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-left-color: var(--ember);
}
.sidebar-badge {
  background: var(--ember);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  line-height: 1.4;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
}
.stat-card .stat-value {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  color: var(--pine-deep);
  line-height: 1;
}
.stat-card .stat-label {
  font-size: 13px;
  color: var(--creek);
  margin-top: 6px;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.admin-content {
  flex: 1;
  padding: 40px 44px;
  min-width: 0;
}

/* Shared across admin pages (Bookings, Messages, Calendars tables and delete buttons) */
.admin-content table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.admin-content th, .admin-content td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin-content th { color: var(--creek); font-weight: 500; }
.del-btn { background: none; border: 1px solid #C97A3D; color: #C97A3D; border-radius: 3px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.del-btn:hover { background: #C97A3D; color: #fff; }

@media (max-width: 800px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; padding: 16px 0; }
  .admin-sidebar-nav { flex-direction: row; overflow-x: auto; padding: 0 12px; }
  .admin-sidebar-nav a { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  .admin-sidebar-nav a.is-active { border-left-color: transparent; border-bottom-color: var(--ember); }
  .admin-content { padding: 28px 20px; }
}
.booking-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}
.booking-form-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px;
  color: var(--pine);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: var(--parchment-light);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.summary-box {
  background: var(--parchment);
  border-radius: 4px;
  padding: 28px;
  position: sticky;
  top: 140px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.summary-row.total {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  border-bottom: none;
  padding-top: 18px;
}
.error-msg {
  color: #A33;
  font-size: 14px;
  margin-top: 12px;
  display: none;
}

/* Simple nav for interior pages */
.nav-solid {
  position: relative;
  background: var(--pine-deep);
}
.nav-solid .wordmark, .nav-solid .cta { color: #fff; }

@media (max-width: 860px) {
  .about-grid, .booking-layout { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .highlight { border-right: none; border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery a:nth-child(1) { grid-column: span 2; }
  .rooms { grid-template-columns: 1fr; }
  .amenities-list { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
}

/* Utility classes (replace inline style="" attributes so CSP can drop 'unsafe-inline' for styles) */
.mt-2 { margin-top: 2px; }
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-36 { margin-top: 36px; }
.mt-64 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.mb-12 { margin-bottom: 12px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.max-w-640 { max-width: 640px; }
.max-w-720 { max-width: 720px; }
.max-w-65ch { max-width: 65ch; }
.w-full { width: 100%; }
.nowrap { white-space: nowrap; }
.no-border-bottom { border-bottom: none; }
.pt-8 { padding-top: 8px; }
.fs-19 { font-size: 19px; }
.hidden { display: none; }
.text-muted { color: #888; }
.flex-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.empty-state { text-align: center; color: #888; }
.py-32 { padding: 32px 0; }
.py-40 { padding: 40px 0; }
.py-60 { padding: 60px 0; }
.lede-text { color: #52564a; margin-top: 10px; }
.mt-20-dark { margin-top: 20px; color: #3a3d35; }
.intro-paragraph-14 { margin-top: 14px; max-width: 65ch; color: #3a3d35; }
.intro-paragraph-16 { margin-top: 16px; max-width: 65ch; color: #3a3d35; }
.section-sub-note { margin-top: 16px; color: #52564a; font-size: 14.5px; }
.activities-intro { color: #52564a; max-width: 65ch; margin-top: 16px; font-size: 15.5px; }
.section-intro-text { color: #52564a; max-width: 60ch; margin-top: 16px; }
.mb-32-note { color: #52564a; margin-bottom: 32px; }
.help-hint { font-size: 13px; color: #888; margin-top: 16px; }
.warn-note-small { font-size: 13px; color: #a33; margin-top: 10px; }
.helper-note { font-size: 14px; color: #52564a; margin-top: 8px; }
.new-count-badge { font-size: 16px; color: var(--ember); font-weight: 600; }
.btn-creek-outline { border-color: var(--creek) !important; color: var(--creek) !important; }
.swapped-page-heading {
  font-size: clamp(30px, 4vw, 42px);
  max-width: 640px;
  font-family: 'Fraunces', serif;
  color: var(--pine-deep);
  font-weight: 500;
}
/* Lightbox gallery overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 14, 18, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open {
  display: flex;
}
.lightbox-img {
  max-width: 88vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: 13.5px;
  letter-spacing: 0.03em;
}

@media (max-width: 640px) {
  .lightbox-arrow { width: 42px; height: 42px; font-size: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 16px; font-size: 28px; }
}

/* ===== Moved from views/activities.ejs (was inline <style>, blocked by CSP) ===== */
    .activities-grid {
      margin-top: 40px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 24px;
    }
    .activity-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 6px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .activity-banner {
      height: 90px;
      background: linear-gradient(135deg, var(--pine-deep), var(--pine) 60%, var(--creek));
      display: flex;
      align-items: flex-end;
      padding: 14px 18px;
    }
    .activity-category {
      color: rgba(255,255,255,0.9);
      font-size: 12px;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }
    .activity-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
    .activity-body h3 {
      font-size: 19px;
      margin-bottom: 10px;
    }
    .activity-body p {
      color: #52564a;
      font-size: 14.5px;
      line-height: 1.6;
      flex: 1;
    }
    .activity-link {
      margin-top: 16px;
      color: var(--ember);
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }
    .activity-link:hover { text-decoration: underline; }
    .photo-note {
      background: var(--parchment);
      border-radius: 4px;
      padding: 16px 20px;
      font-size: 13.5px;
      color: #52564a;
      margin-top: 32px;
    }

/* ===== Moved from views/admin-calendars.ejs (was inline <style>, blocked by CSP) ===== */
    .url-cell { font-family: monospace; font-size: 12px; color: #52564a; word-break: break-all; max-width: 320px; }
    .add-form { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 24px; max-width: 560px; }
    .add-form .field { margin-bottom: 16px; }
    .add-form label { display: block; font-size: 14px; color: var(--pine); margin-bottom: 6px; }
    .add-form input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; font-family: 'Inter', sans-serif; font-size: 14.5px; }
    .feed-box { background: var(--parchment); border-radius: 4px; padding: 20px 24px; margin-top: 32px; max-width: 700px; }
    .feed-box code { display: block; background: #fff; padding: 12px 14px; border-radius: 3px; font-size: 13px; margin-top: 10px; word-break: break-all; border: 1px solid var(--line); }
    .error-box { background: #FDEDE8; border: 1px solid #D98A70; color: #a33; padding: 12px 16px; border-radius: 4px; margin-top: 20px; font-size: 14px; }
    .back-link { display: inline-block; margin-top: 32px; font-size: 14px; color: var(--creek); }

/* ===== Moved from views/admin-messages.ejs (was inline <style>, blocked by CSP) ===== */
    .msg-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 4px;
      padding: 20px 24px;
      margin-bottom: 16px;
    }
    .msg-card.is-new { border-left: 3px solid var(--ember); }
    .msg-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      flex-wrap: wrap;
    }
    .msg-meta { font-size: 13.5px; color: #52564a; }
    .msg-meta strong { color: var(--pine-deep); }
    .msg-type {
      display: inline-block;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 3px 8px;
      border-radius: 3px;
      margin-right: 8px;
    }
    .msg-type.question { background: #E3EEF0; color: var(--creek); }
    .msg-type.inquiry { background: #F4E6C8; color: #8A6A1F; }
    .msg-badge-new {
      background: var(--ember);
      color: #fff;
      font-size: 11px;
      padding: 3px 8px;
      border-radius: 3px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .msg-body {
      margin-top: 12px;
      font-size: 14.5px;
      color: #3a3d35;
      white-space: pre-wrap;
      line-height: 1.6;
    }
    .msg-stay-details {
      margin-top: 10px;
      font-size: 13.5px;
      color: var(--pine);
      background: var(--parchment);
      display: inline-block;
      padding: 6px 12px;
      border-radius: 3px;
    }
    .msg-actions { display: flex; gap: 8px; flex-shrink: 0; }
    .msg-actions button {
      border-radius: 3px;
      padding: 6px 12px;
      font-size: 12.5px;
      cursor: pointer;
    }
    .mark-read-btn { background: none; border: 1px solid var(--creek); color: var(--creek); }
    .mark-read-btn:hover { background: var(--creek); color: #fff; }

/* ===== Moved from views/admin-stats.ejs (was inline <style>, blocked by CSP) ===== */
    .stats-section {
      margin-top: 48px;
      padding-top: 40px;
      border-top: 1px solid var(--line);
    }
    .stats-section:first-child {
      margin-top: 24px;
      padding-top: 0;
      border-top: none;
    }
    .stats-section h3 {
      font-size: 20px;
      margin-bottom: 4px;
    }
    .stats-section .subtitle { color: #888; font-size: 13.5px; margin-bottom: 18px; }
    .jail-heading { font-size: 15.5px; margin: 20px 0 8px; display: flex; align-items: center; gap: 10px; }
    .jail-tag {
      font-size: 11px;
      font-family: monospace;
      color: var(--creek);
      background: var(--parchment);
      padding: 2px 8px;
      border-radius: 3px;
      font-weight: 400;
    }
    .bar-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
      font-size: 14px;
    }
    .bar-row .bar-label { width: 140px; flex-shrink: 0; color: #3a3d35; }
    .bar-track {
      flex: 1;
      height: 10px;
      background: var(--parchment);
      border-radius: 6px;
      overflow: hidden;
    }
    .bar-fill { height: 100%; border-radius: 6px; }
    .bar-fill.ok { background: var(--creek); }
    .bar-fill.warn { background: #D9A343; }
    .bar-fill.danger { background: #C25B4A; }
    .bar-value { width: 100px; text-align: right; color: #52564a; font-size: 13.5px; flex-shrink: 0; }
    .stats-section th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; }
    .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: 14px; }
    .info-grid dt { color: var(--creek); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px; }
    .info-grid dd { margin: 0 0 16px 0; color: #3a3d35; }
    .reset-btn { background: none; border: 1px solid #C97A3D; color: #C97A3D; border-radius: 3px; padding: 8px 16px; font-size: 13.5px; cursor: pointer; }
    .reset-btn:hover { background: #C97A3D; color: #fff; }
    .update-alert {
      background: #EAF3EE;
      border: 1px solid #A9CDB8;
      color: #235C3E;
      padding: 14px 18px;
      border-radius: 4px;
      font-size: 14px;
      line-height: 1.5;
    }
    .update-alert code { background: rgba(0,0,0,0.06); padding: 2px 6px; border-radius: 3px; font-size: 12.5px; }
    .update-alert-ok { background: #EAF3EE; border-color: #A9CDB8; color: #235C3E; }
    .update-alert-warn { background: #FFF4E0; border-color: #E8C87A; color: #7A5A15; }
    .update-alert-danger { background: #FDEDE8; border-color: #D98A70; color: #9C3B21; }
    .backup-box {
      background: var(--parchment);
      border-radius: 4px;
      padding: 24px 28px;
      margin-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      flex-wrap: wrap;
    }
    .backup-box p { color: #52564a; font-size: 14px; margin: 6px 0 0 0; max-width: 560px; }

    @media (max-width: 900px) {
      .info-grid { grid-template-columns: 1fr; }
    }

/* ===== Moved from views/admin.ejs (was inline <style>, blocked by CSP) ===== */
    .status { padding: 3px 10px; border-radius: 20px; font-size: 12px; }
    .status.paid { background: #DCEBD9; color: #2A5C24; }
    .status.pending { background: #F4E6C8; color: #8A6A1F; }
    .status.cancelled { background: #EDD; color: #A33; }
    .reminder { background: #FFF4E0; border: 1px solid #E8C87A; padding: 16px 20px; border-radius: 4px; margin-top: 20px; font-size: 14px; }
