/* ==== INAKA LODGE — CLEAN CUSTOM CSS ==== */

/* ---------- Root variables & global setup ---------- */
:root {
  --nav-bg: rgba(255,255,255,0.90);
  --nav-bg-scrolled: rgba(255,255,255,0.95);
  --nav-text: #222;
  --nav-height: 64px;
  --nav-height-scrolled: 56px;
  --border-color: rgba(0,0,0,.06);
  --blur: 10px;

  /* Booking palette */
  --booking-room-bg: #E3DEDB;
  --booking-lodge-bg: #EFE2D0;
  --booking-card-bg: #FFFFFF;
  --booking-button-bg: hsl(118, 25%, 23%);
  --booking-calendar-available: #FFFFFF;
  --booking-calendar-booked: #C6B6AD;
}

html { scroll-behavior: smooth; }
body { padding-top: 0 !important; }
/* Wrapper: keep desktop layout at a fixed max width */
#wrapper {
  padding-top: var(--nav-height);
  max-width: 1400px;   /* tweak this until it matches how it looks on your MacBook */
  margin: 0 auto;      /* center the whole site on big screens */
}

/* ---------- Fixed Top Navigation ---------- */
.site-header {
  position: fixed;
  top:0; left:0; right:0;
  height:var(--nav-height);
  z-index:100000;
  background:var(--nav-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-bottom:1px solid var(--border-color);
  box-shadow:0 1px 10px rgba(0,0,0,.05);
  transition: height .18s ease, background .18s ease, box-shadow .18s ease;
}
.site-header.scrolled {
  height: var(--nav-height-scrolled);
  background: var(--nav-bg-scrolled);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.nav-inner {
  max-width:1152px;
  margin:0 auto;
  height:100%;
  display:flex;
  align-items:center;
  gap:16px;
  padding:0 20px;
}

.brand {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--nav-text);
  text-decoration:none;
  white-space:nowrap;
}
.site-header .brand img.brand-logo {
  height:90px !important;
  width:auto !important;
  display:block;
}
.site-header.scrolled .brand img.brand-logo {
  height:75px !important;
}

.site-nav {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:20px;
}
.site-nav a {
  color: var(--nav-text);
  text-decoration:none;
  font-size:15px;
  padding:8px 4px;
  border-bottom:2px solid transparent;
  transition: border-color .16s ease, opacity .16s ease;
}
.site-nav a:hover { opacity:.8; }
.site-nav a.active { border-bottom-color:#222; }

/* Mobile nav */
.nav-toggle {
  margin-left:auto;
  display:none;
  background:transparent;
  border:none;
  padding:8px;
  cursor:pointer;
}
.nav-toggle span {
  display:block;
  width:22px;
  height:2px;
  background:var(--nav-text);
  margin:4px 0;
}
@media (max-width: 860px){
  .nav-toggle{ display:inline-block; }
  .site-nav{
    position:absolute;
    top:100%; right:0; left:0;
    background:var(--nav-bg-scrolled);
    backdrop-filter:blur(var(--blur));
    -webkit-backdrop-filter:blur(var(--blur));
    border-bottom:1px solid var(--border-color);
    display:none;
    flex-direction:column;
    padding:8px 12px 12px;
  }
  .site-nav a{ padding:12px 6px; border:none; }
  .site-nav.open{ display:flex; }
}

/* NAV GROUP: THE LODGE + DROPDOWN */
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-parent {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 8px 4px !important;
  margin: 0 !important;
  font: inherit;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--nav-text);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.nav-parent:hover { opacity: 0.8; }
.nav-parent,
.nav-parent:focus,
.nav-parent:active {
  box-shadow: none !important;
}
.nav-parent::-moz-focus-inner { border:0 !important; }

.nav-dropdown { display:none; }

@media (min-width: 861px) {
  .nav-dropdown {
    position:absolute;
    top:100%; left:0;
    background: rgba(255,255,255,0.95);
    border:none;
    padding:8px 12px;
    min-width:180px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    z-index:100001;
  }
  .nav-group:hover .nav-dropdown { display:block; }
  .nav-dropdown a {
    display:block;
    padding:6px 0;
    color:var(--nav-text);
    text-align:left;
  }
  .nav-dropdown a:hover { opacity:.8; }
}

/* Mobile dropdown always visible under THE LODGE */
@media (max-width: 860px) {
  .nav-group {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-parent { width:100%; text-align:left; }
  .nav-dropdown {
    display:block;
    padding-left:12px;
  }
  .nav-dropdown a { padding:6px 6px; }
}

/* BOOK NOW CTA */
.site-nav a.nav-cta {
  background: #1f4d3a;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px !important;
  font-weight: 700;
  border-bottom: none !important;
}
.site-nav a.nav-cta:hover { opacity:0.9; }
.site-nav a.nav-cta.active {
  border-bottom:none !important;
  background:#194031;
  opacity:1;
}
@media (max-width: 860px) {
  .site-nav a.nav-cta {
    width:100%;
    text-align:center;
    padding:12px 0;
  }
}

/* ---------- Hero Section ---------- */
#intro {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:100vh !important;
  text-align:center !important;
}
#intro .hero-title {
  margin:0 0 .15rem 0;
  transform:translateY(-7vh);
}
#intro .intro-sub {
  display:block;
  font-size:.9rem !important;
  letter-spacing:.30em !important;
  font-weight:700 !important;
  text-transform:uppercase !important;
  opacity:.9;
}
#intro .intro-main {
  display:block;
  font-weight:800 !important;
  letter-spacing:.01em !important;
  line-height:1.06 !important;
  font-size:clamp(2.8rem,7vw,4.25rem) !important;
}
#intro p.hero-tagline {
  margin-top:.15rem !important;
  font-style:italic;
}

