/* Swiper容器样式 */
.news-swiper {
    width: 100%;
    height: auto;
    padding-bottom: 50px; /* 为分页器留出空间 */
    margin: 160px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-cards-container {
    margin: 160px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

.news-card {
    width: 288px;
    height: 404px;
    background: url('../images/study.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-card-2 {
    background: url('../images/study-2.jpg') no-repeat center center;
    background-size: cover;
}

.card-image {
    position: absolute;
    bottom: -10px;
    left: 10px;
    width: 297px;
    height: 219px;
    z-index: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    position: absolute;
    top: 176px;
    left: 10px;
    z-index: 2;
    padding: 20px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-date {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-date-2 {
    color: #9B2742;
}

.card-content p {
    font-family: DM Sans, DM Sans;
    font-weight: 400;
    font-size: 12px;
    color: #000000;
    text-align: left;
    line-height: 1.2;
    padding: 25px 0 10px 40px;
}

/* 分页器样式 */
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #9E0D30;
    transform: scale(1.2);
}

/* 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #9E0D30;
    font-weight: bold;
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #9E0D30;
    color: white;
    transform: scale(1.1);
}
