/*
Theme Name: RunnerGo 技术博客
Theme URI: https://www.runnergo.com
Author: RunnerGo Team
Description: RunnerGo 全栈测试平台官方博客主题
Version: 1.0
*/

:root {
    --color-primary: #4052ec;
    --color-primary-light: #7a88ff;
    --color-secondary: #10b981;
    --color-darkgrey: #15171A;
    --color-border: #e1e1e1;
    --color-wash: #f7f9fd;
    --color-pinned: #ff6b6b;
    --color-tag-api: #3b82f6;
    --color-tag-perf: #f59e0b;
    --color-tag-auto: #10b981;
    --color-tag-ui: #8b5cf6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    color: var(--color-darkgrey);
    line-height: 1.6;
}

a { color: var(--color-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--color-primary-light); }

/* Blog Header */
.blog-header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(64,82,236,0.08);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.blog-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.blog-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-title-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-logo {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-name {
    font-size: 14px;
    color: #666;
    padding-left: 10px;
    border-left: 1px solid rgba(64,82,236,0.2);
}

.blog-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-toggle-btn {
    background: var(--color-wash);
    border: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.search-toggle-btn:hover {
    background: var(--color-primary);
}

.search-toggle-btn:hover .search-icon {
    stroke: #fff;
}

.search-toggle-btn .search-icon {
    width: 20px;
    height: 20px;
    stroke: #666;
    transition: stroke 0.3s;
}

.blog-nav {
    display: flex;
    gap: 24px;
}

.blog-nav a {
    color: #555;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
}

.blog-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transition: width 0.3s;
}

.blog-nav a:hover { color: var(--color-primary); }
.blog-nav a:hover::after { width: 100%; }

/* Search Modal */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
}

.search-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.search-modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.search-modal-close svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.search-modal-form {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.search-modal-input {
    flex: 1;
    border: none;
    padding: 20px 24px;
    font-size: 18px;
    outline: none;
    background: transparent;
}

.search-modal-input::placeholder {
    color: #aaa;
}

.search-modal-submit {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border: none;
    padding: 0 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-modal-submit:hover {
    opacity: 0.9;
}

.search-modal-submit svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.search-modal-tips {
    margin-top: 20px;
    text-align: center;
}

.search-modal-tips p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 12px;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.search-tags a {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.search-tags a:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Search Page */
.search-section {
    margin-bottom: 40px;
}

.search-page-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-form-wrapper-large {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--color-border);
    transition: border-color 0.3s;
}

.search-form-wrapper-large:focus-within {
    border-color: var(--color-primary);
}

.search-input-large {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    outline: none;
}

.search-submit-large {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border: none;
    padding: 0 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.search-submit-large:hover {
    opacity: 0.9;
}

.search-icon-large {
    width: 20px;
    height: 20px;
}

.search-results-info {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.search-results-info strong {
    color: var(--color-primary);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--color-wash);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-results-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-primary);
}

.no-results-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--color-darkgrey);
}

.no-results-text {
    color: #666;
    margin-bottom: 24px;
}

.no-results-suggestions {
    font-weight: 500;
    margin-bottom: 12px;
}

.no-results-list {
    list-style: none;
    color: #888;
    margin-bottom: 30px;
}

.no-results-list li {
    padding: 4px 0;
}

.no-results-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.no-results-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(64,82,236,0.3);
    color: #fff;
}

@media (max-width: 768px) {
    .blog-header-right {
        gap: 12px;
    }
    .blog-nav {
        gap: 12px;
    }
    .blog-nav a {
        font-size: 13px;
    }
    .search-toggle-btn {
        width: 36px;
        height: 36px;
    }
    .search-modal-content {
        width: 95%;
    }
    .search-modal-input {
        font-size: 16px;
        padding: 16px 20px;
    }
}

/* Blog Header Right */
.blog-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-toggle-btn {
    background: var(--color-wash);
    border: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.search-toggle-btn:hover {
    background: var(--color-primary);
}

.search-toggle-btn:hover .search-icon {
    stroke: #fff;
}

.search-toggle-btn .search-icon {
    width: 20px;
    height: 20px;
    stroke: #666;
    transition: stroke 0.3s;
}

/* Search Modal */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
}