/* ---------- Main base + section dividers ---------- */
#main { background:#fff; }

:target { scroll-margin-top:80px; }

#main > .post {
  position:relative;
  border-top:none !important;
  margin-top:6rem !important;
  padding-top:1.5rem !important;
}
#main > .post::before {
  content:"";
  position:absolute;
  left:3rem;
  right:3rem;
  top:-3rem;
  height:1px;
  background:rgba(0,0,0,.50);
  z-index:0;
}
@media (max-width:980px){
  #main > .post::before { left:0; right:0; top:-3rem; }
}

/* Reduce spacing inside posts */
.post .major { margin-bottom:1.5rem !important; }
.post .major h2 { margin-bottom:0 !important; }

section.post {
  margin-bottom:2.5rem !important;
  padding-bottom:1.5rem !important;
}

/* ---------- At the Lodge ---------- */
.lodge-panorama img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  display: block;
}
/* Wider intro paragraph under "At the Lodge" */
.centered-lodge-intro {
  max-width: 1100px;      /* roughly matches the image area */
  margin: 0 auto 2rem auto;
  text-align: center;
  line-height: 1.6;
}


/* ---------- Explore long section (not the 2-card grid) ---------- */
#explore > h3:first-of-type,
#explore > h3:last-of-type {
  font-size: 1rem !important;
  line-height: 1.6;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}
#explore > h3:first-of-type { margin-bottom: 1rem; }
#explore > h3:last-of-type { margin-top: 2rem; margin-bottom: 0; }

.explore-panorama img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  display: block;
}

/* ---------- About section split layout ---------- */
#about .about-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2.5rem;
  margin: 3rem 0;
}
#about .about-text { flex: 1.6 1 320px; }
#about .about-image { flex: 1.4 1 300px; }
#about .about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
@media (max-width: 768px) {
  #about .about-split { flex-direction: column; }
}
.about-title { margin-bottom:0.5rem; text-align:center; }
.about-block { margin-bottom:3rem; }
.about-split + h3 {
  text-align:center;
  margin-top:2rem;
}
#about .about-under {
  display:block;
  width:100%;
  text-align:center;
  margin-top:2rem;
  line-height:1.6;
}

