/* General Layout */
.custom-two-column-element .content-wrapper { 
    width: 50%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.custom-two-column-element .cont-style ul { 
    list-style-position: outside; 
}

.custom-two-column-element .cont-style h3 { 
    font-family: var(--font-primary); 
    margin-top: 20px; 
    margin-bottom: 20px; 
}

.custom-two-column-element .cont-style a{
    text-decoration:underline;
}

.custom-two-column-element .cont-style a:hover{
    text-decoration:none;
}

/* Centered Content Alignment */
.custom-two-column-element .content-is-centered h1,
.custom-two-column-element .content-is-centered h2,
.custom-two-column-element .content-is-centered h3,
.custom-two-column-element .content-is-centered h4,
.custom-two-column-element .content-is-centered h5,
.custom-two-column-element .content-is-centered h6 {
    text-align: center;
}

/* Image Column and Slider Styles */
.custom-two-column-element .image-column { 
    position: relative; 
    width: 50%; 
}

.custom-two-column-element .image-column::before { 
    content: ''; 
    display: block; 
    padding-top: 75%; 
}

.custom-two-column-element .image-column img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: 25px; 
}

.custom-two-column-element .splide { 
    position: absolute; 
    left: 0; 
    right: 0; 
    bottom: 40px; 
    padding: 0 40px; 
    text-align: center; 
    color: white; 
    z-index: 20; 
    box-sizing: border-box; 
}

.custom-two-column-element .splide__list { 
    display: flex; 
    align-items: center; 
    height: 100%; 
}

.custom-two-column-element .splide__slide { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    width: 100%; 
}

.custom-two-column-element .testimonial-bg { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 60%; 
    background: linear-gradient(to top, black, transparent); 
    z-index: 10; 
    pointer-events: none; 
    border-radius: 0 0 25px 25px; 
}

.custom-two-column-element .splide__pagination { 
    position: relative; 
    z-index: 15; 
}

/* Responsive Styles */
@media (max-width: 768px) {
    .custom-two-column-element > div { 
        display: block !important; 
    }

.custom-two-column-element .splide__list {
    align-items: flex-end;
}

/* * Your existing rule is still correct! 
 * It ensures the text <p> inside the slide also aligns to the
 * bottom of the slide itself, which is good for consistency.
*/
.custom-two-column-element .splide__slide {
    align-items: flex-end !important; /* Keep this */
}


    

    .image-column {
    max-height: 350px !important;
}

    .custom-two-column-element .image-column, 
    .custom-two-column-element .content-wrapper { 
        width: 100% !important; 
    }
    
    .custom-two-column-element .content-wrapper { 
        justify-content: flex-end; 
        min-height: 300px; 
        padding: 20px !important; 
    }

    .custom-two-column-element .image-column::before { 
        padding-top: 85%; 
    }

    .custom-two-column-element .splide { 
        bottom: 10px; 
    }

    .custom-two-column-element .splide__slide p { 
        font-size: 1.3rem; 
    }
    
    .custom-two-column-element .splide__pagination { 
        margin-top: 20px; 
    }

    .custom-two-column-element h2{
        margin-bottom:0px !important;
    }

    .custom-two-column-element .content-wrapper{
        padding-top:30px !important;
    }

    .custom-two-column-element {
        margin-top:40px !important;
        margin-left: 0px !important;
        margin-right:0px !important;
        margin-bottom:0px !important;
    }

    .custom-two-column-element .image-column img{
        border-radius:0px !important;
    }

    .custom-two-column-element .testimonial-bg { 
   border-radius:0px !important;
}

.custom-two-column-element h2{
    margin-bottom:40px !important;
}

#join-team{
    margin-bottom:50px !important;
}



/* --- START: Add or Replace this code in your @media (max-width: 768px) block --- */

/* 1. Make the container a vertical flexbox on mobile */
.custom-two-column-element > div {
    display: flex !important;
    flex-direction: column;
}

/* 2. Set the visual order of the columns */
.custom-two-column-element .image-column {
    order: 1; /* Always comes first */
}

.custom-two-column-element .content-wrapper {
    order: 2; /* Always comes second */
}

/* --- END: Add or Replace this code --- */

#vacancies .cont-style h3{
    margin-top:20px !important;
}

.cont-style {
    padding-top:50px !important;
}
    
}