/* ============================================
   文章归档页面 - GFL 统一风格
   ============================================ */

/* ---------- 修复父主题 body overflow 导致 sticky 失效 ---------- */
body {
    overflow: visible !important;
}

/* ---------- 基础 ---------- */
.archives-page {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-content, #334155);
    margin: -1px -1px 0;
}

.archives-page p {
    margin: 0 0 10px;
}

.archives-page p:last-child {
    margin-bottom: 0;
}

.archives-page svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    stroke-width: 2;
}

/* ---------- 全局链接 ---------- */
.archives-page a {
    color: var(--color-link);
    text-decoration: none;
    transition: color 0.2s ease;
}
.archives-page a:hover {
    color: var(--color-link-hover);
}

/* ---------- Hero 区域 ---------- */
.archives-hero {
    position: relative;
    padding: 60px 40px 70px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--bg-card, #fff) 0%, var(--bg-secondary, #f8fafc) 100%);
    border: 1px solid var(--border-primary, #e5e7eb);
}

.archives-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.archives-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: archives-float 8s ease-in-out infinite;
}

.archives-hero__blob--1 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--theme-color, #41B883), #6dd5a0);
    top: -80px;
    right: -60px;
    animation-delay: 0s;
}

.archives-hero__blob--2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    bottom: -60px;
    left: 10%;
    animation-delay: -3s;
    opacity: 0.3;
}

.archives-hero__blob--3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    top: 30%;
    right: 30%;
    animation-delay: -5s;
    opacity: 0.25;
}

@keyframes archives-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.archives-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.archives-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(65, 184, 131, 0.12);
    color: var(--theme-color, #41B883);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.archives-hero__badge svg {
    width: 16px;
    height: 16px;
}

.archives-hero__title {
    font-size: 38px;
    font-weight: 700;
    color: var(--caption-color, #1e293b);
    margin: 0 0 14px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.archives-hero__desc {
    font-size: 16px;
    color: var(--text-secondary, #475569);
    margin: 0 0 28px;
    line-height: 1.7;
}

.archives-hero__stats {
    display: flex;
    gap: 40px;
    margin-bottom: 28px;
}

.archives-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.archives-hero__stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--theme-color, #41B883);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--theme-color, #41B883), #6dd5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.archives-hero__stat-label {
    font-size: 13px;
    color: var(--text-tertiary, #64748b);
}

.archives-page .archives-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: var(--theme-color, #41B883);
    border-radius: 999px;
    box-shadow: 0 4px 12px -2px rgba(65, 184, 131, 0.35);
    transition: all 0.25s ease;
}
.archives-page .archives-hero__cta,
.archives-page .archives-hero__cta > span {
    color: #fff;
}
.archives-page .archives-hero__cta:hover {
    background: var(--color-link-hover, #2e9d6b);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -2px rgba(65, 184, 131, 0.5);
}

/* ---------- 编辑器内容 ---------- */
.archives-content {
    margin-bottom: 30px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* ---------- 区块通用 ---------- */
.archives-section__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.archives-section__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(65, 184, 131, 0.12), rgba(65, 184, 131, 0.06));
    color: var(--theme-color, #41B883);
    border-radius: 12px;
    border: 1px solid rgba(65, 184, 131, 0.2);
}

.archives-section__icon svg {
    width: 22px;
    height: 22px;
}

.archives-section__icon--gradient {
    background: linear-gradient(135deg, var(--theme-color, #41B883), #6dd5a0);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(65, 184, 131, 0.4);
}

.archives-section__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--caption-color, #1e293b);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.archives-section__subtitle {
    font-size: 14px;
    color: var(--text-tertiary, #64748b);
    margin: 4px 0 0;
    line-height: 1.5;
}

.archives-section__subtitle strong {
    color: var(--theme-color, #41B883);
    font-weight: 600;
}

/* ---------- 两栏布局 ---------- */
.archives-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

/* ---------- 左栏 ---------- */
.archives-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---------- 统计概览卡片 ---------- */
.archives-stats-card {
    position: relative;
    padding: 26px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.archives-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-color, #41B883), #6dd5a0);
    border-radius: 14px 14px 0 0;
}

.archives-stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--border-hover, #cbd5e1);
}

.archives-stats-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--caption-color);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-secondary);
}

.archives-stats-card__title svg {
    color: var(--theme-color, #41B883);
    font-size: 20px;
}

.archives-stats-card__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.archives-stats-card__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    background: var(--bg-secondary);
    border-radius: 10px;
    text-align: center;
}

.archives-stats-card__value {
    font-size: 22px;
    font-weight: 700;
    color: var(--theme-color, #41B883);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--theme-color, #41B883), #6dd5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.archives-stats-card__value--text {
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}

.archives-stats-card__label {
    font-size: 12px;
    color: var(--text-tertiary, #64748b);
}

/* ---------- 年度导航卡片 ---------- */
.archives-nav-card {
    position: sticky;
    top: 76px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 26px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.archives-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #6366f1);
    border-radius: 14px 14px 0 0;
}

.archives-nav-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--border-hover, #cbd5e1);
}

.archives-nav-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--caption-color);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-secondary);
}

.archives-nav-card__title svg {
    color: #8b5cf6;
    font-size: 20px;
}

.archives-nav-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.archives-nav-card__item {
    border-bottom: 1px dashed var(--border-secondary);
}

.archives-nav-card__item:last-child {
    border-bottom: none;
}

.archives-nav-card__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    margin: 0 -8px;
    border-radius: 8px;
    color: var(--text-content) !important;
    transition: all 0.2s ease;
}

