/* =============================================================================
   SBV Site Stylesheet
   Single file. No !important except where explicitly overriding Houzez inline CSS.
   Build: 2026-06-05 full editorial rebuild
   ============================================================================= */

/* 1. FONTS
   ----------------------------------------------------------------------- */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jost.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* 2. DESIGN TOKENS
   ----------------------------------------------------------------------- */

:root {
  --slate:     #1C3A4A;
  --slate-lt:  #E4ECF0;
  --sand:      #E8DDD0;
  --ivory:     #FAF7F2;
  --gold:      #B8944A;
  --gold-lt:   #D4B06A;
  --text:      #2C2C2C;
  --text-lt:   #6B6B6B;
  --white:     #FFFFFF;
  --navy:      #0e2330;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, -apple-system, sans-serif;

  --fs-h1:      clamp(40px, 5vw, 72px);
  --fs-h2:      clamp(28px, 3.5vw, 48px);
  --fs-h3:      clamp(20px, 2.5vw, 30px);
  --fs-eyebrow: 11px;
  --fs-body:    16px;
  --fs-small:   13px;
  --fs-nav:     12px;

  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;

  --r-sm: 2px;
  --r-md: 4px;

  --shadow-card:  0 2px 12px rgba(28,58,74,0.07);
  --shadow-hover: 0 10px 32px rgba(28,58,74,0.13);

  --container-max: 1200px;
  --container-px:  clamp(20px, 4vw, 48px);
}


/* 3. GLOBAL RESET & BASE
   ----------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--slate);
  margin-top: 0;
}

p { margin-top: 0; margin-bottom: var(--sp-5); }

.eyebrow,
.sbv-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}


/* 4. LAYOUT UTILITIES
   ----------------------------------------------------------------------- */

.sbv-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.sbv-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 42px;
}

.sbv-section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  color: var(--slate);
  line-height: 1.2;
  margin-bottom: 0;
}

.sbv-section-link {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  white-space: nowrap;
}
.sbv-section-link:hover { color: var(--gold); }

/* Buttons */
.sbv-btn {
  display: inline-block;
  background: var(--slate);
  color: var(--white);
  padding: 14px 34px;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background 0.2s ease;
}
.sbv-btn:hover { background: var(--gold); color: var(--white); }

.sbv-btn--gold {
  background: var(--gold);
  color: var(--white);
}
.sbv-btn--gold:hover { background: var(--gold-lt); color: var(--white); }


/* 5. NAV OVERRIDES
   Actual Houzez selectors confirmed via browser inspection:
   - Main header: #header-section (.houzez-header-main)
   - Nav links: .navi.main-nav > li > a
   ----------------------------------------------------------------------- */

#header-section,
#header-section.houzez-header-main {
  background-color: var(--slate) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Nav links — correct selector: nav.navi.main-nav > ul > li > a
   (Houzez renders: <nav class="navi main-nav"><ul id="main-nav">...)
   Previous versions used > li > a (no ul), which never matched. */
#header-section .navi.main-nav > ul > li > a,
.header-section .navi.main-nav > ul > li > a {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-nav) !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

#header-section .navi.main-nav > ul > li > a:hover,
.header-section .navi.main-nav > ul > li > a:hover {
  color: var(--gold) !important;
}

#header-section .navi.main-nav > ul > li.current-menu-item > a,
#header-section .navi.main-nav > ul > li.current-page-ancestor > a {
  color: var(--gold) !important;
}

/* Dropdown */
#header-section .navi.main-nav .sub-menu,
#header-section .dropdown-menu {
  background: var(--slate) !important;
  border-top: 2px solid var(--gold) !important;
  border-radius: 0 0 var(--r-md) var(--r-md) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25) !important;
  padding: 8px 0 !important;
  min-width: 180px !important;
}
#header-section .navi.main-nav > ul ul li { border: none !important; }
#header-section .navi.main-nav > ul ul li a {
  color: rgba(255, 255, 255, 0.82) !important;
  padding: 10px 20px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  border-bottom: none !important;
  border-top: none !important;
}
#header-section .navi.main-nav > ul ul li a:hover {
  color: var(--gold) !important;
  background: rgba(255,255,255,0.06) !important;
}
#header-section .navi.main-nav > ul ul li.divider,
#header-section .navi.main-nav > ul ul li.separator { display: none !important; }

/* Dropdown toggle arrow color */
#header-section .navi.main-nav > li > a .fa,
#header-section .navi.main-nav > li > a .caret { color: rgba(255,255,255,0.5) !important; }

/* Top utility bar — hidden on sbv theme */
.top-bar,
.top-bar-wrap { display: none !important; }

/* Header logo — invert to white so any dark logo reads on slate nav */
#header-section .logo img,
#header-section .logo-desktop img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* Mobile nav */
.header-mobile,
.header-mobile-logo-area { background: var(--slate) !important; }
.hamburger-menu span,
.hamburger-menu span::before,
.hamburger-menu span::after { background-color: var(--white) !important; }
.mobile-logo a { color: var(--white) !important; }


/* 6. HERO — RevSlider editorial overlay
   ----------------------------------------------------------------------- */

.sbv-hero-wrap {
  position: relative;
  overflow: hidden;
}

/* Hide RevSlider's own text layers — we show our editorial overlay instead */
.sbv-hero-wrap .tp-caption,
.sbv-hero-wrap .rs-layer,
.sbv-hero-wrap .tp-parallax-wrap { display: none !important; }

/* Dark gradient over the RevSlider photo for text legibility */
.sbv-hero-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 35, 48, 0.55) 0%,
    rgba(28, 58, 74, 0.6) 50%,
    rgba(14, 35, 48, 0.85) 100%
  );
  pointer-events: none;
  z-index: 5;
}

.sbv-hero-editorial {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--container-px);
  padding-bottom: 48px;
}

.sbv-hero-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.sbv-hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  max-width: 780px;
  margin-bottom: 18px;
}

.sbv-hero-h1 em {
  font-style: italic;
  color: var(--sand);
}

.sbv-hero-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Search bar */
.sbv-search-bar {
  display: flex;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28);
  max-width: 720px;
  width: 90%;
}

.sbv-search-keyword {
  flex: 1;
  min-width: 0;
  padding: 0 22px;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: transparent;
  outline: none;
  height: 56px;
  letter-spacing: 0.02em;
}

.sbv-search-divider {
  width: 1px;
  height: 32px;
  background: var(--sand);
  align-self: center;
  flex-shrink: 0;
}

.sbv-search-select {
  padding: 0 18px;
  border: none;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-lt);
  background: transparent;
  outline: none;
  height: 56px;
  appearance: none;
  cursor: pointer;
  min-width: 140px;
}

.sbv-search-btn {
  background: var(--slate);
  color: var(--white);
  border: none;
  padding: 0 28px;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  height: 56px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.sbv-search-btn:hover { background: var(--gold); }

/* Hide the old Houzez Advanced Search collapse button */
.search-expand-btn,
.search-inner-wrap { display: none !important; }


/* 7. FILTER PILLS
   ----------------------------------------------------------------------- */

.sbv-filter-strip {
  background: var(--sand);
  padding: 20px var(--container-px);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sbv-filter-strip::-webkit-scrollbar { display: none; }

.sbv-filter-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-right: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sbv-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid rgba(28, 58, 74, 0.28);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--slate);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
}

.sbv-filter-pill:hover,
.sbv-filter-pill--active {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--white);
}


/* 8. FEATURED VENUES
   ----------------------------------------------------------------------- */

.sbv-featured-section {
  background: var(--ivory);
  padding: var(--sp-6) 0 var(--sp-9);   /* reduced top — pills removed 6/17, gap was too big */
}

.sbv-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Wide featured card */
.sbv-venue-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease;
}
.sbv-venue-card--wide:hover { box-shadow: var(--shadow-hover); }

.sbv-venue-card--wide .sbv-venue-card__img-link { display: block; }
.sbv-venue-card--wide .sbv-venue-card__thumb {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  background: var(--slate-lt);
}
.sbv-venue-card--wide .sbv-venue-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sbv-venue-card--wide .sbv-venue-card__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Standard card */
.sbv-venue-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.sbv-venue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.sbv-venue-card__img-link { display: block; overflow: hidden; }

.sbv-venue-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--slate-lt);
}
.sbv-venue-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.sbv-venue-card:hover .sbv-venue-card__thumb img { transform: scale(1.04); }

.sbv-venue-card__type {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  background: rgba(28, 58, 74, 0.85);
  color: var(--white);
  padding: 3px 10px;
  border-radius: var(--r-sm);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.sbv-featured-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 10px;
}

.sbv-venue-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 8px;
}

.sbv-venue-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sbv-venue-card__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--slate);
  margin-bottom: 8px;
}
.sbv-venue-card--wide .sbv-venue-card__title { font-size: clamp(22px, 2.5vw, 32px); }
.sbv-venue-card__title a { color: inherit; }
.sbv-venue-card__title a:hover { color: var(--gold); }

.sbv-venue-card__address {
  font-size: var(--fs-small);
  color: var(--text-lt);
  margin-bottom: var(--sp-4);
}

.sbv-venue-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--sand);
}

.sbv-venue-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  margin-top: auto;       /* pin View Venue to card bottom — consistent across cards */
  padding-top: 16px;      /* min breathing room above when card is short */
  width: fit-content;
  transition: color 0.2s ease;
}
.sbv-venue-card__cta:hover { color: var(--gold); }


/* 9. VALUE STRIP
   ----------------------------------------------------------------------- */

.sbv-value-strip {
  background: var(--slate);
  padding: 64px var(--container-px);
}