.search-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.search-modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.search-modal-close svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.search-modal-form {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.search-modal-input {
    flex: 1;
    border: none;
    padding: 20px 24px;
    font-size: 18px;
    outline: none;
    background: transparent;
}

.search-modal-input::placeholder {
    color: #aaa;
}

.search-modal-submit {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border: none;
    padding: 0 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-modal-submit:hover {
    opacity: 0.9;
}

.search-modal-submit svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.search-modal-tips {
    margin-top: 20px;
    text-align: center;
}

.search-modal-tips p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 12px;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.search-tags a {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.search-tags a:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Search Page */
.search-section {
    margin-bottom: 40px;
}

.search-page-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-form-wrapper-large {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--color-border);
    transition: border-color 0.3s;
}

.search-form-wrapper-large:focus-within {
    border-color: var(--color-primary);
}

.search-input-large {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    outline: none;
}

.search-submit-large {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border: none;
    padding: 0 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.search-submit-large:hover {
    opacity: 0.9;
}

.search-icon-large {
    width: 20px;
    height: 20px;
}

.search-results-info {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.search-results-info strong {
    color: var(--color-primary);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--color-wash);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-results-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-primary);
}

.no-results-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--color-darkgrey);
}

.no-results-text {
    color: #666;
    margin-bottom: 24px;
}

.no-results-suggestions {
    font-weight: 500;
    margin-bottom: 12px;
}

.no-results-list {
    list-style: none;
    color: #888;
    margin-bottom: 30px;
}

.no-results-list li {
    padding: 4px 0;
}

.no-results-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.no-results-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(64,82,236,0.3);
    color: #fff;
}

@media (max-width: 768px) {
    .blog-header-right {
        gap: 12px;
    }
    .blog-nav {
        gap: 12px;
    }
    .blog-nav a {
        font-size: 13px;
    }
    .search-toggle-btn {
        width: 36px;
        height: 36px;
    }
    .search-modal-content {
        width: 95%;
    }
    .search-modal-input {
        font-size: 16px;
        padding: 16px 20px;
    }
}

/* Hero */
.site-hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 代码雨背景效果 */
.site-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(64,82,236,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(16,185,129,0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

/* 动态网格背景 */
.site-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(64,82,236,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64,82,236,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content { max-width: 680px; margin: 0 auto; position: relative; z-index: 10; }

.site-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
    animation: slideUp 0.6s ease-out;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.site-title .title-brand {
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: brandGlow 3s ease-in-out infinite;
}

.site-title .title-brand::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
    animation: lineScan 2s ease-in-out infinite;
}

.site-title .title-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: dividerPulse 2s ease-in-out infinite;
}

.site-title .title-text {
    color: #10b981;
    position: relative;
}

.site-title .title-text::before {
    content: "{";
    color: rgba(255,255,255,0.3);
    margin-right: 8px;
    animation: bracketBlink 1.5s ease-in-out infinite;
}

.site-title .title-text::after {
    content: "}";
    color: rgba(255,255,255,0.3);
    margin-left: 8px;
    animation: bracketBlink 1.5s ease-in-out infinite 0.2s;
}

@keyframes brandGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(165,180,252,0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(165,180,252,0.6)); }
}

@keyframes lineScan {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

@keyframes dividerPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 0.8; height: 48px; }
}

@keyframes bracketBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Hero装饰元素 */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 5;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(64,82,236,0.2);
    animation: circleRotate 20s linear infinite;
}

.deco-circle-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
    border-color: rgba(64,82,236,0.15);
    border-width: 2px;
}

.deco-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -80px;
    border-color: rgba(16,185,129,0.15);
    border-width: 2px;
    animation-direction: reverse;
    animation-duration: 15s;
}

.deco-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 5%;
    border-color: rgba(139,92,246,0.12);
    border-width: 1px;
    animation-duration: 25s;
}

@keyframes circleRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.deco-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(64,82,236,0.4), transparent);
    animation: lineFade 3s ease-in-out infinite;
}

.deco-line-1 {
    width: 200px;
    top: 25%;
    right: 10%;
    transform: rotate(-30deg);
}

