/* ==========================================================
   Leisure Cottages — page components
   (listings, detail pages, tours, contact, lightbox, forms)
   ========================================================== */

/* ---------- shared: logo image in nav/footer ---------- */
.logo-img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}
.footer-brand .logo-img { width: 44px; height: 44px; border-radius: 9px; }

/* active nav link */
.nav-links a.active {
  color: var(--parchment);
  border-bottom-color: var(--brass);
}

/* nav fits 7 links: tighten before hamburger kicks in */
@media (max-width: 1180px) {
  .nav-inner { gap: 22px; }
  .nav-links { gap: 18px; font-size: 0.9rem; }
}
@media (max-width: 1050px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- breadcrumb ---------- */
.crumbs {
  font-size: 0.85rem;
  color: rgba(234, 229, 217, 0.7);
  margin-bottom: 16px;
}
.crumbs a { display: inline-block; padding: 4px 0; } /* same 24px+ tap target as nav.crumbs a */
.crumbs a:hover { color: var(--brass); }
.crumbs span { color: var(--brass); margin: 0 8px; }

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.page-hero .hero-media img { animation: none; }
.page-hero .hero-veil {
  background:
    linear-gradient(180deg, rgba(11,20,17,0.72) 0%, rgba(11,20,17,0.35) 45%, rgba(11,20,17,0.95) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 60px 32px 44px;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 300;
}
.page-hero .page-sub {
  margin-top: 14px;
  color: rgba(234, 229, 217, 0.88);
  max-width: 58ch;
}
.page-hero .cap-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 16px;
  border: 1px solid rgba(196, 162, 86, 0.55);
  border-radius: 100px;
  color: var(--brass);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(11, 20, 17, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* ---------- facts bar ---------- */
.facts-bar {
  background: var(--moss);
  border-bottom: 1px solid var(--line);
}
.facts-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 48px;
}
.fact dt {
  font-size: 0.78rem;
  color: var(--sage);
  margin-bottom: 3px;
}
.fact dd {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--parchment);
}

/* ---------- detail layout (content + sticky booking) ---------- */
.detail-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 32px 40px;
  display: grid;
  grid-template-columns: 1fr 372px;
  gap: 64px;
  align-items: start;
}
.detail-main > section { margin-bottom: 72px; scroll-margin-top: calc(var(--nav-h) + 16px); }

.detail-main h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 24px;
}
.detail-main .lead {
  font-size: 1.08rem;
  color: rgba(234, 229, 217, 0.88);
  max-width: 68ch;
}
.detail-main .lead + .lead { margin-top: 16px; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-grid button {
  padding: 0;
  border: none;
  background: var(--fern);
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  aspect-ratio: 4 / 3;
}
.gallery-grid button:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.88);
}
.gallery-grid button:hover img { transform: scale(1.04); filter: saturate(1); }

/* Equal-weight collections: when one page shows several cottages, no single
   thumbnail should take the hero cell. */
.gallery-grid.even button:first-child {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: 4 / 3;
}
/* Panoramic sets (the glass 6 BHK villa) keep their wide aspect. */
.gallery-grid.pan { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.pan button,
.gallery-grid.pan button:first-child {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: 1600 / 721;
}
.gallery-grid.pan button:first-child { grid-column: 1 / -1; }

/* Several collections on one page (three 3 BHK homes, two 6 BHK homes). */
#photos > .lead { margin-bottom: 30px; }
.gallery-set { scroll-margin-top: calc(var(--nav-h) + 16px); }
.gallery-set + .gallery-set { margin-top: 46px; }
.gallery-set h3 { font-size: 1.35rem; margin-bottom: 6px; }
.gallery-note {
  color: var(--sage);
  font-size: 0.95rem;
  margin-bottom: 18px;
  max-width: 62ch;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 11, 9, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
}
.lb-btn {
  position: absolute;
  background: rgba(234, 229, 217, 0.1);
  border: 1px solid rgba(234, 229, 217, 0.25);
  color: var(--parchment);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  transition: background 0.25s ease;
}
.lb-btn:hover { background: rgba(234, 229, 217, 0.22); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--sage);
  font-size: 0.9rem;
}

