/* Homepage hero slider — each slide's visible height came purely from its
   content wrapper's fixed-pixel top/bottom padding (e.g. 420px+420px), so
   the height never changed as the browser window resized. Since the slide
   background uses background-size:cover, a fixed height with a shrinking
   width just crops the image more aggressively instead of scaling it
   proportionally. clamp() keeps each slide's height (and therefore the
   image's framing) scaling with the viewport width, within sensible
   bounds so it doesn't get absurdly short/tall at extreme widths.
   Reference values calculated against each slide's original desktop
   padding at a 1920px design width.

   Divi's slider script also sets its own inline "height: Npx" directly on
   .et_pb_container, computed once from the original fixed padding and not
   reliably recalculated - a plain CSS rule can't beat an inline style, but
   !important can (inline styles only win over non-important rules), so
   the container height is force-matched to the same clamp() value as the
   description's padding below. */
.et_pb_slide_1 .et_pb_slide_description {
	padding-top: clamp(280px, 21.875vw, 480px) !important;
	padding-bottom: clamp(280px, 21.875vw, 480px) !important;
}
.et_pb_slide_1 .et_pb_container {
	height: clamp(560px, 43.75vw, 960px) !important;
}
.et_pb_slide_2 .et_pb_slide_description {
	padding-top: clamp(170px, 13.0208vw, 320px) !important;
	padding-bottom: clamp(170px, 13.0208vw, 320px) !important;
}
.et_pb_slide_2 .et_pb_container {
	height: clamp(340px, 26.0417vw, 640px) !important;
}
.et_pb_slide_3 .et_pb_slide_description,
.et_pb_slide_4 .et_pb_slide_description {
	padding-top: clamp(260px, 20.8333vw, 460px) !important;
	padding-bottom: clamp(260px, 20.8333vw, 460px) !important;
}
.et_pb_slide_3 .et_pb_container,
.et_pb_slide_4 .et_pb_container {
	height: clamp(520px, 41.6667vw, 920px) !important;
}
