﻿.home-featured-carousel .home-featured-carousel__con {
    margin-top: .2rem;
    width: 100%;
    overflow: hidden;
}

.home-featured-carousel {
    margin-top: .36rem;
}

.home-featured-carousel .home-title {
    display: flex;
    align-items: center;
}

.home-featured-carousel .home-title .cn {
    font-size: .32rem;
    color: #252425;
    padding-right: .2rem;
    line-height: 1.1;
}

.home-featured-carousel .home-title .en {
    display: none;
}

.home-featured-carousel__wrap {
    width: 100%;
    box-sizing: border-box;
    padding: 0 .28rem;
    overflow: hidden;
}

.home-featured-carousel__swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.home-featured-carousel__swiper .swiper-slide {
    box-sizing: border-box;
}

.home-featured-carousel__slide {
    overflow: hidden;
    border-radius: .06rem;
}

.home-featured-carousel__pic {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 2 / 3;
    margin: 0 auto;
    overflow: hidden;
    border-radius: .06rem;
}

.home-featured-carousel__pic > img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-featured-carousel__btn {
    position: absolute;
    top: 50%;
    width: .32rem;
    height: .32rem;
    margin-top: -.16rem;
    border-radius: 50%;
    background: #d4312d;
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
}

.home-featured-carousel__prev {
    left: 6px;
}

.home-featured-carousel__next {
    right: 6px;
}

.home-featured-carousel__btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: .08rem;
    height: .08rem;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.home-featured-carousel__prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.home-featured-carousel__next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.section1-bg .home-con {
    min-width: 0;
}

.section1-bg .home-Campus .home-title {
    display: flex;
    align-items: center;
    gap: .1rem;
    min-width: 0;
    overflow: hidden;
}

.section1-bg .home-Campus .home-title .item {
    min-width: 0;
    max-width: calc(50% - .05rem);
}

.section1-bg .home-Campus .home-title .item .cn {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1199px) {
    .section1-bg > .flex {
        display: block;
    }

    .section1-bg .home-news,
    .section1-bg .home-con {
        width: 100% !important;
        max-width: 100%;
        margin-right: 0;
    }

    .section1-bg .home-con {
        margin-top: .35rem;
    }

    .home-featured-carousel {
        margin-top: .26rem;
    }

    .home-featured-carousel__wrap {
        padding: 0 .22rem;
    }

    .home-featured-carousel__pic {
        max-width: 240px;
        width: 100%;
    }

    .home-featured-carousel__btn {
        width: .38rem;
        height: .38rem;
        margin-top: -.19rem;
    }

    .home-featured-carousel__prev {
        left: 2px;
    }

    .home-featured-carousel__next {
        right: 2px;
    }

    .section1-bg {
        overflow-x: hidden;
    }

    .section1-bg .home-Campus .home-title {
        gap: .2rem;
        overflow: visible;
    }

    .section1-bg .home-Campus .home-title .item {
        max-width: none;
    }

    .section1-bg .home-Campus .home-title .item .cn {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .home-featured-carousel__prev,
    .home-featured-carousel__next {
        z-index: 6;
        opacity: 1 !important;
        display: block !important;
    }

    .home-featured-carousel__prev.swiper-button-disabled,
    .home-featured-carousel__next.swiper-button-disabled,
    .home-featured-carousel__prev.swiper-button-lock,
    .home-featured-carousel__next.swiper-button-lock {
        opacity: 1 !important;
        display: block !important;
    }
}

@media (min-width: 1200px) {
    .section1-bg > .flex {
        display: flex;
        flex-wrap: nowrap;
    }

    .section1-bg .home-news {
        flex: 0 0 10rem;
    }

    .section1-bg .home-con {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .section1-bg .home-con .home-Campus {
        order: 1;
    }

    .section1-bg .home-con .home-featured-carousel {
        order: 2;
    }
}