.um-member-metaline p,  ul.select2-results__options {
    margin-bottom: 0;
}

/* Главный контейнер слайдера */
.gp-swiper-container {
    width: 100%;
    height: 480px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.gp-swiper-container .swiper {
    height: 100%;
}
/* Элемент слайда */
.gp-post-slide {
    width: 100%;
    height: 100% !important; /* Занимает всю высоту контейнера */
    display: flex;
}

/* Фоновый блок карточки */
.slide-card-bg {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center; /* Центрирует текстовый блок по вертикали */
}

/* Градиентная подложка слева направо */
.slide-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(10deg, rgba(0, 0, 0, 0.8) 25%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

/* Бейдж категории */
.slide-badge {
    position: absolute;
    top: 30px;
    left: 40px;
    background: #0073aa;
    color: #ffffff;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    z-index: 3;
}

/* Текстовый контент в левой части */
.slide-content {
    position: absolute;
    bottom: 0;
    width: 75%; /* Занимает ровно половину ширины блока */
    padding: 40px 20px 40px 40px;
    margin-top: 20px; /* Учитываем место под бейдж сверху */
    z-index: 2;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    box-sizing: border-box;
}


.slide-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.slide-author {
    font-style: italic;
}

.slide-content a, .slide-content a:hover {
    color: white;
    text-decoration: none;
}

.slide-title {
    font-size: 28px; /* Крупный читаемый шрифт */
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.slide-title a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Строго максимум 2 строки заголовка */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-title a:hover {
    color: #ffffff !important;
}

.slide-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Строго максимум 3 строки отрывка */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Аккуратная кнопка */
.slide-more-btn {
    align-self: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none !important;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.slide-more-btn:hover {
    background: #0073aa;
    border-color: #0073aa;
}

/* Кастомизация стрелок Swiper по бокам баннера */
.gp-swiper-container .swiper-button-next,
.gp-swiper-container .swiper-button-prev {
    color: #ffffff;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.gp-swiper-container .swiper-button-next:hover,
.gp-swiper-container .swiper-button-prev:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .gp-swiper-container {
        height: 380px; /* Уменьшаем высоту на мобильных */
    }
    .slide-card-overlay {
        /* На мобильных затемняем всю площадь сверху вниз */
        background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
    }
    .slide-badge {
        top: 20px; left: 20px;
    }
    .slide-content {
        width: 100%;
        height: 100%;
        justify-content: flex-end; /* Смещаем текст вниз */
        padding: 20px 20px 40px 20px;
    }
    .slide-title { font-size: 20px; margin-bottom: 8px; }
    .slide-excerpt { display: none; } /* Скрываем описание на мобильных ради свободного места */
}

.gp-swiper-container .swiper-pagination-bullet {
    background: white;
}