/* ============================================
   Swiss Brutalist Design System
   瑞士极简粗野主义风格
   ============================================ */

/* --- 字体栈（离线可用） ---
   优先级：
   1. Noto Sans SC / Noto Serif SC（如果系统或浏览器已自装就会命中）
   2. PingFang SC（macOS/iOS）→ Hiragino Sans GB → 微软雅黑（Windows）→ 思源黑体（开源）
   3. 系统默认 sans-serif
   不再用 Google Fonts 境外 CDN（@import 已移除），在 <head> 中可通过国内镜像按需加载
*/

/* --- CSS Variables --- */
:root {
    /* 配色 */
    --swiss-bg: #f2f2f2;
    --swiss-text: #111111;
    --swiss-text-muted: #838282;
    --swiss-text-secondary: #b6b5b5;
    --swiss-gray-1: #bfbfbf;
    --swiss-gray-2: #c9c9c9;
    --swiss-gray-3: #d1d1d1;
    --swiss-gray-4: #d9d9d9;
    --swiss-border: rgba(30, 30, 30, 0.08);
    --swiss-border-bold: #1e1e1e;
    --swiss-dark: #1e1e1e;
    --swiss-dark-text: #f6f6f6;

    /* 字体栈 */
    /* 字体 — 完整离线中文字体栈（去掉 Google Fonts 依赖后仍保持效果） */
    --font-display: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB',
                    'Microsoft YaHei', 'Source Han Sans SC', 'HarmonyOS Sans SC',
                    -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-serif:   'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun',
                    'Source Han Serif SC', Georgia, 'Times New Roman', serif;

    /* 尺寸 */
    --nav-height: 80px;
    --max-width: 1400px;
    --section-gap: 120px;

    /* 过渡 */
    --ease-smooth: cubic-bezier(0.77, 0, 0.175, 1);
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: var(--swiss-text);
    background-color: var(--swiss-bg);
    min-height: 100vh;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.12s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   NAVIGATION - 粘性导航头
   ============================================ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--swiss-text);
    z-index: 9999;
    transition: width 0.3s ease;
}

#page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(242, 242, 242, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--swiss-border);
}

#nav {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#blog-info a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.site-name {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--swiss-text);
}

#menus {
    display: flex;
    align-items: center;
    gap: 48px;
}

.menus_items {
    display: flex;
    gap: 32px;
}

.site-page {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--swiss-text);
    transition: color 0.12s ease;
    position: relative;
}

.site-page:hover {
    color: var(--swiss-text-secondary);
}

.site-page.active {
    color: var(--swiss-text-secondary);
}

.site-page.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--swiss-text);
}

#toggle-menu {
    display: none;
}

/* ============================================
   HERO - 回声叠层效果
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 回声叠层核心组件 */
.echo-stack {
    position: relative;
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(80px, 14vw, 220px);
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: var(--swiss-text);
}

.echo-stack .echo-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    white-space: nowrap;
}

.echo-stack .echo-layer.layer-1 {
    color: var(--swiss-gray-1);
    transform: translate(calc(-50% - 0.04em), calc(-50% - 0.04em));
}
.echo-stack .echo-layer.layer-2 {
    color: var(--swiss-gray-2);
    transform: translate(calc(-50% - 0.08em), calc(-50% - 0.08em));
}
.echo-stack .echo-layer.layer-3 {
    color: var(--swiss-gray-3);
    transform: translate(calc(-50% - 0.12em), calc(-50% - 0.12em));
}
.echo-stack .echo-layer.layer-4 {
    color: var(--swiss-gray-4);
    transform: translate(calc(-50% - 0.16em), calc(-50% - 0.16em));
}

.echo-stack .echo-foreground {
    position: relative;
    z-index: 5;
}

.hero-subtitle {
    margin-top: 40px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(16px, 2vw, 22px);
    color: var(--swiss-text-muted);
    font-weight: 400;
}

.hero-subtitle .keyword {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--swiss-text);
}

.hero-meta {
    margin-top: 60px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--swiss-text-secondary);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--swiss-text-muted);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ============================================
   SECTION - 区块通用样式
   ============================================ */