/* ---------- amenities ---------- */
.amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.amenities li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.amenities li:nth-child(odd) { padding-right: 28px; }
.amenities li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.amenities svg { width: 22px; height: 22px; color: var(--brass); flex-shrink: 0; margin-top: 3px; }
.amenities strong { display: block; font-weight: 600; }
.amenities span { color: var(--sage); font-size: 0.9rem; }

/* ---------- map ---------- */
.map-frame {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  filter: grayscale(0.4) contrast(0.95);
}
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- booking card ---------- */
.booking-card {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  border: 1px solid var(--line);
  background: var(--moss);
  border-radius: 6px;
  padding: 28px;
}
.booking-card h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.booking-card .booking-note {
  font-size: 0.9rem;
  color: var(--sage);
  margin-bottom: 22px;
}
.booking-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brass);
  margin-bottom: 20px;
}
.booking-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--sage);
  margin-top: 4px;
}

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sage);
}
.field input,
.field select,
.field textarea {
  background: var(--pine);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 12px 14px;
  transition: border-color 0.25s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; cursor: pointer; }
/* Belt-and-braces: never let a form control push past its column (booking card
   is 316px of content; the date inputs' intrinsic width was forcing the grid
   to lay out at 347px and overflow the card's right edge). */
.field input,
.field select,
.field textarea { max-width: 100%; min-width: 0; }
.booking-card .btn { width: 100%; text-align: center; margin-top: 16px; }
.form-fine {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--sage);
  text-align: center;
}
.form-error {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #E8A0A0;
  display: none;
}
.form-error.show { display: block; }

/* ---------- other cottages ---------- */
.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ---------- listings page ---------- */
.listing-controls {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.chip:hover { border-color: rgba(234, 229, 217, 0.4); color: var(--parchment); }
.chip.active {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--pine);
}

.listing-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 36px 32px 100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 36px;
}
.listing-card { display: flex; flex-direction: column; }
.listing-card.hidden { display: none; }
.listing-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 11;
}
.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.6s ease;
}
.listing-card:hover .listing-media img { transform: scale(1.04); }
.listing-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 20, 17, 0.85);
  backdrop-filter: blur(6px);
  color: var(--parchment);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid rgba(234, 229, 217, 0.2);
}
.listing-body { padding: 18px 4px 0; }
.listing-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
}
.listing-top h3, .listing-top h2 { font-size: 1.45rem; }
.listing-cap { font-size: 0.9rem; color: var(--brass); font-weight: 600; white-space: nowrap; }
.listing-meta { font-size: 0.9rem; color: var(--sage); margin-bottom: 10px; }
.listing-desc { font-size: 0.97rem; color: rgba(234, 229, 217, 0.8); margin-bottom: 16px; max-width: 56ch; }
.listing-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.listing-rate { font-size: 0.88rem; color: var(--sage); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- secondary collection band ---------- */
.collection-band {
  max-width: var(--wrap);
  margin: 0 auto 100px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.collection-media {
  overflow: hidden;
  border-radius: 8px 0 0 8px;
  min-height: 340px;
}
.collection-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.6s ease;
}
.collection-band:hover .collection-media img { transform: scale(1.03); }
.collection-body {
  background: var(--fern);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.collection-eyebrow {
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.collection-body h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 10px 0 14px;
}
.collection-body p {
  color: var(--sage);
  max-width: 52ch;
  font-size: 0.98rem;
}
.collection-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
}
.collection-points li {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 0.82rem;
  color: var(--sage);
}
.collection-body .btn { align-self: flex-start; }

/* ---------- tours ---------- */
.tour-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 32px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.tour-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--moss);
  display: flex;
  flex-direction: column;
}
.tour-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: saturate(0.88);
}
.tour-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.tour-body h3, .tour-body h2 { font-size: 1.4rem; margin-bottom: 8px; }
.tour-body p { font-size: 0.95rem; color: rgba(234, 229, 217, 0.8); flex: 1; }
.tour-stops {
  margin-top: 14px;
  font-size: 0.87rem;
  color: var(--sage);
  line-height: 1.7;
}
.tour-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tour-price { font-family: var(--font-display); font-size: 1.2rem; color: var(--brass); }
.tour-price small { font-family: var(--font-body); font-size: 0.78rem; color: var(--sage); display: block; }

