/* ============================================
   概览页面样式
   ============================================ */

.overview-page {
    background-color: #fff;
    padding: 20px 0 60px;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    /* font-family: 'GovWF_FZ', "Microsoft YaHei", "SimHei", Arial, sans-serif; */
}

/* 新闻列表区块 */
.news-list-section {
    margin-bottom: 50px;
}

.news-list-block {
    
}

.news-list-block:last-of-type {
    margin-bottom: 0;
}

.news-list {
    list-style: none;
    padding: 25px 0;
    margin: 0;
    /* background-color: #fff;
    border: 1px solid #e0e0e0; */
    border-radius: 4px;
    overflow: hidden;
    border-bottom: 1px solid #E3E3E3;
}

.news-item {
    /* border-bottom: 1px solid #f0f0f0; */
    /* transition: background-color 0.3s ease; */
}



.news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}


.news-title {
    flex: 1;
    font-size: 20px;
    color: #333;
    padding-right: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-link:hover .news-title {
    color: #115A94;
}


.status-badge {
    color: #C70D0D;
    margin-right: 5px;
}

.status-badge-over {
    color: #125b94;
    margin-right: 5px;
}

.news-date {
    flex: 0 0 100px;
    font-size: 20px;
    color: #333;
    text-align: right;
    white-space: nowrap;
}

/* 分页 */
#glpage a, #glpage span{
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #d2d2d2;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}
.pagination-section {
    margin-top: 50px;
}

.pagination ,#glpage {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-btn,
.page-number {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #d2d2d2;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.page-btn:hover,
.page-number:hover , #glpage span {
    background-color: #f5f5f5;
    border-color: #115A94;
    color: #115A94;
}

.page-number.active , #glpage span{
    background-color: #115A94;
    border-color: #115A94;
    color: #fff;
}

.page-number.active:hover,  #glpage span{
    background-color: #0066cc;
    border-color: #0066cc;
}
.mobile-news-list{
    display: none;
    border-top: 1px solid #e3e3e3;
}

.mobile-news-list li {
    line-height: 1.6;
    position: relative;
    padding: 16px 0;
    border-bottom: 1px solid #e3e3e3;
}
.mobile-news-list li:last-child{
    border-bottom: none;
}

.mobile-news-list a {
    color: #333;
    font-size: 18px;
    transition: color 0.3s;
}

.mobile-news-list a:hover {
    color: #115A94;
}
.earphone {
    position: absolute;
    right: 0;
    bottom: 20px;
}

/* 音频播放器弹出框 */
.audio-player-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: white;
    box-shadow: 2px 0px 8px 0px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    min-width: 300px;
    padding: 8px 10px;
}
.audio-player-modal button{
    border: none;
    background: none;
}
.audio-player-modal.show {
    display: block;
}

.audio-player-content {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
}

.audio-player-title {
    font-size: 18px;
    color: #333;
    font-weight: normal;
    width: 216px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.audio-player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

/* 暂停按钮图标控制 */
.pause-btn img[alt="继续播放"] {
    display: none;
}

.pause-btn img[alt="暂停"] {
    display: block;
}


/* 响应式设计 - 平板 */
@media screen and (max-width: 1024px) {
    .news-link {
        padding: 10px 0;
    }

    .news-title {
        font-size: 18px;
    }

    .news-date {
        flex: 0 0 90px;
        font-size: 18px;
    }
}

/* 响应式设计 - 移动端 */
@media screen and (max-width: 768px) {
    .overview-page {
        padding: 20px 0 0;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .news-list-block {
        margin-bottom: 30px;
    }

    .news-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
        gap: 8px;
    }

    .news-link:hover {
        padding-left: 15px;
    }

    .news-title {
        width: 100%;
        padding-right: 0;
        font-size: 14px;
    }

    .news-date {
        flex: 0 0 auto;
        text-align: left;
        font-size: 12px;
    }

    .pagination {
        gap: 5px;
    }

    .page-btn,
    .page-number {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 35px;
    }
    .mobile-news-list{
        display: block;
    }
    .news-list-section,.pagination-section{
        display: none;
    }
}

