/*----- SIMPLE CONTENT - Open -----*/
#apb-wrapper .sb-type-section .views-element-container {
   display: flex;
   flex-direction: column;
   justify-content: center;
   position: relative;
}
#apb-wrapper .view-apb-simple-content .views-row {
   overflow: visible;
   z-index: 1 !important;
   min-width: 0;
}
#apb-wrapper .view-apb-simple-content .views-row.apb-simple-background {
   overflow: clip;
}
#apb-wrapper .view-apb-simple-content .splide {
   width: 100% !important;
}
#apb-wrapper .view-apb-simple-content .splide__slide {
   margin: 0 !important;
   padding: 0 !important;
}
#apb-wrapper .view-apb-simple-content .splide__slide::before {
   display: none !important;
}
#apb-wrapper .view-apb-simple-content .splide__slide img {
   width: 100% !important;
   height: auto !important;
}
#apb-wrapper .view-apb-simple-content .apb-sc-customized {
   border-radius: 6px;
}
#apb-wrapper .view-apb-simple-content .apb-sc-body-wrapper p:last-child {
   margin-bottom: 0 !important;
}
/*----- SIMPLE CONTENT - Close -----*/
#apb-wrapper .apb-sb-parallax-container > .view-apb-simple-content {
   position: relative;
   z-index: 2;
}

/* Section backgrounds applied to .view-apb-simple-content */
#apb-wrapper .sb-type-section .view-apb-simple-content.apb-simple-background {
   position: relative;
}
#apb-wrapper .simpleParallax {
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
   z-index: 0;
}
#apb-wrapper .simpleParallax img {
   display: block !important;
   margin: 0 !important;
}

/* Smart positioning for mixed content scenarios */
#apb-wrapper .apb-sb-mixed-content {
   overflow: clip;
}

#apb-wrapper .apb-sb-mixed-content .simpleParallax {
   z-index: 0;
}

/* Ensure parallax backgrounds don't interfere with content */
#apb-wrapper .sb-type-content .apb-simple-background .simpleParallax {
   z-index: 0 !important;
}

#apb-wrapper .sb-type-section .apb-simple-background .simpleParallax {
   z-index: 0;
}

#apb-wrapper .force-full-width.sb-type-section .view-apb-simple-content,
#apb-wrapper #main-content-no-container .sb-type-section .view-apb-simple-content {
   left: auto !important;
   margin: 0 auto !important;
   max-width: 1270px !important;
   padding-left: 1rem !important;
   padding-right: 1rem !important;
   position: relative !important;
   right: auto !important;
   width: 100% !important;
}
#apb-wrapper .force-full-width.sb-type-section .views-element-container,
#apb-wrapper #main-content-no-container .sb-type-section .views-element-container {
   max-width: none !important;
   margin: 0 !important;
   padding: 0 !important;
}

/*----- ALIGN ITEMS - Open -----*/
#apb-wrapper .apb-align-items-stretch .apb-sc-row-image .splide img,
#apb-wrapper .apb-align-items-stretch .apb-sc-row-image .splide .apb-sc-image,
#apb-wrapper .apb-align-items-stretch .apb-sc-row-image .splide .splide__slide,
#apb-wrapper .apb-align-items-stretch .apb-sc-row-image .splide .splide__list,
#apb-wrapper .apb-align-items-stretch .apb-sc-row-image .splide .splide__track,
#apb-wrapper .apb-align-items-stretch .apb-sc-row-image .splide {
   height: 100% !important;
}
#apb-wrapper .apb-align-items-stretch .apb-sc-row-image .splide img {
   object-fit: cover;
   object-position: top center;
   width: 100% !important;
}

/*----- ALIGN ITEMS - Close -----*/
