/* Luxury Home Tour promo — see /assets/js/tour-promo.js. Remove after Oct 10, 2026. */
:root { --tour-gold: #ddbe68; --tour-bar-h: 0px; }

/* ---------- Sitewide banner ---------- */
.tour-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 98;
  background: #000; color: #fff; font-family: "Montserrat", Arial, sans-serif;
  border-bottom: 1px solid #1f1f1f;
}
.has-tour-bar { padding-top: var(--tour-bar-h); }
.has-tour-bar .nav { top: var(--tour-bar-h); }
.has-tour-bar .mobile-menu { top: var(--tour-bar-h); }
.tour-bar-link {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px;
  padding: 10px 52px; color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .02em;
}
.tour-bar-link a { text-decoration: none; }
.tour-bar-rsvp { color: #fff; text-decoration: underline !important; text-decoration-color: #555 !important; text-underline-offset: 3px; }
.tour-bar-rsvp:hover { text-decoration-color: #fff !important; }
.tour-bar-title { color: var(--tour-gold); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.tour-bar-sep { color: #555; }
.tour-bar-short { display: none; }
.tour-bar-pill, .tour-pill {
  background: var(--tour-gold); color: #000; font-weight: 600; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 9px; white-space: nowrap;
}
.tour-bar-pill.is-live, .tour-pill.is-live { background: #e8282a; color: #fff; }
.tour-bar-link .tour-bar-cta { color: var(--tour-gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.tour-bar-link .tour-bar-cta:hover, .tour-bar-title:hover { color: #fff; }
.tour-bar-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; background: none; border: 0; color: #8c8c8c; font-size: 22px; line-height: 1; cursor: pointer;
}
.tour-bar-close:hover { color: #fff; }
@media (max-width: 760px) {
  .tour-bar-link { padding: 8px 44px 8px 14px; gap: 2px 8px; font-size: 12px; }
  .tour-bar-title { font-size: 11px; flex-basis: 100%; text-align: center; }
  .tour-bar-sep, .tour-bar-details { display: none; }
  .tour-bar-short { display: inline; }
  .tour-bar-pill { font-size: 10px; padding: 2px 7px; }
}

/* ---------- Sticky pill (phones) ---------- */
.tour-sticky {
  position: fixed; left: 16px; bottom: 16px; z-index: 97;
  display: none; align-items: center; gap: 8px;
  background: #000; color: #fff; border: 1px solid var(--tour-gold); border-radius: 999px;
  padding: 12px 18px; font-family: "Montserrat", Arial, sans-serif; font-size: 13px; font-weight: 600;
  text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease;
}
.tour-sticky span { color: var(--tour-gold); }
@media (max-width: 800px) { .tour-sticky { display: inline-flex; pointer-events: none; } }
.tour-sticky.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Homepage section ---------- */
.tour-promo {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background: #000; color: #fff;
}
.tour-promo[hidden] { display: none; }
.tour-promo-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #000; min-height: 100%; }
.tour-promo-photos img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; display: block; }
.tour-promo-body { padding: 72px 8vw 72px 64px; align-self: center; }
.tour-promo-eyebrow { color: var(--tour-gold); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; }
.tour-promo h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; margin: 0 0 14px; color: #fff; }
.tour-promo-copy { color: #cfcfcf; font-size: 15px; line-height: 1.7; margin: 16px 0 26px; max-width: 520px; }
.tour-promo-copy strong { color: #fff; font-weight: 600; }
.tour-promo-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.tour-btn {
  display: inline-block; padding: 14px 22px; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; border: 1px solid var(--tour-gold); transition: background .2s, color .2s;
}
.tour-btn-gold { background: var(--tour-gold); color: #000; }
.tour-btn-gold:hover { background: #fff; border-color: #fff; }
.tour-btn-line { color: var(--tour-gold); }
.tour-btn-line:hover { background: var(--tour-gold); color: #000; }
@media (max-width: 900px) {
  /* Phones: plain block layout + fixed photo sizes. iOS Safari stretched the earlier
     grid/aspect-ratio version, so no grid and no aspect-ratio here. */
  .tour-promo { display: block; width: 100%; overflow: hidden; }
  /* All 8 homes visible at once: 2 per row, fixed vw sizes (iOS-safe, no aspect-ratio). */
  .tour-promo-photos { display: flex; flex-wrap: wrap; gap: 2px; width: 100%; min-height: 0; }
  .tour-promo-photos img {
    flex: 0 0 auto; width: calc(50% - 1px); max-width: none; height: 34vw; min-height: 0; object-fit: cover;
  }
  .tour-promo-body { padding: 40px 6vw 52px; }
  .tour-promo h2 { font-size: 32px; letter-spacing: .02em; }
}

/* ---------- Add to calendar ---------- */
.tour-cal { position: relative; display: inline-block; font-family: "Montserrat", Arial, sans-serif; }
.tour-cal summary {
  list-style: none; cursor: pointer; padding: 14px 22px; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; border: 1px solid #555; color: #ddd;
}
.tour-cal summary::-webkit-details-marker { display: none; }
.tour-cal summary::after { content: " \25BE"; }
.tour-cal summary:hover, .tour-cal[open] summary { border-color: #fff; color: #fff; }
.tour-cal-menu {
  position: absolute; left: 0; top: calc(100% + 4px); z-index: 20; min-width: 220px;
  background: #111; border: 1px solid #333; display: flex; flex-direction: column;
}
.tour-cal-menu a { padding: 12px 16px; color: #fff; font-size: 13px; text-decoration: none; border-bottom: 1px solid #222; }
.tour-cal-menu a:last-child { border-bottom: 0; }
.tour-cal-menu a:hover { background: #1a1710; color: var(--tour-gold); }
/* On light pages (blog post) */
.tour-cal-light .tour-cal summary { border-color: #0a0a0a; color: #0a0a0a; }
.tour-cal-light .tour-cal summary:hover, .tour-cal-light .tour-cal[open] summary { background: #0a0a0a; color: #fff; }

/* ---------- "Can't make it?" Eventbrite follow link ---------- */
.tour-notify { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid #262626; max-width: 520px; font-size: 13px; line-height: 1.6; color: #a6a6a6; }
.tour-notify strong { color: #fff; font-weight: 600; }
.tour-notify a { display: inline-block; margin-top: 4px; color: var(--tour-gold); font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.tour-notify a:hover { text-decoration: underline; }

