/* 校（院）要闻页面样式 */
main .container {
    width: 1440px;
    margin: 0 auto;
    overflow: hidden;
}

body {
    background-color: #FEFAF7;
}

/* 通用样式 */
.page-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e60012;
}

.page-title h2 {
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

.news_out {
    background-image: url('/images/szk_top_bg.png');
    background-repeat: no-repeat;
    background-size: 100%;
}

.location {
    margin-bottom: 0px;
}

/* 新闻列表通用样式 */
.news-list ul {
    list-style: none;
    padding: 0;
    margin: 0 20px;

}

.news-item a {
    height: 40px;
    line-height: 80px;
    display: flex;
    flex-direction: row;
}

/* 师资详情页面选项卡样式 */
.szk-tab-container {
    margin-top: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 20px;
    padding-top: 0px;
}

.szk-tab-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.szk-tab-item {
    padding: 10px 20px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
}

.szk-tab-item.active {
    color: #B80E15;
    font-weight: bold;
}

.szk-tab-item.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #B80E15;
}

/* 选项卡内容 */
.szk-tab-content {
    padding: 10px 0;
}

.szk-tab-pane {
    display: none;
}

.szk-tab-pane.active {
    display: block;
}

/* 教师介绍选项卡 */
.szk-info-list {
    display: flex;
    flex-wrap: wrap;
}

.szk-info-item {
    width: 100%;
    display: flex;
    margin-bottom: 15px;
    line-height: 1.6;
    padding-bottom: 11px;
    border-bottom: 1px solid #F2F2F2;
}

.szk-info-item.full-width {
    width: 100%;
}

.szk-info-label {
    width: 80px;
    color: #999;
    font-size: 16px;
    flex-shrink: 0;
}

.szk-info-value {
    flex: 1;
    font-size: 16px;
    color: #333;
}

.szk-info-value.long-text {
    line-height: 1.8;
}

/* 主讲课程选项卡 */
.szk-course-table {
    width: 100%;
    overflow-x: auto;
}

.szk-course-table table {
    width: 100%;
    border-collapse: collapse;
}

.szk-course-table table th, 
.szk-course-table table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px dashed #EBD8B9;
}

.szk-course-table table th {
    background-color: #EFDFC7;
    height: 40px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
    text-align: start;
}
thead{
    height: 40px;
}
.szk-course-table table th, .szk-course-table table td{
    padding: 0;
    padding-top:15px;
    padding-bottom:15px;
    text-align: start;
    font-size: 16px;
    color: #333;
    /*height: 54px;*/
    line-height: 160%;
}

.szk-course-table table tr th, .szk-course-table table tr th td{
    height: 40px;
    line-height: 160%;
}

.szk-course-table table tr:hover {
    background-color: #f5f5f5;
}

.szk-detail-link {
    color: #B80E15;
    text-decoration: none;
}

.szk-detail-link:hover {
    text-decoration: underline;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .szk-tab-container {
        padding: 15px;
    }
    
    .szk-info-item {
        width: 100%;
    }
    
    .szk-tab-item {
        padding: 10px;
        font-size: 14px;
    }
}

.news-list .news-item {
    padding: 10px 0;
    border-bottom: 1px solid #E8EAF0;
}

