* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 飘屏*/
#floatAd {
    position: fixed;
    width: 100px;
    height: 100px;
    z-index: 9999;
}

/* banner 区域 */
.i-banner__wrap {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}
.i-banner__wrap .bg_up_2 {
    width: 100%;
    max-height: 920px;
}
.banner-logo {
    position: absolute;
    top: 13.31%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 540.94px;
    min-width: 148px;
}
.banner-logo .logo_2 {
    width: 100%;
    height: auto;
}
.school_motto {
    position: absolute;
    top: 22.31%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: #90272c;
    font-family: "Noto Serif SC";
    font-size: 32px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: 12.8px;
}
.course-content-top {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 5px;
    z-index: 10;
    display: flex;
    flex-direction: column;
}
.notice-container-top {
    position: absolute;
    top: 22.31%;
    left: 26.41%;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: stretch;
}
.notice-box-top{
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 55%;
    z-index: 6;
}
.notice-item-top{
    padding: 15px;
    flex: 1;
    max-width: 24%;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff80;
    backdrop-filter: blur(25px);
    box-shadow: 0 16px 48px 0 #0000001a;
}
.notice-item__title_top{
    height: 65px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
    color: #1d2129;
    font-family: "Alibaba PuHuiTi";
    font-size: 20px;
    line-height: 30px;
}
.notice_jiantou {
    position: relative;
    display: flex;
    width: 64px;
    height: 64px;
    background: #90272C;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.notice_jiantou:nth-child(1)::after {
    content: '';
    position: absolute;
    left: -15px;
    bottom: -15px;
    width: 16px;
    height: 16px;
    background: #90272C;
}
.notice-left{
    width: 40px;
    height: 40px;
}
.notice-right{
    width: 40px;
    height: 40px;
}
.notice_jiantou:nth-child(3)::after {
    content: '';
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 16px;
    height: 16px;
    background: #90272C;
}
.course-item_img_top{
    width: 100%;
    aspect-ratio: 12 / 16;
    object-fit: cover;
    flex-shrink: 0;
}

/* 课程大容器 */
/*.course_bg_container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}*/
.course_bg_container{
    position: relative;
    width: 100%;
    height: auto;
    /* 关键：把原来的 800px 改成 自适应最小高度，底部留白立刻变小 */
    min-height: 60vh;
    margin: 0 auto;
    padding-bottom: 20px;
}

.course_title {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}
.course_title_img {
    width: 100%;
    height: auto;
    max-width: 380px;
    min-width: 150px;
}
.course-box {
    position: absolute;
    top: 23%;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1200px;
    height: 67%;
    z-index: 6;
    background: #ffffff80;
    box-shadow: 0 16px 48px 0 #0000001a;
}
.classes-box {
    position: absolute;
    top: 23%;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1200px;
    height: 67%;
    z-index: 6;
    background: #ffffff80;
    box-shadow: 0 16px 48px 0 #0000001a;
}
.coursr_bg_2 {
    position: absolute;
    padding: 20px 20px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 1;
}
.course-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 56px 52px;
    z-index: 10;
    display: flex;
    flex-direction: column;
}
.course-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: stretch;
    width: 100%;
}
.course_bg {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 650px;
}
.class_bg {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 700px;
}
.course-item {
    flex: 1;
    max-width: 24%;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    height: 100%;
    /*padding-top: 26px;*/
}
.course-item__img {
    width: 100%;
    max-width: 252px;
    height: 204px;
    flex-shrink: 0;
}
.course-item__info {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}
.course-item__title {
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
    color: #1d2129;
    font-family: "Alibaba PuHuiTi";
    font-size: 16px;
    line-height: 24px;
}
.course-item__count {
    margin-top: auto;
    font-size: 12px;
    color: #666;
}

/* 最新公告容器 */
.notice_bg_container{
    position: relative;
    width: 100%;
    height: auto;
    min-height: 650px;
    margin: 0 auto;
}
.class_bg_container{
    position: relative;
    width: 100%;
    height: auto;
    min-height: 700px;
    margin: 0 auto;
}

