/* ============================================================================
   ELK RIDGE HOMES OFFICIAL DAYTIME THEME (elkridge-site-theme.css)
   Applies elkridgenewhomes.com Palette, Typography & Elevation Across All Pages
   ============================================================================ */

:root {
  --er-primary: #b0772a;
  --er-primary-hover: #c1822f;
  --er-primary-light: #e0a34e;
  --er-navy: #062235;
  --er-navy-bar: #1c3951;
  --er-body: #3e3e3e;
  --er-cream: #fbf8f4;
  --er-white: #ffffff;
  --er-border: #e5e5e5;
}

html.elkridge-daytime,
body.elkridge-daytime {
  background-color: #ffffff !important;
  color: #3e3e3e !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ----------------------------------------------------------------------------
   1. TYPOGRAPHY & BUTTONS
   ---------------------------------------------------------------------------- */
.font-serif-luxury,
.font-luxury {
  font-family: 'Cinzel', Georgia, serif !important;
}

.cs-topper {
  font-size: 0.875rem;
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b0772a;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.cs-button-gold,
body.elkridge-daytime .btn-gold-shimmer,
body.elkridge-daytime .btn-gold {
  font-size: 0.95rem;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff !important;
  background: #b0772a !important;
  border-radius: 0.375rem;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(176, 119, 42, 0.28) !important;
  border: none !important;
}

.cs-button-gold:hover,
body.elkridge-daytime .btn-gold-shimmer:hover,
body.elkridge-daytime .btn-gold:hover {
  background: #c1822f !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(176, 119, 42, 0.4) !important;
}

body.elkridge-daytime .btn-gold-shimmer::after {
  display: none !important;
}

/* ----------------------------------------------------------------------------
   2. HERO SECTION (.er-hero-section) — HERITAGE SLATE-NAVY #062235
   ---------------------------------------------------------------------------- */
body.elkridge-daytime .er-hero-section {
  background-color: #062235 !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.elkridge-daytime .er-hero-bg::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,34,53,0.82) 0%, rgba(6,34,53,0.62) 18%, rgba(6,34,53,0.38) 38%, rgba(6,34,53,0.76) 78%, #062235 100%);
  z-index: 1;
  pointer-events: none;
}

body.elkridge-daytime .er-hero-bg::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,34,53,0.88) 0%, rgba(6,34,53,0.22) 40%, rgba(6,34,53,0.22) 70%, rgba(6,34,53,0.88) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Hero Right-Column Lead Capture Card (White Card on Navy Hero) */
body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card,
body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .card-premium,
body.elkridge-daytime .er-hero-section #lead-capture-card {
  background: #ffffff !important;
  color: #3e3e3e !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
}

body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card > .h-1 {
  background: #b0772a !important;
}

body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card h2,
body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card h3,
body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card label,
body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card .text-white:not(button):not(.btn-gold-shimmer):not(.cs-button-gold) {
  color: #062235 !important;
}

body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card :is(.text-amber-400, .text-amber-300, .text-sky-400, .text-sky-300, .text-purple-400, .text-purple-300, .text-emerald-400, .text-emerald-300) {
  color: #b0772a !important;
}

body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card p,
body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card .text-slate-300,
body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card .text-slate-400 {
  color: #4b5563 !important;
}

body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card input:not([type="checkbox"]):not([type="radio"]),
body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card select,
body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card textarea {
  background-color: #fbf8f4 !important;
  border: 1px solid #d4d4d8 !important;
  color: #062235 !important;
}

body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card :is(.bg-slate-950, .bg-slate-950\/90, .bg-slate-950\/80, .bg-slate-900, .bg-slate-900\/90, .bg-slate-900\/80) {
  background-color: #fbf8f4 !important;
  border-color: #d4d4d8 !important;
  color: #062235 !important;
}

body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card label :is(.text-slate-200, .text-slate-300, .text-slate-400) {
  color: #062235 !important;
}

body.elkridge-daytime .er-hero-section .lg\:col-span-5 > .glass-card :is(input[type="radio"]:checked + div, .peer:checked ~ div) {
  background-color: #fef3c7 !important;
  border-color: #b0772a !important;
  color: #062235 !important;
}

/* ----------------------------------------------------------------------------
   3. DAYTIME CONTENT SECTIONS (Alternating White #ffffff & Warm Cream #fbf8f4)
   ---------------------------------------------------------------------------- */
body.elkridge-daytime section:not(.er-hero-section) {
  background-color: #ffffff !important;
  background-image: none !important;
  color: #3e3e3e !important;
  border-color: #e8e8e8 !important;
}

