.gallery-tabs {
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.gallery-tabs .nav-link {
    min-width: 120px;
    padding: 12px 24px;
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    color: var(--accent-color);
    background: var(--white-color);
    font-weight: 600;
}

.gallery-tabs .nav-link:hover {
    background: var(--secondery-color);
}

.gallery-tabs .nav-link.active {
    color: var(--white-color);
    background: var(--accent-color);
}

.gallery-tabs .nav-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    box-shadow: none;
}

#gallery-images .gallery-card figure {
    height: 280px;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

#gallery-images .gallery-card figure::after {
    pointer-events: none;
}

#gallery-images .gallery-card figure a {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

#gallery-images .gallery-card figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery-videos .youtube-video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

#gallery-videos iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 575.98px) {
    .gallery-tabs .nav-link {
        flex: 1;
        min-width: 0;
    }

    #gallery-images .gallery-card figure {
        height: 230px;
    }
}
