/* 轮播图样式 */
.carousel {
    overflow: hidden;
    max-width: 1920px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slides li {
    flex: 0 0 100%;
    height: 100%;
    min-width: 100%;
}

.carousel-slides li img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* 保持图片比例 */
}

/* 其他样式保持不变 */
.carousel-indicators {
    position: absolute;
    bottom: 13px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
}

.carousel-indicators span {
    display: inline-block;
    width: 14px;
    height: 15px;
    border-radius: 50%;
    background-color: #BDB8B8;
    cursor: pointer;
}

.carousel-indicators span.active {
    background-color: #959292;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.carousel-prev {
    left: 54px;
    border-top: 63px solid transparent;
    border-bottom: 63px solid transparent;
    border-right: 63px solid #999999;
}

.carousel-next {
    right: 68px;
    border-top: 63px solid transparent;
    border-bottom: 63px solid transparent;
    border-left: 63px solid #999999;
}

.content {
    width: 100%;
}

.news-events {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    margin-top: 40px;
    height: 446px;
    display: flex;
    gap: 20px;
}

.events-section,
.notices-section { 
    flex: 2;
    height: 333px;
    background: url(/publish/waxyEN/images/back.png) no-repeat left center;
    background-size: 362px 176px;
    position: relative;
    top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.events-section>* {
    position: absolute;
    z-index: 2;
    left: calc(50% - 15%);
    transform: translateX(-50%);
}

.notices-section>* {
    position: absolute;
    z-index: 2;
    left: calc(50% + 15%);
    transform: translateX(-50%);
}

.overlay-before::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg, rgba(0, 0, 0, 0.5));
    pointer-events: none;
    transform: translateX(var(--overlay-offset, 0));
}

.events-section {
    --overlay-offset: -15%;
}

.events-section h3,
.notices-section h3 {
    font-family: DM Sans, DM Sans;
    font-weight: bold;
    font-size: 18px;
    color: #FFFCFC;
    text-align: center;
    font-style: normal;
    text-transform: none;
    text-align: center;
    top: 23px;
}

.events-divider,
.notices-divider {
    width: 125px;
    height: 2px;
    background: linear-gradient(to right,
            transparent 0%,
            #FFFFFF 20%,
            #FFFFFF 80%,
            transparent 100%);
    top: 72px;
}

.events-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 281px;
    height: 147px;
    border-radius: 0px 0px 0px 0px;
    border: 2px solid #FFF5F5;
    top: 96px;
    display: flex;
    gap: 10px;
    color: #FFFFFF;
    padding: 28px 14px 21px 22px;
}

.events-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: #FFFFFF;
    font-weight: bold;
}

.events-date .date-day {
    width: 48px;
    height: 33px;
    background: #CF010D;
    box-shadow: 3px 3px 2px 0px rgba(0, 0, 0, 0.25);
    border-radius: 0px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 19px;
    line-height: 1;
}

.events-date .date-year {
    font-size: 10px;
    line-height: 1;
}

.events-text {
    text-align: center;
    max-width: 178px;
    word-break: break-word;
}

.events-pagination {
    bottom: 80px;
    display: flex;
    justify-content: center;
}

.pagination-dot {
    width: 22px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 0 3px;
}

.pagination-dot.active {
    opacity: 1;
    background-color: #D49D9D;
}

.events-view-more {
    bottom: 34px;
}

.events-view-more a {
    color: #FFFFFF;
}

.news-section {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.news-header {
    text-align: center;
    font-family: DM Sans, DM Sans;
    font-weight: bold;
    font-size: 35px;
    color: #2F2F30;
    font-style: normal;
    text-transform: none;
}

.news-image-container {
    width: 557px;
    height: 287px;
    box-shadow: 5px 5 4px 1px rgba(0, 0, 0, 0.25);
}

.news-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.news-text {
    width: 417px;
    height: 37px;
    font-family: DM Sans, DM Sans;
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    text-align: left;
}

.news-date {
    flex-shrink: 0;
    width: 100px;
    height: 59px;
    background: #CF010D;
    box-shadow: 5px 5 4px 0px rgba(0, 0, 0, 0.25);
    font-family: DM Sans, DM Sans;
    font-weight: bold;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: relative;
    top: -19px;
    right: 19px;
}

.news-date .date-day {
    font-size: 23px;
    line-height: 1;
}

.news-date .date-year {
    font-size: 15px;
    line-height: 1;
}

.news-details {
    font-family: DM Sans, DM Sans;
    font-weight: 400;
    font-size: 12px;
    color: #747373;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    padding-left: 20px;
}

.news-details a {
    color: #000000;
}

.details-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border: none;
    vertical-align: middle;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #9E0D30;
}

