.brxe-ov-cpt-kit-gallery {
    border: 0 !important;
    outline: 0 !important;
    background: transparent;
}

.ov-cpt-kit-gallery-slider {
    position: relative;
    width: 100%;
    border: 0;
    outline: 0;
    --ov-cpt-kit-nav-size: 42px;
    --ov-cpt-kit-image-radius: 0px;
    --ov-cpt-kit-slide-gap: 16px;
    --ov-cpt-kit-image-padding: 0px;
    --ov-cpt-kit-image-border-width: 0px;
    --ov-cpt-kit-image-border-color: transparent;
    --ov-cpt-kit-image-background: transparent;
    --ov-cpt-kit-caption-overlay-size: 55%;
    --ov-cpt-kit-effective-per-view: 3;
}

.ov-cpt-kit-gallery-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ov-cpt-kit-gallery-viewport::-webkit-scrollbar {
    display: none;
}

.ov-cpt-kit-gallery-track {
    display: flex;
    gap: var(--ov-cpt-kit-slide-gap, 16px);
}

.ov-cpt-kit-gallery-slide {
    flex: 0 0 calc((100% - (var(--ov-cpt-kit-slide-gap, 16px) * (var(--ov-cpt-kit-effective-per-view, 3) - 1))) / var(--ov-cpt-kit-effective-per-view, 3));
    margin: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
}

.ov-cpt-kit-gallery-mobile-single .ov-cpt-kit-gallery-track {
    display: block;
}

.ov-cpt-kit-gallery-mobile-single .ov-cpt-kit-gallery-slide {
    width: 100%;
}

.ov-cpt-kit-gallery-slide-trigger {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.ov-cpt-kit-gallery-slide-trigger:focus {
    outline: 0;
}

.ov-cpt-kit-gallery-slide-trigger:focus-visible {
    outline: 2px solid rgba(29, 35, 39, 0.75);
    outline-offset: 2px;
}

.ov-cpt-kit-gallery-slide-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--ov-cpt-kit-image-radius, 0px);
    padding: var(--ov-cpt-kit-image-padding, 0px);
    border: var(--ov-cpt-kit-image-border-width, 0px) solid var(--ov-cpt-kit-image-border-color, transparent);
    background: var(--ov-cpt-kit-image-background, transparent);
}

.ov-cpt-kit-gallery-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.ov-cpt-kit-gallery-has-shadow .ov-cpt-kit-gallery-slide-media {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.ov-cpt-kit-gallery-caption {
    position: absolute;
    inset: var(--ov-cpt-kit-image-padding, 0px);
    z-index: 1;
    display: flex;
    padding: 18px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.ov-cpt-kit-gallery-caption-v-bottom .ov-cpt-kit-gallery-caption {
    background: linear-gradient(180deg, rgba(7, 10, 14, 0) 0%, rgba(7, 10, 14, 0.78) var(--ov-cpt-kit-caption-overlay-size), rgba(7, 10, 14, 0.92) 100%);
    align-items: flex-end;
}

.ov-cpt-kit-gallery-caption-v-top .ov-cpt-kit-gallery-caption {
    background: linear-gradient(0deg, rgba(7, 10, 14, 0) 0%, rgba(7, 10, 14, 0.78) var(--ov-cpt-kit-caption-overlay-size), rgba(7, 10, 14, 0.92) 100%);
    align-items: flex-start;
}

.ov-cpt-kit-gallery-caption-h-left .ov-cpt-kit-gallery-caption {
    justify-content: flex-start;
    text-align: left;
}

.ov-cpt-kit-gallery-caption-h-center .ov-cpt-kit-gallery-caption {
    justify-content: center;
    text-align: center;
}

.ov-cpt-kit-gallery-caption-h-right .ov-cpt-kit-gallery-caption {
    justify-content: flex-end;
    text-align: right;
}

.ov-cpt-kit-gallery-nav {
    appearance: none;
    position: absolute;
    top: 50%;
    z-index: 2;
    width: var(--ov-cpt-kit-nav-size);
    height: var(--ov-cpt-kit-nav-size);
    transform: translateY(-50%);
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: #1d2327;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    padding: 0;
    cursor: pointer;
    line-height: var(--ov-cpt-kit-nav-size);
    text-align: center;
    font-size: 20px;
}

.ov-cpt-kit-gallery-nav:hover {
    background: #fff;
}

.ov-cpt-kit-gallery-nav:disabled {
    opacity: 0.45;
    cursor: default;
}

.ov-cpt-kit-gallery-nav[hidden] {
    display: none;
}

.ov-cpt-kit-gallery-prev {
    left: 10px;
}

.ov-cpt-kit-gallery-next {
    right: 10px;
}

.ov-cpt-kit-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 12, 16, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.ov-cpt-kit-gallery-lightbox[hidden] {
    display: none;
}

.ov-cpt-kit-gallery-lightbox-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.ov-cpt-kit-gallery-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: var(--ov-cpt-kit-image-radius, 0px);
}

.ov-cpt-kit-gallery-lightbox-caption {
    max-width: 860px;
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
}

.ov-cpt-kit-gallery-lightbox-close,
.ov-cpt-kit-gallery-lightbox-nav {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-radius: 999px;
    cursor: pointer;
    width: 46px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    font-size: 22px;
}

.ov-cpt-kit-gallery-lightbox-close {
    top: 20px;
    right: 20px;
}

.ov-cpt-kit-gallery-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.ov-cpt-kit-gallery-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.ov-cpt-kit-gallery-lightbox-close:hover,
.ov-cpt-kit-gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.24);
}

@media (max-width: 782px) {
    .ov-cpt-kit-gallery-slide {
        width: 100%;
    }

    .ov-cpt-kit-gallery-caption {
        padding: 14px;
        font-size: 13px;
    }

    .ov-cpt-kit-gallery-nav {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 18px;
    }

    .ov-cpt-kit-gallery-prev {
        left: 6px;
    }

    .ov-cpt-kit-gallery-next {
        right: 6px;
    }

    .ov-cpt-kit-gallery-lightbox {
        padding: 20px 12px;
    }

    .ov-cpt-kit-gallery-lightbox-close,
    .ov-cpt-kit-gallery-lightbox-nav {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }

    .ov-cpt-kit-gallery-lightbox-prev {
        left: 10px;
    }

    .ov-cpt-kit-gallery-lightbox-next,
    .ov-cpt-kit-gallery-lightbox-close {
        right: 10px;
    }
}