body.elkridge-daytime section:not(.er-hero-section):nth-of-type(even) {
  background-color: #fbf8f4 !important;
}

/* Hide decorative dark ambient radial blurs inside daytime content sections */
body.elkridge-daytime section:not(.er-hero-section) > .pointer-events-none.absolute,
body.elkridge-daytime main > .pointer-events-none.fixed {
  display: none !important;
}

/* Main & Article containers on Blog / Compare pages */
body.elkridge-daytime > main:not(:has(> section.er-hero-section)),
body.elkridge-daytime > article {
  background-color: #ffffff !important;
  color: #3e3e3e !important;
}

/* ----------------------------------------------------------------------------
   4. CARDS & PANELS IN DAYTIME SECTIONS
   ---------------------------------------------------------------------------- */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .glass-card,
  .glass-card-gold,
  .glass-card-emerald,
  .glass-card-purple,
  .glass-card-sky,
  .card-luxury,
  .card-premium,
  .card-clean
) {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 6px 24px rgba(6, 34, 53, 0.06) !important;
  color: #3e3e3e !important;
}

body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .glass-card:hover,
  .glass-card-gold:hover,
  .glass-card-emerald:hover,
  .glass-card-purple:hover,
  .glass-card-sky:hover,
  .card-luxury:hover,
  .card-premium:hover
) {
  border-color: #b0772a !important;
  box-shadow: 0 12px 32px rgba(6, 34, 53, 0.11) !important;
}

/* Inner dark slate boxes inside daytime sections -> Warm Cream #fbf8f4 */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .bg-slate-950,
  .bg-slate-950\/95,
  .bg-slate-950\/90,
  .bg-slate-950\/85,
  .bg-slate-950\/80,
  .bg-slate-950\/70,
  .bg-slate-950\/60,
  .bg-slate-950\/50,
  .bg-slate-900,
  .bg-slate-900\/95,
  .bg-slate-900\/90,
  .bg-slate-900\/85,
  .bg-slate-900\/80,
  .bg-slate-900\/75,
  .bg-slate-900\/70,
  .bg-slate-900\/60,
  .bg-slate-900\/50,
  .bg-slate-900\/40,
  .bg-slate-800,
  .bg-slate-800\/90,
  .bg-slate-800\/80,
  .bg-slate-800\/60,
  .bg-slate-800\/50,
  .bg-\[\#070A11\],
  .bg-\[\#0B111E\],
  .bg-\[\#0A0F1D\],
  .bg-\[\#05070E\],
  .bg-white\/5,
  .bg-white\/\[0\.02\],
  .bg-white\/\[0\.03\],
  .bg-white\/\[0\.04\],
  .bg-white\/10
):not(.absolute):not(button):not(.er-keep-dark) {
  background-color: #fbf8f4 !important;
  background-image: none !important;
  border-color: #e5e5e5 !important;
  color: #3e3e3e !important;
}

/* Accent tinted callout boxes inside daytime sections -> Unified Warm Cream #fbf8f4 with Gold Border & Navy Text */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .bg-emerald-950,
  .bg-emerald-950\/90,
  .bg-emerald-950\/80,
  .bg-emerald-950\/60,
  .bg-emerald-950\/50,
  .bg-emerald-950\/40,
  .bg-emerald-950\/30,
  .bg-emerald-900\/30,
  .bg-emerald-900\/20,
  .bg-emerald-500\/10,
  .bg-emerald-500\/15,
  .bg-emerald-500\/20,
  .bg-amber-950,
  .bg-amber-950\/90,
  .bg-amber-950\/80,
  .bg-amber-950\/60,
  .bg-amber-950\/50,
  .bg-amber-950\/40,
  .bg-amber-950\/30,
  .bg-amber-900\/30,
  .bg-amber-900\/20,
  .bg-amber-500\/10,
  .bg-amber-500\/15,
  .bg-amber-500\/20,
  .bg-sky-950,
  .bg-sky-950\/90,
  .bg-sky-950\/80,
  .bg-sky-950\/60,
  .bg-sky-950\/50,
  .bg-sky-950\/40,
  .bg-sky-950\/30,
  .bg-sky-900\/30,
  .bg-sky-900\/20,
  .bg-sky-500\/10,
  .bg-sky-500\/15,
  .bg-sky-500\/20,
  .bg-blue-950,
  .bg-blue-950\/90,
  .bg-blue-950\/80,
  .bg-blue-500\/10,
  .bg-blue-500\/15,
  .bg-blue-500\/20,
  .bg-purple-950,
  .bg-purple-950\/90,
  .bg-purple-950\/80,
  .bg-purple-950\/60,
  .bg-purple-950\/50,
  .bg-purple-950\/40,
  .bg-purple-950\/30,
  .bg-purple-900\/30,
  .bg-purple-900\/20,
  .bg-purple-500\/10,
  .bg-purple-500\/15,
  .bg-purple-500\/20
):not(.absolute):not(button) {
  background-color: #fbf8f4 !important;
  border-color: rgba(176, 119, 42, 0.35) !important;
  color: #062235 !important;
}

body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .bg-red-950,
  .bg-red-950\/80,
  .bg-red-950\/50,
  .bg-red-950\/40,
  .bg-red-950\/30,
  .bg-rose-950,
  .bg-rose-950\/50,
  .bg-rose-950\/30,
  .bg-red-500\/10,
  .bg-rose-500\/10
):not(.absolute) {
  background-color: #fbf8f4 !important;
  border-color: rgba(6, 34, 53, 0.25) !important;
  color: #062235 !important;
}

/* Gradient cards inside daytime sections -> Clean Warm Cream */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .from-slate-900,
  .from-slate-950,
  .via-slate-900,
  .via-slate-950,
  .to-slate-900,
  .to-slate-950,
  .from-amber-950,
  .from-emerald-950,
  .from-sky-950,
  .from-purple-950
):not(.absolute) {
  background-image: none !important;
  background-color: #fbf8f4 !important;
}

