#pk_flex_content .flex_layout.gallery_slider {
    max-width: none;
    padding-inline: 0;
    overflow: hidden;
}

#pk_flex_content .flex_layout.gallery_slider .gallery-slider-row {
    max-width: var(--site-grid);
    margin-inline: auto;
    padding-inline: 40px;
}

#pk_flex_content .flex_layout.gallery_slider .gallery-slider-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

#pk_flex_content .flex_layout.gallery_slider .heading_wrapper,
#pk_flex_content .flex_layout.gallery_slider .heading {
    margin-bottom: 0;
}

#pk_flex_content .flex_layout.gallery_slider .netceed-swiper-arrows {
    display: flex;
    flex-shrink: 0;
    margin-top: 0;
}

#pk_flex_content .flex_layout.gallery_slider .gallery-slider-swiper {
    overflow: visible;
}

#pk_flex_content .flex_layout.gallery_slider .swiper-slide {
    height: auto;
}

#pk_flex_content .flex_layout.gallery_slider .gallery-slider-figure {
    position: relative;
    width: 100%;
    aspect-ratio: 14 / 10;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--charcoal);
}

#pk_flex_content .flex_layout.gallery_slider .gallery-slider-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 767px) {
    #pk_flex_content .flex_layout.gallery_slider .gallery-slider-row {
        padding-inline: 20px;
    }

    #pk_flex_content .flex_layout.gallery_slider .gallery-slider-header {
        align-items: flex-start;
        margin-bottom: 24px;
    }

    #pk_flex_content .flex_layout.gallery_slider .netceed-swiper-arrows {
        gap: 10px;
    }

    #pk_flex_content .flex_layout.gallery_slider .netceed-swiper-arrows svg {
        width: 38px;
        height: 38px;
    }
}