/* ---------- COMMUNITY SECTION ---------- */
#community .community-row,
#community .community-split {
  display:flex;
  flex-wrap:wrap;
  gap:2.5rem;
  margin:3rem 0;
  align-items:flex-start;
}
@media (min-width: 900px) {
  #community .community-image {
    flex:0 0 55%;
    max-width:55%;
  }
  #community .community-text {
    flex:1 1 0;
  }
}
@media (max-width: 899px) {
  #community .community-image,
  #community .community-text {
    flex:1 1 100%;
    max-width:100%;
  }
}
#community .community-image img {
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
}
#community .community-text-below {
  max-width:900px;
  margin:1.5rem auto 0;
  font-size:1rem;
}
#community .community-row { margin-bottom:0.5rem !important; }
#community .community-text-below { margin-top:0 !important; }
#community .community-text-below p { margin-top:0; }

/* Winter season beige block */
#community .community-season-block {
  background: rgba(243, 233, 221, 0.5);
  border-radius:16px;
  width:calc(100% + 6rem);
  margin:3rem -3rem;
  padding:2.5rem 3rem;
}
#community .winter-season-title {
  text-align:center;
  margin:0 0 2rem 0;
}
#community .community-two-cols {
  display:grid;
  gap:2rem 4rem;
  max-width:960px;
  margin:0 auto;
  width:100%;
}
@media (min-width:900px) {
  #community .community-two-cols {
    grid-template-columns:60% 40%;
  }
  #community .community-two-cols .community-col:last-child p {
    white-space:normal;
  }
  #community .community-season-block p {
    font-size:0.95rem;
  }
}
@media (max-width:899px) {
  #community .community-two-cols {
    grid-template-columns:1fr;
  }
}

/* HOW TO JOIN */
#community .how-to-join-block {
  max-width:900px;
  margin:3rem auto 0 auto;
  text-align:center;
}
#community .how-to-join-block h2 { margin-bottom:1rem; }
#community .how-to-join-block p {
  text-align:center !important;
  margin-left:auto;
  margin-right:auto;
}

/* Little winter note in LODGE */
#lodge .winter-note {
  text-align:center;
  font-size:1rem;
  line-height:1.6;
  max-width:900px;
  margin:1.5rem auto 0;
}

/* ---------- GETTING HERE (ARRIVAL & ACCESS) ---------- */
#getting-here .split {
  display:flex;
  gap:2rem;
  align-items:flex-start;
}
#getting-here .split .image,
#getting-here .split .content {
  flex:1;
}
#getting-here .split .image img {
  width:100%;
  height:auto;
  border-radius:6px;
}
@media (max-width:768px){
  #getting-here .split { flex-direction:column; }
}

/* ---------- PLAN YOUR STAY ---------- */
#plan-your-stay {
  position:relative;
  padding-top:1.5rem;
  margin-top:6rem;
  border-top:none !important;
  scroll-margin-top:80px;
}
#plan-your-stay::before {
  content:"";
  position:absolute;
  left:3rem; right:3rem; top:-3rem;
  height:1px;
  background:rgba(0,0,0,.50);
  z-index:0;
}
@media (max-width:980px){
  #plan-your-stay::before { left:0; right:0; }
}
#plan-your-stay .plan-intro {
  max-width:100%;
  margin:0 0 2rem 0;
  font-size:0.95rem;
  opacity:0.9;
}
#plan-your-stay .stay-layout {
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:2.5rem;
  align-items:stretch;
}
@media (max-width:840px){
  #plan-your-stay .stay-layout { grid-template-columns:1fr; }
}
#plan-your-stay .stay-block {
  border-radius:14px;
  padding:1.8rem 1.8rem 2.5rem;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
  border:none;
  display:flex;
  flex-direction:column;
  height:100%;
}
#plan-your-stay .stay-block-lodge { background:var(--booking-lodge-bg); }
#plan-your-stay .stay-block-shared { background:var(--booking-room-bg); }
#plan-your-stay .stay-block h3 { margin-bottom:0.75rem; }
#plan-your-stay .stay-block p {
  margin-bottom:0.9rem;
  font-size:0.95rem;
}

