body { margin: 0; font-family: "Microsoft YaHei", Arial, sans-serif; }
:root {
    --primary: #2c3e50;
    --accent: #b8860b;
    --text-dark: #2c3e50;
    --text-gray: #6c757d;
    --bg-light: #f0f2f5;
    --border-color: #dee2e6;
    --max-w: 1200px;
}

.page-banner { position: relative; width: 100%; overflow: hidden; height: 300px; }
.page-banner img { width: 100%; height: 100%; display: block; object-fit: cover; }
.page-banner .banner-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; z-index: 2; }
.page-banner .banner-overlay h1 { color: #fff; font-size: 36px; font-weight: bold; text-shadow: 0 2px 8px rgba(0,0,0,0.3); margin: 0; }

/* 面包屑 */
.breadcrumb-bar {
    background: #f8f8f8;
    padding: 12px 0;
    font-size: 14px;
    color: #999;
}
.breadcrumb-bar .container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 15px;
}
.breadcrumb-bar a { color: var(--text-dark); text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--accent); }
.breadcrumb-bar .sep { margin: 0 8px; color: #ccc; }
.breadcrumb-bar .current { color: var(--accent); }

/* 左右布局 */
.news-layout {
    display: flex;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 40px 15px;
    gap: 40px;
}

/* 左侧栏 */
.news-sidebar {
    flex: 0 0 220px;
    position: sticky;
    top: 90px;
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--border-color);
}
.news-sidebar .sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    margin: 0;
    padding: 16px 18px;
    text-align: center;
    letter-spacing: 1px;
}
.news-sidebar .sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-sidebar .sidebar-menu li {
    border-bottom: 1px solid var(--border-color);
    margin: 0;
}
.news-sidebar .sidebar-menu li:last-child {
    border-bottom: none;
}
.news-sidebar .sidebar-menu a {
    display: block;
    padding: 14px 18px;
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}
.news-sidebar .sidebar-menu a:hover {
    color: var(--accent);
    background: #f8f6f0;
}
.news-sidebar .sidebar-menu .active a {
    color: var(--accent);
    border-left-color: var(--accent);
    background: #f8f6f0;
    font-weight: 600;
}

/* 右侧内容 */
.news-main {
    flex: 1;
    min-width: 0;
}
.news-main .page-title {
    font-size: 26px;
    color: var(--primary);
    font-weight: bold;
    margin: 0 0 8px;
    line-height: 1.4;
    text-align: left;
}
.news-main .page-divider {
    border: none;
    border-top: 3px solid var(--accent);
    width: 50px;
    margin: 0 0 25px;
}

.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item {
    display: flex; gap: 20px; background: #fff; border-radius: 10px;
    overflow: hidden; transition: all 0.3s; border: 1px solid #eee;
}
.news-item:hover { box-shadow: 0 4px 20px rgba(44,62,80,0.08); transform: translateY(-2px); border-color: var(--accent); }
.news-item .news-img {
    flex: 0 0 260px; height: 180px; overflow: hidden;
    position: relative;
}
.news-item .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-item:hover .news-img img { transform: scale(1.08); }
.news-item .news-img .img-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #e8ecf0, #d0d6dd); font-size: 48px; color: #a0a8b0;
}
.news-item .news-body { flex: 1; padding: 20px 20px 20px 0; display: flex; flex-direction: column; justify-content: center; }
.news-item .news-body .news-date { font-size: 13px; color: #999; margin: 0 0 8px; }
.news-item .news-body .news-headline { font-size: 18px; color: var(--text-dark); font-weight: bold; margin: 0 0 10px; }
.news-item .news-body .news-headline a { color: inherit; text-decoration: none; }
.news-item .news-body .news-headline a:hover { color: var(--accent); }
.news-item .news-body .news-summary { font-size: 14px; color: var(--text-gray); line-height: 1.7; margin: 0 0 15px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .news-body .news-more {
    display: inline-block; font-size: 13px; color: var(--accent); font-weight: 600;
    text-decoration: none; align-self: flex-start;
}
.news-item .news-body .news-more:hover { text-decoration: underline; }

.page-bar { text-align: left; margin-top: 40px; }
.page-bar .pagination { display: inline-flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.page-bar .pagination a, .page-bar .pagination span {
    display: block; padding: 8px 14px; border: 1px solid #ddd;
    border-radius: 4px; font-size: 14px; color: var(--text-dark);
    text-decoration: none;
}
.page-bar .pagination a:hover { border-color: var(--accent); color: var(--accent); }
.page-bar .pagination .active span { background: var(--accent); color: #fff; border-color: var(--accent); }

@media screen and (max-width: 768px) {
    .page-banner { height: 200px; }
    .page-banner .banner-overlay h1 { font-size: 24px; }
    .news-layout { flex-direction: column; padding: 20px 15px; gap: 20px; }
    .news-sidebar { flex: none; position: static; width: 100%; }
    .news-sidebar .sidebar-menu { display: block; }
    .news-sidebar .sidebar-menu li { border-bottom: 1px solid var(--border-color); border-right: none; }
    .news-sidebar .sidebar-menu li:last-child { border-bottom: none; }
    .news-sidebar .sidebar-menu a { padding: 14px 18px; font-size: 14px; border-left: none; text-align: center; }
    .news-sidebar .sidebar-menu .active a { border-left-color: transparent; border-bottom-color: transparent; background: #f8f6f0; }
    .news-item { flex-direction: column; }
    .news-item .news-img { flex: 0 0 200px; height: 200px; }
    .news-item .news-body { padding: 0 15px 15px; }
}