.deco-line-2 {
    width: 150px;
    bottom: 35%;
    left: 15%;
    transform: rotate(45deg);
    animation-delay: 1s;
    background: linear-gradient(90deg, transparent, rgba(16,185,129,0.4), transparent);
}

.deco-line-3 {
    width: 120px;
    top: 65%;
    right: 20%;
    transform: rotate(-15deg);
    animation-delay: 2s;
}

@keyframes lineFade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.deco-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.deco-dot-1 {
    top: 20%;
    left: 20%;
    background: rgba(64,82,236,0.6);
}

.deco-dot-2 {
    top: 75%;
    right: 15%;
    background: rgba(16,185,129,0.6);
    animation-delay: 0.5s;
}

.deco-dot-3 {
    bottom: 20%;
    left: 10%;
    background: rgba(245,158,11,0.5);
    animation-delay: 1s;
}

.deco-dot-4 {
    top: 35%;
    right: 5%;
    background: rgba(139,92,246,0.5);
    animation-delay: 1.5s;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(2); opacity: 1; }
}

.site-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    animation: slideUp 0.6s ease-out 0.1s both;
}

.site-intro {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.9;
    max-width: 560px;
    margin: 0 auto;
    animation: slideUp 0.6s ease-out 0.2s both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Posts Container */
.posts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Pinned Section */
.pinned-section {
    margin-bottom: 50px;
}

.pinned-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-pinned);
    margin-bottom: 20px;
    font-weight: 600;
}

.pinned-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--color-pinned), #ff8787);
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* 置顶文章卡片 - 左右布局 */
.pinned-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255,107,107,0.2);
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(255,107,107,0.08);
    animation: fadeInUp 0.5s ease-out;
}

.pinned-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255,107,107,0.15);
    border-color: rgba(255,107,107,0.4);
}

.pinned-card-left {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.pinned-card-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pinned-card:hover .pinned-card-left img {
    transform: scale(1.05);
}

.pinned-card-right {
    flex: 1;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #fffbfb 100%);
}

.pinned-card-right .post-tags {
    margin-bottom: 16px;
}

.pinned-card-right .post-title {
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.pinned-card-right .post-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.pinned-card-right .post-meta {
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.pinned-read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--color-pinned), #ff8787);
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.pinned-read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,107,0.4);
    color: #fff;
}

@media (max-width: 768px) {
    .pinned-card {
        flex-direction: column;
    }
    .pinned-card-left {
        flex: none;
        height: 200px;
        min-height: auto;
    }
    .pinned-card-right {
        padding: 24px;
    }
    .pinned-card-right .post-title {
        font-size: 20px;
    }
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 900px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }

/* Post Card */
.post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    animation: fadeInUp 0.5s ease-out both;
}

/* 测试状态条 */
.post-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--color-primary) 0%,
        var(--color-primary-light) 30%,
        var(--color-secondary) 70%,
        #f59e0b 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.post-card:hover::before {
    opacity: 1;
    animation: progressSlide 1s ease-in-out infinite;
}

@keyframes progressSlide {
    0% { background-position: 200% 0; }
    100% { background-position: 0 0; }
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 25px 50px rgba(64,82,236,0.15),
        0 0 0 1px rgba(64,82,236,0.1);
    border-color: rgba(64,82,236,0.2);
}

/* 文章卡片右下角测试状态 */
.post-card::after {
    content: "";
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16,185,129,0.4);
    animation: testStatusPulse 2s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.post-card:hover::after {
    opacity: 1;
}

@keyframes testStatusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* Post Cover Image */
.post-cover {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-wash), #e8edff);
}

.post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-cover img {
    transform: scale(1.08);
}

