.school-news-slide{
    width: 422px;
    height: 300px;
}
.school-news-list{
    margin-left: 16px;
    font-size: 16px;
}
.school-news-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
    transition: all 0.3s;
    color: #333333;
}
.school-news-item:hover{
    color: var(--color-main);

}
.school-news-item-title{
    width: 320px;
    padding-left: 20px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.school-news-item-title::before{
    content: '❁';
    position: absolute;
    left: 0;
    top:50%;
    transform: translateY(-50%);
}
.school-news-item-time{
    font-size: 12px;
    padding-left: 10px;
    color: #666;
}

.notice-news{
    width: 370px;
}
.notice-news-item{
    margin-bottom: 20px;
}
.notice-news-item-time{
    width: 60px;
    height: 60px;
    border-radius: 2px;
    color: var(--color-main);
    background-color: var(--color-main-light-hover);
    text-align: center;
}
.notice-news-item-time h2{
    font-weight: 500;
    font-size: 24px;
}
.notice-news-item-title{
    width: calc(100% - 80px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    font-size: 15px;
    margin-left: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.special-box{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 20px;
}
.special-item{
    width: 100%;
    display: inline-block;
}
.special-item img{
    width: 100%;
    height: 140px;
}
.special-title{
    width: 100%;
    font-size: 14px;
    color: #454545;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 30px;
    line-height: 30px;
}
.notice-news-list{
    display: none;
}

.notice-news-list.active {
    display: block;
}


.content-gap{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.teaching-box{
    background: #fff;
    border-radius: 2px;
    width: 100%;
}
.teaching-box-item{
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.teaching-box-item img{
    width: 156px;
    height: 115px;
}
.teaching-con{
    padding-left: 12px;
    flex: 1;
    width: 0;
}
.teaching-title{
    font-size: 15px;
    color: #333333;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
    line-height: 40px;
}
/* 超过两行，省略号 */
.teaching-text{
    font-size: 13px;
    color: #666666;
    width: 100%;
    height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.teaching-time{
    font-size: 12px;
    color: var(--color-main);
    display: flex;
    align-items: center;
}
.teaching-time img{
    height: 25px;
}
.month-day-item{
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}
.month-day{
    display: flex;
    align-items: center;
}
.month-day span{
    width: 38px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 1px solid var(--color-main);
}
.month-day span:last-child{
    background: var(--color-main);
    color: #fff;
}
.month-day-title{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 30px;
    padding-left: 16px;
}

.common-title-select{
    font-weight: 600;
    font-size: 20px;
    display: flex;
    align-items: center;;
    color: #969696;
    margin-bottom: 24px;
}
.common-title-select img {
    margin-right: 16px;
}
.right-tab-item{
    margin-right: 12px;
    cursor: pointer;
}
.right-tab-item.active{
    color: var(--color-main);
    font-size: 27px;
    border-bottom: 2px solid var(--color-main);
}

.special-children-box{
    position: relative;
    display: flex;
    justify-content: flex-end;
    height: 80px;
}
.special-children-box .special-children-titles{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #787878;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.special-children-box .special-children-title{
    box-sizing: border-box;
    padding-bottom: 4px;
    cursor: pointer;
}
.special-children-box .special-children-title.active{
    color: var(--color-main);
    border-bottom: 2px solid var(--color-main);
}
.special-box{
    display: none;
}
.special-box.active{
    display: grid;
}