/* Buttons in cards */
#plan-your-stay .button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 20px;
  border-radius:6px;
  font-weight:700;
  font-size:0.95rem;
  border:none !important;
  margin-top:auto;           /* pinned to bottom */
  margin-left:auto;
  margin-right:auto;
  box-shadow:none !important;
  outline:none !important;
}
#plan-your-stay .btn-lodge {
  background:#D1B890;
  color:#fff !important;
}
#plan-your-stay .btn-lodge:hover { background:#B89F78; }
#plan-your-stay .btn-room {
  background:#C4B7AD;
  color:#fff !important;
}
#plan-your-stay .btn-room:hover { background:#AA9E94; }

/* ---------- BOOKING – GENERIC ---------- */
#booking {
  scroll-margin-top:80px;
}
#booking p {
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
#booking > header.major p {
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
}

/* Section wrappers */
/* BOOKING SECTION BACKGROUNDS — CLEAN + NO WHITE GAPS */
#booking {
  /* Make entire booking zone the ROOM color so even 1px gaps aren't white */
  background: var(--booking-room-bg);
}

/* Inner booking blocks — they TOUCH each other (no gap possible) */
#room-by-room,
#book-lodge {
  border-radius: 0;
  padding: 2.5rem 2rem 3rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Top block */
#room-by-room {
  background: var(--booking-room-bg);
}

/* Bottom block */
#book-lodge {
  background: var(--booking-lodge-bg);
}


#room-by-room .major,
#book-lodge .major {
  max-width:960px;
  margin-left:auto;
  margin-right:auto;
}

/* Lead text / info blocks */
.booking-lead {
  max-width:100%;
  margin:0 0 2rem 0;
  font-size:0.95rem;
}
.booking-weeks,
.booking-info {
  max-width:820px;
  margin:0 auto 2rem auto;
  font-size:0.95rem;
}
.booking-info { margin-top:2rem; margin-bottom:2.5rem; }
.booking-info p {
  text-align:left;
  margin-bottom:0.4rem;
}
.booking-weeks h4 {
  text-align:center;
  margin-bottom:0.75rem;
}
.booking-weeks ul {
  list-style:none;
  padding:0;
  margin:0;
}
.booking-weeks li {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:0.5rem;
  padding:0.6rem 0;
  border-bottom:1px solid rgba(0,0,0,0.08);
  font-size:0.95rem;
}
.booking-weeks li:last-child { border-bottom:none; }
.booking-weeks .spots-left {
  font-size:0.85rem;
  opacity:0.8;
}

/* Form cards */
.booking-form {
  max-width:820px;
  margin:0 auto 0 auto;
  background:var(--booking-card-bg);
  border-radius:14px;
  padding:1.8rem 1.8rem 2.2rem;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
}
.booking-form label {
  text-align:left;
  display:block;
}
.booking-form .fields {
  margin-bottom:1.5rem;
}
.booking-form .actions {
  justify-content:center;
}
.booking-form .actions .button,
.booking-form .actions .button:focus,
.booking-form .actions .button:active,
.booking-form .actions .button:visited {
  border:none !important;
  box-shadow:none !important;
  outline:none !important;
}
.booking-button {
  background:var(--booking-button-bg);
  color:#fff !important;
  border-radius:6px;
  font-weight:700;
  border:none;
}
.booking-button:hover { opacity:0.9; }

/* ---------- AVAILABILITY CALENDAR (BOOK THE LODGE) ---------- */
.availability-calendar {
  max-width:960px;
  margin:0 auto 2.5rem auto;
  padding:1.8rem 1.8rem 2rem;
  border-radius:14px;
  background:#f7f7f7;
  box-shadow:0 2px 10px rgba(0,0,0,0.04);
}
.availability-calendar .calendar-note {
  font-size:0.9rem;
  opacity:0.85;
  text-align:left;
  margin-bottom:1.5rem;
}
.calendar-controls {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:1.5rem;
}
.calendar-controls button {
  background:transparent;
  border:1px solid rgba(0,0,0,0.7);
  font-size:1.3rem;
  line-height:1;
  padding:0.35rem 0.75rem;
  cursor:pointer;
}
.calendar-controls button:hover { opacity:0.7; }
.calendar-current-month {
  font-weight:600;
  font-size:1.1rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  text-align:center;
}

