﻿.vg-gallery {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5);
    border: 1px solid rgba(255, 255, 255, .18);
    width: 100%;
    max-width: 1254px;
    aspect-ratio: 1 / 1;
    background: #0A3D62;
}

.vg-gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.vg-gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity .6s ease;
}

    .vg-gallery-slide.active {
        opacity: 1;
        z-index: 1;
    }

    .vg-gallery-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.vg-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg,#1FA2FF,#6BCB77);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .4);
    transition: background .15s ease, transform .15s ease;
}

    .vg-gallery-btn:hover {
        background: linear-gradient(135deg,#1FA2FF,#6BCB77);
        color: #fff;
        transform: translateY(-50%) scale(1.06);
    }

    .vg-gallery-btn:focus-visible {
        outline: 2px solid #1FA2FF;
        outline-offset: 2px;
    }

.vg-gallery-prev {
    left: 14px;
}

.vg-gallery-next {
    right: 14px;
}

.vg-gallery-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.vg-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    padding: 0;
    transition: background .15s ease, transform .15s ease;
}

    .vg-gallery-dot.active {
        background: #fff;
        transform: scale(1.25);
    }

    .vg-gallery-dot:focus-visible {
        outline: 2px solid #1FA2FF;
        outline-offset: 2px;
    }

.vg-gallery-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 600px) {
    .vg-gallery {
        border-radius: 18px;
    }

    .vg-gallery-btn {
        width: 36px;
        height: 36px;
    }
}
