/* ═══════════════════════════════════════════════════
   WordPress-specific overrides
   Applied AFTER the production style.css
   ═══════════════════════════════════════════════════ */

/* WP admin bar pushes fixed nav down */
body.admin-bar .nav { top: 32px; }
body.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .nav { top: 46px; }
  body.admin-bar .elementor-location-header { top: 46px; }
}

/* Elementor Theme Builder header wrapper — must be transparent by default */
.elementor-location-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 9999 !important;
  background: transparent !important;
}
.elementor-location-header > .elementor-section-wrap,
.elementor-location-header > .elementor,
.elementor-location-header .elementor-section {
  background: transparent !important;
}
.elementor-location-header.scrolled,
.elementor-location-header.scrolled > .elementor-section-wrap,
.elementor-location-header.scrolled .elementor-section {
  background: rgba(254,252,249,0.92) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Kill ALL Hello Elementor default header/title output */
.site-header,
#site-header,
header.site-header,
.hello-elementor-header,
.site-branding,
.site-title,
.entry-header,
.page .entry-header,
h1.entry-title,
.page-header {
  display: none !important;
}

/* Remove any default WP content padding */
.site-main,
main.site-main,
.site-content,
.elementor-page .site-main,
.elementor-page main {
  padding: 0 !important;
  margin: 0 !important;
}

/* Elementor sections should not add their own padding-top for first section */
body:not(.elementor-editor-active) .elementor-section-wrap > .elementor-section:first-child,
body:not(.elementor-editor-active) .elementor > .elementor-section:first-child,
body:not(.elementor-editor-active) .elementor > .e-con:first-child {
  /* Nav is transparent by default so hero bleeds under it — no extra padding needed */
}

/* Reset Elementor widget defaults that conflict with our design */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-display);
  font-weight: 400;
}

/* Force Elementor buttons to use our button styles */
.elementor-widget-button .elementor-button {
  background-color: var(--amber) !important;
  color: white !important;
  border-radius: 10px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 0.9rem 1.8rem !important;
  border: none !important;
  transition: all 0.3s !important;
}
.elementor-widget-button .elementor-button:hover {
  background-color: var(--amber-soft) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,146,42,0.3);
}

/* Elementor em/italic should use amber */
.elementor em,
.elementor-heading-title em {
  color: var(--amber);
  font-style: italic;
}
