/*
 * Bestcon Homepage(1).psd restore guard.
 *
 * The measured PSD layout lives in bestcon-v4.css. These rules only prevent
 * Elementor 4.2 defaults and decorative assets from reintroducing overflow or
 * blocking editor controls.
 */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.elementor .e-con.bc-home-hero::before {
  content: "" !important;
}

.elementor .bc-hero-ribbon,
.elementor .bc-hero-scroll-outline,
.elementor .bc-hero-scroll-arrow,
.elementor .bc-section-arrow,
.elementor .bc-footer-outline,
.elementor .bc-value-outline {
  pointer-events: none !important;
  user-select: none !important;
}

.elementor-location-header,
.elementor-location-footer,
.elementor-page {
  max-width: 100%;
}

.elementor-location-footer {
  overflow: hidden !important;
}

.elementor .bc-team-grid,
.elementor .bc-built-grid,
.elementor .bc-values-grid,
.elementor .bc-specialists-grid {
  min-width: 0;
}

/*
 * Keep the boxed-section arrows attached to the visible right edge. The PSD
 * positions them against the 1920px canvas, while Elementor calculates their
 * absolute position from an inset boxed container.
 */
@media (min-width: 1025px) {
  .elementor .bc-section-arrow {
    left: auto !important;
    right: clamp(-100px, calc((100% - 100vw) / 2 + 24px), 0px) !important;
  }
}

/*
 * Elementor gives these paragraph nodes a 400px intrinsic width even though
 * their header widgets already have the correct PSD width.
 */
.elementor-location-header .bc-meta-text.elementor-widget-text-editor p,
.elementor-location-header .bc-meta-contact.elementor-widget-text-editor p {
  margin: 0 !important;
  max-width: 100% !important;
  width: auto !important;
}
