html {
    font-size: calc(100 * 100vw / 1920);
}

@media (max-width: 1200px) {
    html {
        font-size: 62.5px; /* 1200/1920*100 ≈ 62.5 */
    }
}
body {
    min-width: 1200px;
}
.header {
    background: #000 !important;
}

.banner {
    width: 100%;
    height: 100vh;
    padding-top: 72px;
    box-sizing: border-box;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
}

.banner .swiper-slide {
    position: relative;
    width: 100%;
    background-size: 100% 100%;
    background-position: center;
}

.banner .swiper-wrapper {
    flex: 1;
    min-height: 0;
}

.swiper-slide {
    position: relative;
}

.mouse {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: .25rem;
    width: .3rem;
    height: auto;
}

.more-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
    margin-top: .74rem;
    display: none;
}

.more-title {
    font-family: PingFang SC;
    font-weight: 600;
    font-size: .58rem;
    line-height: .87rem;

}

.more-tel {
    font-weight: 500;
    font-size: .26rem;
    color: #333333;
    margin-top: .11rem;
    margin-bottom: .41rem;
}

.more-btn {
    width: 2.7rem;
    height: auto;
    cursor: pointer;
}

.swiper-content {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    bottom: .9rem;
    z-index: 1;
}

.chat-ai {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: .16rem;
    width: 10.96rem;
    height: 1.5rem;
    padding: .1rem .12rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: .1rem;
    display: none;
}

.chat-input {
    flex: 1;
    min-height: 0;
}

.bottom-tools {
    display: flex;
    gap: .1rem;
}

.tools-btn {
    background-color: #fff;
    border-radius: .04rem;
    border: 1px solid rgba(234, 237, 241, 1);
    padding: .08rem .1rem;
    display: flex;
    align-items: center;
    font-size: .12rem;
    line-height: .24rem;
    font-weight: 500;
    color: #0C0D0E;
}


.tools-btn.active {
    background-color: #000000;
    color: #C7CCD6;
}

.tools-send {
    margin-left: auto;
    width: 72px;
    height: .32rem;
    background-color: #000000;
    color: #C7CCD6;
    font-size: .14rem;
    border-radius: .04rem;
}