.news-view-more {
    width: 93px;
    height: 25px;
    border: 1px solid #CF010D;
    font-family: DM Sans, DM Sans;
    font-weight: 400;
    font-size: 12px;
    color: #000000;
    text-align: center;
    line-height: 25px;
    position: relative;
    top: 20px;
}

.news-view-more a {
    color: #000000;
}

.notices-section {
    --overlay-offset: 15%;
    background: url(/publish/waxyEN/images/back.png) no-repeat right center;
    background-size: 362px 176px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.notices-banner {
    width: 100%;
    height: 170px;
    top: 96px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notice-slider {
    width: 284px;
    height: 170px;
    position: relative;
    overflow: hidden;
}

.notice-slider ul {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.notice-slider li {
    width: calc(100% / 7);
    height: 100%;
    flex-shrink: 0;
}

.notice-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notice-prev,
.notice-next {
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
}

.notice-prev {
    left: 15px;
    border-top: 23px solid transparent;
    border-bottom: 23px solid transparent;
    border-right: 23px solid #FFFFFF;
}

.notice-next {
    right: 15px;
    border-top: 23px solid transparent;
    border-bottom: 23px solid transparent;
    border-left: 23px solid white;
}


.notice-slider-titleMask {
    position: absolute;
    bottom: 0;
    width: 284px;
    height: 18px;
    background: #707479;
    color: #FFFFFF;
    opacity: 0.8;
}

.notice-slider-titleMask p {
    font-family: DM Sans, DM Sans;
    font-weight: 400;
    font-size: 10px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.notices-view-more {
    bottom: 24px;
}

.notices-view-more a {
    color: #FFFFFF;
}

.campus-scenery {
    max-width: 1920px;
    width: 100%;
    background-color: #65666A;
    height: 203px;
    position: relative;
    margin: 0 auto;
    margin-top: 56px;
}

.campus-scenery img {
    width: 100%;
    height: 100%;
}

.scenery-mask {
    position: absolute;
    left: 0;
    bottom: -33px;
    width: 334px;
    height: 72px;
    background: #9E0D30;
    border-radius: 0px 0px 0px 0px;
    opacity: 0.6;
}

.scenery-caption {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 63px;
    height: 53px;
    text-align: center;
    line-height: 53px;
    background: #9E0D30;
    color: #FFFFFF;
    border-radius: 0px;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
}

.study-at-bjtu {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.study-image-container {
    width: 654px;
    height: 218px;
    margin-top: 53px;

}

.study-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.study-text-container {
    width: 529px;
    height: 156px;
    font-family: DM Sans, DM Sans;
    font-weight: 400;
    font-size: 31px;
    color: #2C2C2C;
    text-align: left;
    position: absolute;
    top: 10px;
    left: 705px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.study-text-container p {
    font-size: 12px;
}

.study-text-container a {
    width: 95px;
    height: 21px;
    font-size: 12px;
    text-align: center;
    line-height: 21px;
    color: #CF010D;
    border-radius: 0px 0px 0px 0px;
    border: 1px solid #CC5E5E;
}

.research-image-container {
    position: absolute;
    top: 191px;
    left: 462px;
    width: 868px;
    height: 233px;
    background: #9E0D30;
    box-shadow: 0px 4 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 39px 0px 0px 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.research-caption {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    font-family: DM Sans, DM Sans;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    position: relative;
    left: 20px;
}

.research-caption h4 {
    font-size: 31px;
}

.research-caption p {
    width: 366px;
    height: 71px;
    font-size: 10px;
}

.research-image-mask-1 {
    width: 367px;
    height: 45px;
}

.research-image-mask-1 img {
    width: 100%;
    height: 100%;
}

.research-learnmore {
    width: 91px;
    height: 19px;
    border-radius: 0px 0px 0px 0px;
    border: 1px solid #DBDBDB;
    text-align: center;
    line-height: 19px;
    font-weight: 400;
    font-size: 12px;
}

.research-learnmore a {
    color: #FFFFFF;
}

.research-image-mask {
    width: 511px;
    height: 234px;
    border-radius: 0px 0px 0px 0px;
}

.research-image-mask img {
    width: 100%;
    height: 100%;
}

.research-image {
    width: 521px;
    height: 372px;
    margin-top: -55px;
}

.research-image img {
    width: 100%;
    height: 100%;
    filter: hue-rotate(0deg) saturate(0.1);
}