/* block.css - Стили для фронтенда */

.custom-slider-wrapper {
    margin: 20px 0;
    overflow: hidden;
}

.slider-container {
    display: flex;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Карточка управления */
.slider-controls-card {
    flex: 0 0 504px;
    max-width: 560px;
    max-height: 310px;
    background: #241f1e;
    display: flex;
    padding: 28px;
    color: white;
}

.slider-controls-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slider-control-title {
    font-weight: 400;
    font-size: 36px;
    line-height: 115%;
}
.slider-controls-content .znak {
    margin-bottom: 30px;
    min-height: 40px;
}
.slider-control-title.__news-block {
    font-weight: 400;
    font-size: 62px;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.slider-controls-card.__news-block {
    background: transparent;
    padding: 0;
    max-height: inherit;
    height: auto;
}
.slider-control-subtitle {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 100%;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 30px;
}

.slider-control-bottom-left{
    display: flex;
    gap: 10px;
}
.slider-social-button {
    border: 1px solid #918f8e;
    padding: 16px;
    display: flex;
    max-height: 62px;
    justify-content: center;
    align-items: center;
}
.slider-control-bottom {
    display: flex;
    justify-content: space-between;
}

.slider-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border: 1px solid #918f8e;
}

.slider-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;

}

.slider-btn:hover {
    background: #ffffff0d;
}
.slider-btn:hover svg path{
    stroke: white !important;
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-pagination .swiper-pagination-bullet:hover {
    background: rgba(255,255,255,0.6);
    transform: scale(1.2);
}

.slider-pagination .swiper-pagination-bullet-active {
    background: white;
    width: 12px;
    height: 12px;
}

.slide-counter {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 15px;
}

/* Слайдер */
.slider-track-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 310px;
}

.custom-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 430px;
    height: 310px;
}

/* Карточка поста - 430px x 310px */
.post-card {
    max-width: 430px;
    width: 374px;
    height: 254px;
    padding: 28px;
    background: #402920;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.post-card.__news-block {
    width: 360px;
    height: 274px;
}
.slider-card-bg {
    opacity: 0;
    position: absolute;
    right: 0;
    bottom: -7px;
    transition: all ease-in-out 500ms;
    mix-blend-mode: soft-light;
}

.post-card:hover .slider-card-bg{
    opacity: 0.2;
    /*mix-blend-mode: soft-light;*/
    transition: all ease-in-out 500ms;
}

.slider-card-link-ico svg rect {
    transition: all 0.3s ease;
}
.post-card:hover .slider-card-link-ico svg rect {
    fill: #AD563C;
    stroke: none;
    width: 50px;
    height: 50px;
    rx: 26;
}
.post-thumbnail {
    width: 110px;
    height: 110px;
    overflow: hidden;
    flex-shrink: 0;
}
.post-thumbnail.__news-block {
    width: auto;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card:hover .post-thumbnail img {
}

.slider-card-top {
    display: flex;
    justify-content: space-between;
}

.slider-bottom-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
/* Метка типа записи */
.post-type-badge {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 100%;
    color: rgba(255, 255, 255, 0.65);
}

.post-title {
    font-weight: 400;
    font-size: 24px;
    line-height: 125%;
    color: white;
    font-family: "Manrope", sans-serif;
}
.post-title.__news-block {
    font-weight: 300;
    font-size: 18px;
    line-height: 100%;
}

.post-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;
}

.post-date {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.65);
}
.post-card-link {
    text-decoration: none !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .slider-container {
        flex-direction: column;
    }

    .slider-controls-card {
        flex: none;
        min-height: 150px;
    }

    .post-card {
        max-width: 100%;
        height: 280px;
    }

    .post-thumbnail {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .post-card {
        height: 260px;
    }

    .post-thumbnail {
        height: 130px;
    }

    .post-title {
        font-size: 14px;
    }
}