/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.1
*/

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    word-wrap: normal!important;
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    overflow-wrap: normal!important;
    padding: 0;
    position: absolute!important;
    width: 1px;
}


/* Override Divi auto-generated font-face to use WOFF2 */
@font-face {
    font-family: "Avenir Regular";
    font-display: swap;
    src: url("https://www.element-home.com/wp-content/uploads/et-fonts/Avenir-Regular.woff2") format("woff2"),
         url("https://www.element-home.com/wp-content/uploads/et-fonts/Avenir-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Avenir Next LT Pro Light";
    font-display: swap;
    src: url("https://www.element-home.com/wp-content/uploads/et-fonts/Avenir-Next-LT-Pro-Light.woff2") format("woff2"),
         url("https://www.element-home.com/wp-content/uploads/et-fonts/Avenir-Next-LT-Pro-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Avenir Light";
    font-display: swap;
    src: url("https://www.element-home.com/wp-content/uploads/et-fonts/Avenir-Light.woff2") format("woff2"),
         url("https://www.element-home.com/wp-content/uploads/et-fonts/Avenir-Light.ttf") format("truetype");
}

/* Slider - prevent layout shift and ensure active slide visibility */
.et_pb_slider_0 {
    min-height: 650px;
}

.et_pb_slider_0 .et_pb_slide {
    min-height: 650px;
}

.et_pb_slider.et_pb_slider_0 .et_pb_slides {
    min-height: 650px;
    aspect-ratio: auto;
}

.et_pb_slide_0 {
    display: block !important;
    opacity: 1 !important;
}

.et_pb_slider_0 .et-pb-active-slide {
    opacity: 1 !important;
}