.sbv-value-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0 48px;
  align-items: center;
}

.sbv-value-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  justify-self: center;
}

.sbv-value-item { text-align: center; }

.sbv-value-number {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.sbv-value-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}


/* 10. ABOUT / SOLERA STRIP
    ----------------------------------------------------------------------- */

.sbv-about-strip {
  background: var(--sand);
  padding: var(--sp-9) var(--container-px);
}

.sbv-about-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sbv-about-photo {
  height: 400px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--slate-lt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sbv-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sbv-about-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--slate);
  line-height: 1.22;
  margin-bottom: 20px;
}

.sbv-about-body {
  font-size: 15px;
  color: var(--text-lt);
  line-height: 1.78;
  margin-bottom: 32px;
}
.sbv-about-body a { color: var(--slate); font-weight: 500; }
.sbv-about-body a:hover { color: var(--gold); }


/* 11. BROWSE BY TYPE / LOCATION (hz-grids grid_v1)
    ----------------------------------------------------------------------- */

.sbv-types {
  background: var(--ivory);
  padding: var(--sp-7) 0;
}

.sbv-types .hz-section-title,
.sbv-types .hz-section-title h2,
.sbv-types .section-title-head {
  color: var(--slate) !important;
  font-family: var(--font-serif) !important;
  font-weight: 300 !important;
  text-align: center;
}

.sbv-cities {
  background: var(--ivory);
  padding: var(--sp-7) 0;
}

/* hz-grids: remove module padding that Houzez adds */
.sbv-types .location-module,
.sbv-cities .location-module {
  margin: 0 !important;
  padding: 0 !important;
}
.sbv-types .houzez-module,
.sbv-cities .houzez-module {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Location block: clip for zoom; images are CSS background-image (no <img> tag) */
.sbv-types .location-block,
.sbv-cities .location-block {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
}

/* Zoom via ::before pseudo-element inheriting the inline background-image.
   background-image: inherit copies the inline style so we can transform it
   independently while leaving the centred caption absolutely positioned. */
.sbv-types .location-block::before,
.sbv-cities .location-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 0;
}
.sbv-types .location-block:hover::before,
.sbv-cities .location-block:hover::before {
  transform: scale(1.08);
}

/* Subtle gradient for text legibility — light touch, mostly transparent */
.sbv-types .location-block::after,
.sbv-cities .location-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 35, 48, 0.0)  0%,
    rgba(14, 35, 48, 0.12) 40%,
    rgba(14, 35, 48, 0.42) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Caption and link sit above both image and gradient */
.sbv-types .location-block a,
.sbv-cities .location-block a { z-index: 3; }

.sbv-types .location-block .location-fig-caption,
.sbv-cities .location-block .location-fig-caption { z-index: 3; }

/* Caption fonts — Houzez centres absolutely; we override fonts only */
.sbv-types .location-block .heading,
.sbv-cities .location-block .heading {
  font-family: var(--font-serif) !important;
  font-size: clamp(24px, 2.8vw, 36px) !important;
  font-weight: 300 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
}

.sbv-types .location-block .sub-heading,
.sbv-cities .location-block .sub-heading {
  font-family: var(--font-sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

.sbv-types .location-fig-caption .heading,
.sbv-cities .location-fig-caption .heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.sbv-types .location-fig-caption .sub-heading,
.sbv-cities .location-fig-caption .sub-heading {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}


/* 12. CTA BANNER
    ----------------------------------------------------------------------- */

.sbv-cta-banner {
  background: linear-gradient(135deg, var(--slate) 0%, var(--navy) 100%);
  padding: var(--sp-9) var(--container-px);
  text-align: center;
}

.sbv-cta-banner__h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.sbv-cta-banner__h2 em { color: var(--gold); font-style: italic; }

.sbv-cta-banner__sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}


/* 13. FOOTER
    ----------------------------------------------------------------------- */

#footer-section {
  background: #000000;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-sans);
  font-size: 15px;
}

#footer-section a {
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s ease;
}
#footer-section a:hover { color: var(--white); }

.sbv-footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px var(--container-px) 0;
}

.sbv-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.sbv-footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.sbv-footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 8px;
}

.sbv-footer-attribution {
  font-size: 12px;
  color: rgba(255,255,255,0.35) !important;
  margin-top: 8px;
}
.sbv-footer-attribution a { color: var(--gold) !important; }
.sbv-footer-attribution a:hover { color: var(--gold-lt) !important; }

.sbv-footer-col h4 {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.sbv-footer-col ul { list-style: none; padding: 0; margin: 0; }
.sbv-footer-col ul li { margin-bottom: 10px; }
.sbv-footer-col ul li a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.68);
}
.sbv-footer-col ul li a:hover { color: var(--white); }

.sbv-footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
}

/* Houzez footer-bottom (copyright bar) */
#footer-section .footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  padding: 18px var(--container-px);
}
#footer-section .footer-bottom a { color: rgba(255, 255, 255, 0.35); }
#footer-section .footer-bottom a:hover { color: var(--gold); }


/* 14. LISTING PAGE
    ----------------------------------------------------------------------- */

.listing-content-wrap,
.page-with-sidebar { background: var(--ivory); }

.listing-content-wrap h1,
.listing-content-wrap .page-title,
.title-head {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--slate);
}

/* Sidebar widget headings */
.sidebar-widget .widget-title,
.sidebar-widget h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-lt);
  border-bottom: 1px solid var(--sand);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-4);
}

/* Taxonomy widget links */
.houzez_property_taxonomies .tab-taxonomies-widget a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  display: block;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid rgba(232, 221, 208, 0.5);
}
.houzez_property_taxonomies .tab-taxonomies-widget a:hover { color: var(--gold); }
.houzez_property_taxonomies .tab-taxonomies-widget .current-cat > a { color: var(--gold); font-weight: 500; }

/* Venue cards in listing — override Houzez's default list-view card styles */
.sbv-venue-card { margin-bottom: 28px; }

/* Listing page search bar (orange override) */
body .btn-orange,
body .btn.btn-orange,
body .advanced-search .btn.btn-orange,
body .splash-search .btn-orange,
body .advance-search-header .houzez-theme-button,
body .advanced-search-mobile .houzez-theme-button {
  background-color: var(--slate) !important;
  border-color: var(--slate) !important;
  color: var(--white) !important;
}
body .btn-orange:hover,
body .btn.btn-orange:hover { background-color: var(--gold) !important; border-color: var(--gold) !important; }


/* 15. SINGLE VENUE
    ----------------------------------------------------------------------- */

.single-property .property-title h1,
.single-property .property-heading { font-family: var(--font-serif); font-weight: 400; color: var(--slate); }

.agent-info-wrap,
.property-agent-wrap {
  background: var(--ivory);
  border: 1px solid var(--sand);
  border-radius: var(--r-md);
  padding: var(--sp-6);
}

.agent-contact-form input[type="submit"],
.agent-contact-form button[type="submit"] {
  background: var(--slate);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  padding: var(--sp-4) var(--sp-7);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.2s ease;
}
.agent-contact-form input[type="submit"]:hover { background: var(--gold); }


/* 16. LEAD FORM PAGE
    ----------------------------------------------------------------------- */

.page-template-lead-form { background: var(--ivory); }

.sbv-lead-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--sp-9) var(--container-px);
}

.sbv-lead-form-wrap .wpforms-container input[type="text"],
.sbv-lead-form-wrap .wpforms-container input[type="email"],
.sbv-lead-form-wrap .wpforms-container textarea {
  font-family: var(--font-sans);
  border: 1px solid rgba(28, 58, 74, 0.2);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
}
.sbv-lead-form-wrap .wpforms-container input:focus,
.sbv-lead-form-wrap .wpforms-container textarea:focus {
  outline: none;
  border-color: var(--slate);
}

.sbv-lead-form-wrap .wpforms-container .wpforms-submit-container button {
  background: var(--slate);
  color: var(--white);
  font-family: var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-sm);
  padding: var(--sp-4) var(--sp-8);
  cursor: pointer;
  transition: background 0.2s ease;
}
.sbv-lead-form-wrap .wpforms-container .wpforms-submit-container button:hover { background: var(--gold); }


/* 17. MISC HOUZEZ OVERRIDES
    ----------------------------------------------------------------------- */

/* Breadcrumbs */
.breadcrumb-wrap, .houzez-breadcrumb { font-family: var(--font-sans); font-size: var(--fs-small); color: var(--text-lt); }
.houzez-breadcrumb a { color: var(--text-lt); }
.houzez-breadcrumb a:hover { color: var(--gold); }

/* Section title shortcode */
.hz-section-title-wrap .hz-line-divider { background: var(--gold); }

/* Pagination */
.houzez-pagination .page-numbers {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--sand);
  border-radius: var(--r-sm);
  margin: 0 2px;
}
.houzez-pagination .page-numbers:hover,
.houzez-pagination .page-numbers.current { background: var(--slate); color: var(--white); border-color: var(--slate); }

/* Primary button */
.btn-primary, .btn.btn-primary {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }


/* 18. RESPONSIVE
    ----------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .sbv-featured-grid { grid-template-columns: 1fr 1fr; }
  .sbv-venue-card--wide {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
  }
  .sbv-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sbv-value-inner { grid-template-columns: 1fr; gap: 32px; }
  .sbv-value-divider { display: none; }
  .sbv-about-inner { gap: 48px; }
}

@media (max-width: 768px) {
  .sbv-featured-grid { grid-template-columns: 1fr; }
  .sbv-venue-card--wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .sbv-venue-card--wide .sbv-venue-card__thumb { min-height: 220px; }
  .sbv-about-inner { grid-template-columns: 1fr; gap: 32px; }
  .sbv-about-photo { height: 260px; }
  .sbv-footer-top { grid-template-columns: 1fr 1fr; }
  .sbv-footer-brand { grid-column: span 2; }
  .sbv-search-select { display: none; }
  .sbv-search-divider { display: none; }
  .sbv-section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .sbv-footer-top { grid-template-columns: 1fr; }
  .sbv-footer-brand { grid-column: span 1; }
}


/* 19. FULL-BLEED HOMEPAGE
    Houzez header.php wraps non-property pages in <div class="container">
    inside #section-body. Remove that constraint on the front page so sbv
    sections stretch edge-to-edge. Each section controls its own inner
    max-width via .sbv-container.
    ----------------------------------------------------------------------- */

body.front-page #section-body > .container,
body.home #section-body > .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove gap between last section and footer — Houzez #section-body has
   default padding-bottom that shows body background as a strip. */
body.front-page #section-body,
body.home #section-body {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Browse section headers: tight gap to image grid */
.sbv-types .sbv-section-header,
.sbv-cities .sbv-section-header {
  margin-bottom: 16px;
}

/* Kill h2 bottom margin inside browse headers (browser default adds ~20px) */
.sbv-types .sbv-section-header .sbv-section-title,
.sbv-cities .sbv-section-header .sbv-section-title {
  margin-bottom: 0;
}


/* =============================================================================
   20. LISTING PAGE HERO (static-image header override)
   ============================================================================= */

.sbv-listing-hero {
  position: relative;
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-color: var(--slate);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Dark gradient — bottom-heavy so text at bottom is legible */
.sbv-listing-hero__grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 35, 48, 0.20) 0%,
    rgba(14, 35, 48, 0.55) 55%,
    rgba(14, 35, 48, 0.82) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.sbv-listing-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--container-px) 48px;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
}

.sbv-listing-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.sbv-listing-hero__sub {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
  margin-top: 10px;
  margin-bottom: 0;
}

/* Filter strip — breaks out of Bootstrap container (15px padding each side)
   so the beige band runs edge-to-edge. Content rows keep natural 15px gutter. */
.sbv-listing-filter-strip {
  margin-left: -15px;
  margin-right: -15px;
  padding-left: 20px;
  padding-right: 20px;
  justify-content: flex-start;
}

/* Sort select inline in filter strip — pushed to the right */
.sbv-sort-inline {
  margin-left: auto;
  flex-shrink: 0;
}

.sbv-sort-select {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  appearance: none;
  padding: 0 18px 0 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231C3A4A'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}
.sbv-sort-select:focus { outline: none; }

/* 3-column venue card grid — respects Houzez's float:right content area */
.sbv-listing-grid .row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sbv-listing-grid .row .sbv-venue-card {
  float: none !important;
  width: auto !important;
  margin-bottom: 0;
}

/* ── Sidebar widgets ─────────────────────────────────────────────────────── */

.container-sidebar .widget {
  margin-bottom: 32px;
}

.container-sidebar .widget-title {
  font-family: var(--font-sans) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  border-bottom: 1px solid var(--sand) !important;
  padding-bottom: 10px !important;
  margin-bottom: 14px !important;
  background: none !important;
}

.container-sidebar .tab-taxonomies-widget { list-style: none; padding: 0; margin: 0; }

.container-sidebar .tab-taxonomies-widget li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(232, 221, 208, 0.5);
}

.container-sidebar .tab-taxonomies-widget li a {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  color: var(--text) !important;
  text-decoration: none !important;
  padding: 7px 0 !important;
  flex: 1;
  display: block !important;
}
.container-sidebar .tab-taxonomies-widget li a:hover { color: var(--gold) !important; }

/* Count badge sits right-aligned */
.container-sidebar .tab-taxonomies-widget .term-count,
.container-sidebar .tab-taxonomies-widget .count {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-lt);
  margin-left: 8px;
  flex-shrink: 0;
}

/* "Need help with your event?" promo widget */
.container-sidebar .textwidget img { border-radius: var(--r-md); display: block; width: 100%; }
.container-sidebar .textwidget p { font-family: var(--font-sans); font-size: 13px; color: var(--text-lt); line-height: 1.6; margin-bottom: 6px; }
.container-sidebar .textwidget a { color: var(--slate); font-weight: 500; }
.container-sidebar .textwidget a:hover { color: var(--gold); }

/* Listing row top spacing */
.sbv-listing-row { padding-top: 28px; }


/* =============================================================================
   21. VENUE INDEX PAGE (By Type / By Location parent pages)
   ============================================================================= */

.sbv-index-intro {
  background: var(--ivory);
  padding: 64px var(--container-px) 48px;
  border-bottom: 1px solid var(--sand);
}

.sbv-index-intro .sbv-container {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.sbv-index-intro__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  color: var(--slate);
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.sbv-index-intro__title em { font-style: italic; color: var(--gold); }

.sbv-index-intro__sub {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-lt);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.sbv-index-grid {
  background: var(--ivory);
  padding: 48px var(--container-px) 80px;
}

.sbv-index-grid__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Location index sometimes has 6 items — allow wrap */
@supports (grid-template-columns: repeat(auto-fill, minmax(240px, 1fr))) {
  .sbv-index-grid__inner {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

.sbv-index-tile {
  position: relative;
  display: block;
  height: 260px;
  border-radius: var(--r-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--slate);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sbv-index-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(14, 35, 48, 0.22);
}

.sbv-index-tile__grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 35, 48, 0.0)  30%,
    rgba(14, 35, 48, 0.72) 100%
  );
  z-index: 1;
  transition: opacity 0.3s ease;
}
.sbv-index-tile:hover .sbv-index-tile__grad {
  opacity: 0.85;
}

.sbv-index-tile__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  z-index: 2;
}

.sbv-index-tile__label {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.sbv-index-tile__count {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* Full-bleed index page */
body.page-template-page-templates-venue-index #section-body > .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 1024px) {
  .sbv-listing-grid .row { grid-template-columns: repeat(2, 1fr); }
  .sbv-index-grid__inner { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .sbv-listing-hero { height: 300px; }
  .sbv-listing-grid .row { grid-template-columns: 1fr 1fr; }
  .sbv-index-grid__inner { grid-template-columns: 1fr 1fr; }
  .sbv-index-tile { height: 200px; }
}

@media (max-width: 480px) {
  .sbv-listing-grid .row { grid-template-columns: 1fr; }
  .sbv-index-grid__inner { grid-template-columns: 1fr; }
}


/* =============================================================================
   22. VENUE CARD THUMBNAIL FALLBACK
   When a venue has no thumbnail, houzez_image_placeholder() outputs
   an <img> tag from a placeholder service. Give the thumb div a min-height
   and slate background so it never collapses to zero height.
   ============================================================================= */

.sbv-venue-card__thumb {
  min-height: 180px;
  background: var(--slate-lt);
}

.sbv-venue-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sidebar "Need help" promo widget — clean up justification */
.container-sidebar .textwidget { text-align: center; }
.container-sidebar .textwidget p[style*="text-align:justify"] { text-align: left !important; }


/* Bootstrap .row clearfix pseudo-elements become grid items when display:grid
   is applied, pushing all cards one column to the right. Suppress them. */
.sbv-listing-grid .row::before,
.sbv-listing-grid .row::after {
  display: none !important;
  content: none !important;
}


/* =============================================================================
   23. LISTING PAGE — FULL-WIDTH LAYOUT (no sidebar)
   Two-row filter strip: TYPE row + AREA row.
   Pills sorted by count desc (server-side). Overflow: hidden — extras drop off
   at narrow widths rather than creating a horizontal scroll.
   ============================================================================= */

/* Full-bleed strip: viewport-width breakout works for any container width.
   The -50vw / translateX trick escapes both the 15px padding AND the
   container max-width (1170px on desktop). overflow:visible keeps dropdowns
   from clipping. */
.sbv-listing-filter-strip {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--sand);
  padding: 12px 0;
  overflow: visible;
}

/* Inner: centered within full-bleed bar, left-aligned content */
.sbv-filter-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 15px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Each row: label + pills, single line, extras hidden */
.sbv-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow: hidden;  /* graceful drop — extras disappear, no scroll */
  min-height: 34px;
}

/* Controls row removed (no dropdowns) */
.sbv-filter-controls { display: none; }

/* Full-width card area */
.sbv-listing-cards-wrap {
  padding-top: 32px;
  padding-bottom: 8px;
}

.sbv-listing-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

/* Solera section on listing pages — same full-bleed as filter strip */
.sbv-listing-about {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 0 !important;
}

/* No gap between Solera strip and footer */
.sbv-listing-about + * { margin-top: 0; }
#section-body:has(.sbv-listing-about:last-child) {
  padding-bottom: 0 !important;
}

/* Pagination center */
.houzez-pagination {
  text-align: center;
  margin-bottom: 40px;
}

/* Hide old Bootstrap sidebar row */
.sbv-listing-row { display: none; }

@media (max-width: 1024px) {
  .sbv-listing-grid-full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sbv-listing-grid-full { grid-template-columns: 1fr; }
  .sbv-listing-filter-strip { padding: 10px 15px; }
}

/* Bootstrap .row clearfix ghost grid items — suppress */
.sbv-listing-grid-full::before,
.sbv-listing-grid-full::after { display: none !important; content: none !important; }
/* Filter state summary bar */
.sbv-filter-summary {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-lt);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sand);
}
.sbv-filter-clear {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-lt);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sbv-filter-clear:hover { color: var(--gold); }

.sbv-no-results {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-lt);
  grid-column: 1 / -1;
  padding: 48px 0;
  text-align: center;
}