/* ---------- contact page ---------- */
.contact-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 32px 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.contact-list { border-top: 1px solid var(--line); margin-top: 28px; }
.contact-list > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.contact-list dt { color: var(--sage); }
.contact-list dd { font-weight: 600; text-align: right; }
.contact-list a:hover { color: var(--brass); }
.contact-form {
  border: 1px solid var(--line);
  background: var(--moss);
  border-radius: 6px;
  padding: 36px;
}
.contact-form h3 { font-size: 1.6rem; margin-bottom: 6px; }
.contact-form .booking-note {
  font-size: 0.92rem;
  color: var(--sage);
  margin-bottom: 24px;
}
.contact-form .btn { width: 100%; text-align: center; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--wrap); margin: 0 auto; padding: 0 32px 100px; }
.faq h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 28px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-weight: 600;
  font-size: 1.03rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brass);
  font-size: 1.4rem;
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p {
  padding: 0 40px 22px 0;
  color: var(--sage);
  max-width: 72ch;
}
.faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}
.faq-cta p { margin: 0; color: var(--sage); max-width: 62ch; }
.faq-cta a:not(.btn) { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .detail-wrap { grid-template-columns: 1fr; gap: 48px; }
  .booking-card { position: static; }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .other-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 860px) {
  .page-hero-content { padding: 44px 24px 36px; }
  .detail-wrap, .listing-controls, .listing-grid, .tour-grid, .faq, .contact-wrap { padding-left: 24px; padding-right: 24px; }
  .collection-band { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; margin-bottom: 70px; }
  .collection-media { border-radius: 8px 8px 0 0; min-height: 0; aspect-ratio: 16 / 10; }
  .collection-body { border-left: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; padding: 28px 24px; }
  .facts-inner { padding: 18px 24px; gap: 12px 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid button:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 10; }
  .amenities { grid-template-columns: 1fr; }
  .amenities li:nth-child(odd), .amenities li:nth-child(even) { padding-left: 4px; padding-right: 4px; border-left: none; }
  .listing-grid { grid-template-columns: 1fr; gap: 36px; }
  .tour-grid { grid-template-columns: 1fr; }
  .other-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 22px; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid.pan { grid-template-columns: 1fr; }
  /* six facts (incl. Meals) read cleaner as 2-up than as a tall stack */
  .facts-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
  }
  .lb-btn { width: 42px; height: 42px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
}

/* ==========================================================
   ALL MEALS AT ADDITIONAL COST — key feature accents
   ========================================================== */

/* hero: second badge, brass-filled so it reads as a promise */
.page-hero .cap-badge.meals {
  background: rgba(11, 20, 17, 0.82);
  border-color: var(--brass);
  color: var(--brass-hi);
  box-shadow: inset 0 0 0 1px rgba(196, 162, 86, 0.18);
}
.page-hero .cap-badge + .cap-badge { margin-left: 10px; }

/* amenities: first item carries the meals promise */
.amenities li.key {
  background: rgba(196, 162, 86, 0.07);
  border-left: 2px solid var(--brass);
  border-bottom-color: rgba(196, 162, 86, 0.4);
}
.amenities li.key strong { color: var(--brass-hi); }
.amenities li.key span { color: rgba(234, 229, 217, 0.8); }

/* listing cards: brass pill on the photo, bottom-left */
.listing-meals {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: var(--brass);
  color: var(--pine);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 3px 9px;
}

/* ==========================================================
   Custom date calendar (replaces the native picker UI)
   ========================================================== */
input.cal-native { display: none; }