/* ----------------------------------------------------------------------------
   5. TEXT CONTRAST REMAPPING IN DAYTIME SECTIONS
   ---------------------------------------------------------------------------- */
/* Headings & primary white text -> Elk Ridge Navy #062235 */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  h1, h2, h3, h4, h5, h6,
  th,
  strong.text-white,
  .text-white:not(button):not(a.cs-button-gold):not(a.btn-gold-shimmer):not(a.btn-gold):not(.bg-\[\#b0772a\]):not(.bg-\[\#062235\]):not(.bg-\[\#1c3951\]):not(.bg-amber-600):not(.bg-amber-500):not(.bg-emerald-600):not(.bg-emerald-500):not(.bg-sky-600):not(.bg-sky-500):not(.bg-purple-600):not(.bg-red-600):not(.absolute *)
) {
  color: #062235 !important;
}

/* Gradient headline spans inside daytime sections -> Solid Elk Ridge Gold #b0772a */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .bg-clip-text.text-transparent,
  .gold-gradient-text,
  .emerald-gradient-text,
  .sky-gradient-text,
  .purple-gradient-text,
  .text-gold-gradient,
  .text-champagne-gradient
) {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #b0772a !important;
  color: #b0772a !important;
}

/* Body copy & muted text in daytime sections -> #3e3e3e / #52525b */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .text-slate-100,
  .text-slate-200,
  .text-slate-300
):not(.absolute *) {
  color: #3e3e3e !important;
}

body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .text-slate-400,
  .text-slate-500
):not(.absolute *) {
  color: #52525b !important;
}

/* All accent text colors (amber, emerald, sky, blue, purple) in daytime sections -> Unified Elk Ridge Gold #b0772a */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .text-amber-200,
  .text-amber-300,
  .text-amber-400,
  .text-amber-500,
  .text-yellow-300,
  .text-yellow-400,
  .text-emerald-200,
  .text-emerald-300,
  .text-emerald-400,
  .text-emerald-500,
  .text-sky-200,
  .text-sky-300,
  .text-sky-400,
  .text-sky-500,
  .text-blue-300,
  .text-blue-400,
  .text-cyan-300,
  .text-cyan-400,
  .text-purple-200,
  .text-purple-300,
  .text-purple-400,
  .text-purple-500,
  .text-red-300,
  .text-red-400,
  .text-red-500,
  .text-rose-300,
  .text-rose-400,
  .text-pink-400
):not(.absolute *) {
  color: #b0772a !important;
}

