/* Контейнер всей ленты */
.zyn-slider-container {
    width: 100%;
    overflow: visible; /* FIX: было hidden — обрезало кнопки */
    padding: 0px 0;
    background: #fff;
}

/* Контейнер-обертка для позиционирования кнопок */
.zyn-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 30px; /* FIX: даём место для кнопок по бокам */
}

/* Скрываем скроллбар во всех браузерах */
.zyn-slider-track {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    gap: 10px;
    padding: 0px 0;
    width: 100%;
}
.zyn-slider-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Контейнер для кнопки под слайдером */
.zyn-more-button-wrapper {
    text-align: center;
    margin-top: 10px;
    padding-bottom: 10px;
}

/* Стили кнопки "Показать больше" */
.zyn-view-all-btn {
    display: inline-block;
    padding: 10px 5px;
    background: transparent !important;
    color: #000 !important;
    text-decoration: none;
    font-family: 'Russo One', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none !important;
    border-bottom: 3px solid #000 !important;
}

.zyn-view-all-btn:hover {
    background: transparent !important;
    color: #888 !important;
    border-bottom-color: #888 !important;
}

/* Кнопки вправо-влево */
.zyn-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s;
    border-radius: 30px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px !important;
    line-height: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
}

.zyn-nav-btn:hover { opacity: 1; }
.zyn-nav-btn.prev { left: -25px; padding-bottom: 4px !important; }
.zyn-nav-btn.next { right: -25px; padding-bottom: 4px !important; }

@media (max-width: 768px) {
    .zyn-slider-wrapper {
        padding: 0;
    }
    .zyn-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
        background: rgba(0,0,0,0.6);
    }
    .zyn-nav-btn.prev { left: 4px; }
    .zyn-nav-btn.next { right: 4px; }
}

/* Сама карточка поста */
.zyn-post-card {
    flex: 0 0 250px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    transition: transform 0.2s ease;
    scroll-snap-align: start;
    list-style: none;
}

.zyn-post-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.zyn-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.zyn-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 5px 5px 0 0 !important;
}

.zyn-card-content {
    padding: 20px 18px 25px;
    display: flex;
    flex-direction: column;
}

.zyn-card-content h3 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    font-size: 18px !important;
    line-height: 1.25 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    letter-spacing: -0.02em;
    min-height: 68px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zyn-post-card:hover h3 {
    color: #000;
}

@media (max-width: 991px) {
    .zyn-post-card {
        flex: 0 0 260px;
    }
}

/* --- КНОПКИ КАТЕГОРИЙ --- */
.zyn-category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 30px;
    margin: 10px auto 25px auto;
    max-width: 1200px;
    padding: 0 15px 10px 15px;
    border-bottom: 1px solid #eee;
}

.zyn-tab-btn {
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    color: #888 !important;
    padding: 8px 5px;
    font-family: 'Russo One', sans-serif !important;
    font-size: 18px !important;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
    transition: color 0.3s ease;
    margin-bottom: -1px;
    white-space: nowrap;
}

.zyn-tab-btn:hover:not(.is-active) {
    color: #000 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.zyn-tab-btn.is-active {
    color: #000 !important;
    border-bottom: 3px solid #000 !important;
    box-shadow: none !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    .zyn-category-tabs {
        gap: 1px 7px;
        justify-content: center;
    }
    .zyn-tab-btn {
        font-size: 16px !important;
        padding: 1px 2px;
    }
}