/* =====================================
   归档/主题分类页 (archive.html) 专属样式
===================================== */
.archive-container {
    max-width: 960px;
    margin: 0 auto;
}

.archive-hero {
    margin-bottom: 30px;
}

.archive-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 10px;
}

.archive-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.6;
}

/* 圆形主题气泡网格 */
.topics-bubbles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
    margin: 40px 0;
}

.topic-bubble {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1.5px solid var(--text-charcoal);
    background-color: var(--bg-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s ease;
    padding: 12px;
    text-align: center;
}

.topic-bubble:hover {
    border-color: var(--accent-red);
    transform: translateY(-4px);
    box-shadow: 0 6px 0 var(--accent-red);
}

.topic-bubble.active {
    background-color: var(--text-charcoal);
    color: var(--bg-cream);
    border-color: var(--text-charcoal);
    transform: translateY(-4px);
}

.topic-bubble.active .topic-count {
    color: var(--accent-red);
}

.topic-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topic-icon svg {
    width: 100%;
    height: 100%;
}

.topic-name {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.topic-count {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-red);
    letter-spacing: 0.5px;
}

.topic-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--accent-red);
    border-bottom: 1px solid var(--accent-red);
    padding: 12px 0;
    margin-bottom: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.reset-filter-btn {
    background: transparent;
    border: 1px solid var(--text-charcoal);
    padding: 4px 10px;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 900;
    cursor: pointer;
    border-radius: 0;
    display: none;
    transition: all 0.2s ease;
}

.reset-filter-btn:hover {
    background-color: var(--accent-red);
    color: var(--bg-cream);
    border-color: var(--accent-red);
}

/* 文章列表 (带侧边主题) */
.archive-articles-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.archive-article-card {
    display: flex;
    gap: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    align-items: flex-start;
}

.article-meta-side {
    width: 160px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.topic-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--accent-red);
    text-transform: uppercase;
}

.article-date {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.5;
}

.article-info {
    flex: 1;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.article-title a:hover {
    color: var(--accent-red);
}

.article-excerpt {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

.no-articles {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--accent-red);
    padding: 40px 0;
}

@media (max-width: 768px) {
    .topics-bubbles-grid {
        justify-content: center;
    }
    .archive-article-card {
        flex-direction: column;
        gap: 12px;
    }
    .article-meta-side {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}