/* news.html 二级页面专用样式 - 无图列表版 */

/* 二级页面横幅 - 复用pc.css的样式 */
.page-banner {
    background: linear-gradient(135deg, #4a9fe5 0%, #1e5aa8 100%);
    padding: 10px 0;
    color: var(--white);
}

.page-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-tabs {
    display: flex;
    gap: 40px;
}

.page-tabs .tab {
    color: orange;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    text-decoration: none;
    border-bottom-color: var(--white);
}

.page-tabs .tab:hover,
.page-tabs .tab.active {
    color: var(--white);
    
}

.breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .current {
    color: var(--white);
}

/* 新闻列表区域 */
.news-list-section {
    padding: 40px 0;
    background: var(--white);
    min-height: 600px;
}

.news-simple-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.news-simple-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 4px;
    transition: all 0.3s;
}

.news-simple-item:nth-child(odd) {
    background: #f8f9fa;
}

.news-simple-item:nth-child(even) {
    background: #ffffff;
}

.news-simple-item:hover {
    background: #e8f4fd;
}

.news-simple-item:first-child {
    background: #e8f4fd;
}

.news-simple-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    overflow: hidden;
}

.news-simple-left::before {
    content: '▶';
    color: var(--primary-blue);
    font-size: 12px;
    flex-shrink: 0;
}

.news-date {
    font-size: 14px;
    color: var(--primary-blue);
    white-space: nowrap;
    flex-shrink: 0;
}

.news-title {
    font-size: 15px;
    color: var(--dark-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.news-simple-item:first-child .news-title {

}

.news-more {
    font-size: 14px;
    color: var(--sky-blue);
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.news-more:hover {
    color: var(--primary-blue);
}

/* 分页 - 复用pc.css的样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding: 20px 0;
}

.page-info {
    font-size: 14px;
    color: var(--gray-text);
    margin-right: 10px;
}

.page-btn {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    padding: 0 12px;
    background: #f0f0f0;
    color: var(--gray-text);
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
}

.page-btn:hover {
    background: var(--sky-blue);
    color: var(--white);
    border-color: var(--sky-blue);
}

.page-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.page-ellipsis {
    color: var(--gray-text);
    padding: 0 5px;
}

/* 响应式设计 - 平板端 */
@media screen and (max-width: 1199px) {
    .page-tabs {
        gap: 30px;
    }

    .page-tabs .tab {
        font-size: 16px;
    }

    .news-simple-item {
        padding: 12px 15px;
    }

    .news-title {
        font-size: 14px;
    }
}

/* 响应式设计 - 手机端 */
@media screen and (max-width: 768px) {
    .page-banner {
        padding: 20px 0;
    }

    .page-banner-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .page-tabs {
        gap: 20px;
        width: 100%;
        overflow-x: auto;
    }

    .page-tabs .tab {
        font-size: 15px;
        white-space: nowrap;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .news-list-section {
        padding: 20px 0;
    }

    .news-simple-list {
        gap: 0;
    }

    .news-simple-item {
        flex-direction: row;
        padding: 12px 10px;
        gap: 10px;
    }

    .news-simple-left {
        flex-wrap: wrap;
        gap: 8px;
    }

    .news-date {
        font-size: 13px;
    }

    .news-title {
        font-size: 14px;
        white-space: normal;
        line-height: 1.6;
    }

    .news-more {
        font-size: 13px;
        margin-left: 0;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }

    .page-btn {
        min-width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 13px;
        padding: 0 8px;
    }
}

/* 响应式设计 - 小屏手机 */
@media screen and (max-width: 480px) {
    .page-tabs {
        gap: 15px;
    }

    .page-tabs .tab {
        font-size: 14px;
    }

    .news-simple-item {
        padding: 10px 8px;
    }

    .news-simple-left {
        gap: 6px;
    }

    .news-simple-left::before {
        font-size: 10px;
    }

    .news-date {
        font-size: 12px;
    }

    .news-title {
        font-size: 13px;
    }

    .news-more {
        font-size: 12px;
    }
}
