/* ===== CLAUDE FIX: Style Showcase IDX filter bar with CURRENT plugin class names ===== */
.sidx-basic {
	    display: flex !important;
	    flex-wrap: wrap !important;
	    align-items: center !important;
	    gap: 12px !important;
	    padding: 4px 0 !important;
}
.sidx-locations-field-wrapper {
	    flex: 1 1 220px !important;
}
.sidx-locations-field-wrapper input {
	    border: 1px solid #ddd !important;
	    border-radius: 4px !important;
	    padding: 12px 14px !important;
	    width: 100% !important;
	    box-sizing: border-box !important;
}
.sidx-range,
.sidx-beds-and-baths,
.sidx-streamlined-search,
.sidx-save-search-pill {
	    border: 1px solid #c9a96e !important;
	    border-radius: 4px !important;
	    padding: 12px 16px !important;
	    background: #fff !important;
	    color: #3a3a36 !important;
	    white-space: nowrap !important;
	    cursor: pointer !important;
	    display: inline-flex !important;
	    align-items: center !important;
}
.sidx-save-search-pill {
	    background: #c9a96e !important;
	    color: #fff !important;
	    border-color: #c9a96e !important;
}


/* Fix breadcrumb numbered list display */
nav.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

nav.breadcrumbs ol li {
    list-style: none;
    display: inline;
}

nav.breadcrumbs ol li + li::before {
    content: " / ";
    color: #fff;
}

/* Hide seller intake form by default, show when linked via anchor */
#seller-intake-form {
    display: none !important;
}
#seller-intake-form:target {
    display: block !important;
}

/* ===== SHOWCASE IDX LAYOUT FIX =====
   Restores proper grid display since IDX JS does not load on this host */

/* Make IDX container visible - using html body prefix for higher specificity */
html body #sidx-main-container {
    visibility: visible !important;
    animation: none !important;
}

/* IDX overall background to match dark theme */
.sidx-container .sidx-main-app-body {
    background-color: #1c1c1c !important;
    color: #e0e0e0 !important;
}

/* Search bar area */
.sidx-large-screen {
    background-color: #1c1c1c;
}

/* Grid container - display listings in a 3-column grid */
.sidx-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    padding: 20px 0 !important;
}

/* Each listing card wrapper - scoped to grid only */
.sidx-grid .sidx-require-auth {
    width: calc(33.333% - 14px) !important;
    min-width: 280px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* The actual card */
.sidx-search-result-grid-item {
    width: 100% !important;
    background: #1c1c1c !important;
    border: 1px solid #333 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.sidx-search-result-grid-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5) !important;
    border-color: #c9a84c !important;
}

/* Property image area - Fixed for Showcase IDX compatibility */
/* Only override the thumbnail container, not the inner absolute-positioned gallery-display */
.sidx-thumbnail {
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
}

/* Fix image display within the gallery */
.sidx-gallery-image img,
.sidx-thumbnail img {
    object-fit: cover !important;
    object-position: center 70% !important;
}

/* Listing details area */
.sidx-details {
    padding: 16px !important;
    display: block !important;
    width: 100% !important;
}

/* Price */
.sidx-primary-details .sidx-price,
.sidx-price {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    display: block !important;
    margin-bottom: 6px !important;
}

/* Address */
.sidx-listing-heading,
.sidx-address {
    font-size: 0.85rem !important;
    color: #aaa !important;
    display: block !important;
    margin-bottom: 10px !important;
}

/* Beds/Baths/SqFt info blocks */
.sidx-info-blocks {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    border-top: 1px solid #333 !important;
    padding-top: 12px !important;
    margin-top: 12px !important;
}

/* New listing ribbon */
.sidx-ribbon {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #c9a84c !important;
    color: #000 !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    padding: 4px 8px !important;
    z-index: 2 !important;
    display: block !important;
}

/* Status badge */
.sidx-mls-details {
    display: block !important;
}

/* Controls bar (sort/filter) */
.sidx-listings-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 0 !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

/* Search header nav */
.sidx-main-header {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 10px 16px !important;
    background: #141414 !important;
    border-bottom: 1px solid #333 !important;
    flex-wrap: wrap !important;
}

/* Disclaimer */
.sidx-disclaimer {
    display: none !important;
}

/* Responsive: 2 cols on tablet */
@media (max-width: 1024px) {
    .sidx-require-auth {
        width: calc(50% - 10px) !important;
    }
}

/* Responsive: 1 col on mobile */
@media (max-width: 640px) {
    .sidx-require-auth {
        width: 100% !important;
    }
}
/* Fix z-index so "Ready to Make Your Move?" CTA doesn't overlap IDX listing cards */
.section.section--sm {
    position: relative;
    z-index: 1;
}

.idx-wrapper,
#sidx-main-container {
    position: relative;
    z-index: 2;
}

