/* 分类导航 */
.news-brief {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.news-brief h4 {
    margin: 0 0 0.35rem;
    color: #1f2937;
    font-size: 1.05rem;
    font-weight: 700;
}

.news-brief h4 i {
    color: #2563eb;
}

.news-brief p {
    margin: 0;
    color: #6b7280;
    line-height: 1.65;
}

.news-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.category-link {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.category-link:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.category-link.active {
    background: #2563eb;
    color: #fff;
}

/* 头条 */
.featured-article {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.75rem;
    transition: box-shadow 0.2s ease;
}

.featured-article:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.featured-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.featured-image {
    width: 42%;
    min-height: 250px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-placeholder {
    color: #9ca3af;
    font-size: 2.5rem;
}

.featured-content {
    width: 58%;
    padding: 1.35rem 1.4rem;
    display: flex;
    flex-direction: column;
}

.featured-category {
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.65rem;
    padding: 0.18rem 0.6rem;
    border-radius: 4px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.78rem;
}

.featured-title {
    margin: 0 0 0.65rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.45;
    color: #1f2937;
}

.featured-summary {
    margin: 0 0 0.85rem 0;
    flex: 1;
    font-size: 0.93rem;
    line-height: 1.7;
    color: #6b7280;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    color: #9ca3af;
    font-size: 0.82rem;
}

.featured-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* 分类分区列表 */
.category-sections {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.category-section {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #eef2f7;
}

.section-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.section-more {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85rem;
}

.section-more:hover {
    color: #2563eb;
}

.section-list {
    padding: 0 1rem;
}

.section-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.section-item:last-child {
    border-bottom: none;
}

.section-item-title {
    color: #374151;
    font-size: 0.94rem;
    line-height: 1.5;
}

.section-item:hover .section-item-title {
    color: #2563eb;
}

.section-item-date {
    flex-shrink: 0;
    color: #9ca3af;
    font-size: 0.8rem;
}

/* 侧边栏 */
.sidebar-block {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.sidebar-header {
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.sidebar-header h5 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #374151;
}

.sidebar-content {
    padding: 0.6rem 0;
}

.hot-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.68rem 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.hot-item:last-child {
    border-bottom: none;
}

.hot-item:hover {
    background: #f9fafb;
}

.hot-rank {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #eef2f7;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.hot-content {
    min-width: 0;
}

.hot-title {
    color: #374151;
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 0.2rem;
}

.hot-item:hover .hot-title {
    color: #2563eb;
}

.hot-meta {
    color: #9ca3af;
    font-size: 0.75rem;
}

.about-block .sidebar-content {
    padding: 1.1rem;
}

.about-text {
    margin: 0 0 0.8rem 0;
    color: #6b7280;
    font-size: 0.86rem;
    line-height: 1.7;
}

.about-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.85rem;
}

.about-link:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .news-brief {
        flex-direction: column;
    }

    .featured-link {
        flex-direction: column;
    }

    .featured-image,
    .featured-content {
        width: 100%;
    }

    .featured-image {
        min-height: 210px;
    }
}

@media (max-width: 767px) {
    .news-category-nav {
        gap: 0.375rem;
    }

    .category-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.84rem;
    }

    .section-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .section-item-date {
        font-size: 0.78rem;
    }
}
