.ev-gallery-slider {
    overflow: hidden;
    height: 360px;
    margin-bottom: 60px;
}
.ev-gallery-image {
    padding: 30px 15px;
}
.ev-gallery-image img {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    transition: all 300ms ease;
    object-position: center 35%;
}
.slick-center.ev-gallery-image {
    padding: 0 15px;
}
.slick-center.ev-gallery-image img {
    width: 360px;
    height: 360px;
    border-radius: 24px;
}

/* Responsive sizing for carousel images */
@media (max-width: 767px) {
    .ev-gallery-slider {
        height: 280px;
        margin-bottom: 40px;
    }
    .ev-gallery-image {
        padding: 20px 10px;
    }
    .ev-gallery-image img {
        width: 220px;
        height: 220px;
        border-radius: 16px;
    }
    .slick-center.ev-gallery-image {
        padding: 0 10px;
    }
    .slick-center.ev-gallery-image img {
        width: 280px;
        height: 280px;
        border-radius: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .ev-gallery-slider {
        height: 320px;
    }
    .ev-gallery-image img {
        width: 260px;
        height: 260px;
    }
    .slick-center.ev-gallery-image img {
        width: 320px;
        height: 320px;
    }
}

.job-gallery-carousel .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    font-weight: 700;
    margin: 0 0 40px;
    padding-bottom: 20px;
    position: relative;
}
.job-gallery-title-section {
    margin: 0;
}

.job-gallery-carousel .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 15px;
    height: 2px;
    background-color: #0abab5;
}

/* Gallery title in container */
.container .section-title {
    position: relative;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    font-weight: 700;
    margin: 0 0 40px;
    padding-bottom: 20px;
}

.container .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 15px;
    height: 2px;
    background-color: #0abab5;
}

.job-gallery-carousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.job-gallery-carousel.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: auto;
    padding: 0;
    margin-bottom: 60px;
}

.job-gallery-carousel.centered .ev-gallery-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    padding: 0;
    min-width: min-content;
    margin-bottom: 0;
}

.job-gallery-carousel.centered .carousel-slide {
    width: 360px;
    height: 360px;
    flex-shrink: 0;
}

.job-gallery-carousel.centered .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Responsive centered layout */
@media (max-width: 767px) {
    .job-gallery-carousel.centered .carousel-slide {
        width: 280px;
        height: 280px;
    }
    .job-gallery-carousel.centered .carousel-slide img {
        border-radius: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .job-gallery-carousel.centered .carousel-slide {
        width: 320px;
        height: 320px;
    }
}

.ev-gallery-slider {
    width: 100%;
}

.ev-gallery-slider .carousel-slide img {
    display: block;
}

.slick-slide {
    outline: none;
}

.slick-list {
    outline: none;
}