/* Layout fixes — keep original overlap look, only cap extreme vh pull */

/*
 * Original builder used margin-left: -20vh / -16vh for the white card over the slider.
 * That looks right on typical desktops, but on tall+narrow viewports vh pull is too strong
 * and clips the card. Cap with vw so originality stays, breakage goes away.
 */

/* Desktop / default: restore original -20vh, never pull more than ~14vw */
#_5802551332_1729084354 {
  margin-left: max(-20vh, -14vw) !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 767px) {
  /* Keep original mobile treatment */
  #_5802551332_1729084354 {
    margin-top: -40px !important;
    margin-left: 60px !important;
    margin-right: 0 !important;
    max-width: none !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  /* Tablet: original -16vh, capped softer; center the pair so it doesn't hug the left */
  #_5802551332_1729084354 {
    margin-left: max(-16vh, -10vw) !important;
  }

  #_670fbae0b1fb6_1729084128 {
    justify-content: center !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  #_3255060382_1729084155 {
    /* slightly less wide so card + slider balance in the middle */
    flex: 0 0 58% !important;
    max-width: 58% !important;
  }

  #_5802551332_1729084354 {
    flex: 0 0 42% !important;
    max-width: 48% !important;
  }
}

@media screen and (min-width: 992px) {
  #_5802551332_1729084354 {
    margin-left: max(-20vh, -14vw) !important;
  }

  #_670fbae0b1fb6_1729084128 {
    justify-content: flex-start !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Prevent page-level sideways scroll without clipping the intentional overlap */
html,
body {
  overflow-x: hidden;
}

#_670fbae0b1fb6_1729084128 {
  width: 100%;
  max-width: 100%;
  /* do NOT overflow:hidden here — that killed the original overlap on large screens */
}

/* Let wowslider keep its own sizing; only avoid blowing past the column */
#_3255060382_1729084155,
#banner_69f3b1357a4a2.wowslider {
  max-width: 100%;
}