.archives-nav-card__link:hover {
    background: var(--bg-hover);
    color: var(--theme-color, #41B883) !important;
}

.archives-nav-card__year {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s;
}

.archives-nav-card__link:hover .archives-nav-card__year {
    color: var(--theme-color, #41B883);
}

.archives-nav-card__count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 10px;
    font-variant-numeric: tabular-nums;
}

.archives-nav-card__link svg {
    color: var(--text-muted);
    font-size: 14px;
    transition: transform 0.2s, color 0.2s;
}

.archives-nav-card__link:hover svg {
    color: var(--theme-color, #41B883);
    transform: translateX(3px);
}

/* ---------- 时间线区域 ---------- */
.archives-timeline-section {
    min-width: 0;
}

.archives-timeline {
    position: relative;
}

/* ---------- 年份组（卡片式） ---------- */
.archives-year-group {
    position: relative;
    padding: 26px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.archives-year-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-color, #41B883), #6dd5a0);
    border-radius: 14px 14px 0 0;
}

.archives-year-group:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--border-hover, #cbd5e1);
}

/* 年份标题 */
.archives-year {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--caption-color);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-secondary);
    scroll-margin-top: 20px;
}

.archives-year__num {
    background: linear-gradient(135deg, var(--theme-color, #41B883), #6dd5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 月份组 */
.archives-month-group {
    margin-bottom: 18px;
}

.archives-month-group:last-child {
    margin-bottom: 0;
}

.archives-month {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px;
    padding-left: 14px;
    position: relative;
}

.archives-month::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--theme-color, #41B883);
    opacity: 0.6;
}

.archives-month__num {
    color: var(--text-secondary);
}

/* 数量标签 */
.archives-count {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 2px 10px;
    border-radius: 10px;
    font-variant-numeric: tabular-nums;
}

.archives-count--sm {
    font-size: 11px;
    padding: 1px 8px;
}

/* ---------- 文章列表 ---------- */
.archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archives-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 12px;
    margin: 0 -12px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    border-bottom: 1px dashed var(--border-secondary);
}

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

.archives-item:hover {
    background-color: var(--bg-hover);
}

.archives-item__date {
    flex-shrink: 0;
    width: 48px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    padding-top: 1px;
}

.archives-item__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.archives-item__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary) !important;
    line-height: 1.5;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.archives-item__link:hover {
    color: var(--theme-color, #41B883) !important;
}

.archives-item__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
}

.archives-item__meta svg {
    width: 13px;
    height: 13px;
    margin-right: 3px;
    vertical-align: -2px;
}

.archives-item__views,
.archives-item__comments,
.archives-item__cats {
    display: inline-flex;
    align-items: center;
    font-variant-numeric: tabular-nums;
}

.archives-item__cats {
    flex-wrap: wrap;
    gap: 2px;
}

.archives-item__cat-sep {
    margin: 0 3px;
    opacity: 0.4;
}

.archives-item__excerpt {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 0;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- 空状态 ---------- */
.archives-empty {
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-card);
    border: 1px dashed var(--border-primary);
    border-radius: 14px;
}

