.cs-gallery {
    padding: 100px 0;
    background-color: #27272c;
}

.cs-gallery__title {
    color: #fff;
    font-family: var(--font-aeonik);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 50px;
    text-align: center;
}

.cs-gallery__slider {
    width: 100%;
    overflow: hidden;
    background: transparent;
    height: 500px;
}

.cs-gallery__slider .swiper-slide {
    width: auto;
    height: 100%;
}

.cs-gallery__card {
    display: block;
    height: 100%;
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #3a3a41;
}

.cs-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(38, 40, 42, 0) 0%, rgba(14, 17, 20, 0.4) 100%);
    pointer-events: none;
}

.cs-gallery__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.cs-gallery__progress {
    display: flex;
    width: 200px;
    height: 1px;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.2);
}

.cs-gallery__progress-bar {
    width: 0;
    height: 100%;
    background: #e0572a;
    transition: width 0.3s ease;
}

.cs-gallery__nav {
    display: flex;
    gap: 10px;
}

.cs-gallery__controls--hidden {
    display: none;
}

.cs-gallery__nav-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.cs-gallery__nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cs-gallery__nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .cs-gallery {
        padding: 60px 0;
    }

    .cs-gallery__title {
        font-size: 2rem;
    }

    .cs-gallery__slider {
        height: 300px;
    }
}