/* Preserve white text on solid badges/buttons and absolute photo overlays */
body.elkridge-daytime :is(
  .cs-button-gold,
  .btn-gold-shimmer,
  .btn-gold,
  button.bg-amber-500,
  button.bg-amber-600,
  button.bg-emerald-600,
  button.bg-sky-600,
  button.bg-purple-600,
  a.bg-amber-500,
  a.bg-amber-600,
  a.bg-emerald-600,
  a.bg-sky-600,
  a.bg-purple-600,
  .bg-\[\#062235\],
  .bg-\[\#1c3951\],
  .bg-\[\#b0772a\]
),
body.elkridge-daytime :is(
  .cs-button-gold *,
  .btn-gold-shimmer *,
  .btn-gold *
) {
  color: #ffffff !important;
}

/* Keep photo caption overlays dark navy with white text so text over photos is crisp */
body.elkridge-daytime .absolute:is(
  .bg-slate-950\/90,
  .bg-slate-950\/85,
  .bg-slate-950\/80,
  .bg-slate-950\/75,
  .bg-slate-900\/90,
  .bg-slate-900\/85,
  .bg-slate-900\/80,
  .bg-black\/70,
  .bg-black\/80,
  #croPhotoTitleBar
) {
  background-color: rgba(6, 34, 53, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* Price & highlight badges over photos -> Solid Elk Ridge Gold #b0772a with crisp white text */
body.elkridge-daytime .absolute:is(
  .bg-emerald-950\/90,
  .bg-emerald-950\/80,
  .bg-purple-950\/90,
  .bg-purple-950\/80,
  .bg-sky-950\/90,
  .bg-sky-950\/80,
  .bg-amber-950\/90,
  .bg-amber-950\/80,
  .bg-blue-950\/90,
  .bg-blue-950\/80
) {
  background-color: #b0772a !important;
  border-color: #b0772a !important;
  color: #ffffff !important;
}

body.elkridge-daytime .absolute:is(
  .bg-slate-950\/90,
  .bg-slate-950\/85,
  .bg-slate-950\/80,
  .bg-slate-950\/75,
  .bg-slate-900\/90,
  .bg-slate-900\/85,
  .bg-slate-900\/80,
  .bg-emerald-950\/90,
  .bg-purple-950\/90,
  .bg-sky-950\/90,
  .bg-amber-950\/90,
  .bg-blue-950\/90,
  .bg-black\/70,
  .bg-black\/80,
  .bg-gradient-to-t,
  #croPhotoTitleBar
) :is(.text-white, .text-emerald-300, .text-purple-300, .text-sky-300, .text-amber-300, h3, h4, p, span) {
  color: #ffffff !important;
}

.cs-button-white {
  font-size: 0.95rem;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #062235 !important;
  background-color: #ffffff !important;
  border-radius: 0.375rem;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  border: none !important;
}

.cs-button-white:hover {
  background-color: #b0772a !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ----------------------------------------------------------------------------
   6. BORDERS, DIVIDERS & TABLES IN DAYTIME SECTIONS
   ---------------------------------------------------------------------------- */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .border-white\/5,
  .border-white\/10,
  .border-white\/15,
  .border-white\/20,
  .border-slate-700,
  .border-slate-800,
  .border-emerald-500\/20,
  .border-emerald-500\/30,
  .border-emerald-500\/40,
  .border-emerald-500\/50,
  .border-sky-400\/20,
  .border-sky-400\/30,
  .border-sky-400\/40,
  .border-sky-400\/50,
  .border-sky-500\/20,
  .border-sky-500\/30,
  .border-purple-400\/20,
  .border-purple-400\/30,
  .border-purple-400\/40,
  .border-purple-400\/50,
  .border-purple-500\/20,
  .border-purple-500\/30
) {
  border-color: #e5e5e5 !important;
}

body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .divide-white\/5 > :not([hidden]) ~ :not([hidden]),
  .divide-white\/10 > :not([hidden]) ~ :not([hidden]),
  .divide-slate-800 > :not([hidden]) ~ :not([hidden])
) {
  border-color: #e5e5e5 !important;
}

body.elkridge-daytime table thead tr {
  background-color: #062235 !important;
  color: #ffffff !important;
}

body.elkridge-daytime table thead th {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.elkridge-daytime .matrix-row:nth-child(even),
body.elkridge-daytime table tbody tr:nth-child(even) {
  background-color: #fbf8f4 !important;
}

/* ----------------------------------------------------------------------------
   7. FORMS, INPUTS, SELECTS & RANGE SLIDERS IN DAYTIME SECTIONS
   ---------------------------------------------------------------------------- */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  input[type="date"],
  select,
  textarea
) {
  background-color: #ffffff !important;
  border: 1px solid #d4d4d8 !important;
  color: #062235 !important;
}

body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  input[type="text"]:focus,
  input[type="tel"]:focus,
  input[type="email"]:focus,
  input[type="number"]:focus,
  select:focus,
  textarea:focus
) {
  border-color: #b0772a !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(176, 119, 42, 0.15) !important;
}

body.elkridge-daytime input[type="range"] {
  background: #e5e5e5 !important;
  height: 10px !important;
  border-radius: 999px !important;
}

body.elkridge-daytime input[type="range"]::-webkit-slider-thumb {
  background: #b0772a !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 8px rgba(6, 34, 53, 0.35) !important;
}

/* ----------------------------------------------------------------------------
   8. SECONDARY BUTTONS, ACTION LINKS & BLUEPRINT TRIGGERS IN DAYTIME SECTIONS
   ---------------------------------------------------------------------------- */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  button, a
):is(
  .blueprint-trigger,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/15,
  .bg-white\/20,
  [class*="bg-white/5"],
  [class*="bg-white/10"],
  [class*="bg-white/15"],
  [class*="bg-white/20"],
  .bg-slate-900,
  .bg-slate-900\/90,
  .bg-slate-900\/80,
  .bg-slate-950,
  .bg-slate-950\/90,
  .bg-slate-950\/80
):not(.cs-button-gold):not(.btn-gold-shimmer):not(.btn-gold):not(.heritage-tab):not(.er-keep-dark):not(.absolute *) {
  background-color: #062235 !important;
  color: #ffffff !important;
  border: 1px solid #062235 !important;
  box-shadow: 0 4px 14px rgba(6, 34, 53, 0.15) !important;
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
}

body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  button, a
):is(
  .blueprint-trigger,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/15,
  .bg-white\/20,
  [class*="bg-white/5"],
  [class*="bg-white/10"],
  [class*="bg-white/15"],
  [class*="bg-white/20"],
  .bg-slate-900,
  .bg-slate-900\/90,
  .bg-slate-900\/80,
  .bg-slate-950,
  .bg-slate-950\/90,
  .bg-slate-950\/80
):not(.cs-button-gold):not(.btn-gold-shimmer):not(.btn-gold):not(.heritage-tab):not(.er-keep-dark):not(.absolute *):hover {
  background-color: #b0772a !important;
  border-color: #b0772a !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(176, 119, 42, 0.3) !important;
  transform: translateY(-1px) !important;
}

body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  button, a
):is(
  .blueprint-trigger,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/15,
  .bg-white\/20,
  [class*="bg-white/5"],
  [class*="bg-white/10"],
  [class*="bg-white/15"],
  [class*="bg-white/20"],
  .bg-slate-900,
  .bg-slate-900\/90,
  .bg-slate-900\/80,
  .bg-slate-950,
  .bg-slate-950\/90,
  .bg-slate-950\/80
):not(.cs-button-gold):not(.btn-gold-shimmer):not(.btn-gold):not(.heritage-tab):not(.er-keep-dark):not(.absolute *) :is(span, svg, strong, p, div) {
  color: #ffffff !important;
}