.page-content {
    padding-bottom: 80px;
}

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section-divider {
    width: 1px;
    height: 80px;
    background: var(--swiss-border-bold);
    opacity: 0.1;
    margin: 0 auto 60px;
}

.section-quote {
    text-align: center;
    margin-bottom: 80px;
}

.section-quote p {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--swiss-text);
}

.section-quote .serif-accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* 三栏信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: var(--section-gap);
}

.info-block h3 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--swiss-text);
}

.info-block p {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    color: var(--swiss-text-muted);
}

/* ============================================
   ASYMMETRICAL GRID - 不对称展示网格
   ============================================ */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-bottom: var(--section-gap);
}

.showcase-card {
    overflow: hidden;
    position: relative;
    background: var(--swiss-gray-4);
    cursor: pointer;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.showcase-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.showcase-card.large-rect {
    grid-column: span 8;
    border-radius: 8px;
    aspect-ratio: 16/10;
}

.showcase-card.pill {
    grid-column: span 4;
    border-radius: 9999px;
    aspect-ratio: 3/5;
    height: 500px;
}

.showcase-card.circular {
    grid-column: span 5;
    border-radius: 50%;
    aspect-ratio: 1;
}

.showcase-card.wide-rect {
    grid-column: span 7;
    border-radius: 8px;
    aspect-ratio: 16/7;
}

/* Pill卡悬停覆盖层 */
.showcase-card.pill .hover-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    border: 1px solid var(--swiss-border-bold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    pointer-events: none;
}

.showcase-card.pill:hover .hover-overlay {
    opacity: 1;
}

.showcase-card.pill .hover-overlay span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--swiss-border-bold);
}

.showcase-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ============================================
   ARTICLE LIST - 文章列表
   ============================================ */
.posts-section {
    padding: 0 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.posts-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.posts-header h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.03em;
    line-height: 1;
}

.posts-header .count {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 14px;
    color: var(--swiss-text-muted);
    letter-spacing: 0.1em;
}

/* 单列文章项 - 瑞士极简风格 */
.post-item {
    display: flex;
    gap: 40px;
    padding: 32px 0;
    border-bottom: 1px solid var(--swiss-border);
    transition: background 0.3s ease;
}

.post-item:hover {
    background: rgba(0,0,0,0.02);
}

.post-item:hover {
    padding-left: 16px;
    padding-right: 16px;
    margin-left: -16px;
    margin-right: -16px;
}

.post-item-meta {
    flex-shrink: 0;
    width: 120px;
}

/* 单列模式：文章编辑设置的封面缩略图（与多列卡片一致的灰度/悬停变彩风格） */
.post-item-thumb {
    flex-shrink: 0;
    width: 180px;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 8px;
    background: var(--swiss-gray-4);
}

.post-item-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.post-item:hover .post-item-thumb img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* 小屏下降级缩略图尺寸，或在移动端隐藏缩略图以提升阅读密度 */
@media (max-width: 768px) {
    .post-item {
        gap: 16px;
        padding: 20px 0;
        flex-wrap: wrap;
    }
    .post-item-meta {
        width: 100%;
    }
    .post-item-thumb {
        width: 120px;
    }
}
@media (max-width: 480px) {
    .post-item-thumb {
        width: 96px;
    }
}

.post-date {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.01em;
    color: var(--swiss-text);
}

.post-category-tag {
    display: inline-block;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--swiss-text-muted);
}

.post-item-body {
    flex: 1;
    min-width: 0;
}

.post-item-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(18px, 2.5vw, 28px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--swiss-text);
    transition: color 0.12s ease;
}

.post-item-title:hover {
    color: var(--swiss-text-muted);
}

.post-item-excerpt {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    color: var(--swiss-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-item-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--swiss-text);
    border-bottom: 1px solid var(--swiss-text);
    padding-bottom: 2px;
    transition: color 0.12s ease, border-color 0.12s ease;
}

.post-item-link:hover {
    color: var(--swiss-text-muted);
    border-color: var(--swiss-text-muted);
}

