﻿.content-gallery {
    margin: 2.5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-masonry {
    columns: 3 300px;
    column-gap: 1.5rem;
}

.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gallery-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-slider .swiper {
    width: 100%;
    height: 500px;
}

.gallery-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-slider .swiper-button-next,
.gallery-slider .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.gallery-slider .swiper-button-next:after,
.gallery-slider .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 600px) {
    .gallery-slider .swiper {
        height: 300px;
    }
}