/* months-slider */
.calendar-month + .calendar-month { margin-top:2rem; }
.calendar-month h4 { display:none; }

.calendar-slider .calendar-month { display:none; }
.calendar-slider .calendar-month.active { display:block; }

/* grid */
.calendar-grid {
  display:grid;
  grid-template-columns:repeat(7, minmax(0,1fr));
  gap:0.25rem;
  font-size:0.8rem;
}
.day-name {
  font-weight:600;
  text-align:center;
  padding:0.25rem 0;
}
.day {
  min-height:2.2rem;
  border-radius:6px;
  text-align:center;
  padding:0.4rem 0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.day.empty { background:transparent; }
.day.available {
  background:var(--booking-calendar-available);
  border:1px solid rgba(0,0,0,0.06);
}
.day.booked {
  background:var(--booking-calendar-booked);
  border:1px solid rgba(0,0,0,0.08);
}

/* legend */
.calendar-legend {
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  margin-top:0.75rem;
  font-size:0.85rem;
  justify-content:center !important;
  text-align:center !important;
}
.legend-box {
  display:inline-block;
  width:14px;
  height:14px;
  border-radius:4px;
  margin-right:0.25rem;
  vertical-align:middle;
  border:1px solid rgba(0,0,0,0.08);
}
.legend-box.available { background:var(--booking-calendar-available); }
.legend-box.booked { background:var(--booking-calendar-booked); }

@media (max-width:640px){
  #room-by-room,
  #book-lodge {
    padding:2rem 1.2rem 2.4rem !important;
  }
  .booking-weeks li {
    flex-direction:column;
    align-items:flex-start;
  }
  .availability-calendar {
    padding:1.4rem 1.2rem 1.6rem;
  }
  .calendar-grid { font-size:0.75rem; }
}

/* ---------- THANK YOU BLOCK (when section is replaced) ---------- */
.booking-thankyou {
  text-align:center;
  max-width:960px;
  margin:3rem auto 3rem auto;
  padding:2rem 1.5rem;
}
.booking-thankyou h2 { margin-bottom:1rem; }
.booking-thankyou p {
  margin-bottom:0.6rem;
  text-align:center !important;
  margin-left:auto;
  margin-right:auto;
}

/* ================================
   TRUE 2-COL POSTS (EXPLORE + ABOUT)
   Restored from original working version
   ================================ */

/* Outer grid */
#main > .posts {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 3rem 2rem !important;
  padding-left: 3rem !important;
  padding-right: 3rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 auto !important;
  max-width: 1200px !important;
  text-align: left !important;
  border-top: 0 !important;
}

/* Mobile: 1 column */
@media (max-width: 980px){
  #main > .posts {
    grid-template-columns: 1fr !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* Remove Massively default padding/borders */
#main > .posts > * {
  padding: 0 !important;
  width: auto !important;
}
#main > .posts > article {
  border: 0 !important;
}

/* Card structure */
#main > .posts article {
  display: flex;
  flex-direction: column;
}

/* Title + intro text */
#main > .posts article header h2 {
  text-align: center !important;
  margin-bottom: 0.5rem !important;
}

#main > .posts article header p {
  text-align: center !important;
  margin: 0 auto 1rem auto !important;
  max-width: 600px !important;
  font-style: normal !important;   /* remove italic */
}

/* Image with perfect 3:2 ratio */
.image.fit.ratio {
  aspect-ratio: 3 / 2 !important;
  overflow: hidden !important;
  border-radius: 4px !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 520px !important;
}

.image.fit.ratio img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Buttons aligned at bottom */
#main > .posts article .actions {
  margin-top: auto !important;
  display: flex;
  justify-content: center !important;
}
/* Add breathing space above buttons in 2-post grid */
#main > .posts article .actions {
  margin-top: 1.5rem !important;
}
#main > .posts article p {
  margin-top: 0.4rem !important;
  margin-bottom: 0.4rem !important;
  line-height: 1.45 !important;
}
/* Turn off divider for sections marked .no-divider */
#main > .post.no-divider::before {
  display: none;
}