/* =============================================================================
   24. BROWSE PAGE — section-body padding + nav parent suppression
   ============================================================================= */

/* No gap between Solera section and footer on browse/listing pages */
body.page-template-page-templates-venue-browse #section-body {
  padding-bottom: 0 !important;
}

/* Suppress gold highlight on # nav items (BY TYPE / BY LOCATION dropdown triggers) */
#header-section .navi.main-nav > ul > li > a[href="#"] {
  color: rgba(255,255,255,0.85) !important;
}
#header-section .navi.main-nav > ul > li > a[href="#"]:hover {
  color: var(--gold) !important;
}

/* Browse hero: slightly shorter than homepage (no search form) */
.sbv-hero-wrap--browse .rs-fullwidth-wrap,
.sbv-hero-wrap--browse .rev_slider_wrapper { min-height: 360px !important; }

.sbv-hero-editorial--browse {
  padding-bottom: 56px;
}

/* =============================================================================
   25. BROWSE PAGE — hero height, footer fixes, scroll-to-top
   ============================================================================= */

/* Shorter hero on browse page vs homepage */
body.page-template-page-templates-venue-browse .sbv-hero-wrap .rs-fullwidth-wrap { 
  max-height: 380px !important;
  min-height: 320px !important;
}
body.page-template-page-templates-venue-browse .sbv-hero-wrap .rev_slider_wrapper {
  max-height: 380px !important;
}

/* Hide Houzez footer-bottom (copyright now in brand column) */
#footer-section .footer-bottom { display: none !important; }

/* Hide Houzez scroll-to-top arrow (class confirmed: .scrolltop-btn) */
.scrolltop-btn { display: none !important; }

/* Copyright line in brand column */
.sbv-footer-copyright {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.5;
}


/* =============================================================================
   26. PAGINATION — sbv theme override
   ============================================================================= */

.pagination-main { margin: 8px 0 48px; }
.pagination-main .pagination { font-size: 0; text-align: center; }

.pagination-main .pagination li {
  display: inline-block;
  margin: 0 3px 6px;
}

.pagination-main .pagination li a,
.pagination-main .pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 400;
  color: var(--text) !important;
  background: var(--white);
  border: 1px solid var(--sand) !important;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.pagination-main .pagination li a:hover {
  background: var(--ivory) !important;
  border-color: var(--slate) !important;
  color: var(--slate) !important;
}

/* Active page */
.pagination-main .pagination li.active a,
.pagination-main .pagination li.active span {
  background: var(--slate) !important;
  border-color: var(--slate) !important;
  color: var(--white) !important;
  font-weight: 500;
}

/* First (Prev) and last (Next) items — label style */
.pagination-main .pagination li:first-child a,
.pagination-main .pagination li:last-child a {
  font-size: 11px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate) !important;
  background: transparent !important;
  border-color: transparent !important;
}
.pagination-main .pagination li:first-child a:hover,
.pagination-main .pagination li:last-child a:hover {
  color: var(--gold) !important;
  border-color: transparent !important;
  background: transparent !important;
}


/* =============================================================================
   26. SINGLE VENUE POLISH (2026-06-11 — Step 5.5; grafted from site.v3.css §20,
   re-judged against the restored v17/v18 baseline)
   All !important per CLAUDE.md doctrine: Houzez outputs competing colors via
   wp_head inline <style> at default priority.
   ========================================================================== */

/* Restyle the Houzez Bootstrap .alert-info detail box (capacity etc.) */
.single-property .alert.alert-info {
  background: var(--ivory) !important;
  border: 1px solid var(--sand) !important;
  border-left: 3px solid var(--gold) !important;
  border-radius: var(--r-md) !important;
  color: var(--text) !important;
  padding: var(--sp-5) var(--sp-6) !important;
}
.single-property .alert.alert-info strong { color: var(--text-lt); font-weight: 500; }

/* Hide "Updated on" date in Detail section */
#detail .title-right { display: none !important; }

/* ACTIVE / status / label badge */
.single-property .label.label-primary {
  background: var(--slate) !important;
  color: var(--white) !important;
  font-family: var(--font-sans) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 3px 8px !important;
  border-radius: 2px !important;
}

/* Section headings inside single venue (Description, Address, Detail) */
.single-property .detail-title .title-left {
  font-family: var(--font-serif) !important;
  font-weight: 400 !important;
  font-size: clamp(22px, 2.5vw, 30px) !important;
  color: var(--slate) !important;
  letter-spacing: 0 !important;
}

/* Body text in description */
.single-property .property-description p,
.single-property .property-description li {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text);
}


/* =============================================================================
   27. CONTACT PAGE POLISH (2026-06-11 — Step 5.5 Approach A: hero stays inside
   the 1170px Bootstrap container, no full-bleed break-out; grafted from
   site.v3.css §19 minus the container override)
   ========================================================================== */

/* Hide Houzez search bar on contact/lead-form pages (belt; page meta
   fave_adv_search_enable='no' on page 8 is the suspenders) */
.page-template-lead-form .advanced-search { display: none !important; }

/* Hero: full-bleed slate banner. The slate background breaks out to the
   viewport edges via a 100vw pseudo-element, while the eyebrow + h1 stay
   aligned with the form content below (both sit in Houzez's .container).
   This avoids the container max-width override that failed on 2026-06-09. */
.page-template-lead-form { overflow-x: clip; }  /* contain the 100vw bleed; clip (not hidden) keeps sticky intact */
.sbv-lead-form-hero {
  position: relative;
  padding: var(--sp-8) 0;
}
.sbv-lead-form-hero::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: var(--slate);
  z-index: 0;
}
.sbv-lead-form-hero > * { position: relative; z-index: 1; }
.sbv-lead-form-hero .eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.sbv-lead-form-hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 60px);
  color: var(--white);
  margin: 0;
  line-height: 1.1;
}

/* Form wrap: two-column layout, reduced top gap (overrides §16's 680px/sp-9) */
.sbv-lead-form-wrap {
  max-width: none;
  width: 100%;
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-8);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-8);
  align-items: start;
}

/* Intro column */
.sbv-lead-form-intro {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--text);
  line-height: 1.7;
}
.sbv-lead-form-intro p { margin-bottom: var(--sp-4); }
.sbv-lead-form-intro a { color: var(--gold); text-decoration: none; }
.sbv-lead-form-intro a:hover { color: var(--slate); }

/* WPForms field labels */
.sbv-lead-form-form .wpforms-container label {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-lt);
  font-weight: 500;
}

/* Mobile: stack intro above form */
@media (max-width: 767px) {
  .sbv-lead-form-wrap { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* §26 addendum: in-description links (photo credits, venue website) */
.single-property .property-description a { color: var(--gold); }
.single-property .property-description a:hover { color: var(--slate); }

/* §27 addendum: WPForms name fields use <fieldset><legend>, not <label> */
.sbv-lead-form-form .wpforms-container .wpforms-field-label {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-lt);
  font-weight: 500;
}


/* =============================================================================
   28. SINGLE VENUE — editorial restyle (2026-06-13)
   Tames the default-Houzez chrome the §26 pass missed: breadcrumb, loud
   orange/blue buttons, badge variants, amenities list, agent-inquiry sidebar,
   gallery. CSS-only — single-property.php keeps Houzez property-details
   partials per Amendment 2A. (§26's .property-title h1 selector never matched
   the bare <h1> in the real markup; §28 targets .single-property h1 directly.)
   ========================================================================== */

/* Breadcrumb — quiet editorial trail, not a gray Bootstrap pill */
.single-property .breadcrumb {
  background: none;
  padding: 0 0 var(--sp-3);
  margin-bottom: var(--sp-4);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.single-property .breadcrumb > li,
.single-property .breadcrumb a { color: var(--text-lt); }
.single-property .breadcrumb a:hover { color: var(--gold); }
.single-property .breadcrumb > .active { color: var(--slate); }
.single-property .breadcrumb > li + li:before { color: var(--sand); }

/* Title block */
.single-property h1 {
  font-family: var(--font-serif) !important;
  font-weight: 300 !important;
  font-size: clamp(30px, 4vw, 48px);
  color: var(--slate) !important;
  line-height: 1.12;
  margin-bottom: var(--sp-4);
}

/* Badge variants → design system (label-primary handled in §26) */
.single-property .label-status,
.single-property .label-featured,
.single-property .label.label-success,
.single-property .label.label-default {
  font-family: var(--font-sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  padding: 3px 9px !important;
  border-radius: 2px !important;
  vertical-align: middle;
}
.single-property .label-featured,
.single-property .label.label-success { background: var(--gold) !important; color: var(--white) !important; }
.single-property .label-status.label-default { background: var(--slate-lt) !important; color: var(--white) !important; }

/* Buttons: orange/blue Houzez & Bootstrap → slate/gold */
.single-property .btn-orange.houzez-theme-button,
.single-property .btn-primary {
  background: var(--slate) !important;
  border: none !important;
  color: var(--white) !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-small) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: var(--r-sm) !important;
  transition: background 0.2s ease !important;
}
.single-property .btn-orange.houzez-theme-button:hover,
.single-property .btn-primary:hover { background: var(--gold) !important; }

/* Amenities / features list */
.single-property .detail-features .amenities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px 24px;
}
.single-property .detail-features .amenities li {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid rgba(232, 221, 208, 0.6);
}
.single-property .detail-features .amenities li i { color: var(--gold); margin-right: 6px; }

/* Detail blocks: vertical rhythm + divider under each section title */
.single-property .detail-block { margin-bottom: var(--sp-7); }
.single-property .detail-title {
  border-bottom: 1px solid var(--sand);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-4);
}