/* 多列网格 */
.post-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 1), 1fr);
    gap: 32px;
}

.post-grid[data-columns="2"] { --cols: 2; }
.post-grid[data-columns="3"] { --cols: 3; }
.post-grid[data-columns="4"] { --cols: 4; }
.post-grid[data-columns="5"] { --cols: 5; }

.post-card {
    border: 1px solid var(--swiss-border);
    background: var(--swiss-bg);
    transition: all 0.4s var(--ease-smooth);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.post-card-cover {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: var(--swiss-gray-4);
}

.post-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.post-card:hover .post-card-cover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.post-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
}

.post-card-category a {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    background: var(--swiss-text);
    padding: 6px 12px;
}

.post-card-content {
    padding: 24px;
}

.post-card-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.post-card-title a {
    color: var(--swiss-text);
}

.post-card-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: var(--swiss-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--swiss-text-secondary);
    letter-spacing: 0.05em;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 80px;
    padding: 40px 0;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--swiss-text);
    border: 1px solid var(--swiss-border);
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: var(--swiss-text);
    color: var(--swiss-bg);
}

.pagination .current {
    background: var(--swiss-text);
    color: var(--swiss-bg);
}

.pagination .extend {
    padding: 0 20px;
}

/* ============================================
   ARTICLE DETAIL - 文章详情页
   ============================================ */
.article-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.breadcrumb {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--swiss-text-muted);
    margin-bottom: 48px;
}

.breadcrumb a {
    color: var(--swiss-text);
    transition: color 0.12s ease;
}

.breadcrumb a:hover {
    color: var(--swiss-text-muted);
}

.breadcrumb span {
    margin: 0 12px;
    color: var(--swiss-text-secondary);
}

.post-header {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--swiss-border);
}

.post-header h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--swiss-text);
    margin-bottom: 32px;
}

.post-header .meta {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--swiss-text-muted);
}

.post-header .meta a {
    color: var(--swiss-text);
}

.post-header .meta .author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-header .meta img.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Markdown 文章正文 - 瑞士风格 */
.post-content {
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.85;
    color: var(--swiss-text);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
    color: var(--swiss-text);
}

.post-content h1 { font-size: 2em; }
.post-content h2 { font-size: 1.5em; border-bottom: 2px solid var(--swiss-text); padding-bottom: 0.4em; display: inline-block; }
.post-content h3 { font-size: 1.25em; }
.post-content h4 { font-size: 1.1em; }

.post-content p {
    margin-bottom: 1.5em;
}

.post-content a {
    color: var(--swiss-text);
    border-bottom: 1px solid var(--swiss-text);
    transition: all 0.12s ease;
}

.post-content a:hover {
    color: var(--swiss-text-muted);
    border-color: var(--swiss-text-muted);
}

.post-content strong {
    font-weight: 900;
}

.post-content em {
    font-family: var(--font-serif);
    font-style: italic;
}

.post-content del {
    text-decoration: line-through;
    color: var(--swiss-text-muted);
}

.post-content blockquote {
    margin: 2em 0;
    padding: 1em 1.5em;
    border-left: 4px solid var(--swiss-text);
    background: var(--swiss-gray-4);
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--swiss-text-muted);
}

.post-content blockquote p {
    margin-bottom: 0;
}

.post-content ul,
.post-content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li {
    margin-bottom: 0.5em;
}

.post-content code {
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    font-size: 0.9em;
    background: var(--swiss-gray-4);
    padding: 0.15em 0.4em;
    border-radius: 3px;
    color: var(--swiss-text);
}

.post-content pre {
    margin: 2em 0;
    padding: 1.5em;
    background: var(--swiss-text);
    border-radius: 4px;
    overflow-x: auto;
}

.post-content pre code {
    background: transparent;
    color: var(--swiss-bg);
    padding: 0;
    font-size: 13px;
    line-height: 1.7;
}

.post-content hr {
    border: none;
    height: 1px;
    background: var(--swiss-border);
    margin: 3em 0;
}

