/* Catalog Slider Wrapper */
.rv-catalog-slider {
    position: relative;
    padding: 40px 20px;
    background: #0089cf;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    gap: 5%;
}

/* Header */
.rv-catalog-slider__header {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 1rem;
    flex-direction: column;
    width: 35%;
}

.rv-catalog-slider__header h2 {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.rv-catalog-slider__header p {
    font-size: 14px;
    color: #fff;
    max-width: 500px;
    margin: 6px 0 0;
    line-height: 1.5;
}

.rv-catalog-slider__nav {
    display: flex;
    gap: 8px;
    margin-top: 2rem;
}

.rv-catalog-slider .swiper-wrapper {
    width: 65%;
}

.rv-catalog-slider__nav .swiper-button-prev,
.rv-catalog-slider__nav .swiper-button-next {
    position: static;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.rv-catalog-slider__nav .swiper-button-prev:hover,
.rv-catalog-slider__nav .swiper-button-next:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

.rv-catalog-slider__nav .swiper-button-next:after, .rv-catalog-slider__nav .swiper-button-prev:after {
    font-size: 12px;
}

/* Card */
.rv-catalog-card {
    height: auto;
    position: relative;
}

.slide_link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.swiper {
    width: 100%;
}

.rv-catalog-card__inner {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slide_link:hover .rv-catalog-card__inner {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Image */
.rv-catalog-card__image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0f0f0;
}

.rv-catalog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content */
.rv-catalog-card__content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rv-catalog-card__content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #222;
    line-height: 1.3;
}

.rv-catalog-card__content p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 12px;
    flex: 1;
}

.rv-catalog-date {
    font-size: 12px;
    color: #999;
    margin-top: auto;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .rv-catalog-slider__header {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .rv-catalog-slider {
        flex-direction: column;
        gap: 2rem;
    }

    .rv-catalog-slider__nav {
        margin-top: 25px;
    }
}

@media (max-width: 768px) {
    .rv-catalog-card__content h3 {
        font-size: 15px;
    }

    .rv-catalog-card__content p {
        font-size: 13px;
    }
}