.cal-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left; cursor: pointer;
  background: var(--pine); border: 1px solid var(--line); border-radius: 4px;
  color: var(--parchment); font-family: var(--font-body); font-size: 0.97rem;
  padding: 12px 14px; transition: border-color 0.25s ease;
}
.cal-trigger:hover { border-color: rgba(234, 229, 217, 0.3); }
.cal-trigger:focus-visible { outline: none; border-color: var(--brass); box-shadow: 0 0 0 2px rgba(196, 162, 86, 0.35); }
.cal-trigger .cal-txt { color: rgba(234, 229, 217, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-trigger.has-val .cal-txt { color: var(--parchment); }
.cal-trigger .cal-ic { color: var(--brass); flex-shrink: 0; opacity: 0.85; }

.cal-pop {
  position: fixed; z-index: 100; width: min(320px, calc(100vw - 24px));
  background: var(--moss); border: 1px solid rgba(234, 229, 217, 0.18); border-radius: 14px;
  padding: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  font-family: var(--font-body); color: var(--parchment);
  animation: calIn 0.16s ease;
}
@keyframes calIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head .cal-title { font-family: var(--font-display); font-size: 16.5px; letter-spacing: 0.01em; }
.cal-nav {
  background: transparent; border: 1px solid var(--line); color: var(--parchment);
  width: 30px; height: 30px; border-radius: 8px; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.cal-nav:hover:not(:disabled) { border-color: var(--brass); color: var(--brass); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sage); text-align: center; padding: 4px 0 6px; }
.cal-blank { visibility: hidden; }
.cal-day {
  background: transparent; border: 0; color: var(--parchment); font: inherit; font-size: 13.5px;
  aspect-ratio: 1; min-height: 34px; border-radius: 9px; cursor: pointer; padding: 0;
}
.cal-day:hover:not(:disabled) { background: rgba(196, 162, 86, 0.18); }
.cal-day:disabled { color: rgba(234, 229, 217, 0.25); cursor: default; }
.cal-day.is-today { box-shadow: inset 0 0 0 1px rgba(196, 162, 86, 0.5); }
.cal-day.is-sel, .cal-day.is-sel:hover { background: var(--brass); color: #17130a; font-weight: 700; box-shadow: none; }
.cal-day:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; }

.cal-foot { display: flex; justify-content: flex-end; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.cal-clear {
  background: none; border: 0; color: var(--sage); font: inherit; font-size: 12.5px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; padding: 4px;
}
.cal-clear:hover { color: var(--brass); }

@media (prefers-reduced-motion: reduce) { .cal-pop { animation: none; } }

/* ---- group-size quick links (inside CTA) ---- */
.sg-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  margin: 16px 0 4px;
}
.sg-links a {
  color: var(--parchment); text-decoration: none; font-size: 0.92rem;
  border-bottom: 1px dotted rgba(234, 229, 217, 0.45);
  padding-bottom: 1px; transition: color 0.2s ease, border-color 0.2s ease;
}
.sg-links a:hover { color: var(--brass-hi); border-color: var(--brass-hi); }

/* ---------- breadcrumb nav (inserted by tools/breadcrumb.js — marker: perf:crumb) ----------
   nav.crumbs upgrades the long-standing .crumbs look: same 0.85rem muted parchment,
   same brass separator, container width matched to .nav-inner / --wrap (1200px). */
nav.crumbs {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 16px) 32px 16px;
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(234, 229, 217, 0.7);
}
/* normal case: it lives as the first child of the hero content, which already
   supplies the wrap width, side padding and the 16px gap above the <h1> */
.page-hero-content > nav.crumbs,
.hero-content > nav.crumbs {
  padding: 0;
  margin: 0 0 16px;
}
/* the 4px padding grows the tap target past the 24px WCAG minimum (the bare
   inline box measured 18px) without moving the text or changing the line box */
nav.crumbs a { color: inherit; text-decoration: none; display: inline-block; padding: 4px 0; }
nav.crumbs a:hover { color: var(--brass); }
nav.crumbs .csep { color: var(--brass); margin: 0 8px; }
@media (max-width: 480px) {
  nav.crumbs { padding: calc(var(--nav-h) + 14px) 20px 14px; font-size: 0.8rem; }
  .page-hero-content > nav.crumbs,
  .hero-content > nav.crumbs { padding: 0; }
  nav.crumbs .csep { margin: 0 6px; }
}
