/* 校（院）要闻页面样式 */
main .container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 4rem;
}

/* 通用样式 */
.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-list ul {
    list-style: none;
    padding: 0;
    margin: 0 20px;

}

.news-item li {
    width: 50%;
}
.news-item a img {
    width: 100%;
    height: 100%;
}


.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 {
    background-color: white;
    line-height: 24px;
    padding: 15px;
}

.section-header h3::before {
    content: '';
    display: inline-block;
    float: left;
    width: 6px;
    border-radius: 3px;
    height: 24px;
    background-color: #af1015;
    margin-right: 10px;
}

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



#map-container{
    height: 20rem;
    margin: 0 1rem;
    margin-top: 1rem;
}

.location_out{
    display: none;
}

.section-header{
    display: none;
}

.mobile-footer{
    display: none !important;
}

body{
    background-color: #fff !important;
}
.desktop-news{
    margin-top: 1rem;
}
.news-item img{
    width: 1.5rem;
    height: 1.5rem;
    float: left;
    margin-right: 0.6rem;
}
.news-item span{
    float: left;
}
.news-item{
    display: flex;
    flex-direction: row;
}

.news-list .news-item{
    border: none;
}