/**
 * Elementor Overrides — Tamkeen Foundation
 * Neutralizes Elementor defaults so the custom theme styles take precedence.
 */

/* Reset Elementor container widths */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1200px;
}

/* Typography resets */
.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title {
  font-family: inherit;
  color: inherit;
}

/* Remove Elementor default margins */
.elementor-element {
  --widgets-spacing: 0px;
}

/* Ensure theme buttons override Elementor buttons */
.elementor-button-wrapper .elementor-button {
  font-family: inherit;
  border-radius: 6px;
}

/* Fix Elementor full-width sections */
.elementor-section-full_width {
  padding-left: 0;
  padding-right: 0;
}

/* Hide Elementor header/footer if using theme templates */
.elementor-location-header,
.elementor-location-footer {
  display: none;
}

/* Smooth transitions on Elementor widgets */
.elementor-widget {
  transition: none;
}

/* Fix z-index conflicts */
.elementor-section {
  z-index: auto;
}