.search {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5rem;
    width: 10.96rem;
    height: .96rem;
    border-radius: .89rem;
    background: #FFFFFFC7;
    backdrop-filter: blur(.312rem);
    padding: .12rem .15rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.search-ai {
    height: 100%;
    width: auto;
    border-radius: 50%;
    cursor: pointer;

}

.search-input {
    flex: 1;
    min-width: 0;
    font-size: .2rem;
    padding: 0 .1rem;
    color: #000;
}

.search-input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.search-btn {
    width: 1.28rem;
    height: 72px;
    border-radius: .49rem;
    font-size: .18rem;
    font-weight: 600;
    line-height: .2rem;
    color: #fff;
    background-color: #000;
}

.banner .swiper-pagination {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: .9rem;
}

.banner .swiper-pagination-bullet {
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    opacity: 1;
    font-weight: 500;
    font-size: .25rem;
    cursor: pointer;
}

.banner .swiper-pagination-bullet-active {
    background-color: #000;
    color: #fff;
}

.tabs-wrap {}

.tabs-bar {
    width: 100%;
    position: sticky;
    top: 72px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: .1rem 0;
    height: 1.2rem;
    box-sizing: border-box;
    background-color: #F9F9FB;
    box-shadow: 0px .0196rem .044rem 0px #1B1D1C24;
}

.tabs-item {
    width: 100%;
    height: 100%;
    font-weight: 600;
    font-size: .36rem;
    color: #6E6E6E;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.tabs-item.active::after {
    background-color: #9041FB;
    width: 2.46rem;
    height: .12rem;
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.tabs-item.active {
    background-color: #fff;
    color: #000;
}

.tabs-content-pane {
    display: none;
}

.tabs-content-pane.active {
    display: block;
}

.top-container {
    background-color: #fff;
    padding: .6rem .8rem;
}

.top-container .title {
    font-weight: 600;
    font-size: .36rem;
    line-height: .44rem;
    margin-bottom: .4rem;
}

.top-container .card-container {
    display: flex;
    gap: .24rem;
}

.top-container .card {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: .18rem .36rem;
    background-color: #F9F9FB;
    border-radius: .2rem;
    cursor: pointer;
}

.top-container .card.type0 {
    --primary-color: #DAACFF
}

.top-container .card.type1 {
    --primary-color: #FFD48F
}

.top-container .card.type2 {
    --primary-color: #45b7f5
}

.top-container .card.type3 {
    --primary-color: #00FFFB
}

.top-container .card:hover,
.top-container .card.active {
    background-image: radial-gradient(circle closest-corner at 0% 100%, var(--primary-color), #F9F9FB);
    background-image: linear-gradient(45deg, var(--primary-color), #F9F9FB 50%);
}

.top-container .card .icon {
    width: 1.04rem;
    height: 1.04rem;
}

.top-container .card h2 {
    font-size: .28rem;
    font-weight: 600;
    line-height: .4rem;
    color: #1E1F24;
    margin-top: .43rem;
    margin-bottom: .35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-container .card h2::after {
    content: "\e603";
    font-family: "iconfont" !important;
    font-size: .12rem;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.top-container .card p {
    font-size: .14rem;
    font-weight: 400;
    line-height: .22rem;
    color: #1E1F2466;
}

.bottom-container {
    background-color: #f4f5f9;
    padding: .61rem .86rem;

}

.bottom-container .course-card-container {
    display: grid;
    gap: .48rem;
    grid-template-columns: repeat(2, 1fr);
}

.course-card {
    --bg-color: #26FFC8;
    --bottom-color:#498374;
    flex: 1;
    min-width: 0;
    border-radius: .2rem;
    overflow: hidden;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    --primary-color: #DAACFF
}


.course-card.style1{
    --bg-color: #26FFC8;
    --bottom-color:#498374;  
}
.course-card.style2{
    --bg-color: #fF8A3D;
    --bottom-color:#796659;  
    color: #fff;
}
.course-card.style3{
    --bg-color: #00FFE9;
    --bottom-color:#437c77;  
}
.course-card.style4{
    --bg-color: #7575D5;
    --bottom-color:#414185; 
    color: #fff;

}
.course-card.style5{
    --bg-color: #BDEEFF;
    --bottom-color:#4D7A89; 
}
.course-card.style6{
    --bg-color: #FFC754;
    --bottom-color:#8E7A50; 
}
.course-card.style7{
    --bg-color: #8F9AA5;
    --bottom-color:#697077; 
    color: #fff;

}
.course-card.style8{
    --bg-color: #9189FF;
    --bottom-color:#3D378E; 
     color: #fff;

}
.course-card.type0 {
    --primary-color: #DAACFF
}

.course-card.type1 {
    --primary-color: #FFD48F
}

.course-card.type2 {
    --primary-color: #45b7f5
}

.course-card.type3 {
    --primary-color: #00FFFB
}

.course-top {
    display: flex;
    height: 2.7rem;
}

.course-top .course-img {
    width: 4.8rem;
    height: 2.7rem;
    object-fit: cover;
}

.course-top .course-info {
    padding: .2rem;

}

.course-card .course-info h2 {
    font-weight: 500;
    font-size: .32rem;
    line-height: .45rem;
    margin-bottom: .23rem;
}

.course-card .course-info p {
    padding-left: .2rem;
    font-size: .15rem;
    margin-bottom: .13rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-all;
    word-wrap: break-word;
    overflow: hidden;
    cursor: pointer;  
    /* line-height:100% ; */
    line-height: .25rem;
    white-space: pre-wrap;

}

.course-bottom {
    background-color:var(--bottom-color);
    display: flex;
    align-items: center;
    height: 1.05rem;
    padding: 0 .2rem;
}
.school-major{
    background-color:#fff 
}
.school-major .course-desc span {
    color: #000;
}
.course-bottom .course-desc {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .17rem;
}

.course-bottom .course-desc p {
    font-size: .22rem;
    line-height: .26rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
}

.course-bottom .course-desc p span {
    padding: 0 .1rem;
    border-right: 1px solid #BEBEBE;
}
.course-bottom .course-desc p span:last-of-type{
    border:none
}

.course-bottom .course-desc .type {
    width: 1.02rem;
    height: .3rem;
    border-radius: .14rem;
    font-size: .13rem;
    font-weight: 500;
    color: #000;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-bottom .apply-btn {
    width: 2rem;
    height: .48rem;
    border-radius: .08rem;
    background-color: transparent;
    border: .02rem solid #26FFC8;
    color: #26FFC8;
}

.course-bottom .apply-btn:hover {
    background-color: #26FFC8;
    color: #000;
}

.school-wrap {
    height: calc(100vh - 72px - 1.2rem);
    display: flex;
    gap: .68rem;
    background-color: #f4f5f9;
    padding: .6rem .8rem;
    box-sizing: border-box;
}

.school-list {
    width: 3.84rem;
    height: 100%;
    overflow-y: auto;
    border-radius: .2rem;
}

.school-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    height: 1rem;
    margin-bottom: .06rem;
    border-radius: .048rem;
    cursor: pointer;
}

.school-item .school-icon {
    height: .6rem;
    width: auto;
}

.school-item button {
    display: none;
    width: 1.23rem;
    height: .36rem;
    text-align: center;
    line-height: .36rem;
    background-color: #ebebeb;
    color: #855047;
    border-radius: .36rem;
    margin-top: .1rem;
    font-weight: 600;
}

.school-content {
    flex: 1;
    min-width: 0;
}

.school-item.active {
    height: 1.6rem;
    border-left: .16rem solid #000;
}

.school-item.active .school-icon {
    height: .82rem;
}

.school-item.active button {
    display: block;
}

.school-content {
    height: 100%;
    overflow-y: auto;
}

.school-content .course-card {
    margin-bottom: .48rem;
}

#page {
    margin: .24rem 0;
    text-align: right;
}

._page_container {
    text-align: right;
}

._pages {
    margin: 0 !important;
}

._pages li {
    background-color: #FFFFFF;
    color: #000;
}

._pages li:hover {
    color: #000 !important;
}

._pages li._active_2 {
    background-color: #000000;
    color: #FFFFFF !important;
}