/* ==================== 论坛存档页面总体样式 ==================== */

.forum-archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #f5f7fa;
}

/* ==================== 段落标题 ==================== */

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007cba;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.section-title .icon {
    font-size: 24px;
    margin-right: 10px;
}

.section-title h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

/* ==================== 社区热门区域 ==================== */

.community-hot-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hot-content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-top: 20px;
}

/* 左侧热门卡片 */
.hot-featured {
    display: flex;
    align-items: center;
}

.featured-card {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.featured-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

/* 右侧热门列表 */
.hot-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-post-item {
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #007cba;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hot-post-item:hover {
    background: #eff7ff;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.hot-post-item .post-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.hot-post-item .post-title a {
    color: #007cba;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hot-post-item .post-title a:hover {
    color: #005a87;
    text-decoration: underline;
}

.hot-post-item .post-excerpt {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* ==================== 社区热门分类 ==================== */

.community-categories-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: #007cba;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.15);
    transform: translateY(-2px);
}

.category-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.category-name {
    margin: 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.category-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-name a:hover {
    color: #007cba;
}

.category-desc {
    margin: 10px 0;
    color: #999;
    font-size: 13px;
    line-height: 1.5;
}

.category-stats {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item strong {
    font-size: 18px;
    color: #007cba;
    font-weight: 700;
}

.stat-item em {
    font-size: 12px;
    color: #999;
    font-style: normal;
}

.category-time {
    font-size: 12px;
    color: #ccc;
    text-align: right;
}

/* ==================== 原创专区 ==================== */

.original-content-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.original-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.original-card {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.original-card:hover {
    background: #f0f7ff;
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.original-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.original-title {
    margin: 10px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.original-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.original-title a:hover {
    color: #007cba;
}

.original-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
}

.original-meta .author a {
    color: #007cba;
    text-decoration: none;
}

.original-meta .author a:hover {
    text-decoration: underline;
}

.original-meta .views {
    color: #999;
}

/* ==================== 综合服务 ==================== */

.services-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
}

.service-card .service-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.service-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.service-card p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

/* ==================== 主要论坛列表 ==================== */

.main-forums-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.forum-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.forum-item:last-child {
    border-bottom: none;
}

.forum-item:hover {
    background: #f9f9f9;
}

.forum-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.forum-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forum-title a:hover {
    color: #007cba;
}

.forum-content {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.forum-meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 13px;
    color: #999;
}

/* ==================== 响应式设计 ==================== */

@media (max-width: 768px) {
    .forum-archive-wrapper {
        padding: 15px 10px;
    }

    .section-title {
        font-size: 18px;
    }

    .community-hot-section,
    .community-categories-section,
    .original-content-section,
    .services-section,
    .main-forums-section {
        padding: 20px;
    }

    .hot-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-image {
        height: 200px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .original-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/*用户页面*/