/* ===============================
   RELATED ARTICLES SLIDER (RA)
================================ */

.ra-container {
    max-width: 1314px;
    margin: auto;
    padding: 0;
}

/* Header */
.ra-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.ra-title {
    font-size: 22px;
    font-weight: 700;
}

/* Navigation */
.ra-nav {
    display: flex;
    gap: 10px;
}

.cd-author p,
.cd-author span {
    font-size: 14px;
}

.ra-nav .swiper-button-prev,
.ra-nav .swiper-button-next {
    position: static;
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 50%;
}

.ra-nav .swiper-button-prev::after,
.ra-nav .swiper-button-next::after {
    font-size: 12px;
    color: #111;
    font-weight: bold;
}

/* Slider spacing */
.ra-slider {
    background: #fff;
    padding-top: 10px;
}

.ra-thumb img,
.ra-img {
    /* width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important; */
}

.ra-slider .swiper-wrapper {
    align-items: stretch;
}


.ra-slider .swiper-slide {
    height: auto !important;
}




/* Swiper slide height fix */
.ra-slider .swiper-slide {
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .ra-thumb img {
        height: 160px;
    }

    .ra-title {
        font-size: 18px;
    }

    .ra-content {
        padding: 10px;
    }
    .ra-meta{
        font-size: 12px !important;
    }
}

/* SECTION */
.ra-section {
    margin: 40px 0;
    background: #fff;
}

.ra-container {
    max-width: 1314px;
    margin: auto;
    padding: 0 16px;
}

/* HEADER */

.ra-title {
    font-size: 22px;
    font-weight: 700;
}

/* CARD */
.ra-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
    background: #f5f5f5;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
}

.ra-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(255, 255, 255, 0.836);
}

/* IMAGE */
.ra-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    width: 100%;

}

.ra-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTENT */
.ra-content {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
}

.ra-post-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
    font-style: normal;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;


}

.ra-post-title a {
    color: #111;
    text-decoration: none;
}

/* META */
.ra-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.ra-read {
    color: #000;
    font-weight: 600;
    border-bottom: 2px solid #564287;
    padding-bottom: 2px;
}

.ra-time {
    color: #777;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* SWIPER */
.ra-slider .swiper-slide {
    width: 360px;
}

.ra-prev,
.ra-next {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eef2ff;
    color: #3b5cff;
}

.ra-prev:after,
.ra-next:after {
    font-size: 14px;
    font-weight: bold;
}

/* MOBILE */
@media (max-width: 768px) {
    .ra-slider .swiper-slide {
        width: 85%;
    }
}