/* ==================== 专题动态页样式 ==================== */

/* 专题内容区域 */
.topic-content {
    padding: 60px 0;
    display: block !important;
}

/* 精选专题 */
.featured-topic {
    margin-bottom: 60px;
}

.featured-topic h3,
.topic-list h3,
.category-section h3,
.media-section h3 {
    font-size: 28px;
    color: #1a252f;
    margin-bottom: 35px;
    position: relative;
    text-align: center;
}

.featured-topic h3::after,
.topic-list h3::after,
.category-section h3::after,
.media-section h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #c41e3a, #8b0000);
    border-radius: 2px;
}

.featured-card {
    display: flex;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    border-radius: 24px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.featured-card img {
    width: 500px;
    height: 350px;
    object-fit: cover;
    flex-shrink: 0;
}

.featured-info {
    flex: 1;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(196, 30, 58, 0.9);
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.featured-info h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.featured-info p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 25px;
    flex: 1;
}

.featured-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 专题分类 */
.category-section {
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.category-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(196, 30, 58, 0.05) 100%);
    border-radius: 16px;
    margin: 0 auto 18px;
    font-size: 32px;
    color: #c41e3a;
}

.category-card h4 {
    font-size: 16px;
    color: #1a252f;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 13px;
    color: #7f8c8d;
}

/* 专题列表 */
.topic-list {
    margin-bottom: 60px;
    display: block !important;
}

.topic-list h3 {
    font-size: 28px;
    color: #1a252f;
    margin-bottom: 35px;
    position: relative;
    text-align: center;
}

.topic-list h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #c41e3a, #8b0000);
    border-radius: 2px;
}

.topics-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    flex: none !important;
    max-width: 900px;
    margin: 0 auto;
}

.topic-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    text-decoration: none;
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.topic-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.topic-info {
    padding: 25px;
}

.topic-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(196, 30, 58, 0.1);
    color: #c41e3a;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 12px;
}

.topic-info h4 {
    font-size: 18px;
    color: #1a252f;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.topic-info p {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.topic-date {
    font-size: 13px;
    color: #999;
}

/* 专题数据统计 */
.topic-stats {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* 媒体报道 */
.media-section {
    margin-bottom: 60px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.media-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: all 0.4s ease;
}

.media-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.media-card img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

.media-info {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.media-info h4 {
    font-size: 17px;
    color: #1a252f;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.media-info p {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 10px;
}

.media-source {
    font-size: 12px;
    color: #c41e3a;
    font-weight: 500;
}

/* 标签云 */
.tag-cloud {
    margin-bottom: 60px;
}

.tag-cloud h3 {
    font-size: 28px;
    color: #1a252f;
    margin-bottom: 30px;
    text-align: center;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 100%;
    padding: 0 20px;
}

.tag-item {
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.08) 0%, rgba(196, 30, 58, 0.04) 100%);
    border: 1px solid rgba(196, 30, 58, 0.2);
    border-radius: 25px;
    font-size: 14px;
    color: #5a6a7a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: #fff;
    border-color: #c41e3a;
}

/* 加载更多 */
.load-more {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .featured-card {
        flex-direction: column;
    }
    
    .featured-card img {
        width: 100%;
        height: 250px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 相关专题样式优化 */
.related-topics {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.related-topics h3 {
    font-size: 24px;
    color: #1a252f;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.related-topics h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c41e3a, #8b0000);
    border-radius: 2px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-item {
    display: block;
    padding: 20px 25px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateX(8px);
    border-color: #c41e3a;
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.1);
}

.related-item h4 {
    font-size: 16px;
    color: #1a252f;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.related-item i {
    color: #c41e3a;
    margin-right: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .topic-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .media-card {
        flex-direction: column;
    }
    
    .media-card img {
        width: 100%;
        height: 200px;
    }
    
    .related-item {
        padding: 15px 20px;
    }
    
    .related-item h4 {
        font-size: 15px;
    }
}

/* ==================== 专题列表页面样式 ==================== */

/* 列表区域 */
.list-section {
    margin-bottom: 45px;
    padding: 25px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.list-section h2 {
    font-size: 20px;
    color: #1a252f;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.list-section h2 i {
    color: #c41e3a;
    margin-right: 12px;
    font-size: 18px;
}

/* 专题链接项 */
.topic-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.topic-link {
    display: block;
    padding: 20px 25px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.topic-link:hover {
    background: #fff;
    border-color: #c41e3a;
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.1);
}

.topic-link h3 {
    font-size: 17px;
    color: #1a252f;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.topic-desc {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.topic-meta {
    font-size: 13px;
    color: #999;
}

/* 列表页面响应式 */
@media (max-width: 768px) {
    .list-section {
        padding: 20px;
    }
    
    .list-section h2 {
        font-size: 18px;
    }
    
    .topic-link {
        padding: 16px 20px;
    }
    
    .topic-link h3 {
        font-size: 16px;
    }
    
    .topic-desc {
        font-size: 13px;
    }
}