.news-section {
    background-color: #fff;
    padding: 5rem 0;
    min-height: 65rem;
}

.news-item {
    display: flex;
    align-items: center;
    height: 21.26rem;
    padding: 3.13rem 0;
    border-top: 1px solid #EEEEEE;
    width: 100%;
}

.img-container {
    width: 25rem;
    height: 15rem;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.img-container:hover img {
    transform: scale(1.05);
}

.news-item-content {
    margin: 0.94rem 0 0.94rem 3.13rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-title h4 {
    font-weight: 600;
    font-size: 1.38rem;
    color: #333333;
    line-height: 1.75rem;
    margin-bottom: 0.94rem;
    transition: color 0.3s ease;
}

.news-item-title h4:hover {
    color: #19AD5E;
}

.news-item-title p {
    font-weight: 400;
    font-size: 1.13rem;
    color: #666666;
    line-height: 1.88rem;
    margin-bottom: 0.94rem;
    /* 超过三行内容省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
    transition: color 0.3s ease;
}

.news-item-title p:hover {
    color: #19AD5E;
}

.date {
    font-size: 0.88rem !important;
    color: #999999 !important;
    line-height: 1.25rem !important;
}

.btn-detail-wrap {
    margin-top: 0.44rem;
}

.btn-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    color: #FFFFFF;
    line-height: 1.63rem;
    width: 8.75rem;
    height: 3.13rem;
    background: #19AD5E;
    border-radius: 1.88rem;
}

.btn-detail:hover {
    color: #FFFFFF;
    background: #0E7C3E;
}

/* 分页 */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.88rem 0;
}

.pagination {
    margin-bottom: 0;
}

.page-item {
    transition: all 0.2s ease;
    border-radius: 0.19rem;
    margin-left: 0.63rem;

}

.page-link {
    color: #303133 !important;
    border: none;
    border-radius: 0.19rem;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: all 0.2s ease;
    background-color: #F4F4F5;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.25rem;
}

.page-link:hover {
    background-color: #e0e0e0;
}

.c-left {
    color: #C0C4CC;
    margin-right: 0.38rem;
}

.c-right {
    color: #C0C4CC;
    margin-left: 0.38rem;
}

.disabled {
    cursor: not-allowed;
}

.ml-63 {
    margin-left: .63rem;
}

.prev,
.next {
    width: 4.88rem;
    height: 1.75rem;
}

.page-item.active .page-link {
    background-color: #19AD5E;
    color: #fff !important;
}

.page-item.disabled .page-link {
    pointer-events: none;
    cursor: not-allowed;
}

.ellipsis {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    color: #6c757d;
}

/* 详情页 */
.news-detail-section {
    padding: 5rem 0;
}

.news-detail-container {
    width: 67.94rem;
    margin: 0 auto;
}

.section-nav {
    font-weight: 400;
    font-size: 0.88rem;
    color: #999999;
    line-height: 1.25rem;
}

.news-detail-title {
    font-weight: 600;
    font-size: 2.5rem;
    color: #333333;
    line-height: 3.5rem;
    margin-top: 1.25rem;
}

.news-detail-info {
    padding: 1.87rem 0;
    font-weight: 500;
    font-size: 0.88rem;
    color: #333333;
}

.news-detail-info .date {
    font-weight: 400;
    color: #999999;
    margin-left: 1.25rem;
}

.detail-content img {
    width: 100%;
    margin-bottom: 1.88rem;
}

.detail-content p {
    margin-bottom: 1.88rem !important;
}

@media (max-width: 767px) {
    .container {
        padding: 0;
    }

    .news-section {
        padding: 15px;
    }

    .news-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        height: auto;
        padding: 15px 0;
        border-top: 1px solid #EEEEEE;
        width: 100%;
    }

    .img-container {
        width: 100%;
        height: 15rem;
        overflow: hidden;
    }

    .news-item-content {
        width: 100%;
        margin: 15px 0 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .btn-detail-wrap {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .news-detail-section {
        padding: 15px;
    }

    .news-detail-container {
        width: 100%;
    }

    .detail-content p {
        font-size: 14px;
        margin-top: 0;
        margin-bottom: 15px !important;
        line-height: 26px;
    }

    .news-detail-info .date {
        font-size: 14px;
    }

    .news-detail-title {
        font-size: 18px;
        line-height: 24px;
        margin-top: 15px;
        margin-bottom: 0;
    }

    .news-detail-info {
        padding: 15px 0;
        font-size: 14px;
    }

    .news-item-title h4 {
        font-size: 16px;
        line-height: 18px;
        margin-bottom: 15px;
        margin-top: 0;
    }

    .btn-detail {
        font-size: 14px;
        width: 88px;
        height: 32px;
    }

    .news-item-title p {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 10px;
    }

    .section-nav {
        font-size: 14px;
        color: #999999;
        line-height: 16px;
    }

    .date {
        margin-bottom: 0;
    }
}

.first-news {
    border-top: 0;
}