/* Address block */
.single-property .detail-address .item,
.single-property .detail-address td,
.single-property .detail-address li {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  color: var(--text);
}

/* Agent inquiry sidebar → ivory card; quiet the social-login row */
.single-property .widget-contact-agent {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}
.single-property .widget-contact-agent .widget-title {
  font-family: var(--font-serif) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: var(--slate) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border: none !important;
  background: none !important;
  padding: 0 0 var(--sp-3) !important;
}
.single-property .agent-media .media-heading,
.single-property .agent-media a { color: var(--slate); font-family: var(--font-serif); }

/* Social-login buttons — neutralize loud brand colors to uniform outline */
.single-property .facebook-login,
.single-property .google-login,
.single-property .yahoo-login,
.single-property .fave-login-button {
  background: var(--white) !important;
  color: var(--slate) !important;
  border: 1px solid var(--sand) !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}
.single-property .facebook-login:hover,
.single-property .google-login:hover,
.single-property .yahoo-login:hover,
.single-property .fave-login-button:hover { border-color: var(--gold) !important; color: var(--gold) !important; }

/* Gallery */
.single-property .gallery-area { margin-bottom: var(--sp-7); }
.single-property .gallery-area img { border-radius: var(--r-sm); }


/* =============================================================================
   29. BLUE-LEFTOVER CLEANUP (2026-06-13) — Bootstrap/Houzez blue & green that
   survived earlier passes. These run GLOBAL (not .single-property scoped)
   because the badges/buttons also appear in sidebar widgets & the homepage
   featured carousel, which sit outside .single-property.
   ========================================================================== */

/* WPForms "Send Message" submit (contact page) — was Bootstrap blue */
.sbv-lead-form-page .wpforms-submit,
.sbv-lead-form-page button[type="submit"],
.sbv-lead-form-form button[type="submit"] {
  background: var(--slate) !important;
  border: none !important;
  color: var(--white) !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-small) !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: var(--r-sm) !important;
  padding: 14px 38px !important;
  transition: background 0.2s ease !important;
}
.sbv-lead-form-page .wpforms-submit:hover,
.sbv-lead-form-page button[type="submit"]:hover { background: var(--gold) !important; }

/* Houzez advanced-search submit button → slate (was orange/blue) */
.advanced-search .btn-orange,
.advance-search-header .btn-orange,
.advanced-search .advance-btn,
button.advance-btn,
.advanced-search button[type="submit"] {
  background: var(--slate) !important;
  border-color: var(--slate) !important;
  color: var(--white) !important;
}
.advanced-search .btn-orange:hover,
.advanced-search .advance-btn:hover { background: var(--gold) !important; border-color: var(--gold) !important; }

/* Houzez status/featured badges — design-system colors EVERYWHERE
   (single-venue title, sidebar carousel, homepage featured carousel, cards) */
.label.label-status-125,
.label-featured.label-success,
.label-status.label-default {
  font-family: var(--font-sans) !important;
  font-size: 9px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  border-radius: 2px !important;
  padding: 3px 8px !important;
}
.label.label-primary.label-status-125 { background: var(--slate) !important; color: var(--white) !important; }   /* ACTIVE */
.label-featured.label-success         { background: var(--gold)  !important; color: var(--white) !important; }   /* FEATURED */
.label-status.label-default           { background: var(--slate-lt) !important; color: var(--white) !important; }

/* Gallery prev/next arrows (Houzez .lightbox-arrow, used inline + in lightbox) */
.lightbox-arrow {
  background: rgba(28, 58, 74, 0.55) !important;
  color: var(--white) !important;
  border: none !important;
}
.lightbox-arrow:hover { background: var(--slate) !important; }


/* =============================================================================
   30. HOUZEZ CYAN (#00AEEF) ACCENT OVERRIDE (2026-06-13) — Houzez's brand cyan
   bleeds onto JS-injected carousel/gallery arrows, the back-to-top button, and
   nav-dropdown link backgrounds. Map them all to the design system.
   ========================================================================== */

/* Carousel + gallery arrows (owl + slick, used by featured-properties + galleries) */
.owl-prev, .owl-next,
.slick-prev, .slick-next, .slick-arrow {
  background: var(--slate) !important;
  color: var(--white) !important;
  border: none !important;
}
.owl-prev:hover, .owl-next:hover,
.slick-prev:hover, .slick-next:hover { background: var(--gold) !important; }

/* Back-to-top button */
.scrolltop-btn.back-top {
  background: var(--slate) !important;
  color: var(--white) !important;
}
.scrolltop-btn.back-top:hover { background: var(--gold) !important; }

/* Nav dropdown link backgrounds (Houzez paints submenu <a> cyan on current/hover) */
#header-section .navi.main-nav .sub-menu a,
#header-section .sub-menu li > a {
  background: transparent !important;
}
#header-section .navi.main-nav .sub-menu a:hover,
#header-section .sub-menu .current-menu-item > a {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Repair: status "Active" badge (label-default) — pale bg needs dark text, not white */
.label-status.label-default { color: var(--slate) !important; }

/* v24: status "Active" pill — slate bg so the white text is legible
   (supersedes the §29 pale-bg + §30 dark-text attempt) */
.label-status.label-default {
  background: var(--slate) !important;
  color: var(--white) !important;
}

/* v25: hide the "Active" listing-status pills — meaningless to visitors,
   pure Houzez chrome. The gold FEATURED badge (meaningful) stays. */
.label-status.label-status-125.label-default,
.property-labels .label-status-125.label-default { display: none !important; }

/* =====================================================================
   SHARED — eyebrow used by §32 + §33 (namespaced; theme's global .eyebrow
   may differ, so define our own to be safe).
   ===================================================================== */
.sbv-eyebrow{ font-family:var(--font-sans); font-size:12px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); }

/* =====================================================================
   32. SINGLE-VENUE C4 REDESIGN (2026-06-15 — Amendment 4 §C)
   Spec: design-system/single-venue-mockups/option-c4-final.html (LOCKED).
   Full structural rebuild of single-property.php. Supersedes the §26/§28
   Houzez-delegating single-property styling (those target old markup this
   template no longer renders — left in place, harmless). All selectors
   scoped under .sbv-sv so they beat Houzez's `.single-property h1` etc.
   ===================================================================== */
.sbv-sv{ background:var(--ivory); }
.sbv-sv-wrap{ max-width:var(--container-max); margin:0 auto; padding:0 var(--container-px); }

.sbv-sv-head{ display:flex; justify-content:space-between; align-items:flex-end; padding:34px 0 18px; flex-wrap:wrap; gap:16px; }
.sbv-sv-crumb{ font-family:var(--font-sans); font-size:12px; letter-spacing:.05em; text-transform:uppercase; color:var(--text-lt); }
.sbv-sv-crumb a{ text-decoration:none; color:var(--text-lt); }
.sbv-sv-crumb a:hover{ color:var(--gold); }
.sbv-sv .sbv-sv-title{ font-family:var(--font-serif); font-weight:300; color:var(--slate); font-size:clamp(34px,4vw,52px); line-height:1.1; margin:8px 0 0; }

.sbv-sv-lead{ position:relative; border-radius:8px; overflow:hidden; aspect-ratio:16/8; cursor:zoom-in; }
.sbv-sv-lead img{ width:100%; height:100%; object-fit:cover; display:block; }
.sbv-sv-count{ position:absolute; bottom:16px; right:16px; background:rgba(14,35,48,.7); color:#fff; font-family:var(--font-sans); font-size:12px; letter-spacing:.08em; padding:8px 14px; border-radius:4px; }

.sbv-sv-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--sand); border:1px solid var(--sand); border-radius:8px; overflow:hidden; margin:12px 0; }
.sbv-sv-stats > div{ background:#fff; padding:15px 18px; text-align:center; }
.sbv-sv-stats .n{ font-family:var(--font-serif); font-size:22px; color:var(--slate); line-height:1.1; }
.sbv-sv-stats .l{ font-family:var(--font-sans); font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--text-lt); margin-top:6px; }

.sbv-sv-thumbs{ display:grid; grid-template-columns:repeat(5,1fr); gap:10px; }
.sbv-sv-thumbs img{ aspect-ratio:4/3; object-fit:cover; border-radius:5px; cursor:zoom-in; transition:.3s; width:100%; display:block; }
.sbv-sv-thumbs img:hover{ opacity:.85; }

.sbv-sv-layout{ display:grid; grid-template-columns:1fr 360px; gap:56px; padding:40px 0 80px; }
.sbv-sv-section{ margin-bottom:40px; }
.sbv-sv .sbv-sv-section h2{ font-family:var(--font-serif); font-weight:300; color:var(--slate); font-size:28px; padding-bottom:14px; border-bottom:1px solid var(--sand); margin-bottom:18px; }
.sbv-sv-section h2 .sbv-eyebrow{ font-size:11px; margin-right:6px; }
.sbv-sv-prose, .sbv-sv-prose p, .sbv-sv-prose li{ font-family:var(--font-sans); font-size:16px; line-height:1.7; color:var(--text); }
.sbv-sv-prose p{ margin-bottom:16px; max-width:64ch; }
.sbv-sv-prose a{ color:var(--gold); }