.post-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(64,82,236,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.post-card:hover .post-cover-overlay {
    opacity: 1;
}

.post-cover-text {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.post-card:hover .post-cover-text {
    opacity: 1;
    transform: translateY(0);
}

/* Post Content */
.post-content { padding: 24px; }

/* Post Tags */
.post-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.post-tag {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.post-tag.api { background: rgba(59,130,246,0.1); color: var(--color-tag-api); }
.post-tag.perf { background: rgba(245,158,11,0.1); color: var(--color-tag-perf); }
.post-tag.auto { background: rgba(16,185,129,0.1); color: var(--color-tag-auto); }
.post-tag.ui { background: rgba(139,92,246,0.1); color: var(--color-tag-ui); }
.post-tag.runnergo { background: rgba(64,82,236,0.1); color: var(--color-primary); }
.post-tag.devops { background: rgba(236,72,153,0.1); color: #ec4899; }

/* Post Title */
.post-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
    color: var(--color-darkgrey);
}

.post-title a {
    color: inherit;
    transition: color 0.3s;
    display: block;
}

.post-title a:hover { color: var(--color-primary); }

/* Post Excerpt */
.post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #888;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta-icon {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 悬浮粒子效果 */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(64,82,236,0.5);
    border-radius: 50%;
    animation: floatUp 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(64,82,236,0.3);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 9s; background: rgba(16,185,129,0.5); box-shadow: 0 0 10px rgba(16,185,129,0.3); }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 6s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; animation-duration: 8s; background: rgba(245,158,11,0.5); box-shadow: 0 0 10px rgba(245,158,11,0.3); }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; animation-duration: 7s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 10s; background: rgba(16,185,129,0.5); box-shadow: 0 0 10px rgba(16,185,129,0.3); }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; animation-duration: 8s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; animation-duration: 6s; background: rgba(139,92,246,0.5); box-shadow: 0 0 10px rgba(139,92,246,0.3); }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; animation-duration: 9s; }

@keyframes floatUp {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-20px) rotate(720deg); opacity: 0; }
}

/* 测试进度条动画增强 */
.test-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg,
        var(--color-primary) 0%,
        var(--color-secondary) 50%,
        #f59e0b 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.post-card:hover .test-progress-bar {
    transform: scaleX(1);
    animation: progressLoading 1.5s ease-in-out infinite;
}

@keyframes progressLoading {
    0% { transform: scaleX(0); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
    50.01% { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

/* 交互式标签闪烁 */
.post-tag {
    transition: all 0.3s ease;
}

.post-card:hover .post-tag {
    animation: tagGlow 0.5s ease-in-out;
}

.post-card:hover .post-tag.runnergo {
    background: rgba(64,82,236,0.2);
    transform: scale(1.05);
}

@keyframes tagGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 雷达扫描效果 */
.radar-scan {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(16,185,129,0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.radar-scan::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(16,185,129,0.8));
    transform-origin: left center;
    animation: radarSpin 2s linear infinite;
}

.radar-scan::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: radarPulse 1s ease-in-out infinite;
}

.post-card:hover .radar-scan {
    opacity: 1;
}

@keyframes radarSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes radarPulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.6); }
}

/* Pagination */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.nav-links a, .nav-links span {
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a {
    background: #fff;
    color: #666;
    border: 1px solid var(--color-border);
}

.nav-links a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64,82,236,0.25);
}

.nav-links .current {
    background: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.nav-links .dots {
    color: #888;
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    padding: 60px 20px;
    text-align: center;
}

.footer-cta h3 {
    font-size: 26px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1a1a2e 100%);
    padding: 80px 20px 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), #f59e0b);
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: rgba(255,255,255,0.6);
}

.footer-social a:hover svg {
    fill: #fff;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 600;
    position: relative;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--color-primary);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
    transition: all 0.3s;
}

.footer-col a:hover {
    color: var(--color-primary-light);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-powered {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .footer-main { flex-direction: column; gap: 40px; }
    .footer-links { gap: 30px; }
    .footer-brand { max-width: 100%; }
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(64,82,236,0.45);
    transition: all 0.3s;
    z-index: 999;
    font-size: 20px;
    border: none;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 35px rgba(64,82,236,0.5);
}

.scroll-to-top.visible { display: flex; }

/* Single Post */
/* 阅读进度条 */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    z-index: 9999;
    width: 0;
    transition: width 0.1s;
}

/* 返回首页按钮 */
.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin: 20px auto 0;
    max-width: 800px;
    width: fit-content;
    background: #fff;
    color: #666;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.back-to-home:hover {
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(64,82,236,0.15);
    transform: translateX(-5px);
}

.back-to-home svg {
    width: 18px;
    height: 18px;
}

.single-post {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
    animation: fadeInUp 0.5s;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.single-post .post-header {
    margin-bottom: 40px;
    padding-top: 40px;
}

.single-post .post-header-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.single-post .post-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-darkgrey);
}