/* ----------------------------------------------------------------------------
   9. CAROUSEL PREV/NEXT ARROWS & CONTROLS
   ---------------------------------------------------------------------------- */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main) button:is(
  .hover\:bg-purple-500, .hover\:bg-sky-500, .hover\:bg-amber-500
) {
  background-color: #062235 !important;
  color: #ffffff !important;
  border: 1px solid rgba(6, 34, 53, 0.2) !important;
  box-shadow: 0 2px 8px rgba(6, 34, 53, 0.15) !important;
}

body.elkridge-daytime :is(section:not(.er-hero-section), article, main) button:is(
  .hover\:bg-purple-500, .hover\:bg-sky-500, .hover\:bg-amber-500
):hover {
  background-color: #b0772a !important;
  border-color: #b0772a !important;
  color: #ffffff !important;
}

/* ----------------------------------------------------------------------------
   10. HERITAGE ERA TIMELINE STEPPER TABS (Deer Hollow Ranch)
   ---------------------------------------------------------------------------- */
body.elkridge-daytime .heritage-tab {
  background-color: #ffffff !important;
  border: 1.5px solid #d4d4d8 !important;
  color: #062235 !important;
}

body.elkridge-daytime .heritage-tab.active,
body.elkridge-daytime .heritage-tab[class*="bg-amber-500"] {
  background-color: #062235 !important;
  border-color: #062235 !important;
  color: #ffffff !important;
}

body.elkridge-daytime .heritage-tab:hover {
  border-color: #b0772a !important;
}

/* ----------------------------------------------------------------------------
   11. REALTOR HUB CATEGORY TAGS & PILLS (#video-vault)
   ---------------------------------------------------------------------------- */
body.elkridge-daytime #video-vault a:is(.bg-white\/5, .bg-white\/10) {
  background-color: #ffffff !important;
  border: 1.5px solid #d4d4d8 !important;
  color: #062235 !important;
  font-weight: 700 !important;
}