.notice_bg2 {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: auto;
    height: auto;
}
#noticeContainer{
    width: 100%;
    display: flex;
    gap:20px;
}
.course-container__left {
    flex: 1;
    min-width: 260px;
}
.course-container__right {
    flex: 1;
    min-width: 260px;
}
.notice-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.notice-list-item__img img {
    width: 48px;
    height: 48px;
    object-fit: cover;
}
.notice-list-item__info {
    flex: 1;
}
.notice-list-item__title {
    overflow: hidden;
    color: #1d2129;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "Alibaba PuHuiTi";
    font-size: 16px;
    max-width: 500px;
}
.notice-list-item__date {
    color: #86909c;
    font-size: 14px;
    line-height: 20px;
}
.notice-list-item__btn {
    padding: 8px 20px;
    border: 1px solid #90272C;
    border-radius: 4px;
    color: #90272c;
    font-size: 14px;
    text-decoration: none;
    width: 120px;
    height: 36px;
    font-family: "Alibaba PuHuiTi";
    line-height: 20px;
    white-space: nowrap;
    align-items: center;
    display: inline-flex;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 1;
}
.notice-list-item__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #90272C;
    transition: left 0.4s ease;
    z-index: -1;
}
.notice-list-item__btn:hover {
    color: #ffffff;
}
.notice-list-item__btn:hover::before {
    left: 0;
}
.btn-arrow {
    display: inline-block;
    margin-left: 5px;
    transition: all 0.3s ease;
}
.notice-list-item__btn:hover .btn-arrow {
    filter: brightness(0) invert(1);
}
.notice-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}
.notice-img-grid__item {
    width: 100%;
    max-width: 165px;
    height: 165px;
    object-fit:cover;
}

/* ========== 1.热门培训班 3个卡片强制等宽 ========== */
#classContainer{
    display: flex;
    gap:15px;
    justify-content: center;
    width:100%;
}
#classContainer .course-item{
    flex: 0 0 31%;
    max-width:31%;
    min-width:200px;
}
.class-item__img{
    width: 340px;
    height: 180px;
}
.class__info{
    padding: 20px;
}
.class-item {
    flex: 1 1 0;
    min-width: 0;
}
.class-item__title{
    color: #1d2129;
    font-family: "Alibaba PuHuiTi";
    font-size: 20px;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 300px;
    display: inline-block
}
.class-item__summary{
    color: #86909c;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 320px;
    height: 40px;
    margin-top: 15px;
}
.class_info_btn{
    margin-left: 20px;
}

#projectContainer{
    display:flex;
    gap:15px;
    width:100%;
}
.project-item__img{
    width: 100%;
    width: 252px;
    height: 150px;
}
.project__info{
    padding: 20px;
}
.project-item{
    min-width: 0;
    flex: 1;
}
.project-item__title{
    color: #1d2129;
    font-family: "Alibaba PuHuiTi";
    font-size: 20px;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 220px;
    display: inline-block;
}
.project-item__summary{
    color: #86909c;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 5px;
    width: 220px;
    height: 60px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
.teacher-item__summary{
    color: #86909c;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 16px;
    width: 200px;
    height:60px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    text-align: center;
}
#teacherContainer{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.teacer-item{
    width: calc(20% - 16px);
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}
.teacer-item__img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.teacher-item__title{
    color: #1d2129;
    font-family: "Alibaba PuHuiTi";
    font-size: 20px;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== 2.推荐图书 4个卡片同行均分，绝不换行下坠 ========== */
#bookContainer{
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap:12px;
    width:100%;
}
.book-item{
    flex: 1;
    max-width:23%;
    min-width:160px;
    margin:0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.book-item__img{
    width: 160px;
    border-radius: 4px;
    height: 200px;
}
.book-item__summary{
    color: #86909c;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 20px;
    margin-top: 15px;
}
.book-item__title{
    color: #1d2129;
    font-family: "Alibaba PuHuiTi";
    font-size: 20px;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 220px;
    display: inline-block;
}
.book-box {
    position: absolute;
    top: 23%;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1200px;
    height: 70%;
    z-index: 6;
    background: #ffffff80;
    box-shadow: 0 16px 48px 0 #0000001a;
}
.image-hover {
    overflow: hidden;
}
.image-hover:hover img{
    transform: scale(1.05);
    transition: 0.3s;
}