/* Fix Showcase IDX listing detail page layout - sidx-require-auth is used for both
   grid items AND the listing detail container, causing the detail page to be constrained
   to 33.333% width. This override restores full width for the listing detail context. */
.sidx-main-app-body > div > .sidx-require-auth {
    width: 100% !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
    flex-grow: 1 !important;
}

/* Fix the listing detail columns layout to display side by side */
.sidx-columns {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0 !important;
}

/* Ensure left sidebar has proper width on listing detail pages */
.sidx-left-column {
    min-width: 300px !important;
    width: 300px !important;
    flex-shrink: 0 !important;
}

.sidx-right-column {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

/* Hide broken Optima Express market snapshot section (plugin not installed) */
/* Showcase IDX display fix - restored after SIDX bug fix */
.idx-wrapper {
    display: block !important;
}

/* ====== SHOWCASE IDX LISTING DETAIL PAGE FIXES ====== */

/* Fix: Theme's large h1 font size overrides SIDX listing address heading */
.sidx-listing-heading h1,
.idx-wrapper h1 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    font-family: "Helvetica Neue", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
}

/* Fix: Theme h2/h3 styles overriding SIDX detail page headings */
.idx-wrapper h2,
.idx-wrapper h3,
.idx-wrapper h4 {
    font-size: 1rem !important;
    line-height: 1.3 !important;
    font-family: "Helvetica Neue", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 600 !important;
    margin: 0 !important;
}


/* About page - reduce photo size */
.about-split {
    grid-template-columns: 2fr 3fr;
    min-height: 450px;
}

.about-split__image img {
    max-height: 500px;
    object-position: top center;
}

/* ================================================================
   LIGHT REFRESH — sitewide bright redesign (navy/gold on white/cream)
   ================================================================ */
:root {
  --color-charcoal: #f7f4ee;
  --color-dark: #ffffff;
  --color-mid: #efe9dc;
  --color-border: #e3ddd0;
  --color-muted: #6e6e6a;
  --color-light: #46443f;
  --color-white: #10263d;
  --color-black: #10263d;
}

