/**
 * Elementor Stretch Container Styles
 *
 * Breakout rules apply ONLY when nested inside a padded Bootstrap container.
 * Main content (.deal-main) is full-width — no 100vw hacks needed there.
 *
 * @package Deal
 */

/* Default: natural full width of parent */
.anps-stretch-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  z-index: 1;
}

/* Break out of boxed page shell (Constructo demo uses section.container > .normal > .row) */
.container .anps-stretch-container,
.normal .anps-stretch-container,
.col-md-12 .anps-stretch-container,
.is-layout-constrained .anps-stretch-container {
  width: 100vw;
  max-width: 100vw !important;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* For sections with background overlays */
.anps-stretch-container > .elementor-background-overlay {
  width: 100%;
  left: 0;
  right: 0;
}

/* Boxed Inner Content - For Sections */
.anps-stretch-container .elementor-container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  max-width: 1140px;
}

@media (max-width: 1199px) {
  .anps-stretch-container .elementor-container {
    max-width: 970px;
  }
}

@media (max-width: 991px) {
  .anps-stretch-container .elementor-container {
    max-width: 750px;
  }
}

@media (max-width: 767px) {
  .anps-stretch-container .elementor-container {
    max-width: 100%;
  }
}

/* Boxed Inner Content - For Containers (Flexbox Containers) */
.anps-stretch-container > .e-con-inner {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  max-width: 1140px;
}

@media (max-width: 1199px) {
  .anps-stretch-container > .e-con-inner {
    max-width: 970px;
  }
}

@media (max-width: 991px) {
  .anps-stretch-container > .e-con-inner {
    max-width: 750px;
  }
}

@media (max-width: 767px) {
  .anps-stretch-container > .e-con-inner {
    max-width: 100%;
  }
}

.anps-stretch-container.e-con-full {
  display: flex;
  justify-content: center;
}

.anps-stretch-container.e-con-full > .elementor-element {
  width: 100%;
  max-width: 1170px;
}

@media (max-width: 1199px) {
  .anps-stretch-container.e-con-full > .elementor-element {
    max-width: 970px;
  }
}

@media (max-width: 991px) {
  .anps-stretch-container.e-con-full > .elementor-element {
    max-width: 750px;
  }
}

@media (max-width: 767px) {
  .anps-stretch-container.e-con-full > .elementor-element {
    max-width: 100%;
  }
}

.anps-stretch-container .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 10px;
}

.container .anps-stretch-container .elementor-shape,
.normal .anps-stretch-container .elementor-shape,
.col-md-12 .anps-stretch-container .elementor-shape {
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.rtl .container .anps-stretch-container,
.rtl .normal .anps-stretch-container,
.rtl .col-md-12 .anps-stretch-container {
  left: auto;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.elementor-editor-active .anps-stretch-container {
  overflow-x: visible;
}

.elementor-editor-active .anps-stretch-container .elementor-container,
.elementor-editor-active .anps-stretch-container > .e-con-inner {
  position: relative;
}

@media print {
  .anps-stretch-container {
    width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
  }
}