.post-content img {
    margin: 2em auto;
    border-radius: 4px;
    filter: grayscale(20%);
    transition: filter 0.6s var(--ease-smooth);
}

.post-content img:hover {
    filter: grayscale(0%);
}

/* 表格 */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 14px;
}

.post-content th {
    text-align: left;
    font-weight: 700;
    background: var(--swiss-gray-4);
    padding: 12px 16px;
    border: 1px solid var(--swiss-border);
}

.post-content td {
    padding: 12px 16px;
    border: 1px solid var(--swiss-border);
}

/* 文章底栏 */
.post-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--swiss-border);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.post-tags a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid var(--swiss-border);
    border-bottom: none;
    transition: all 0.2s ease;
}

.post-tags a:hover {
    background: var(--swiss-text);
    color: var(--swiss-bg);
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    font-size: 13px;
}

.post-nav span a {
    display: block;
    padding: 20px;
    border: 1px solid var(--swiss-border);
    font-weight: 600;
    border-bottom: 1px solid var(--swiss-border);
}

.post-nav span:first-child a {
    text-align: left;
}

.post-nav span:last-child a {
    text-align: right;
}

.post-nav span a:hover {
    background: var(--swiss-text);
    color: var(--swiss-bg);
    border-color: var(--swiss-text);
}

/* ============================================
   CATEGORY / TAG 页面
   ============================================ */
.page-hero {
    padding: calc(var(--nav-height) + 80px) 40px 60px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.page-hero .label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--swiss-text-muted);
    margin-bottom: 16px;
    display: block;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(40px, 6vw, 80px);
    line-height: 1;
    letter-spacing: -0.03em;
}

/* 归档列表 */
.archive-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.archive-year {
    margin-bottom: 60px;
}

.archive-year h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 64px;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--swiss-gray-1);
    margin-bottom: 24px;
}

.archive-year ul {
    list-style: none;
}

.archive-year li {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--swiss-border);
}

.archive-year .date {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--swiss-text-muted);
    padding-top: 4px;
}

.archive-year a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--swiss-text);
    transition: color 0.12s ease;
}

.archive-year a:hover {
    color: var(--swiss-text-muted);
}

/* ============================================
   SIDEBAR / TAGS / CATEGORIES
   ============================================ */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.tag-cloud a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 1px solid var(--swiss-border-bold);
    transition: all 0.2s ease;
}

.tag-cloud a:hover {
    background: var(--swiss-text);
    color: var(--swiss-bg);
}

.category-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid var(--swiss-border);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.category-list li a:hover {
    border-color: var(--swiss-text);
}

.category-count {
    font-size: 11px;
    font-weight: 400;
    color: var(--swiss-text-muted);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 120px 40px;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 48px;
    letter-spacing: -0.03em;
    color: var(--swiss-gray-1);
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 14px;
    color: var(--swiss-text-muted);
}

/* ============================================
   FOOTER - 深色主题
   ============================================ */
#footer {
    background: var(--swiss-dark);
    color: var(--swiss-dark-text);
    margin-top: 80px;
    border-top: 1px solid rgba(246, 246, 246, 0.05);
}

#footer-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 40px 40px;
}

#ft {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

.ft-t {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(246, 246, 246, 0.4);
    margin-bottom: 24px;
}

.bg-ad {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(246, 246, 246, 0.6);
}

.ft-links {
    list-style: none;
}

.ft-links li {
    margin-bottom: 12px;
}

.ft-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(246, 246, 246, 0.6);
    transition: color 0.12s ease;
}

.ft-links a:hover {
    color: rgba(246, 246, 246, 1);
}

.footer-bottom {
    border-top: 1px solid rgba(246, 246, 246, 0.05);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(246, 246, 246, 0.4);
}

.footer-bottom a {
    color: rgba(246, 246, 246, 0.8);
    transition: color 0.12s ease;
}

.footer-bottom a:hover {
    color: var(--swiss-dark-text);
}

.back-to-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 48px;
    height: 48px;
    background: var(--swiss-text);
    color: var(--swiss-bg);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-smooth);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--swiss-dark);
}

