/* ============================================================
   新闻列表页 - news-list.css
   ============================================================ */

/* 页头（覆盖 frontend.css 默认渐变条，留出固定导航高度） */
.page-header {
    padding: 7rem 20px 3.5rem;
}
.page-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.breadcrumb {
    font-size: .9rem;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 1rem;
}
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 .5rem; opacity: .6; }
.page-header .eyebrow {
    color: rgba(255, 255, 255, .9);
}
.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin: .4rem 0;
}
.page-header h1::after {
    content: "";
    display: block;
    width: 56px; height: 4px;
    border-radius: 4px;
    background: #fff;
    margin: .8rem auto 0;
}
.page-sub {
    color: rgba(255, 255, 255, .85);
    margin-top: .8rem;
    font-size: 1.02rem;
}

/* 主体布局 */
.news-list-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 20px;
}
.news-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}
.news-main { min-width: 0; }

/* 新闻卡片（左图右文） */
.news-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.8rem;
    transition: transform .35s, box-shadow .35s;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.news-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 170px;
    background: var(--gradient-soft);
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-thumb-ph {
    width: 100%; height: 100%;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: rgba(255, 255, 255, .9);
}
.news-tag {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    padding: .3rem .8rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}
.news-body {
    padding: 1.5rem 1.6rem 1.5rem 0;
    display: flex;
    flex-direction: column;
}
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--muted);
    font-size: .85rem;
    margin-bottom: .8rem;
}
.meta-item { display: inline-flex; align-items: center; gap: .35rem; }
.news-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: .6rem;
}
.news-title a {
    color: var(--ink);
    text-decoration: none;
    transition: color .3s;
}
.news-title a:hover { color: var(--primary); }
.news-summary {
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: .92rem;
    transition: letter-spacing .3s;
    align-self: flex-start;
}
.news-card:hover .read-more { letter-spacing: 1px; }

/* 分页 */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2.5rem;
}
.news-pagination a,
.news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--ink);
    font-size: .92rem;
    transition: all .25s;
}
.news-pagination a:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}
.news-pagination .active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    font-weight: 700;
}
.news-pagination .disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    pointer-events: none;
}
.news-pagination .page-info {
    min-width: auto;
    border: 0;
    color: var(--muted);
    font-size: .88rem;
    margin-left: .5rem;
}

/* 侧边栏 */
.news-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.6rem;
}
.cta-card {
    background: var(--gradient);
    color: #fff;
    border: 0;
}
.cta-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.cta-card p { font-size: .92rem; opacity: .92; margin-bottom: 1.2rem; line-height: 1.6; }
.btn-block { width: 100%; }
.contact-card h3 {
    margin-bottom: 1rem;
    color: var(--ink);
    font-size: 1.05rem;
}
.contact-card p {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: .7rem;
}
.contact-card svg { color: var(--primary); flex: 0 0 auto; }

/* 响应式 */
@media (max-width: 900px) {
    .news-layout { grid-template-columns: 1fr; }
    .news-sidebar { position: static; }
}
@media (max-width: 600px) {
    .news-card {
        grid-template-columns: 1fr;
    }
    .news-thumb { min-height: 180px; }
    .news-body { padding: 0 1.4rem 1.4rem; }
    .page-header { padding: 6rem 20px 2.5rem; }
}
