/* UrbanRise Realty - Elementor Compatibility Overrides */
:root {
  --ink-950:#0b1526;
  --ink-900:#101e33;
  --gold-400:#d9b45b;
  --gold-500:#c8a24b;
  --gold-600:#a9862f;
  --cream-50:#faf8f3;
  --cream-100:#f3eee3;
}

/* Elementor Theme Builder fixes */
.elementor-section .elementor-container {
  max-width: 80rem;
}

/* Make native theme not clash with Elementor canvas */
.elementor-template-canvas .bg-ink-950,
.elementor-template-canvas header,
.elementor-template-canvas footer {
  /* allow Elementor full control when using blank canvas */
}

/* Property grid fallback */
.urbanrise-grid {
  display: grid;
  gap: 24px;
}
@media(min-width:640px){ .urbanrise-grid { grid-template-columns: repeat(2,1fr);} }
@media(min-width:1024px){ .urbanrise-grid { grid-template-columns: repeat(3,1fr);} }

/* Cards */
.urbanrise-card {
  overflow: hidden;
  border-radius: 16px;
  background: white;
  box-shadow: 0 1px 3px rgba(11,21,38,.08);
  ring: 1px solid rgba(11,21,38,.1);
  transition: transform .3s, box-shadow .3s;
}
.urbanrise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
}

/* Elementor widgets tweaks - ensure gold buttons */
.elementor-button.elementor-size-md,
.wp-block-button__link {
  background: var(--ink-950);
  color: white;
  border-radius: 9999px;
  font-weight: 700;
  padding: .75em 1.5em;
}
.elementor-button.elementor-size-md:hover {
  background: var(--gold-500);
  color: var(--ink-950);
}
.elementor-widget-heading .elementor-heading-title {
  font-family: "Fraunces", Georgia, serif;
}

/* Form styling */
.urbanrise-input {
  width:100%;
  border-radius:12px;
  background:#faf8f3;
  padding:12px 16px;
  font-size:14px;
  font-weight:500;
  outline:none;
  box-shadow: inset 0 0 0 1px rgba(11,21,38,.1);
}
.urbanrise-input:focus {
  box-shadow: inset 0 0 0 2px var(--gold-500);
}

/* EMI range */
input[type=range].urbanrise-range {
  accent-color: var(--gold-500);
  width:100%;
}

/* Import fonts safety */
.font-display { font-family: "Fraunces", Georgia, serif; }
.font-sans { font-family: "Inter", ui-sans-serif, system-ui, sans-serif; }

/* Utility fallbacks outside Tailwind */
.bg-ink-950 { background: var(--ink-950); }
.bg-cream-50 { background: var(--cream-50); }
.text-gold-400 { color: var(--gold-400); }
.text-gold-500 { color: var(--gold-500); }
.text-ink-950 { color: var(--ink-950); }

/* Smooth scroll */
html { scroll-behavior:smooth; }

/* Hide default WP admin bar overlap fix */
.admin-bar header.sticky { top: 32px; }
@media(max-width:782px){ .admin-bar header.sticky{top:46px;} }

/* Map iframe */
.urbanrise-map iframe { border:0; width:100%; height:224px; }

/* Property status badges */
.badge-available { background:#10b981; color:white; }
.badge-sold { background:#f43f5e; color:white; }
.badge-upcoming { background:#0ea5e9; color:white; }
.badge-archived { background:rgba(11,21,38,.7); color:white; }