body { background-color: #fdfcfa !important; }

/* Footer: grounding dark navy band */
#site-footer { background: #10263d !important; border-top-color: rgba(255,255,255,0.12) !important; }
#site-footer .site-logo__name { color: #f5f5f0 !important; }
#site-footer .footer-brand p,
#site-footer .footer-col a,
#site-footer .footer-bottom p { color: #c7c9cc !important; }
#site-footer .footer-col a:hover { color: #c9a84c !important; }
#site-footer .footer-disclaimer { color: #8b93a0 !important; }
#site-footer .footer-social a { border-color: rgba(255,255,255,0.25) !important; color: #f5f5f0 !important; }
#site-footer .footer-social a:hover { border-color: #c9a84c !important; color: #c9a84c !important; }
#site-footer h5 { color: #c9a84c !important; }

/* Header: soft translucent white bar at all times for legibility over photo + light pages */
#site-header { background: rgba(255,255,255,0.9) !important; backdrop-filter: blur(8px); box-shadow: 0 2px 20px rgba(16,38,61,0.08); }
#site-header.scrolled { background: rgba(255,255,255,0.97) !important; box-shadow: 0 2px 24px rgba(16,38,61,0.12) !important; }
#site-header .site-logo__name { color: #10263d !important; }
#site-header .site-logo__tagline { color: #a9822f !important; }
#site-header .primary-nav a { color: #2c2c2a !important; }
#site-header .primary-nav a:hover, #site-header .primary-nav a:hover::after { color: #a9822f !important; }
#site-header .menu-toggle span { background: #10263d !important; }

.dropdown-menu { background: #ffffff !important; border-color: var(--color-border) !important; }
.dropdown-menu a { color: #2c2c2a !important; }
.dropdown-menu a:hover { background: #f5f2ea !important; color: #a9822f !important; }

/* Hero: keep the photo + dark gradient, keep its text light for legibility */
.hero__content h1, .hero__overline, .hero__subtitle { color: #f7f5f0 !important; }
.hero__actions .btn--outline { color: #f7f5f0 !important; border-color: rgba(247,245,240,0.6) !important; }
.hero__actions .btn--outline:hover { color: #c9a84c !important; border-color: #c9a84c !important; }

.hero-search { background: rgba(255,255,255,0.95) !important; border-top-color: var(--color-border) !important; }
.hero-search__input { color: #2c2c2a !important; border-right-color: var(--color-border) !important; }
.hero-search__input::placeholder { color: var(--color-muted) !important; }

/* Neighborhood photo cards: keep light caption text over dark photo overlay */
.neighborhood-card__name { color: #f7f5f0 !important; }

/* Mobile fullscreen nav: navy bg with light text */
.primary-nav.open { background: #10263d !important; }
.primary-nav.open a { color: #f7f5f0 !important; }
.primary-nav.open a:hover { color: #c9a84c !important; }

/* Deeper gold for small text on light backgrounds (better contrast than the button gold) */
.overline, .text-gold, .stat__number { color: #a9822f !important; }

/* IDX search widget: switch from dark to light to match rest of site */
.sidx-container .sidx-main-app-body { background-color: #ffffff !important; color: #3a3a36 !important; }
.sidx-search-result-grid-item { background: #ffffff !important; border: 1px solid #e3ddd0 !important; }
.sidx-search-result-grid-item:hover { border-color: #c9a84c !important; box-shadow: 0 12px 40px rgba(16,38,61,0.12) !important; }
.sidx-main-header { background: #f7f4ee !important; border-bottom: 1px solid #e3ddd0 !important; }
.sidx-info-blocks, .sidx-columns { border-color: #e3ddd0 !important; }

/* IDX widget outer wrapper still dark by default from ShowcaseIDX's own styles */
.sidx-large-screen, .sidx-small-screen { background-color: #ffffff !important; }

/* Improve contrast for gold text/borders used on light backgrounds */
.credential { color: #a9822f !important; border-color: rgba(169,130,47,0.4) !important; }
.btn--ghost { color: #a9822f !important; border-color: #a9822f !important; }
.btn--ghost:hover { background: #a9822f !important; color: #ffffff !important; }

/* IDX search filter pills (price/beds/baths) were hardcoded dark */
.sidx-field { background: #f0ede4 !important; color: #2c2c2a !important; }


/* CLAUDE FIX: Force-show scroll-reveal sections wrapping dynamically-loaded IDX widgets. These widgets render after the page's IntersectionObserver reveal check runs, so they never get tagged visible and stay stuck at opacity 0. */
.reveal:has(.sidx-container) {
	    opacity: 1 !important;
	    transform: none !important;
}
}

/* CLAUDE FIX: Accessibility - raise text contrast to WCAG AA (4.5:1) per Lighthouse audit, Aug 2026 */
.overline { color: #896926 !important; }
p[style*="color-gold"] { color: #896926 !important; }
.footer-col p { color: #8d8d88 !important; }

/* ===== Sell Your Home landing page refresh (Claude) ===== */

/* 1. Sentence case instead of ALL CAPS on the seller hero + shared CTA band */
.sell-hero-section h1,
.sell-hero-section p,
.sell-hero-section h2,
.sell-hero-section label,
.cta-section h2,
.cta-section p {
  text-transform: none !important;
}

/* 2. Darker, even scrim behind the hero photo so text has real contrast */
.sell-hero-section {
  position: relative;
}
.sell-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.78) 0%, rgba(15,23,42,.6) 55%, rgba(15,23,42,.85) 100%);
  z-index: 0;
  pointer-events: none;
}
.sell-hero-section > * {
  position: relative;
  z-index: 1;
}

/* 3. Lead form as a clean, legible card instead of floating directly on the photo */
.sell-hero-section .wpcf7 {
  background: #fbf8f2;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 24px 48px -28px rgba(0,0,0,.55);
  max-width: 640px;
  margin-top: 8px;
}
.sell-hero-section .wpcf7-form label,
.sell-hero-section .wpcf7-form p {
  color: #1f2733 !important;
}
.sell-hero-section .wpcf7-form input[type="text"],
.sell-hero-section .wpcf7-form input[type="email"],
.sell-hero-section .wpcf7-form input[type="tel"],
.sell-hero-section .wpcf7-form select,
.sell-hero-section .wpcf7-form textarea {
  background: #fff;
  border: 1.5px solid #e6dfcd;
  border-radius: 9px;
  padding: 11px 13px;
}
.sell-hero-section .wpcf7-form input[type="submit"] {
  background: #b8902e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 26px;
  font-weight: 700;
  cursor: pointer;
}
.sell-hero-section .wpcf7-form input[type="submit"]:hover {
  background: #8f6e1f;
}

/* 4. One clear call-to-action in the shared gold band, not two equal-weight buttons */
.cta-section a.btn--dark:last-of-type {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,.6) !important;
  box-shadow: none !important;
}

/* 5. New sections added to the Sell Your Home page content */
.jar-stats-band {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  background: #10192c;
  border-radius: 14px;
  padding: 28px 24px;
  margin: 32px 0 8px;
}
.jar-stats-band .jar-stat { text-align: center; flex: 1 1 120px; }
.jar-stats-band .jar-stat .num {
  font-size: 34px;
  font-weight: 700;
  color: #d9b65a;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
}
.jar-stats-band .jar-stat .lbl {
  margin-top: 6px;
  font-size: 12.5px;
  color: #c7cedd;
  font-weight: 600;
  letter-spacing: .02em;
}

.jar-why {
  background: #fbf8f2;
  border-radius: 16px;
  padding: 32px 28px;
  margin: 24px 0;
  color: #1f2733;
}
.jar-why h3 {
  margin: 0 0 14px;
  font-size: 22px;
  color: #182741;
  font-family: Georgia, 'Times New Roman', serif;
}
.jar-why ul { margin: 0; padding-left: 20px; }
.jar-why li { margin-bottom: 8px; font-size: 15px; line-height: 1.55; }
.jar-cred-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.jar-cred-row span {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid #e6dfcd;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #182741;
}

.jar-testimonial {
  background: #f7f3ea;
  border-radius: 16px;
  padding: 28px;
  margin: 24px 0 8px;
  text-align: center;
  color: #182741;
}
.jar-testimonial p.quote {
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 10px;
  font-family: Georgia, 'Times New Roman', serif;
}
.jar-testimonial p.attr { font-size: 13px; color: #5c6472; margin:0; }

/* 6. Persistent floating call-to-action */
.jar-floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  background: #b8902e;
  color: #fff !important;
  padding: 13px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none !important;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.5);
}
.jar-floating-cta:hover { background: #8f6e1f; }
@media (max-width: 640px) {
  .jar-floating-cta { padding: 12px 16px; font-size: 12.5px; right: 12px; bottom: 12px; }
  .jar-stats-band { justify-content: center; }
}


/* ===== Sell Your Home form contrast patch (Claude) ===== */
.sell-hero-section .wpcf7 .wpcf7-form label,
.sell-hero-section .wpcf7 .wpcf7-form p,
.sell-hero-section .wpcf7 .wpcf7-form span,
.sell-hero-section .wpcf7 .wpcf7-form { color: #1f2733 !important; }

.sell-hero-section .wpcf7 .wpcf7-form input[type="text"],
.sell-hero-section .wpcf7 .wpcf7-form input[type="email"],
.sell-hero-section .wpcf7 .wpcf7-form input[type="tel"],
.sell-hero-section .wpcf7 .wpcf7-form select,
.sell-hero-section .wpcf7 .wpcf7-form textarea {
  background-color: #ffffff !important;
  color: #1f2733 !important;
  border: 1.5px solid #e6dfcd !important;
  border-radius: 9px !important;
  padding: 11px 13px !important;
}
.sell-hero-section .wpcf7 .wpcf7-form input::placeholder,
.sell-hero-section .wpcf7 .wpcf7-form textarea::placeholder {
  color: #8890a0 !important;
  opacity: 1 !important;
}


/* ===== Sell Your Home submit button + CTA band button fix (Claude) ===== */
.sell-hero-section .wpcf7 .wpcf7-form input[type="submit"] {
  background-color: #b8902e !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 26px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.sell-hero-section .wpcf7 .wpcf7-form input[type="submit"]:hover {
  background-color: #8f6e1f !important;
}
.cta-section a.btn--dark:last-of-type {
  color: #182741 !important;
  font-weight: 700 !important;
}