.single-post .post-meta {
    margin-top: 20px;
    justify-content: flex-start;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.post-featured-image img { width: 100%; }

.post-content-body {
    font-size: 17px;
    line-height: 2;
    color: #333;
    padding: 20px 0;
}

.post-content-body h2 {
    font-size: 26px;
    margin: 2em 0 1em;
    padding-left: 16px;
    border-left: 4px solid var(--color-primary);
    color: var(--color-darkgrey);
}

.post-content-body h3 {
    font-size: 22px;
    margin: 1.5em 0 0.8em;
    color: var(--color-darkgrey);
}

.post-content-body h4 {
    font-size: 18px;
    margin: 1.2em 0 0.6em;
}

.post-content-body p { margin: 1.2em 0; }

.post-content-body code {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Fira Code', 'SF Mono', monospace;
    font-size: 0.9em;
    color: var(--color-primary);
}

.post-content-body pre {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #e2e8f0;
    padding: 24px 28px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-family: 'Fira Code', 'SF Mono', monospace;
    line-height: 1.7;
    position: relative;
}

.post-content-body pre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.post-content-body pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.post-content-body ul, .post-content-body ol {
    margin: 1em 0;
    padding-left: 24px;
}

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

.post-content-body blockquote {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 20px 24px;
    border-radius: 12px;
    margin: 1.5em 0;
    border-left: 4px solid var(--color-primary);
    color: #475569;
    font-style: italic;
}

.post-content-body hr.content-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin: 2em 0;
}

/* 文章作者信息 */
.article-author {
    background: linear-gradient(135deg, #f0f4ff, #e8edff);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 1em 0;
    font-size: 14px;
    color: #666;
    border-left: 3px solid var(--color-primary);
}

/* 文章配图 */
.post-content-body img.article-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 16px 0 24px 0;
    border: 1px solid #e5e7eb;
}

.post-content-body img.article-image:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s ease;
}

/* 内联代码 */
.post-content-body code.inline-code {
    background: #e8edff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* 表格样式优化 */
.post-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 15px;
}

.post-content-body table th {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 14px 18px;
    font-weight: 600;
    text-align: left;
    color: var(--color-darkgrey);
    border-bottom: 2px solid var(--color-primary);
}

.post-content-body table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--color-border);
}

.post-content-body table tr:last-child td {
    border-bottom: none;
}

.post-content-body table tr:hover td {
    background: #f8fafc;
}

/* 代码块中的code标签 */
.post-content-body pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: 14px;
}

.post-content-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5em 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.post-content-body a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: rgba(64,82,236,0.3);
}

.post-content-body a:hover {
    text-decoration-color: var(--color-primary);
}

.post-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.post-content-body th {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 14px 18px;
    font-weight: 600;
    text-align: left;
}

.post-content-body td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--color-border);
}

.post-content-body tr:last-child td {
    border-bottom: none;
}

.runnergo-promo-box {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #f0f4ff, #e8edff);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(64,82,236,0.1);
    position: relative;
    overflow: hidden;
}

.runnergo-promo-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), #f59e0b);
}

.runnergo-promo-box .promo-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.runnergo-promo-box .promo-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.runnergo-promo-box h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--color-darkgrey);
}

.runnergo-promo-box p {
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.8;
}

.promo-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.promo-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #555;
    background: rgba(255,255,255,0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

.promo-feature svg {
    width: 18px;
    height: 18px;
    fill: var(--color-secondary);
}

.promo-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(64,82,236,0.35);
    transition: all 0.3s;
}

.promo-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(64,82,236,0.45);
    color: #fff;
}

/* 文章底部分享 */
.post-footer {
    padding: 30px 0;
    border-top: 1px solid var(--color-border);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.post-share-label {
    font-size: 14px;
    color: #666;
}

.post-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-wash);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.post-share-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.post-share-btn svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .blog-header-inner { padding: 0 16px; }
    .blog-nav { gap: 16px; }
    .blog-nav a { font-size: 13px; }
    .site-title { font-size: 28px; }
    .scroll-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
    .posts-grid { gap: 20px; }
    .post-cover { height: 150px; }
    .post-content { padding: 20px; }
    .post-title { font-size: 16px; }
}