/* If you also want Plan your stay to respect .no-divider */
#plan-your-stay.no-divider::before {
  display: block;
}
/* Move divider on "Where to find us?" from above to below the section */
#getting-here::before {
  display: none;          /* kill the default top line for this section only */
}

#getting-here::after {
  content: "";
  position: absolute;
  left: 3rem;
  right: 3rem;
  bottom: -3rem;          /* pushes the line below the section */
  height: 1px;
  background: rgba(0,0,0,.50);
  z-index: 0;
}

@media (max-width: 980px) {
  #getting-here::after {
    left: 0;
    right: 0;
  }
}
/* Equal spacing between divider and section title in Explore/About grid */
#posts {
  padding-top: 3rem !important;   /* match the bottom spacing before the next divider */
  margin-top: 3rem !important;    /* pushes the whole grid down equally */
}
/* Extra space between the divider under "Where to find us?" and the EXPLORE / ABOUT titles */
#main > #posts {
  padding-top: 3rem !important;   /* space from line down to titles */
}
/* Restore divider above Gallery */
#gallery::before {
  display: block !important;
}
/* Remove the very first divider (the one floating above the first section) */
#main > .post:first-of-type::before {
  display: none !important;
}

/* Style the At the Lodge paragraph-title */
#lodge #lodge-title {
  font-size: 2.3rem;        /* h1-like */
  font-style: italic;
  font-weight: 400;         /* paragraph weight */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.2rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
}
/* Fix Send Booking Request button turning blue */
.booking-button,
.booking-button:visited,
.booking-button:active,
.booking-button:focus {
  color: #fff !important;
  background: var(--booking-button-bg) !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* Hover state — your existing darken effect */
.booking-button:hover {
  background: #163a2c !important; /* slightly darker shade than your green */
  color: #fff !important;
}
/* Match BOOK NOW nav button color to booking buttons */
.site-nav a.nav-cta {
  background: var(--booking-button-bg) !important;
}

.site-nav a.nav-cta:hover {
  background: #163a2c !important; /* same hover logic as booking-button */
}

.site-nav a.nav-cta.active {
  background: #163a2c !important;
}

/* Reduce gap between Book the Lodge and Where to Find Us */
#main > #getting-here {
  margin-top: 2rem !important;   /* tweak this number to taste */
  padding-top: 1rem !important;
}
/* Remove extra white space between ROOM BY ROOM and BOOK THE LODGE */
#room-by-room.post {
  margin-bottom: 0 !important;
  padding-bottom: 2.5rem !important;
}

#book-lodge.post {
  margin-top: 0 !important;
}

.access-map-click {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.access-map-click:hover {
  opacity: 0.85;
}
/* ==== GALLERY SECTION ==== */

#gallery .gallery-intro {
  max-width: 38rem;
  margin: 0 auto 2rem auto;
  text-align: center;
}

/* Force proper grid layout for gallery */
#gallery .gallery-grid {
  display: grid !important;
  gap: 1.75rem;
  grid-auto-rows: 1fr;
}

/* Desktop: 3 columns */
@media (min-width: 981px) {
  #gallery .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Tablet: 2 columns */
@media (max-width: 980px) and (min-width: 641px) {
  #gallery .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Phone: 1 column */
@media (max-width: 640px) {
  #gallery .gallery-grid {
    grid-template-columns: 1fr !important;
  }
}

#gallery .gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  cursor: zoom-in;
  width: 100%;
  height: 100%;
}

#gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

#gallery .gallery-item:hover img {
  transform: scale(1.03);
  opacity: 0.96;
}


/* ==== LIGHTBOX OVERLAY – FULL VIEWPORT, CENTERED IMAGE ==== */

