/* 校（院）要闻页面样式 */
main .container {
    width: 100%;
    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;
}

.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;

    margin: 0px 5px;
    padding: 0px 16px;
}


.filter-item ul .active {
    cursor: pointer;
    color: #B80E15;
    position: relative;
    margin: 0px 5px;

    border: 1px solid #B80E15;
    padding: 0px 16px;
    border-radius: 4px;
}


.filter-item ul .active::after {
    width: 15px;
    height: 15px;
    right: 0px;
    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;
}

.map_container{
    width: 1380px;
    height: 800px;
    position: relative;
}

/* 地图搜索框样式 */
.amap-search-box {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 999;
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: flex;
}

.amap-search-box input {
    width: 250px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
}

.amap-search-box button {
    height: 38px;
    padding: 0 15px;
    background-color: #B80E15;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
}

.amap-search-box button:hover {
    background-color: #a00c12;
}

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

.desktop-news{
    margin: 0 30px;
    margin-top: 20px;
}