/* ===== News Hero ===== */
.news-hero {
    min-height: 380px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}
.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(59,130,246,0.1) 0%, transparent 70%);
}
.news-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}
.news-hero .section-tag {
    color: #60a5fa;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}
.news-hero h1 {
    font-size: 38px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 16px;
    line-height: 1.3;
}
.news-hero h1 span {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.news-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto 24px;
}
.news-hero .search-box {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.2);
}
.news-hero .search-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 11px 20px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}
.news-hero .search-box input::placeholder { color: rgba(255,255,255,0.5); }
.news-hero .search-box button {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    padding: 11px 22px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}
.news-hero .search-box button:hover { transform: scale(1.05); }
@media (max-width: 768px) {
    .news-hero { padding: 100px 0 50px; }
    .news-hero h1 { font-size: 26px; }
    .news-hero .search-box { flex-direction: column; border-radius: 15px; }
    .news-hero .search-box button { border-radius: 15px; margin-top: 8px; }
}

/* ===== 新闻列表页 ===== */

.nl-topbar {
    background: #f8fafc;
    border-bottom: 1px solid #e8edf5;
    padding: 14px 0;
}
.nl-topbar .nl-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}
.nl-topbar .nl-breadcrumb a {
    color: #64748b;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.nl-topbar .nl-breadcrumb a:hover { color: #3b82f6; }
.nl-topbar .nl-breadcrumb .sep { color: #cbd5e1; font-size: 11px; }
.nl-topbar .nl-breadcrumb .cur { color: #1e293b; font-size: 13px; font-weight: 500; }

/* 主区域 */
.nl-wrap {
    padding: 40px 0 80px;
    background: #f0f4f8;
}
.nl-grid {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}
.nl-main { flex: 1; min-width: 0; }

/* 分区标题 */
.nl-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.nl-section-head .nl-sh-bar {
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 2px;
    flex-shrink: 0;
}
.nl-section-head .nl-sh-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.nl-section-head .nl-sh-en {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
    margin-left: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 新闻列表容器 */
.nl-list {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* 单条新闻 */
.nl-item {
    display: block;
    padding: 26px 32px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
    position: relative;
}
.nl-item:last-child { border-bottom: none; }
.nl-item:hover { background: #f8fbff; }

.nl-item-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.nl-item-img {
    flex: 0 0 160px;
    width: 160px;
    height: 108px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    flex-shrink: 0;
}
.nl-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.nl-item:hover .nl-item-img img { transform: scale(1.05); }
.nl-item-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 28px;
}
.nl-item-content { flex: 1; min-width: 0; }

.nl-item-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}
.nl-item-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nl-item-date {
    color: #94a3b8;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nl-item-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.55;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.nl-item:hover .nl-item-title { color: #3b82f6; }

.nl-item-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.75;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nl-item-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #3b82f6;
    font-size: 13px;
    font-weight: 500;
    transition: gap 0.2s;
}
.nl-item:hover .nl-item-more { gap: 9px; }

/* 分页 */
.nl-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.nl-pagination a,
.nl-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
    color: #475569;
    background: #fff;
}
.nl-pagination a:hover { background: #eff6ff; border-color: #93c5fd; color: #3b82f6; }
.nl-pagination span.current { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; border-color: transparent; font-weight: 600; }

/* 右侧栏 */
.nl-sidebar { position: sticky; top: 90px; width: 260px; flex-shrink: 0; }
.nl-sb-card {
    background: #fff;
    border-radius:4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 18px;
}
.nl-sb-head {
    padding: 16px 20px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nl-sb-body { padding: 16px 20px; }
.nl-cat-list { list-style: none; padding: 0; margin: 0; }
.nl-cat-list li { border-bottom: 1px solid #f1f5f9; }
.nl-cat-list li:last-child { border-bottom: none; }
.nl-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: #475569;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
    line-height: 1.4;
}
.nl-cat-list a:hover,
.nl-cat-list a.active { color: #3b82f6; font-weight: 600; }
.nl-cat-list .nl-chevron { font-size: 10px; color: #d1d5db; flex-shrink: 0; }
.nl-child-item { padding-left: 12px; }
.nl-child-item a { font-size: 13px; color: #64748b; }
.nl-child-dash { color: #d1d5db; margin-right: 4px; }

/* 空列表 */
.nl-empty {
    padding: 60px 32px;
    text-align: center;
    color: #94a3b8;
}
.nl-empty i { font-size: 40px; margin-bottom: 14px; display: block; }

/* 响应式 */
@media (max-width: 1024px) { .nl-grid { max-width: 100%; } }
@media (max-width: 768px) {
    .nl-sidebar { display: none; }
    .nl-item { padding: 18px 18px; }
    .nl-item-img { flex: 0 0 110px; width: 110px; height: 80px; }
    .nl-item-title { font-size: 15px; }
}
