/* Обертка слайдера */
.vk-slider-wrapper {
    position: relative;
    padding: 0 40px; /* Место под стрелки */
    margin: 40px 0;
}

.vk-swiper-container {
    padding-bottom: 40px !important; /* Место под пагинацию (точки) */
}

/* Карточка поста */
.vk-slide-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
}

.vk-slide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.vk-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Картинка */
.vk-card-image {
    height: 200px; /* Фиксированная высота картинки */
    background-size: cover;
    background-position: center;
    position: relative;
}

.vk-card-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Контент */
.vk-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.vk-card-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Максимум 4 строки текста */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vk-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-size: 13px;
    color: #888;
}

.vk-read-more {
    color: #4a76a8; /* Цвет VK */
    font-weight: 600;
}

/* Стилизация стрелок Swiper */
.swiper-button-next, .swiper-button-prev {
    color: #4a76a8 !important;
    transform: scale(0.7);
}

.swiper-pagination-bullet-active {
    background: #4a76a8 !important;
}