.news-list .news-item.featured {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.news-title {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-link:hover .news-title {
    color: #e60012;
}

.news-date {
    color: #B80E15;
    font-size: 14px;
    margin-left: 20px;
}

/* PC端新闻列表样式 */
@media screen and (min-width: 769px) {
    .mobile-news {
        display: none;
    }

    .news_out {
        background-color: white;
    }

    .desktop-news .news-item {
        padding: 15px 10px;
    }

    .desktop-news .news-title1 {
        position: relative;
        padding-left: 25px;
        color: #B80E15;
    }

    .desktop-news .news-title1:before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        height: 10px;
        margin-right: 10px;
        background-color: #CF0A0A;
        border-radius: 50%;
    }

}

/* 移动端新闻列表样式 */
@media screen and (max-width: 768px) {
    .desktop-news {
        display: none;
    }

    .mobile-news .news-item {
        padding: 12px 0;
    }

    .mobile-news .news-link {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-news .news-title {
        position: relative;
        padding-left: 12px;
        margin-bottom: 5px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .mobile-news .news-title:before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0;
        color: #e60012;
        font-size: 16px;
    }

    .mobile-news .news-date {
        margin-left: 12px;
        font-size: 12px;
    }

    /* 加载更多样式 */
    .load-more {
        text-align: center;
        padding: 15px 0;
        color: #999;
        font-size: 14px;
    }

    .loading-spinner {
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 2px solid rgba(230, 0, 18, 0.3);
        border-radius: 50%;
        border-top-color: #e60012;
        animation: spin 1s ease-in-out infinite;
        margin-left: 10px;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }
}




.section-header {
    line-height: 24px;
    padding: 15px;
}

.section-header img {
    width: 20px;
    height: 17px;
    margin-left: 10px;
    margin-top: 3px;
    float: left;
    margin-right: 10px;
}

.section-header h3 {
    color: #B80E15;
    font-size: 24px;
    position: relative;
    margin: 0;
}

.news_right .section-header h3::before {
    width: 4px;
    height: 16px;
}

.news_right .section-header h3 {
    font-size: 16px;
}

.news_right .section-header {
    line-height: 16px;
}

.news_out {
    width: 1090px;
}

.news_right {
    display: flex;
    flex-direction: column;
}

.news_right_top {
    width: 320px;
    background-color: #fff;

}

.news_out_content {
    display: flex;
    width: 1440px;
    margin: 0 auto;
    flex-direction: row;
    justify-content: space-between;
}




.no_data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #666;
    font-size: 14px;
    min-height: 1000px;
}


.filter {
    width: 1380px;
    height: 120px;
    background: white;
    margin: 0 auto;
    margin-top: 28px;
    padding: 20px;
}

.filter-item {
    font-size: 16px;
    display: flex;
    flex-direction: row;
}

.filter-item ul {
    display: flex;
    flex-direction: row;
}

.filter-item ul li {
    cursor: pointer;
    padding: 0px 16px;
}

.filter-item ul .active {
    cursor: pointer;
    color: #B80E15;
    position: relative;
    border: 1px solid #B80E15;
    padding: 0px 16px;
    border-radius: 4px;
}


.filter-item ul .active::after {
    width: 15px;
    height: 15px;
    right: 0;
    content: '';
    position: absolute;
    display: inline-block;
    background: url('/images/szk_delete.png') no-repeat center center;
}

.filter-item span {
    margin-right: 10px;
}

.search-input {
    width: 220px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 16px;
    color: #333;
    margin-right: 10px;
}

.search-input::placeholder {
    color: #999;
}

.search-btn,
.reset-btn {
    height: 30px;
    border: none;
    width: 60px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-right: 10px;
}

.search-btn {
    background-color: #B80E15;
    color: white;
}

.reset-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.news-list ul {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    padding-left: 10px;
    padding-right: 10px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

/* 教师列表样式 */
.teacher-item {
    width: 260px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.teacher-avatar {
    width: 260px;
    height: 260px;
    margin-right: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.teacher-name {
    font-size: 16px;
    display: block;
    color: #333;
    margin-top: 12px;
}

.teacher-title {
    margin-bottom: 8px;
}

.title-label {
    color: #BBBBBB;
    font-size: 14px;
    position: relative;
    padding-left: 10px;
    display: inline-block;
}

.title-label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 12px;
    background-color: #B80E15;
}

.teacher-unit {
    color: #bbb;
    font-size: 14px;
    margin: 0;
}

/* 覆盖层样式 */
.teacher-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background-color: #EFDFC7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
    padding: 20px;
    box-sizing: border-box;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
}

.teacher-item:hover .teacher-overlay {
    transform: translateY(0);
}


.teacher-overlay .teacher-title {
    font-size: 12px;
    display: block;
    color: #333;
}

.teacher-overlay .teacher-name {
    font-size: 18px;
    display: block;
    color: #B90F16;
    margin-top: 12px;
}
.teacher-overlay .teacher-expertise{
    font-size: 14px;
    color: #333;
}
.teacher-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #B80E15;
    font-size: 18px;
    font-weight: bold;
}

.phone-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('/images/phone-icon.png') no-repeat center;
    background-size: contain;
    margin-right: 8px;
    position: relative;
    top: -3px;
}

.phone-icon::before {
    content: '\260E';
    font-size: 18px;
    color: #B80E15;
}

.teacher-expertise {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}

.view-details-btn {
    display: inline-block;
    background-color: #B80E15;
    color: white;
    width: 90px;
    height: 30px;
    line-height: 30px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.view-details-btn:hover {
    background-color: #a00c12;
}

.szk_top{
    position: relative;
    height: 350px;

}
.szk_top>img{
    z-index: 1;
    height: 350px;
}
.szk_top div{
    background-color: #e9787b;
    padding: 4px;
    width: 200px;
    border-radius: 100px;
    height: 200px;
    position: absolute;
    z-index: 999;
    left: calc(50% - 100px);
    margin: 0 auto;
    top: 42px;
}

.szk_top div img{
    width: 100%;
    height: 100%;
    border-radius: 100px;
    top: 60px;
}

.szk_top span{
    font-size: 36px;
    color: white;
    bottom: 40px;
    width: 300px;
    text-align: center;
    left: calc(50% - 150px);
    z-index: 999;
    position: absolute;
}

.w1{
    width: 130px;
    padding-left: 22px !important;
}
.w2{
    width: 520px;
}
.w3{
    width: 280px;
    padding-left: 22px !important;
}
.w4{
    width: 90px;
}
.w5{
    width: 200px;
}
.w6{
    /*width: 50px;*/
    padding-left: 22px !important;
}