.blog-swiper-container {
    padding: 1rem 2.2rem;
}

/* 页面标题 */
.page-title {
    font-size: max(0.36rem, 36px);
    font-weight: 800;
    line-height: 116.667%;
    color: #333;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.swiper-container {
    width: 100%;
    /* 1500px */
    margin: 0 auto;
    padding: 0.42rem 0;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    height: 6.02rem;
    /* 602px */
    display: flex;
    flex-direction: column;
}

/* 卡片样式 */
.card {
    position: relative;
    height: 6.02rem;
    /* 602px */
    background: white;
    border: 0.01rem solid #c5c5c5;
    /* 1px */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
}

/* 图片区域 */
.card-image {
    position: relative;
    width: 100%;
    height: 3.18rem;
    /* 318px */
    overflow: hidden;
    background-color: #eeeeee;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 文字内容区域 */
.card-content {
    padding: 0.18rem 0.16rem 0.3rem 0.14rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    /* 30px */
    flex: 1;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 0.21rem;
    /* 21px */
    color: #333;
}

.card-title {
    font-size: 0.22rem;
    font-weight: 800;
    line-height: 0.28rem;
    text-transform: capitalize;
    height: 0.56rem;
    /* 固定两行高度：0.28rem * 2 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-description {
    font-size: 0.18rem;
    font-weight: 500;
    line-height: 0.27rem;
    height: 1.1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.card-link {
    font-size: 0.18rem;
    /* 18px */
    font-weight: 900;
    line-height: 0.2rem;
    /* 20px */
    color: #2c63a0;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}

.card-link:hover {
    color: #1a4a7a;
}

/* Swiper 自定义样式 */
.swiper-button-next,
.swiper-button-prev {
    color: #2c63a0;
    width: 0.44rem;
    /* 44px */
    height: 0.44rem;
    /* 44px */
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 0.24rem;
    /* 24px */
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 0.12rem;
    /* 12px */
    height: 0.12rem;
    /* 12px */
    background: #2c63a0;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #2c63a0;
}

.swiper-pagination {
    bottom: 0.1rem !important;
    /* 10px */
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    content: '' !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    content: '' !important;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    width: 0.44rem;
    height: 0.44rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--Color);
    color: white;
    border-radius: 50%;
}

@media screen and (max-width: 1400px) {
    .blog-swiper-container {
        padding: 0.6rem 1.2rem 0.25rem;
    }
    
}

@media screen and (max-width: 1200px) {


    .swiper-container {
        max-width: 100%;
    }
}

/* 移动端：纵向平铺布局 */
@media screen and (max-width: 1025px) {
    .blog-swiper-container {
        padding: 0.3rem;
    }

    .page-title {
        font-size: 0.36rem;
        line-height: 0.66rem;
        margin-bottom: 0.3rem;
    }

    .swiper-container {
        padding: 0;
    }

    /* 移动端禁用 Swiper，使用纵向布局 */
    .swiper {
        overflow: visible !important;
    }

    .swiper-wrapper {
        flex-direction: column !important;
        gap: 0.44rem;
        /* 44px 卡片间距 */
        transform: none !important;
    }

    .swiper-slide {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }

    .card {
        width: 100%;
        height: 7.97rem;
        /* 797px */
    }

    .card-image {
        height: 4.58rem;
        /* 458px */
    }

    .card-content {
        padding: 0.19rem 0.17rem 0.15rem 0.17rem;
        /* 19px 17px 15px 17px */
        gap: 0.3rem;
    }

    .card-text {
        gap: 0.28rem;
        /* 28px */
    }

    .card-title {
        font-size: 0.28rem;
        /* 28px */
        line-height: 0.28rem;
    }

    .card-description {
        font-size: 0.22rem;
        /* 22px */
        line-height: 0.32rem;
        /* 32px */
        height: auto;
        min-height: 1.27rem;
        /* 127px */
        -webkit-line-clamp: 4;
    }

    .card-link {
        font-size: 0.22rem;
        /* 22px */
        line-height: 0.22rem;
    }

    /* 隐藏移动端的轮播控件 */
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
}