.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 3rem 4rem;              /* space around the image */
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  z-index: 99999;                  /* above nav */
  transition: opacity 0.25s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox .lightbox-img {
  max-width: 90vw;
  max-height: calc(100vh - 14rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery-lightbox .lightbox-caption {
  color: #f5f5f5;
  font-size: 0.95rem;
  text-align: center;
  max-width: 40rem;
  margin: 0 1.5rem;
  opacity: 0.9;
}

/* Lightbox controls – centered on left/right */

.gallery-lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem 0.8rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox button:hover {
  opacity: 1;
  transform: scale(1.05);
}

.lightbox-close {
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2.4rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 736px) {
  .gallery-lightbox {
    padding: 2.5rem 1.5rem;
  }

  .gallery-lightbox .lightbox-img {
    max-width: 94vw;
    max-height: calc(100vh - 7rem);
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 1.8rem;
  }
}
/* ---------- ROOM-BY-ROOM AVAILABILITY CALENDAR ---------- */

#room-by-room .availability-calendar.room-calendar {
  background: #f7f7f7; /* close to --booking-room-bg */
}

/* Palette: white = available, tinted = booked */
#room-by-room .availability-calendar.room-calendar .day.available {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
}

#room-by-room .availability-calendar.room-calendar .calendar-legend {
  justify-content: center;
}
/* ROOM-BY-ROOM calendar palette: white = available, section tone = booked */
#room-by-room .availability-calendar.room-calendar .day.available {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
}

#room-by-room .availability-calendar.room-calendar .day.booked {
  background: var(--booking-room-bg);  /* matches section background tone */
  border: 1px solid rgba(0,0,0,0.12);
}
/* Turnover (check-in / check-out) cells – diagonal split */

/* Booked → Available (booked bottom-left, white top-right) */
#room-by-room .availability-calendar.room-calendar .day.turnover-ba {
  background: linear-gradient(
    to top right,
    var(--booking-room-bg) 0%,
    var(--booking-room-bg) 50%,
    #ffffff 50%,
    #ffffff 100%
  );
  border: 1px solid rgba(0,0,0,0.18);
}

/* Available → Booked (white bottom-left, booked top-right) */
#room-by-room .availability-calendar.room-calendar .day.turnover-ab {
  background: linear-gradient(
    to top right,
    #ffffff 0%,
    #ffffff 50%,
    var(--booking-room-bg) 50%,
    var(--booking-room-bg) 100%
  );
  border: 1px solid rgba(0,0,0,0.18);
}
/* Make legend color match booked day cells in ROOM calendar */
#room-by-room .availability-calendar.room-calendar .legend-box.booked {
  background: var(--booking-room-bg);
  border-color: rgba(0,0,0,0.12);
}
/* Calendars: show month name only in the label between arrows */
.availability-calendar .calendar-slider .calendar-month > h4 {
  display: none;
}
/* ---------- STAY RULES BLOCK ---------- */

#room-by-room .booking-rules-title {
  text-align: center;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 600;
}

#room-by-room .stay-rules-box {
  background: var(--booking-room-bg);
  padding: 1rem 1.4rem;
  border-radius: 10px;
  max-width: 480px;
  margin: 0 auto 2rem auto;
  border: 1px solid rgba(0,0,0,0.08);
}


#room-by-room .stay-rules-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
}

#room-by-room .stay-rules-box li {
  margin: 0.25rem 0;
}
/* Turnover (check-in / check-out) cells – full lodge calendar */
#book-lodge .availability-calendar .day.turnover-ba {
  background: linear-gradient(
    to top right,
    var(--booking-calendar-booked) 0%,
    var(--booking-calendar-booked) 50%,
    var(--booking-calendar-available) 50%,
    var(--booking-calendar-available) 100%
  );
  border: 1px solid rgba(0,0,0,0.18);
}

#book-lodge .availability-calendar .day.turnover-ab {
  background: linear-gradient(
    to top right,
    var(--booking-calendar-available) 0%,
    var(--booking-calendar-available) 50%,
    var(--booking-calendar-booked) 50%,
    var(--booking-calendar-booked) 100%
  );
  border: 1px solid rgba(0,0,0,0.18);
}