.archives-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    font-size: 32px;
    color: var(--theme-color, #41B883);
    background: rgba(65, 184, 131, 0.1);
    border-radius: 50%;
}

.archives-empty__text {
    margin: 0;
    font-size: 15px;
    color: var(--text-secondary);
}

/* ---------- 底部寄语 ---------- */
.archives-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding: 24px 16px;
    text-align: center;
    justify-content: center;
}

.archives-footer__line {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-primary) 50%, transparent 100%);
}

.archives-footer__text {
    margin: 0;
    font-size: 14px;
    color: var(--text-tertiary, #64748b);
    font-style: italic;
    letter-spacing: 1px;
}

/* ============================================
   深色模式适配
   ============================================ */
html[data-theme="dark"] .archives-hero {
    background: linear-gradient(135deg, var(--bg-card, #2a2a2a) 0%, var(--bg-secondary, #222) 100%);
    border-color: var(--border-primary, #3a3a3a);
}

html[data-theme="dark"] .archives-hero__blob--1 {
    opacity: 0.25;
}

html[data-theme="dark"] .archives-hero__blob--2 {
    opacity: 0.18;
}

html[data-theme="dark"] .archives-hero__blob--3 {
    opacity: 0.15;
}

html[data-theme="dark"] .archives-hero__badge {
    background: rgba(65, 184, 131, 0.18);
}

html[data-theme="dark"] .archives-hero__title {
    color: var(--caption-color, #e8e8e8);
}

html[data-theme="dark"] .archives-hero__desc {
    color: var(--text-secondary, #b0b0b0);
}

html[data-theme="dark"] .archives-hero__stat-label {
    color: var(--text-tertiary, #888);
}

html[data-theme="dark"] .archives-content {
    background: var(--bg-card, #2a2a2a);
    border-color: var(--border-primary, #3a3a3a);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .archives-section__title {
    color: var(--caption-color, #e8e8e8);
}

html[data-theme="dark"] .archives-section__subtitle {
    color: var(--text-tertiary, #888);
}

html[data-theme="dark"] .archives-section__icon {
    background: rgba(65, 184, 131, 0.15);
    border-color: rgba(65, 184, 131, 0.25);
}

html[data-theme="dark"] .archives-stats-card {
    background: var(--bg-card, #2a2a2a);
    border-color: var(--border-primary, #3a3a3a);
}

html[data-theme="dark"] .archives-stats-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    border-color: var(--border-hover, #555);
}

html[data-theme="dark"] .archives-stats-card__title {
    color: var(--caption-color, #e8e8e8);
    border-bottom-color: var(--border-secondary, #3a3a3a);
}

html[data-theme="dark"] .archives-stats-card__item {
    background: var(--bg-secondary, #222);
}

html[data-theme="dark"] .archives-stats-card__label {
    color: var(--text-tertiary, #888);
}

html[data-theme="dark"] .archives-nav-card {
    background: var(--bg-card, #2a2a2a);
    border-color: var(--border-primary, #3a3a3a);
}

html[data-theme="dark"] .archives-nav-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    border-color: var(--border-hover, #555);
}

html[data-theme="dark"] .archives-nav-card__title {
    color: var(--caption-color, #e8e8e8);
    border-bottom-color: var(--border-secondary, #3a3a3a);
}

html[data-theme="dark"] .archives-nav-card__item {
    border-bottom-color: var(--border-secondary, #2a2a2a);
}

html[data-theme="dark"] .archives-nav-card__link {
    color: var(--text-secondary, #b0b0b0) !important;
}

html[data-theme="dark"] .archives-nav-card__link:hover {
    background: var(--bg-hover, #3a3a3a);
}

html[data-theme="dark"] .archives-nav-card__year {
    color: var(--text-primary, #e8e8e8);
}

html[data-theme="dark"] .archives-nav-card__link:hover .archives-nav-card__year {
    color: var(--theme-color, #41B883);
}

html[data-theme="dark"] .archives-nav-card__count {
    background: var(--bg-secondary, #333);
    color: var(--text-muted, #888);
}

html[data-theme="dark"] .archives-year-group {
    background: var(--bg-card, #2a2a2a);
    border-color: var(--border-primary, #3a3a3a);
}

html[data-theme="dark"] .archives-year-group:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--border-hover, #555);
}

html[data-theme="dark"] .archives-year {
    color: var(--caption-color, #e8e8e8);
    border-bottom-color: var(--border-secondary, #3a3a3a);
}

html[data-theme="dark"] .archives-month__num {
    color: var(--text-secondary, #b0b0b0);
}

html[data-theme="dark"] .archives-count {
    background: var(--bg-secondary, #333);
    color: var(--text-muted, #888);
}

html[data-theme="dark"] .archives-item {
    border-bottom-color: var(--border-secondary, #2a2a2a);
}

html[data-theme="dark"] .archives-item:hover {
    background-color: var(--bg-hover, #3a3a3a);
}

html[data-theme="dark"] .archives-item__date {
    color: var(--text-muted, #888);
}

html[data-theme="dark"] .archives-item__link {
    color: var(--text-primary, #e8e8e8) !important;
}

html[data-theme="dark"] .archives-item__meta {
    color: var(--text-muted, #888);
}

html[data-theme="dark"] .archives-item__excerpt {
    color: var(--text-muted, #888);
}

html[data-theme="dark"] .archives-empty {
    background: var(--bg-card, #2a2a2a);
    border-color: var(--border-primary, #3a3a3a);
}

html[data-theme="dark"] .archives-empty__text {
    color: var(--text-secondary, #b0b0b0);
}

html[data-theme="dark"] .archives-footer__text {
    color: var(--text-tertiary, #888);
}

html[data-theme="dark"] .archives-footer__line {
    background: linear-gradient(90deg, transparent 0%, var(--border-primary, #3a3a3a) 50%, transparent 100%);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 900px) {
    .archives-layout {
        grid-template-columns: 1fr;
    }

    .archives-side {
        order: 2;
    }

    .archives-timeline-section {
        order: 1;
    }

    .archives-nav-card {
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .archives-stats-card__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    /* 手机端：隐藏年度导航，统计概览提到时间线前面 */
    .archives-side {
        display: contents;
    }

    .archives-stats-card {
        order: 0;
    }

    .archives-nav-card {
        display: none;
    }

    .archives-timeline-section {
        order: 1;
    }

    .archives-hero {
        padding: 40px 24px 50px;
        border-radius: 12px;
    }

    .archives-hero__title {
        font-size: 28px;
    }

    .archives-hero__desc {
        font-size: 15px;
    }

    .archives-hero__stats {
        gap: 30px;
    }

    .archives-hero__stat-num {
        font-size: 24px;
    }

    .archives-section__header {
        gap: 10px;
        margin-bottom: 18px;
    }

    .archives-section__title {
        font-size: 19px;
    }

    .archives-section__icon {
        width: 40px;
        height: 40px;
    }

    .archives-section__icon svg {
        width: 18px;
        height: 18px;
    }

    .archives-content {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .archives-stats-card,
    .archives-nav-card {
        padding: 22px 20px;
        border-radius: 12px;
    }

    .archives-stats-card__grid {
        gap: 12px;
    }

    .archives-stats-card__value {
        font-size: 18px;
    }

    .archives-year-group {
        padding: 22px 20px;
        border-radius: 12px;
    }

    .archives-year {
        font-size: 19px;
        margin-bottom: 16px;
    }

    .archives-item {
        flex-direction: column;
        gap: 4px;
        padding: 10px 10px;
        margin: 0 -10px;
    }

    .archives-item__date {
        width: auto;
        font-size: 12px;
        padding-top: 0;
    }

    .archives-item__link {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .archives-item__meta {
        gap: 10px;
    }

    .archives-empty {
        padding: 48px 16px;
    }

    .archives-empty__icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .archives-footer {
        padding: 16px 12px;
        margin-top: 32px;
    }
}

@media (max-width: 480px) {
    .archives-hero {
        padding: 32px 20px 40px;
    }

    .archives-hero__title {
        font-size: 24px;
    }

    .archives-hero__stats {
        gap: 24px;
    }

    .archives-hero__blob--1 {
        width: 200px;
        height: 200px;
    }

    .archives-hero__blob--2 {
        width: 150px;
        height: 150px;
    }

    .archives-stats-card__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archives-year-group {
        padding: 18px 16px;
    }

    .archives-year {
        font-size: 18px;
    }

    .archives-month {
        font-size: 14px;
    }

    .archives-item__link {
        font-size: 13px;
    }
}