body.elkridge-daytime #video-vault a:is(.bg-white\/5, .bg-white\/10):hover {
  background-color: #b0772a !important;
  border-color: #b0772a !important;
  color: #ffffff !important;
}

/* ----------------------------------------------------------------------------
   12. INTERACTIVE CALCULATOR ENGINE STYLING (MUD & Site Prep)
   ---------------------------------------------------------------------------- */
body.elkridge-daytime select,
body.elkridge-daytime select option {
  background-color: #ffffff !important;
  color: #062235 !important;
}

/* MUD Tax Savings Highlight Box -> Unified Warm Cream #fbf8f4 with Gold Border & Navy/Gold Text */
body.elkridge-daytime :is(.from-emerald-950, [class*="from-emerald-950"]):not(.er-hero-section *) {
  background-image: none !important;
  background-color: #fbf8f4 !important;
  border: 1.5px solid #b0772a !important;
}

body.elkridge-daytime :is(.from-emerald-950, [class*="from-emerald-950"]):not(.er-hero-section *) :is(#monthlyTaxSavings, #tenYearTaxSavings) {
  color: #b0772a !important;
}

body.elkridge-daytime :is(.from-emerald-950, [class*="from-emerald-950"]):not(.er-hero-section *) .text-white {
  color: #062235 !important;
}

body.elkridge-daytime :is(.from-emerald-950, [class*="from-emerald-950"]):not(.er-hero-section *) .text-emerald-300 {
  color: #b0772a !important;
}

body.elkridge-daytime :is(.from-emerald-950, [class*="from-emerald-950"]):not(.er-hero-section *) p {
  color: #3e3e3e !important;
}

/* Site Prep Total & Subtotal Breakdown */
body.elkridge-daytime section:not(.er-hero-section) #calcTotal {
  color: #b0772a !important;
}

body.elkridge-daytime section:not(.er-hero-section) :is(#breakdownBase, #breakdownUtil, #breakdownClear, #breakdownDrive, #breakdownElec, #breakdownSiteSubtotal) {
  color: #062235 !important;
}

/* ----------------------------------------------------------------------------
   13. MODALS (#universalLeadModal, #blueprintModal, #cro-modal)
   ---------------------------------------------------------------------------- */
body.elkridge-daytime :is(#universalLeadModal, #blueprintModal, #cro-modal, #leadModal) > div {
  background-color: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  color: #3e3e3e !important;
  box-shadow: 0 25px 50px -12px rgba(6, 34, 53, 0.35) !important;
}

body.elkridge-daytime :is(#universalLeadModal, #blueprintModal, #cro-modal, #leadModal) :is(h2, h3, h4, label, .text-white:not(button):not(.cs-button-gold):not(.btn-gold-shimmer)):not(.er-keep-dark *) {
  color: #062235 !important;
}

body.elkridge-daytime :is(#universalLeadModal, #blueprintModal, #cro-modal, #leadModal) :is(p, .text-slate-300, .text-slate-400):not(.er-keep-dark *) {
  color: #4b5563 !important;
}

body.elkridge-daytime :is(#universalLeadModal, #blueprintModal, #cro-modal, #leadModal) :is(.text-amber-300, .text-amber-400, .text-emerald-300, .text-emerald-400, .text-sky-300, .text-sky-400, .text-purple-300, .text-purple-400):not(.er-keep-dark *) {
  color: #b0772a !important;
}

body.elkridge-daytime :is(#universalLeadModal, #blueprintModal, #cro-modal, #leadModal) :is(.bg-amber-500\/20, .bg-emerald-500\/20, .bg-sky-500\/20, .bg-purple-500\/20):not(.er-keep-dark *) {
  background-color: rgba(176, 119, 42, 0.14) !important;
  color: #b0772a !important;
  border-color: rgba(176, 119, 42, 0.35) !important;
}