/* --- 归档列表 - 瑞士风格 --- */
.archive-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.archive-year {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(48px, 6vw, 96px);
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--swiss-gray-1);
    margin: 80px 0 32px;
}

.archive-year:first-child {
    margin-top: 40px;
}

.archive-month {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--swiss-text-muted);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--swiss-border);
}

.archive-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--swiss-border);
    transition: padding 0.2s ease;
}

.archive-item:hover {
    padding-left: 12px;
    padding-right: 12px;
    margin-left: -12px;
    margin-right: -12px;
    background: rgba(0,0,0,0.02);
}

.archive-item a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--swiss-text);
    transition: color 0.12s ease;
}

.archive-item:hover a {
    color: var(--swiss-text-muted);
}

.archive-item span {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--swiss-text-secondary);
    font-family: var(--font-display);
}

/* --- 分类/标签列表项 - 瑞士风格网格卡片 --- */
.category-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border: 1px solid var(--swiss-border);
    background: transparent;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--swiss-text);
    transition: all 0.25s var(--ease-smooth);
}

.category-item:hover {
    background: var(--swiss-text);
    color: var(--swiss-bg);
    border-color: var(--swiss-text);
    transform: translateY(-2px);
}

.category-item:hover .category-count {
    color: var(--swiss-bg);
    opacity: 0.7;
}

.category-count {
    font-size: 12px;
    font-weight: 400;
    color: var(--swiss-text-muted);
    letter-spacing: 0.02em;
    transition: color 0.12s ease;
}

/* --- 关于页面 - 作者卡片 --- */
.authors-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px 60px;
}

.authors-section h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    display: inline-block;
    border-bottom: 2px solid var(--swiss-text);
    padding-bottom: 0.3em;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--swiss-border);
    transition: all 0.25s var(--ease-smooth);
}

.author-card:hover {
    border-color: var(--swiss-text);
    transform: translateY(-2px);
}

.author-avatar-lg,
.author-avatar-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-avatar-placeholder {
    background: var(--swiss-gray-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 28px;
    color: var(--swiss-bg);
}

.author-card-info h3 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.author-card-info p {
    font-size: 13px;
    color: var(--swiss-text-muted);
}

/* --- 关于页面中的正文内容 --- */
main.page-content > .post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

/* ============================================
   RESPONSIVE - 响应式
   ============================================ */
@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .showcase-card.large-rect { grid-column: span 6; }
    .showcase-card.pill { grid-column: span 3; height: 350px; }
    .showcase-card.circular { grid-column: span 3; }
    .showcase-card.wide-rect { grid-column: span 6; }
    
    .post-grid[data-columns="4"],
    .post-grid[data-columns="5"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #nav { padding: 0 20px; }
    
    .menus_items { display: none; }
    #toggle-menu { display: block; }
    
    .hero { padding: calc(var(--nav-height) + 40px) 20px 60px; }
    
    .section { padding: 0 20px; }
    .posts-section { padding: 0 20px; }
    .article-wrap { padding: 40px 20px 60px; }
    .page-hero { padding: calc(var(--nav-height) + 40px) 20px 40px; }
    
    .info-grid { grid-template-columns: 1fr; }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    .showcase-card.large-rect,
    .showcase-card.pill,
    .showcase-card.circular,
    .showcase-card.wide-rect {
        grid-column: span 1;
        border-radius: 8px;
        aspect-ratio: 16/10;
        height: auto;
    }
    .showcase-card.pill .hover-overlay { display: none; }
    .showcase-card.circular { aspect-ratio: 16/10; border-radius: 8px; }
    
    .post-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .post-grid,
    .post-grid[data-columns="2"],
    .post-grid[data-columns="3"],
    .post-grid[data-columns="4"],
    .post-grid[data-columns="5"] {
        grid-template-columns: 1fr;
    }
    
    #ft {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .post-nav {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .back-to-top { right: 20px; bottom: 20px; }
}

@media (max-width: 480px) {
    #ft { grid-template-columns: 1fr; }
    .showcase-grid { gap: 16px; }
}
