/* pc.html 二级页面专用样式 */

/* 二级页面横幅 */
.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;
    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;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .current {
    color: var(--white);
}

/* 新闻列表区域 */
.news-list-section {
    padding: 40px 0;
    background: #f5f7fa;
    min-height: 600px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item-card {
    display: flex;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.news-item-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.news-item-card:first-child {
    box-shadow: 0 2px 12px rgba(30, 90, 168, 0.15);
    border: 1px solid rgba(30, 90, 168, 0.2);
}

.news-item-image {
    width: 280px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
    background: #fff;
    padding: 8px;
    margin: 10px 0 10px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    display: block;
}

.news-item-card:hover .news-item-image img {
    transform: scale(1.05);
}

.news-item-content {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-title {
    font-size: 18px;
    color: var(--dark-text);
    /*margin-bottom: 10px;*/
    font-weight: bold;
    line-height: 1.4;
    margin-top: 30px;
}

.news-item-card:first-child .news-item-title {
   
}

.news-item-date {
    font-size: 14px;
    color: var(--sky-blue);
    margin-bottom: 40px;
}

.news-item-excerpt {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item-more {
    display: inline-block;
    color: var(--sky-blue);
    font-size: 14px;
    padding: 8px 20px;
    background: rgba(74, 159, 229, 0.1);
    border-radius: 4px;
    transition: all 0.3s;
    align-self: flex-end;
}

.news-item-more:hover {
    background: var(--sky-blue);
    color: var(--white);
}

/* 分页 */
.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: var(--white);
    color: var(--gray-text);
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.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-item-image {
        width: 240px;
        height: 160px;
        margin: 10px 0 10px 15px;
    }

    .news-item-content {
        padding: 20px 25px;
    }

    .news-item-title {
        font-size: 16px;
    }
}

/* 响应式设计 - 手机端 */
@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-item-card {
        flex-direction: row;
    }

    .news-item-image {
        width: 140px;
        height: 120px;
        margin: 10px 0 10px 10px;
        padding: 5px;
    }

    .news-item-content {
        padding: 15px 15px 15px 10px;
    }

    .news-item-title {
        font-size: 16px;
    }

    .news-item-excerpt {
        -webkit-line-clamp: 3;
    }

    .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-item-image {
        width: 120px;
        height: 100px;
        margin: 8px 0 8px 8px;
        padding: 4px;
    }

    .news-item-content {
        padding: 12px 12px 12px 8px;
    }

    .news-item-title {
        font-size: 15px;
    }

    .news-item-date {
        font-size: 13px;
    }

    .news-item-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .news-item-more {
        font-size: 13px;
        padding: 6px 15px;
    }
}
