/* 校（院）要闻页面样式 */
main .container {
    width: 100%;
    overflow: hidden;

    position: unset !important;
    min-height: 0px !important;
}

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;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem;
}

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

/* 移动端新闻列表样式 */
@media screen and (max-width: 768px) {


    .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: 100%;
    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: 100%;
    height: 8rem;
    background: white;
    margin: 0 auto;
    padding: 0.6rem 0.3rem;
}

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

.filter-item ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    row-gap: 0.4rem;
}

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

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


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


.search-input {
    width: 50%;
    height: 1.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 0.7rem;
    font-size: 0.8rem;
    color: #333;
    margin-right: 10px;
}

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

.search-btn,
.reset-btn {
    height: 1.6rem;
    border: none;
    width: 4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    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: 0.5rem;
    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: calc(50% - 0.3rem);
    display: flex;
    flex-direction: column;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.teacher-avatar {
    width: 100%;
    height: 13rem;
    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: 100%;
    height: 30rem;
    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 {}

.location_out {
    display: none;
}

.news_out_content {
    left: 0 !important;
    margin-top: 0 !important;
}

.filter-item {
    font-size: 0.8rem;
}

.filter-item>span {
    width: 7rem;
    display: none;
}

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

.desktop-news {
    display: block;
}


.szk-course-table table th,
.szk-course-table table td {
    font-size: 0.8rem;
}

.w1 {
    display: none;
}

.w2 {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    width: 60%;
}

.w5 {
    width: 30%;
}

.w6 {
    width: 10%;
}

.w3 {
    display: none;
}

.w4 {
    display: none;
}

.szk-course-table table th,
.szk-course-table table td {
    line-height: 1.1rem;
}

tr {
    height: 3rem;
    padding: 0 0.2rem !important;
}

#footer-component {
    display: none;
}

/* 移动端加载更多指示器样式 */
@media screen and (max-width: 768px) {
    .load-more-indicator {
        display: block !important;
        position: static !important;
        left: auto !important;
        width: 90% !important;
        text-align: center;
        padding: 15px 0;
        margin: 20px auto 40px auto;
        color: #666;
        font-size: 14px;
        background-color: #f5f5f5;
        border-radius: 4px;
        cursor: pointer;
    }
    
    /* 加载动画样式 */
    @keyframes spin {
        to { transform: rotate(360deg); }
    }
    
    .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-right: 10px;
        vertical-align: middle;
    }
}