/*
Theme Name: Explore New Homes
Theme URI: https://explorenewhomes.com/
Author: Manjeet Kumar
Author URI: https://explorenewhomes.com/
Description: WordPress theme for Explore New Homes.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: explore-new-homes
*/

:root {
  --enh-primary: #0a2540;
  --enh-accent: #c5a059;
  --enh-background-light: #ffffff;
  --enh-background-subtle: #f3f4f6;
  --enh-charcoal: #1f2937;
  --enh-slate-850: #1e293b;
  --enh-primary-rgb: 10 37 64;
  --enh-accent-rgb: 197 160 89;
}

/* Color fallback utilities to keep Elementor canvas and front-end in sync with static HTML palette. */
.text-primary {
  color: var(--enh-primary) !important;
}

.text-accent {
  color: var(--enh-accent) !important;
}

.text-charcoal {
  color: var(--enh-charcoal) !important;
}

.bg-primary {
  background-color: var(--enh-primary) !important;
}

.bg-accent {
  background-color: var(--enh-accent) !important;
}

.bg-background-light {
  background-color: var(--enh-background-light) !important;
}

.bg-background-subtle {
  background-color: var(--enh-background-subtle) !important;
}

.border-primary {
  border-color: var(--enh-primary) !important;
}

.border-accent {
  border-color: var(--enh-accent) !important;
}

.bg-primary\/90 {
  background-color: rgb(var(--enh-primary-rgb) / 0.9) !important;
}

.bg-primary\/20 {
  background-color: rgb(var(--enh-primary-rgb) / 0.2) !important;
}

.bg-primary\/10 {
  background-color: rgb(var(--enh-primary-rgb) / 0.1) !important;
}

.bg-primary\/5 {
  background-color: rgb(var(--enh-primary-rgb) / 0.05) !important;
}

.bg-accent\/90 {
  background-color: rgb(var(--enh-accent-rgb) / 0.9) !important;
}

.bg-accent\/10 {
  background-color: rgb(var(--enh-accent-rgb) / 0.1) !important;
}

.border-primary\/50 {
  border-color: rgb(var(--enh-primary-rgb) / 0.5) !important;
}

.border-primary\/20 {
  border-color: rgb(var(--enh-primary-rgb) / 0.2) !important;
}

.border-primary\/10 {
  border-color: rgb(var(--enh-primary-rgb) / 0.1) !important;
}

.border-accent\/20 {
  border-color: rgb(var(--enh-accent-rgb) / 0.2) !important;
}

.hover\:text-primary:hover {
  color: var(--enh-primary) !important;
}

.hover\:text-accent:hover {
  color: var(--enh-accent) !important;
}

.hover\:bg-primary\/90:hover {
  background-color: rgb(var(--enh-primary-rgb) / 0.9) !important;
}

.hover\:bg-accent\/90:hover {
  background-color: rgb(var(--enh-accent-rgb) / 0.9) !important;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.timely-mobile-panel.open {
  display: flex !important;
}

.timely-elementor-content,
.timely-static-content {
  width: 100%;
}

body.admin-bar header.sticky {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar header.sticky {
    top: 46px;
  }
}

/* Map Search page */
.enh-pane-hidden {
  display: none;
}

@media (min-width: 1024px) {
  .enh-pane-hidden {
    display: revert;
  }
}

.enh-pane-toggle {
  background: #ffffff;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.enh-pane-toggle.is-active {
  background: var(--enh-primary);
  color: #ffffff;
}

.enh-pane-toggle:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

#enh-map-search .enh-map-card {
  scroll-margin-top: 3rem;
}

/* Fallback for line-clamp in case the Tailwind CDN build in use
   predates the built-in line-clamp utilities. */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

