.portfolio-block {
    gap: 20px;
}

.portfolio-block h2 {
    margin: 0;
}

/* Пагинация вне слайдера */
.slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.slider-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: #c4c4c4;
    opacity: 1;
    transition: all 0.3s ease;
}

.slider-pagination .swiper-pagination-bullet-active {
    width: 14px;
    border-radius: 10px;
    background: var(--accent-color);
}

.slider-section {
    position: relative;
}

.slider-section .portfolio-slider {
    overflow: hidden;
}

.slider-section .swiper-slide {
    height: auto;
}

.slider-section .slide-card {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    background: #f5f5f5;
    overflow: hidden;
}

.slider-section .slide-card picture,
.slider-section .slide-card img {
    display: block;
    width: 100%;
    height: 100%;
}

.slider-section .slide-card img {
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 1199px) {
    .slider-section .slide-card {
        height: auto;
    }
}

@media screen and (max-width: 767px) {
    .slider-section .slide-card {
        height: 220px;
    }
}

/* Подпись */
.portfolio-footer {
    line-height: 28px;
    margin-top: 20px;
}

@media screen and (max-width: 1199px) {
    .portfolio-footer {
        font-size: 15px;
        text-align: center;
        text-wrap-style: balance;
    }
}
