.yingfang_featured_news {
    padding-top: var(--gap-100);
    padding-bottom: var(--gap-100);
    background: #fff;
}

/* ===========================================
   Header Section
   =========================================== */
.yingfang_featured_news .header {
    text-align: center;
    margin-bottom: var(--gap-70);
}

/* Title */
.yingfang_featured_news .title {
    color: #111;
    text-align: center;
    font-family: var(--title-font-family);
    font-size: var(--font-48);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* Subtitle */
.yingfang_featured_news .subtitle {
    color: #111;
    text-align: center;
    font-family: var(--font-family);
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: var(--gap-20);
}

/* ===========================================
   Swiper Wrapper with Navigation Outside
   =========================================== */
.yingfang_featured_news .swiper-wrapper-outer {
    display: flex;
    align-items: center;
    gap: var(--text-gap-lg);
    position: relative;
}

.yingfang_featured_news .swiper-wrapper-outer .swiper-slide {
    height: auto;
}

/* Swiper Container */
.yingfang_featured_news .news-swiper {
    flex: 1;
    overflow: hidden;
    padding: 0 0 12px;
}

/* ===========================================
   News Card
   =========================================== */
.yingfang_featured_news .news-card {
    background: #F4F8F8;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.yingfang_featured_news .news-card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.10);
}

/* Card Image */
.yingfang_featured_news .card-image {
    aspect-ratio: 520 / 292;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.yingfang_featured_news .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Content */
.yingfang_featured_news .card-content {
    padding: var(--gap-20) var(--gap-30);
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Card Title */
.yingfang_featured_news .card-title {
    color: #000;
    font-family: var(--font-family);
    font-size: var(--font-22);
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: var(--gap-30);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(2 * 1.3em);
}

/* Card Description */
.yingfang_featured_news .card-desc {
    color: #666;
    font-family: var(--font-family);
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--gap-30);
    min-height: calc(3 * 1.4em);
}

.yingfang_featured_news .news-card:hover .card-desc {
    color: #666;
}

/* Card Date */
.yingfang_featured_news .card-date {
    display: flex;
    align-items: center;
    color: #666;
    font-family: var(--font-family);
    font-size: var(--font-18);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: var(--gap-20);
}

/* Card Link */
.yingfang_featured_news .card-link {
    color: #111;
    font-family: var(--font-family);
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.yingfang_featured_news .card-link .arrow {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.yingfang_featured_news .card-link .arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}

.yingfang_featured_news .item-date {
    position: absolute;
    width: 85px;
    aspect-ratio: 1/1;
    top: 42%;
    right: 10%;
    background-color: var(--color-primary);
    color: #FFF;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.yingfang_featured_news .item-date-day {
    font-family: var(--title-font-family);
    font-size: var(--font-36);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.yingfang_featured_news .item-date-month {
    font-family: var(--medium-font-family);
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.yingfang_featured_news .news-card:hover .card-link {
    color: var(--color-primary);
}


.yingfang_featured_news .swiper-box {
    position: relative;
}

.yingfang_featured_news .swiper-button-prev,
.yingfang_featured_news .swiper-button-next {
    position: absolute;
    top: 57%;
    transform: translateY(-50%);
}

.yingfang_featured_news .swiper-button-prev {
    left: min(0px, calc(134px - var(--page-padding) - 80px));
}

.yingfang_featured_news .swiper-button-next {
    right: min(0px, calc(134px - var(--page-padding) - 80px));
}

/* ===========================================
   View More Button
   =========================================== */
.yingfang_featured_news .yingfang-news__viewmore {
    display: flex;
    justify-content: center;
    margin-top: var(--gap-70);
}

.yingfang_featured_news .yingfang-news__viewmore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0px;
    width: clamp(180px, 42vw, 240px);
    height: clamp(44px, 8vw, 60px);
    border: 1px solid #FC3D2D;
    color: #FC3D2D;
    background: #FFF;
    text-decoration: none;
}

.yingfang_featured_news .yingfang-news__viewmore-btn:hover {
    background: #FC3D2D;
    color: #FFF;
}

/* ===========================================
   Responsive - 1400px
   =========================================== */
@media screen and (max-width: 1500px) {
    .yingfang_featured_news .swiper-button-prev {
        left: min(0px, calc(100px - var(--page-padding) - 60px));
    }

    .yingfang_featured_news .swiper-button-next {
        right: min(0px, calc(100px - var(--page-padding) - 60px));
    }
}

@media screen and (max-width: 1400px) {

    .yingfang_featured_news .card-title,
    .yingfang_featured_news .card-desc {
        font-size: 18px;
    }
}

/* ===========================================
   Responsive - 1200px
   =========================================== */
@media screen and (max-width: 1200px) {
    .yingfang_featured_news .swiper-button-prev {
        left: min(0px, calc(80px - var(--page-padding) - 40px));
    }

    .yingfang_featured_news .swiper-button-next {
        right: min(0px, calc(80px - var(--page-padding) - 40px));
    }

    .yingfang_featured_news .card-title,
    .yingfang_featured_news .card-desc {
        font-size: 16px;
    }

    .yingfang_featured_news .card-date,
    .yingfang_featured_news .card-link {
        font-size: 16px;
    }
}

/* ===========================================
   Responsive - 992px
   =========================================== */
@media screen and (max-width: 992px) {
    .yingfang_featured_news {
        padding: var(--component-gap-lg) 0;
    }

    .yingfang_featured_news .swiper-wrapper-outer {
        flex-direction: column;
        gap: var(--text-gap);
    }

    /* Navigation buttons position adjustment on mobile */
    .yingfang_featured_news .news-prev,
    .yingfang_featured_news .news-next {
        position: absolute !important;
        top: 50%;
        transform: translateY(-50%) !important;
        z-index: 10;
    }

    .yingfang_featured_news .news-prev {
        left: 0;
    }

    .yingfang_featured_news .news-next {
        right: 0;
    }

    .yingfang_featured_news .news-swiper {
        width: 100%;
    }
}

/* ===========================================
   Responsive - 768px
   =========================================== */
@media screen and (max-width: 768px) {
    .yingfang_featured_news .yingfang-news__viewmore {
        margin-top: var(--gap-24);
        padding-bottom: var(--gap-20);
    }
}

/* ===========================================
   Responsive - 576px
   =========================================== */
@media screen and (max-width: 576px) {

    .yingfang_featured_news .card-date {
        font-size: 14px;
    }

    .yingfang_featured_news .card-link {
        font-size: 14px;
    }

    .yingfang_featured_news .yingfang-news__viewmore-btn {
        width: min(320px, 92vw);
        height: 40px;
    }
}

/* ===========================================
   Responsive - 480px
   =========================================== */
@media screen and (max-width: 480px) {

    .yingfang_featured_news .card-title,
    .yingfang_featured_news .card-desc {
        font-size: 14px;
    }

    .yingfang_featured_news .yingfang-news__viewmore-btn {
        width: min(280px, 92vw);
        height: 46px;
    }
}


@media screen and (max-width: 1200px) {
.yingfang_featured_news .item-date {
    position: absolute;
    width: 85px;
    aspect-ratio: 1 / 1;
    top: 35%;}
    }

    