/* ===== 新闻列表布局 ===== */
.news-list-section {
    padding: 50px 0;
}

.news-layout {
    display: flex;
    gap: 30px;
}

.news-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.news-main {
    flex: 1;
    min-width: 0;
}

.news-header {
    margin-bottom: 30px;
}

.news-main-title {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.news-count {
    color: var(--text-light);
    font-size: 16px;
}

/* 新闻列表项 */
.news-list-item {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-list-item .news-date {
    min-width: 80px;
    background: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
}

.news-list-item .news-date .day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.news-list-item .news-date .month {
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 5px;
}

.news-list-item .news-content {
    flex: 1;
    padding: 20px;
}

.news-list-item .news-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-list-item .news-content h2 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-list-item .news-content h2 a:hover {
    color: var(--primary-color);
}

.news-list-item .news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-light);
}

.news-list-item .news-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.news-list-item .news-summary {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 侧边栏最近文章 */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-item h4 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.recent-post-item h4 a:hover {
    color: var(--primary-color);
}

.recent-post-item .post-date {
    font-size: 12px;
    color: var(--text-light);
}

.recent-post-item .post-date i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* 文章详情页布局 */
.article-section {
    padding: 60px 0;
}

.article-layout {
    display: flex;
    gap: 30px;
}

.article-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.article-main {
    flex: 1;
    min-width: 0;
}

.article {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 30px;
    color: var(--text-light);
    font-size: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.article-content {
    line-height: 1.9;
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 30px;
}

.article-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--secondary-color);
}

.article-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
}

.article-content ul, .article-content ol {
    margin: 20px 0 20px 30px;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    font-style: italic;
    color: var(--secondary-color);
}

.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-share span {
    font-weight: 600;
    color: var(--secondary-color);
}

.article-share a {
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.article-share a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* 文章导航 */
.article-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.nav-prev, .nav-next {
    max-width: 45%;
}

.nav-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
}

.nav-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-title a:hover {
    color: var(--primary-color);
}

.nav-title .disabled {
    color: var(--text-light);
}