.sbv-sv-features{ display:grid; grid-template-columns:repeat(2,1fr); gap:2px 36px; }
.sbv-sv-feat{ display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid rgba(232,221,208,.55); font-family:var(--font-sans); font-size:14.5px; color:var(--text-lt); }
.sbv-sv-feat .box{ width:19px; height:19px; border-radius:4px; border:1.5px solid var(--sand); flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:12px; line-height:1; }
.sbv-sv-feat.has{ color:var(--slate); font-weight:500; opacity:1; }
.sbv-sv-feat:not(.has){ opacity:.6; }
.sbv-sv-feat.has .box{ background:var(--gold); border-color:var(--gold); color:#fff; }
.sbv-sv-feat.has .box::after{ content:'\2713'; font-weight:700; }

.sbv-sv-aside{ align-self:start; }
.sbv-sv-card{ position:sticky; top:96px; background:#fff; border:1px solid var(--sand); border-radius:8px; box-shadow:var(--shadow-hover); overflow:hidden; }
.sbv-sv-card-head{ background:var(--slate); color:#fff; padding:26px 28px; }
.sbv-sv-card-head .sbv-eyebrow{ color:var(--gold-lt); }
.sbv-sv .sbv-sv-card-head h3{ font-family:var(--font-serif); font-weight:300; color:#fff; font-size:25px; margin:6px 0 0; line-height:1.15; }
.sbv-sv-card-body{ padding:24px 28px 28px; }
.sbv-sv-facts{ list-style:none; margin:0 0 22px; padding:0; }
.sbv-sv-facts li{ display:flex; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid rgba(232,221,208,.7); font-size:14px; }
.sbv-sv-facts li span:first-child{ color:var(--text-lt); text-transform:uppercase; letter-spacing:.08em; font-size:11px; font-weight:500; }
.sbv-sv-facts li span:last-child{ color:var(--slate); font-weight:500; text-align:right; }

.sbv-btn{ display:inline-block; width:100%; text-align:center; font-family:var(--font-sans); font-size:13px; font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:#fff; background:var(--slate); border:none; padding:15px 34px; border-radius:3px; cursor:pointer; text-decoration:none; transition:.2s; }
.sbv-btn:hover{ background:var(--gold); color:#fff; }
.sbv-sv-call{ font-size:13px; color:var(--text-lt); text-align:center; margin-top:14px; }
.sbv-sv-call a{ color:var(--gold); text-decoration:none; }

.sbv-sv-inqform{ display:none; margin-top:6px; }
.sbv-sv-inqform.show{ display:block; animation:sbvFade .25s ease; }
@keyframes sbvFade{ from{opacity:0;transform:translateY(-4px)} to{opacity:1;transform:none} }
.sbv-sv-inqform .agent-media{ display:none; }
.sbv-sv-inqform .form-group{ margin-bottom:12px; }
.sbv-sv-inqform .form-control{ width:100%; border:1px solid var(--sand); border-radius:5px; padding:11px; font-family:var(--font-sans); font-size:14px; background:var(--ivory); color:var(--text); }
.sbv-sv-inqform textarea.form-control{ min-height:90px; }
.sbv-sv-inqform .agent_contact_form{ width:100%; margin-top:6px; background:var(--slate); color:#fff; border:none; padding:14px; border-radius:3px; font-family:var(--font-sans); font-size:13px; font-weight:500; letter-spacing:.1em; text-transform:uppercase; cursor:pointer; transition:.2s; }
.sbv-sv-inqform .agent_contact_form:hover{ background:var(--gold); }
.sbv-sv-routing{ font-size:12px; color:var(--text-lt); text-align:center; margin-top:12px; line-height:1.5; }
.sbv-sv-routing b{ color:var(--slate); font-weight:500; }

.sbv-lb{ position:fixed; inset:0; background:rgba(14,35,48,.94); z-index:9000; display:none; align-items:center; justify-content:center; }
.sbv-lb.open{ display:flex; }
.sbv-lb-img{ max-width:90vw; max-height:86vh; border-radius:4px; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.sbv-lb-close{ position:absolute; top:24px; right:30px; color:#fff; font-size:34px; cursor:pointer; font-family:var(--font-sans); line-height:1; opacity:.8; }
.sbv-lb-close:hover{ opacity:1; color:var(--gold-lt); }
.sbv-lb-nav{ position:absolute; top:50%; transform:translateY(-50%); width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; border:none; font-size:24px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.2s; }
.sbv-lb-nav:hover{ background:var(--gold); }
.sbv-lb-prev{ left:30px; } .sbv-lb-next{ right:30px; }
.sbv-lb-count{ position:absolute; bottom:26px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.75); font-family:var(--font-sans); font-size:13px; letter-spacing:.1em; }

@media(max-width:900px){
  .sbv-sv-layout{ grid-template-columns:1fr; gap:0; }
  .sbv-sv-card{ position:static; }
  .sbv-sv-stats{ grid-template-columns:repeat(2,1fr); }
  .sbv-sv-thumbs{ grid-template-columns:repeat(3,1fr); }
  .sbv-sv-features{ grid-template-columns:1fr; }
}

/* =====================================================================
   33. CONTACT C-HYBRID (2026-06-15 — Amendment 4 §C)
   Spec: design-system/single-venue-mockups/contact-c-hybrid.html (LOCKED).
   Split editorial: image pane | ivory form pane (method pills + WPForms 8303).
   Supersedes the §16/§26/§27 .sbv-lead-form-* styling (old markup, now dead).
   ===================================================================== */
body.page-id-8 #section-body{ overflow-x:clip; padding:0; }
.sbv-c-split{ position:relative; width:100vw; left:50%; transform:translateX(-50%); display:grid; grid-template-columns:1.05fr 1fr; min-height:calc(100vh - 170px); }
.sbv-c-image{ position:relative; background:var(--navy) center/cover no-repeat; display:flex; align-items:flex-end; padding:56px; }
.sbv-c-image::after{ content:''; position:absolute; inset:0; background:linear-gradient(to top,rgba(14,35,48,.85),rgba(14,35,48,.25) 60%,rgba(14,35,48,.4)); }
.sbv-c-image-inner{ position:relative; z-index:2; color:#fff; max-width:440px; }
.sbv-c-image-inner .sbv-eyebrow{ color:var(--gold-lt); }
.sbv-c-image-inner h1{ font-family:var(--font-serif); color:#fff; font-size:clamp(40px,4.4vw,60px); font-weight:300; margin:14px 0 18px; line-height:1.05; }
.sbv-c-image-inner p{ font-family:var(--font-sans); color:rgba(255,255,255,.82); font-size:16px; line-height:1.7; margin:0; }

.sbv-c-form{ background:var(--ivory); padding:54px 60px; display:flex; flex-direction:column; justify-content:center; }
.sbv-c-pills{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:30px; }
.sbv-c-pill{ background:#fff; border:1px solid var(--sand); border-radius:8px; padding:16px 12px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:6px; text-decoration:none; transition:.2s; }
.sbv-c-pill:hover{ border-color:var(--gold); }
.sbv-c-pill .ic{ width:36px; height:36px; border-radius:50%; background:var(--ivory); border:1px solid var(--sand); display:flex; align-items:center; justify-content:center; color:var(--gold); font-size:15px; }
.sbv-c-pill .lab{ font-family:var(--font-sans); font-size:9px; letter-spacing:.13em; text-transform:uppercase; color:var(--text-lt); }
.sbv-c-pill .val{ font-family:var(--font-serif); font-size:15px; color:var(--slate); line-height:1.25; word-break:break-word; }
.sbv-c-form .sbv-eyebrow{ display:block; margin-bottom:8px; }
.sbv-c-h2{ font-family:var(--font-serif); font-weight:300; color:var(--slate); font-size:32px; margin-bottom:8px; }
.sbv-c-sub{ font-family:var(--font-sans); font-size:15px; color:var(--text-lt); margin-bottom:24px; max-width:42ch; }

.sbv-c-wpforms .wpforms-field{ padding:0 0 14px; }
.sbv-c-wpforms .wpforms-field-label,
.sbv-c-wpforms legend.wpforms-field-label{ font-family:var(--font-sans); font-size:11px; letter-spacing:.05em; text-transform:uppercase; color:var(--text-lt); margin-bottom:6px; font-weight:500; }
.sbv-c-wpforms input, .sbv-c-wpforms select, .sbv-c-wpforms textarea{ width:100%; border:1px solid var(--sand); border-radius:6px; padding:13px; font-family:var(--font-sans); font-size:14px; background:#fff; color:var(--text); }
.sbv-c-wpforms input:focus, .sbv-c-wpforms select:focus, .sbv-c-wpforms textarea:focus{ outline:none; border-color:var(--gold); }
/* WPForms 8303 paints its submit via an inline --wpforms-button-background-color
   custom property, so plain background loses — !important required. (The old
   §31 .sbv-lead-form-page rule no longer matches: C-hybrid dropped that class.) */
.sbv-c-wpforms .wpforms-submit,
.sbv-c-wpforms button[type="submit"],
body.page-id-8 .wpforms-submit{ margin-top:10px; width:100%; background:var(--slate) !important; background-color:var(--slate) !important; color:#fff !important; border:none !important; padding:15px !important; border-radius:3px !important; font-family:var(--font-sans) !important; font-size:13px !important; font-weight:500 !important; letter-spacing:.1em !important; text-transform:uppercase !important; cursor:pointer; transition:.2s; }
.sbv-c-wpforms .wpforms-submit:hover,
.sbv-c-wpforms button[type="submit"]:hover,
body.page-id-8 .wpforms-submit:hover{ background:var(--gold) !important; background-color:var(--gold) !important; }

@media(max-width:880px){
  .sbv-c-split{ grid-template-columns:1fr; min-height:0; }
  .sbv-c-image{ min-height:340px; }
  .sbv-c-form{ padding:40px 24px; }
}

/* =====================================================================
   34. Hide the stuck Slider Revolution loader spinner (2026-06-15)
   The editorial-hero override suppresses RevSlider's own text layers, which
   leaves its <rs-loader class="spinner0"> spinning forever in the hero center
   (it's normally removed when the slider's layers finish, which never happens
   here). The editorial overlay + slate background are always present, so the
   loader is pure noise. Kill it everywhere. Pairs with the .tp-caption/.rs-layer
   suppression in template-parts/page-headers/revolution-slider.php.
   ===================================================================== */
rs-loader, .tp-loader, rs-loader.spinner0, .tp-loader.spinner0, .rev_slider .tp-loader { display:none !important; opacity:0 !important; visibility:hidden !important; }

/* =====================================================================
   35. BLOG / POST / ARCHIVE — design-system harmonization (2026-06-15)
   The blog was default Houzez (blue links, generic sidebar). Restyle the
   Houzez blog markup (.blog-article / .article-* / .widget_*) to the SBV
   palette + type. Scoped to blog/single/archive/search/category/tag bodies
   so property pages are untouched.
   ===================================================================== */
body.blog, body.single-post, body.archive, body.search, body.category, body.tag { background: var(--ivory); }

/* Kill Houzez blue everywhere in the blog content + sidebar */
.blog-page a, .blog-page a:visited,
body.single-post .section-detail-content a:not(.btn),
body.blog .container-sidebar a, body.single-post .container-sidebar a,
body.archive .container-sidebar a, body.search .container-sidebar a,
body.category .container-sidebar a, body.tag .container-sidebar a { color: var(--slate); transition: color .2s ease; }
.blog-page a:hover,
body.single-post .section-detail-content a:not(.btn):hover,
body.blog .container-sidebar a:hover, body.single-post .container-sidebar a:hover,
body.archive .container-sidebar a:hover, body.search .container-sidebar a:hover { color: var(--gold); }

/* Post cards (blog index / archive) */
.blog-page .blog-article {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: var(--sp-7);
  transition: box-shadow .25s ease;
}
.blog-page .blog-article:hover { box-shadow: var(--shadow-hover); }
.blog-page .article-media, .blog-page .post-thumbnail { margin: 0; }
.blog-page .article-media img, .blog-page .post-thumbnail img { width: 100%; height: auto; display: block; object-fit: cover; }
.blog-page .article-detail { padding: 30px 34px 34px; }

/* Titles → Cormorant slate */
.blog-page .article-title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin: 0 0 14px; }
.blog-page .article-title a { color: var(--slate); }
.blog-page .article-title a:hover { color: var(--gold); }
.blog-page .article-detail p { font-family: var(--font-sans); font-size: 15.5px; line-height: 1.75; color: var(--text-lt); }

/* Post meta + footer */
.blog-page .article-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sand); }
.blog-page .article-footer, .blog-page .article-footer a { font-family: var(--font-sans); font-size: 12px; letter-spacing: .04em; color: var(--text-lt); }
.blog-page .article-footer a:hover { color: var(--gold); }
.blog-page .article-footer i { color: var(--gold); margin-right: 5px; }

/* Read more → slate pill */
.blog-page .read-more, .blog-page .article-footer-right a.btn, .blog-page a.read-more-link, .blog-page .btn-readmore,
.blog-page .article-footer-right .btn {
  display: inline-block; background: var(--slate) !important; color: var(--white) !important;
  font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 11px 22px; border-radius: var(--r-sm); border: none; transition: background .2s ease;
}
.blog-page .read-more:hover, .blog-page .article-footer-right a.btn:hover, .blog-page .btn-readmore:hover { background: var(--gold) !important; color: var(--white) !important; }

/* Single post body */
body.single-post .section-detail-content h1, body.single-post .entry-title, body.single-post .blog-title {
  font-family: var(--font-serif); font-weight: 300; color: var(--slate); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12;
}
body.single-post .entry-content, body.single-post .blog-content, body.single-post .post-content { font-family: var(--font-sans); font-size: 16.5px; line-height: 1.8; color: var(--text); }
body.single-post .entry-content h2, body.single-post .entry-content h3, body.single-post .blog-content h2, body.single-post .blog-content h3 { font-family: var(--font-serif); font-weight: 400; color: var(--slate); }
body.single-post .entry-content a, body.single-post .blog-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* Sidebar widgets */
body.blog .container-sidebar .widget, body.single-post .container-sidebar .widget,
body.archive .container-sidebar .widget, body.search .container-sidebar .widget,
body.category .container-sidebar .widget, body.tag .container-sidebar .widget {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-md); padding: 22px 24px; margin-bottom: 24px; box-shadow: none;
}
.blog-page ~ * .widget-title, body.blog .container-sidebar .widget-title, body.single-post .container-sidebar .widget-title,
body.archive .container-sidebar .widget-title, body.search .container-sidebar .widget-title,
body.category .container-sidebar .widget-title, body.tag .container-sidebar .widget-title {
  font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--sand);
}
body.blog .container-sidebar .widget li, body.single-post .container-sidebar .widget li,
body.archive .container-sidebar .widget li, body.search .container-sidebar .widget li,
body.category .container-sidebar .widget li, body.tag .container-sidebar .widget li {
  font-family: var(--font-sans); font-size: 14px; line-height: 1.5; padding: 7px 0; border-bottom: 1px solid rgba(232,221,208,.5); list-style: none;
}
body.blog .container-sidebar .widget li:last-child, body.single-post .container-sidebar .widget li:last-child { border-bottom: none; }
body.blog .container-sidebar .widget a, body.single-post .container-sidebar .widget a,
body.archive .container-sidebar .widget a, body.search .container-sidebar .widget a { color: var(--slate); }
body.blog .container-sidebar .widget a:hover, body.single-post .container-sidebar .widget a:hover { color: var(--gold); }
/* Search widget input */
body.blog .container-sidebar .widget_search input[type="text"], body.single-post .container-sidebar .widget_search input[type="text"],
body.blog .container-sidebar .widget_search input[type="search"], body.single-post .container-sidebar .widget_search input[type="search"] {
  width: 100%; border: 1px solid var(--sand); border-radius: var(--r-sm); padding: 11px 13px; font-family: var(--font-sans); font-size: 14px; background: var(--ivory);
}
body.blog .container-sidebar .widget_search button, body.single-post .container-sidebar .widget_search button { background: var(--slate); border: none; color: #fff; }

/* =====================================================================
   36. CONTACT — Google Map under the form (full-bleed band)
   ===================================================================== */
.sbv-c-map { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); line-height: 0; }
.sbv-c-map iframe { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(0.25) contrast(1.05); }
@media (max-width: 880px) { .sbv-c-map iframe { height: 320px; } }

/* =====================================================================
   37. FEATURED — tall image-overlay card (narrow-tall slot beside the wide
   featured card). Fills the grid-stretched height with a full-bleed image +
   gradient + overlaid title, eliminating the dead-space gap.
   ===================================================================== */
.sbv-venue-card--tall {
  position: relative; display: block; overflow: hidden; height: 100%; min-height: 280px;
  border-radius: var(--r-md); box-shadow: var(--shadow-card); text-decoration: none; cursor: pointer;
}
.sbv-venue-card--tall:hover { box-shadow: var(--shadow-hover); transform: none; }
.sbv-venue-card--tall .sbv-venue-card__thumb { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; width: 100%; background: var(--slate-lt); }
.sbv-venue-card--tall .sbv-venue-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sbv-venue-card--tall:hover .sbv-venue-card__thumb img { transform: scale(1.05); }
.sbv-venue-card--tall::after { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(14,35,48,.9) 0%, rgba(14,35,48,.35) 45%, rgba(14,35,48,0) 75%); }
.sbv-featured-badge--float { position: absolute; top: 16px; left: 16px; z-index: 3; margin: 0; }
.sbv-venue-card--tall .sbv-venue-card__overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 24px; }
.sbv-venue-card--tall .sbv-venue-tag { display: block; color: var(--gold-lt); margin-bottom: 5px; }
.sbv-venue-card--tall .sbv-venue-card__title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; margin: 0 0 12px; color: #fff; }
.sbv-venue-card--tall .sbv-venue-card__cta { font-family: var(--font-sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: #fff; }
.sbv-venue-card--tall:hover .sbv-venue-card__cta { color: var(--gold-lt); }
@media (max-width: 980px) { .sbv-venue-card--tall { min-height: 260px; } }

/* =====================================================================
   38. SINGLE POST — full treatment + Related posts + post nav (2026-06-15)
   §35 only scoped the index (.blog-page). The single post reuses .blog-article
   /.article-* but adds a Related-posts grid (.post-card-item) + prev/next nav
   (.next-prev-blog) that were left default-Houzez (blue). Bring them in.
   ===================================================================== */
/* Post body — match the index treatment on the single post */
body.single-post .blog-article { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; }
body.single-post .article-detail, body.single-post .article-main { padding: 8px 4px 0; }
body.single-post .article-title, body.single-post h1.article-title { font-family: var(--font-serif); font-weight: 300; color: var(--slate); line-height: 1.12; }
body.single-post .article-detail p, body.single-post .article-main p, body.single-post .article-detail li { font-family: var(--font-sans); font-size: 16.5px; line-height: 1.8; color: var(--text); }
body.single-post .article-detail h2, body.single-post .article-detail h3, body.single-post .article-main h2, body.single-post .article-main h3 { font-family: var(--font-serif); font-weight: 400; color: var(--slate); }
body.single-post .article-detail a:not(.btn), body.single-post .article-main a:not(.btn) { color: var(--gold); }
body.single-post .breadcrumb-single a, body.single-post .page-title a { color: var(--slate); }
body.single-post .breadcrumb-single a:hover { color: var(--gold); }

/* "Related posts" / section heading */
.blog-section-title { font-family: var(--font-serif); font-weight: 300; color: var(--slate); font-size: clamp(24px, 2.4vw, 32px); margin: 8px 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--sand); }

/* Related-post cards */
.post-card-item { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow .25s ease, transform .22s ease; margin-bottom: 24px; }
.post-card-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.post-card-item .figure-block, .post-card-item .item-thumb { margin: 0; overflow: hidden; }
.post-card-item .item-thumb img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .4s ease; }
.post-card-item:hover .item-thumb img { transform: scale(1.05); }
.post-card-item .thumb-caption { display: none; } /* hide Houzez file-type chip */
.post-card-body { padding: 20px 22px 22px; }
.post-card-title { font-family: var(--font-serif); font-weight: 400; font-size: 19px; line-height: 1.2; margin: 0 0 8px; }
.post-card-title a { color: var(--slate); }
.post-card-title a:hover { color: var(--gold); }
.post-card-author, .post-card-author a { font-family: var(--font-sans); font-size: 11px; letter-spacing: .04em; color: var(--text-lt); }
.post-card-author a:hover { color: var(--gold); }
.post-card-description { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.6; color: var(--text-lt); margin-top: 8px; }
.post-card-description a { color: var(--slate); }
.post-card-description .list-inline { margin: 10px 0 0; padding: 0; }
.post-card-description .list-inline > li { display: inline-block; margin-right: 14px; font-size: 11px; color: var(--text-lt); }
.post-card-item .fa, .post-card-description .fa { color: var(--gold); margin-right: 4px; }

/* Prev / next post navigation */
.next-prev-blog { display: flex; justify-content: space-between; gap: 20px; margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--sand); }
.next-prev-blog .prev-box, .next-prev-blog .next-box { float: none; }
.next-prev-blog .next-box { text-align: right; margin-left: auto; }
.next-prev-blog a { font-family: var(--font-sans); font-size: 13px; color: var(--slate); }
.next-prev-blog a:hover { color: var(--gold); }
.next-prev-blog .fa { color: var(--gold); }
/* Comments count chip */
body.single-post .fa-comments-o { color: var(--gold); }

/* =====================================================================
   39. FOOTER — stamp emblem above the brand text
   ===================================================================== */
.sbv-footer-emblem { display: block; width: 92px; height: auto; margin: 0 0 20px; }

/* =====================================================================
   §40 — Kat 2026-06-17 final-review punch list
   (nav logo · footer Solera logo · single-page search · per-venue map)
   ===================================================================== */

/* #10 Nav logo — swap to the pre-colored white-beige wordmark (white "SB" +
   gold "Venues" + mission bell, built for the slate nav). Drop the §263
   brightness/invert filter; the new asset is already correctly colored. */
/* Nav logo (desktop + mobile) — white-gold vector via content:url(), which
   swaps the Houzez logo <img> in place so Houzez keeps its responsive
   sizing/centering per breakpoint. (Replaces the PNG bg-swap, which missed the
   mobile logo element — Kat 2026-06-17 mobile review.) */
#header-section .logo img,
#header-section .logo-desktop img,
.header-logo.logo-mobile img,
.header-mobile .header-logo img {
  content: url('../img/sbv-nav-logo.svg');
  filter: none !important;
  height: 58px !important;
  width: auto !important;
  max-width: none !important;
  display: inline-block !important;
}
/* Mobile logo a touch smaller */
.header-logo.logo-mobile img,
.header-mobile .header-logo img { height: 40px !important; }

/* #6 Footer — linked Solera & Co. landscape logo replaces the SBV emblem */
.sbv-footer-solera { display: inline-block; margin: 0 0 20px; }
.sbv-footer-solera-logo { display: block; width: 210px; height: auto; max-width: 100%; }

/* #4 Single-venue pages — drop the Houzez advanced-search bar (keep clean) */
body.single-property .advanced-search,
body.single-property .advance-search-header,
body.single-property .advanced-search-mobile { display: none !important; }

/* #1a Per-venue location map under the Plan card */
.sbv-sv-map { margin-top: 16px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); }
.sbv-sv-map iframe { display: block; width: 100%; height: 240px; border: 0; }

/* =====================================================================
   §41 — Kat 6/17 verify-pass fixes (#8 featured equal-height · #5 slider flash)
   ===================================================================== */

/* #8 — wide + tall featured cards equal height. The grid's default
   align-items wasn't stretching the wide card to the tall card's row height;
   force stretch + let the wide card fill the row. (Verified live: 822→850.) */
.sbv-featured-grid { align-items: stretch; }
.sbv-venue-card--wide { height: 100%; }

/* #5 — slider "gray/blue flash": the unloaded RevSlider slide paints its
   #E7E7E7 fallback, which under the dark text-overlay reads as washed blue for
   the seconds the heavy lazy-loaded image takes to arrive. Paint the fallback
   slate so the pre-load hero reads as an intentional dark hero, not a void. */
.sbv-hero-wrap rs-sbg,
.sbv-hero-wrap rs-slide,
.sbv-hero-wrap .tp-bgimg,
.sbv-hero-wrap .rev_slider rs-sbg { background-color: var(--slate) !important; }

/* =====================================================================
   §42 — Kat 2026-06-17 mobile review (logo size · drop hamburger ·
   scrollable pills · nav-over-hero overlap)
   ===================================================================== */

/* #3 Filter pills — horizontally SCROLLABLE (mobile + desktop), was overflow:hidden
   "graceful drop". Label stays pinned left; pills scroll. */
.sbv-filter-row {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sbv-filter-row::-webkit-scrollbar { display: none; }
.sbv-filter-row > .sbv-filter-pill { flex: 0 0 auto; white-space: nowrap; }
.sbv-filter-row > .sbv-filter-label {
  position: sticky; left: 0; z-index: 2; flex: 0 0 auto;
  background: var(--sand); padding-right: 8px;
}

@media (max-width: 991px) {
  /* #1 Bigger nav logo on mobile */
  .header-logo.logo-mobile img,
  .header-mobile .header-logo img { height: 54px !important; }

  /* #4 Hero tall enough that vertically-centered text never rides up under the
     nav (the 320–380px caps were shorter than the wrapped mobile text). */
  .sbv-hero-wrap .rs-fullwidth-wrap,
  .sbv-hero-wrap .rev_slider_wrapper,
  body.page-template-page-templates-venue-browse .sbv-hero-wrap .rs-fullwidth-wrap,
  body.page-template-page-templates-venue-browse .sbv-hero-wrap .rev_slider_wrapper {
    min-height: 560px !important;
    max-height: none !important;
  }
  .sbv-hero-editorial { padding-top: 24px; }

  /* #2 Drop the hamburger; surface ALL VENUES + CONTACT US inline.
     Hide the trigger + the two dropdown parents (By Location / By Type). */
  .header-mobile .nav-trigger { display: none !important; }
  .header-mobile .nav-dropdown.main-nav-dropdown {
    display: block !important;
    position: static !important;
    width: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
  }
  .header-mobile #main-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 22px;
    margin: 0 !important;
    padding: 4px 0 0 !important;
  }
  .header-mobile #main-nav > li { border: none !important; width: auto !important; float: none !important; }
  .header-mobile #main-nav > li.menu-item-has-children { display: none !important; }
  .header-mobile #main-nav .sub-menu { display: none !important; }
  .header-mobile #main-nav > li > a {
    color: #fff !important;
    padding: 6px 0 !important;
    font-family: var(--font-sans);
    font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
    border: none !important;
  }
  .header-mobile #main-nav > li > a:hover { color: var(--gold) !important; }
}

/* =====================================================================
   §43 — Mobile nav layout (supersedes the §42 inline attempt).
   Houzez's Bootstrap .container clearfix ::before/::after were becoming
   phantom flex items and breaking the layout (the documented gotcha).
   Result: logo centered on top, ALL VENUES + CONTACT US centered below,
   no hamburger/white-box. Verified live 2026-06-17.
   ===================================================================== */
@media (max-width: 991px) {
  .header-mobile .container {
    display: flex !important; flex-direction: column !important;
    align-items: center !important; gap: 8px !important;
    padding: 12px 15px 10px !important;
  }
  .header-mobile .container::before,
  .header-mobile .container::after { display: none !important; content: none !important; }
  .header-mobile .header-logo.logo-mobile {
    order: 1 !important; width: 100% !important; text-align: center !important;
    float: none !important; margin: 0 !important;
  }
  .header-mobile .header-logo.logo-mobile a {
    display: inline-block !important; width: auto !important; max-width: none !important;
  }
  .header-mobile .header-logo.logo-mobile img { height: 50px !important; width: auto !important; vertical-align: middle; }
  .header-mobile .mobile-nav {
    order: 2 !important; width: 100% !important; float: none !important;
    margin: 0 !important; position: static !important;
  }
  .header-mobile .nav-dropdown.main-nav-dropdown {
    position: static !important; display: block !important; width: 100% !important;
  }
  .header-mobile #main-nav {
    display: flex !important; flex-direction: row !important; justify-content: center !important;
    gap: 28px !important; background: transparent !important; box-shadow: none !important;
    margin: 0 !important; padding: 0 !important; list-style: none !important;
  }
  .header-mobile #main-nav::before,
  .header-mobile #main-nav::after { display: none !important; }
  .header-mobile #main-nav > li { float: none !important; border: none !important; width: auto !important; background: transparent !important; }
  .header-mobile #main-nav > li > a { white-space: nowrap !important; color: #fff !important; padding: 2px 0 !important; }
  .header-mobile #main-nav > li > a:hover { color: var(--gold) !important; }
}