body.elkridge-daytime :is(#universalLeadModal, #blueprintModal, #cro-modal, #leadModal) input:not([type="checkbox"]):not([type="radio"]),
body.elkridge-daytime :is(#universalLeadModal, #blueprintModal, #cro-modal, #leadModal) select,
body.elkridge-daytime :is(#universalLeadModal, #blueprintModal, #cro-modal, #leadModal) textarea {
  background-color: #fbf8f4 !important;
  border: 1px solid #d4d4d8 !important;
  color: #062235 !important;
}

body.elkridge-daytime :is(#universalLeadModal, #blueprintModal, #cro-modal, #leadModal) button:is(.bg-white\/10, .bg-slate-900, .bg-slate-950) {
  background-color: #062235 !important;
  color: #ffffff !important;
  border: 1px solid #062235 !important;
}

body.elkridge-daytime :is(#universalLeadModal, #blueprintModal, #cro-modal, #leadModal) button:is(.bg-white\/10, .bg-slate-900, .bg-slate-950):hover {
  background-color: #b0772a !important;
  border-color: #b0772a !important;
}

/* ----------------------------------------------------------------------------
   14. BRAND LOGOS IN DAYTIME SECTIONS (High-Contrast Navy Fallback)
   ---------------------------------------------------------------------------- */
body.elkridge-daytime section:not(.er-hero-section) img[src*="deer-hollow-ranch-logo"] {
  content: url('/static/logos/deer-hollow-ranch-logo-navy.png');
  filter: none !important;
}

body.elkridge-daytime section:not(.er-hero-section) img.brightness-110 {
  filter: none !important;
}

/* ----------------------------------------------------------------------------
   15. ELK RIDGE SPEC ICON FEATURE LISTS (.cs-features & .cs-badge)
   ---------------------------------------------------------------------------- */
.cs-badge {
  align-items: center;
  color: #3e3e3e;
  display: flex;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.cs-features {
  color: #3e3e3e;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  gap: 0.65rem 0.9rem;
  list-style: none;
  margin: 0.35rem 0;
  padding: 0;
}

.cs-features li {
  align-items: center;
  color: #062235;
  display: flex;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  gap: 0.35rem;
}

.cs-features li img {
  height: 1rem;
  width: 1rem;
  object-fit: contain;
}

/* ----------------------------------------------------------------------------
   16. UNIFIED HERO, HEADER, FOOTER & MOBILE BAR PALETTE ENFORCEMENT
   ---------------------------------------------------------------------------- */
/* Remap off-brand accent text inside dark Navy Hero, Header & Footer -> Elk Ridge Light Gold #e0a34e */
body.elkridge-daytime :is(.er-hero-section, header, footer) :is(
  .text-sky-200,
  .text-sky-300,
  .text-sky-400,
  .text-sky-500,
  .text-blue-200,
  .text-blue-300,
  .text-blue-400,
  .text-cyan-300,
  .text-cyan-400,
  .text-emerald-200,
  .text-emerald-300,
  .text-emerald-400,
  .text-emerald-500,
  .text-purple-200,
  .text-purple-300,
  .text-purple-400,
  .text-purple-500,
  .text-amber-200,
  .text-amber-300,
  .text-amber-400,
  .text-yellow-300,
  .text-yellow-400,
  .text-pink-400,
  .text-red-400,
  .text-red-500,
  .text-rose-400
):not(#lead-capture-card *):not(.lg\:col-span-5 > .glass-card *):not(button):not(.cs-button-gold):not(.btn-gold-shimmer) {
  color: #e0a34e !important;
}

/* Remap gradient text spans inside dark Navy Hero, Header & Footer -> Solid Light Gold #e0a34e */
body.elkridge-daytime :is(.er-hero-section, header, footer) :is(
  .bg-clip-text.text-transparent,
  .gold-gradient-text,
  .emerald-gradient-text,
  .sky-gradient-text,
  .purple-gradient-text,
  .text-gold-gradient,
  .text-champagne-gradient
):not(#lead-capture-card *):not(.lg\:col-span-5 > .glass-card *) {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #e0a34e !important;
  color: #e0a34e !important;
}

/* Remap solid sky/emerald/purple/amber buttons & badges anywhere on page -> Official Elk Ridge Gold #b0772a */
body.elkridge-daytime :is(
  .bg-sky-600,
  .bg-sky-500,
  .bg-emerald-600,
  .bg-emerald-500,
  .bg-purple-600,
  .bg-purple-500,
  .bg-amber-600,
  .bg-amber-500,
  .bg-amber-400,
  .bg-blue-600,
  .bg-blue-500
) {
  background-color: #b0772a !important;
  background-image: none !important;
  border-color: #b0772a !important;
  color: #ffffff !important;
}

/* Remap translucent pill badges inside dark Navy Hero, Header & Footer -> Warm Gold Tint on Navy */
body.elkridge-daytime :is(.er-hero-section, header, footer) :is(
  .bg-sky-950,
  .bg-sky-950\/90,
  .bg-sky-950\/80,
  .bg-sky-950\/60,
  .bg-sky-950\/50,
  .bg-sky-950\/40,
  .bg-sky-900\/40,
  .bg-sky-900\/30,
  .bg-sky-500\/10,
  .bg-sky-500\/15,
  .bg-sky-500\/20,
  .bg-sky-500\/25,
  .bg-emerald-950,
  .bg-emerald-950\/90,
  .bg-emerald-950\/80,
  .bg-emerald-950\/60,
  .bg-emerald-950\/50,
  .bg-emerald-950\/40,
  .bg-emerald-900\/40,
  .bg-emerald-900\/30,
  .bg-emerald-500\/10,
  .bg-emerald-500\/15,
  .bg-emerald-500\/20,
  .bg-emerald-500\/25,
  .bg-purple-950,
  .bg-purple-950\/90,
  .bg-purple-950\/80,
  .bg-purple-950\/60,
  .bg-purple-950\/50,
  .bg-purple-950\/40,
  .bg-purple-900\/40,
  .bg-purple-900\/30,
  .bg-purple-500\/10,
  .bg-purple-500\/15,
  .bg-purple-500\/20,
  .bg-purple-500\/25,
  .bg-amber-950,
  .bg-amber-950\/90,
  .bg-amber-950\/80,
  .bg-amber-950\/60,
  .bg-amber-950\/50,
  .bg-amber-950\/40,
  .bg-amber-500\/10,
  .bg-amber-500\/15,
  .bg-amber-500\/20,
  .bg-amber-500\/25
):not(#lead-capture-card *):not(.lg\:col-span-5 > .glass-card *):not(button) {
  background-color: rgba(176, 119, 42, 0.18) !important;
  border-color: rgba(224, 163, 78, 0.45) !important;
  color: #e0a34e !important;
}

/* Remap off-brand borders inside Hero, Header & Footer -> Gold Accent Border */
body.elkridge-daytime :is(.er-hero-section, header, footer) :is(
  .border-sky-400,
  .border-sky-400\/30,
  .border-sky-400\/40,
  .border-sky-400\/50,
  .border-sky-500\/30,
  .border-sky-500\/40,
  .border-sky-500\/50,
  .border-emerald-400,
  .border-emerald-400\/30,
  .border-emerald-400\/40,
  .border-emerald-400\/50,
  .border-emerald-500\/30,
  .border-emerald-500\/40,
  .border-emerald-500\/50,
  .border-purple-400,
  .border-purple-400\/30,
  .border-purple-400\/40,
  .border-purple-400\/50,
  .border-purple-500\/30,
  .border-purple-500\/40,
  .border-purple-500\/50
):not(#lead-capture-card *):not(.lg\:col-span-5 > .glass-card *) {
  border-color: rgba(224, 163, 78, 0.45) !important;
}

/* Remap pulse dots inside Hero, Header & Footer -> Gold #e0a34e */
body.elkridge-daytime :is(.er-hero-section, header, footer) :is(
  span.bg-sky-400,
  span.bg-sky-500,
  span.bg-emerald-400,
  span.bg-emerald-500,
  span.bg-purple-400,
  span.bg-purple-500,
  span.bg-amber-400,
  span.bg-amber-500
) {
  background-color: #e0a34e !important;
}

/* Additional 25% opacity tint boxes in daytime sections -> Warm Cream with Gold Border */
body.elkridge-daytime :is(section:not(.er-hero-section), article, main:not(:has(> section.er-hero-section))) :is(
  .bg-emerald-500\/25,
  .bg-emerald-500\/30,
  .bg-sky-500\/25,
  .bg-sky-500\/30,
  .bg-purple-500\/25,
  .bg-purple-500\/30,
  .bg-amber-500\/25,
  .bg-amber-500\/30,
  .bg-blue-500\/25,
  .bg-blue-500\/30
):not(.absolute):not(button) {
  background-color: #fbf8f4 !important;
  border-color: rgba(176, 119, 42, 0.35) !important;
  color: #b0772a !important;
}

/* Unified Mobile Sticky Bottom Bar (div.fixed.bottom-0) across all pages */
body.elkridge-daytime div.fixed.bottom-0 {
  background-color: #062235 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.elkridge-daytime div.fixed.bottom-0 > a[href^="tel:"] {
  background-color: #1c3951 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

body.elkridge-daytime div.fixed.bottom-0 > a[href^="sms:"] {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #062235 !important;
}

body.elkridge-daytime div.fixed.bottom-0 > a[href^="sms:"] * {
  color: #062235 !important;
}

body.elkridge-daytime div.fixed.bottom-0 > :is(button, a:not([href^="tel:"]):not([href^="sms:"])) {
  background: #b0772a !important;
  border-color: #b0772a !important;
  color: #ffffff !important;
}

