/* 博客首页样式 - 与category_page统一设计 */

.blog-index-page {
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Noto Sans CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* 防止浮动元素遮挡 */
.blog-index-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9999;
    background: transparent;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
}

/* 页面头部 - 与category_page统一设计 */
.page-header {
    text-align: center;
    padding: 3rem 0 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6b7c93, #8fa3b8, #6b7c93);
}

.page-title {
    font-size: 2.6rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-align: center;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6b7c93, #8fa3b8);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.page-hero-image {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-hero-image:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #6b7c93;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-hero-image:hover .hero-image {
    transform: scale(1.05);
}

/* 页面内容 - 与category_page统一设计 */
.page-content {
    padding: 2rem 0 3rem;
    font-size: 18px;
    line-height: 1.9;
    color: #1a1a1a;
    max-width: 100%;
    font-weight: 400;
}

.main-content {
    background: transparent;
    color: #1a1a1a;
    line-height: 1.8;
    font-size: 18px;
    font-weight: 400;
    padding: 1.5rem 0;
    border-radius: 0;
    margin-bottom: 1.5rem;
    border-left: none;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
    color: #0a0a0a;
    font-weight: 500;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.main-content h1 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.main-content h2 {
    font-size: 1.6rem;
    font-weight: 500;
}

.main-content h3 {
    font-size: 1.4rem;
    font-weight: 500;
}

.main-content p {
    margin-bottom: 1.4rem;
    color: #1a1a1a;
    font-weight: 400;
    line-height: 1.8;
}

.main-content a {
    color: #6b7c93;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
}

.main-content a:hover {
    color: #8fa3b8;
    border-bottom-color: #8fa3b8;
    background-color: rgba(107, 124, 147, 0.05);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
}

/* 锚点链接样式 */
.main-content a[href^="#"] {
    color: #6b7c93;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 400;
}

.main-content a[href^="#"]:hover {
    color: #5a6b7a;
    border-bottom-color: #5a6b7a;
    background-color: rgba(107, 124, 147, 0.05);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
}

/* 锚点目标样式 */
.main-content h1[id],
.main-content h2[id],
.main-content h3[id],
.main-content h4[id],
.main-content h5[id],
.main-content h6[id] {
    position: relative;
    scroll-margin-top: 2rem;
}

/* 锚点目标悬停效果 */
.main-content h1[id]:hover,
.main-content h2[id]:hover,
.main-content h3[id]:hover,
.main-content h4[id]:hover,
.main-content h5[id]:hover,
.main-content h6[id]:hover {
    background-color: rgba(107, 124, 147, 0.03);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    margin: 0.2rem -0.5rem;
}

/* 锚点链接图标 */
.main-content a[href^="#"]::after {
    content: "🔗";
    font-size: 0.7em;
    margin-left: 0.3em;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.main-content a[href^="#"]:hover::after {
    opacity: 1;
}

.main-content .external-link {
    position: relative;
}

.main-content .external-icon {
    font-size: 0.8em;
    margin-left: 0.3em;
    opacity: 0.7;
}

.main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    margin: 1.5rem 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
    display: block;
}

.main-content img:hover {
    transform: scale(1.005);
}

.main-content blockquote {
    border-left: 1px solid #e0e0e0;
    padding-left: 1rem;
    margin: 1.5rem 0;
    background-color: transparent;
    padding: 1rem 1.5rem;
    border-radius: 0;
    font-style: normal;
    color: #4a4a4a;
    font-weight: 300;
}

.main-content ul,
.main-content ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.main-content li {
    margin-bottom: 0.3rem;
    color: #3a3a3a;
}

.main-content code {
    background-color: #f8f8f8;
    padding: 0.15rem 0.3rem;
    border-radius: 2px;
    font-size: 0.85em;
    color: #2a2a2a;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Kaku Gothic Pro', monospace;
}

.main-content pre {
    background-color: #fafafa;
    padding: 1rem;
    border-radius: 2px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 0.5px solid #f0f0f0;
}

.main-content pre code {
    background-color: transparent;
    padding: 0;
    color: #2a2a2a;
}

/* 三个阶段进度卡片区域 - 与category_page统一设计 */
.progress-stages-section {
    margin: 2rem 0;
    padding: 2rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.progress-stages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6b7c93, #8fa3b8, #6b7c93);
}

.stages-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
    position: relative;
}

.stages-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #6b7c93, #8fa3b8);
    margin: 1rem auto 0;
    border-radius: 1px;
}

.progress-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.progress-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.progress-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6b7c93, #8fa3b8, #6b7c93);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-card:hover::before {
    opacity: 1;
}

.progress-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #6b7c93;
}

/* 可点击卡片样式 */
.progress-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.progress-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.progress-card-link:hover .card-link-indicator {
    opacity: 1;
    transform: translateX(0);
}

.card-link-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #6b7c93;
    font-size: 0.9rem;
}

.progress-card-link:hover .card-link-indicator {
    opacity: 1;
    transform: translateX(0);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stage-number {
    font-size: 1.5rem;
    font-weight: 100;
    color: #6b7c93;
    line-height: 1;
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.stage-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.stage-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto 1rem;
}

.stage-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.progress-card:hover .stage-image {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-content {
    position: relative;
}

.stage-title {
    font-size: 1.1rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.stage-description {
    color: #6a6a6a;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 300;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background-color: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6b7c93, #8a9ba8);
    border-radius: 2px;
    transition: width 1.2s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    border-radius: 0 2px 2px 0;
}

.stage-features {
    display: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background-color: #f8f9fa;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

.feature-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.feature-text {
    color: #4a4a4a;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.4;
}

/* 进度卡片动画 */
.progress-card[data-stage="1"] {
    animation: slideInUp 0.6s ease-out;
}

.progress-card[data-stage="2"] {
    animation: slideInUp 0.6s ease-out 0.1s both;
}

.progress-card[data-stage="3"] {
    animation: slideInUp 0.6s ease-out 0.2s both;
}

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

/* 进度条动画 */
.progress-card:hover .progress-fill {
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(107, 124, 147, 0.3);
    }
    50% {
        box-shadow: 0 0 8px rgba(107, 124, 147, 0.4);
    }
}

/* 响应式设计 - 与category_page统一 */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1.5rem 0;
    }
    
    .page-header {
        padding: 2.5rem 0 2rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    
    .page-title::after {
        width: 50px;
        height: 2px;
        margin: 1.2rem auto 0;
    }
    
    .progress-stages-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    .stages-title {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .progress-cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    margin-top: 1.5rem;
        padding: 0 1rem;
    }
    
    .progress-card {
        padding: 1rem;
    }
    
    .stage-number {
        font-size: 0.9rem;
    }
    
    .stage-icon {
        font-size: 1.2rem;
    }
    
    .stage-image {
        width: 50px;
        height: 50px;
    }
    
    .stage-title {
        font-size: 0.9rem;
    }
    
    .stage-description {
        font-size: 0.75rem;
    }
    
    .page-content {
        font-size: 14px;
        line-height: 1.8;
        font-weight: 300;
    }
    
    .main-content {
        font-size: 14px;
        line-height: 1.8;
        font-weight: 300;
    }
    
    .blog-posts-section {
        margin: 3rem 0 2rem;
        padding: 1rem 0;
    }
    
    .blog-posts-grid {
        padding: 0;
    }
    
    .blog-post-card {
        flex-direction: column;
        margin-bottom: 2rem;
        align-items: stretch;
        min-height: auto;
        padding: 0;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        background: #ffffff;
        border: 1px solid #e8e8e8;
        transition: all 0.3s ease;
    }
    
    .blog-post-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        border-color: #d0d0d0;
    }
    
    .post-image {
        width: 100%;
        height: 180px;
        margin: 0;
        aspect-ratio: auto;
        flex-shrink: 0;
        order: 1;
        border-radius: 0;
        overflow: hidden;
        position: relative;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    }
    
    .post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .blog-post-card:hover .post-image img {
        transform: scale(1.05);
    }
    
    .post-image::after {
        content: attr(data-title);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
        color: #ffffff;
        padding: 1rem 0.8rem 0.6rem;
        font-size: 0.9rem;
        line-height: 1.2;
        font-weight: 500;
        z-index: 2;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
        border-radius: 0 0 8px 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-height: 55px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .post-content {
        padding: 0.8rem;
        flex: 1;
        min-width: 0;
        order: 2;
        background: #ffffff;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .post-title {
        display: none; /* 移动端隐藏内容区域的标题，使用图片上的标题 */
    }
    
    .post-excerpt {
        font-size: 0.75rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 0.6rem;
        flex: 1;
        color: #4a4a4a;
    }
    
    .read-more-btn {
        align-self: flex-start;
        margin-top: auto;
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        background: #6b7c93;
        color: #ffffff;
        border: 1px solid #6b7c93;
        text-decoration: none;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .read-more-btn:hover {
        background: #5a6b7a;
        border-color: #5a6b7a;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(107, 124, 147, 0.3);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 1rem 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-title::after {
        width: 40px;
        height: 2px;
        margin: 1rem auto 0;
    }
    
    .page-content {
        font-size: 13px;
        line-height: 1.75;
        font-weight: 300;
    }
    
    .main-content {
        font-size: 13px;
        line-height: 1.75;
        font-weight: 300;
    }
    
    .progress-stages-section {
        margin: 1.5rem 0;
        padding: 1rem 0;
    }
    
    .stages-title {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .progress-cards-container {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .progress-card {
        padding: 0.8rem;
    }
    
    .stage-number {
        font-size: 0.8rem;
    }
    
    .stage-icon {
        font-size: 1rem;
    }
    
    .stage-image {
        width: 40px;
        height: 40px;
    }
    
    .stage-title {
        font-size: 0.8rem;
    }
    
    .stage-description {
        font-size: 0.7rem;
    }
    
    .blog-post-card {
        padding: 0;
        margin-bottom: 1.5rem;
        flex-direction: column;
        text-align: left;
        border-radius: 10px;
        min-height: 140px;
        overflow: hidden;
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border: 1px solid #e8e8e8;
        transition: all 0.3s ease;
    }
    
    .blog-post-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
        border-color: #d0d0d0;
    }
    
    .post-image {
        width: 100%;
        height: 140px;
        margin: 0;
        order: 1; /* 移动端：图片在上方 */
        border-radius: 0;
        border: none;
        flex-shrink: 0;
        overflow: hidden;
        position: relative;
        aspect-ratio: auto;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    }
    
    .post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .blog-post-card:hover .post-image img {
        transform: scale(1.05);
    }
    
    .post-image::after {
        content: attr(data-title);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
        color: #ffffff;
        padding: 0.9rem 0.7rem 0.6rem;
        font-size: 0.85rem;
        line-height: 1.2;
        font-weight: 500;
        z-index: 2;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
        border-radius: 0 0 6px 6px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-height: 50px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .post-content {
        padding: 0.7rem;
        order: 2; /* 移动端：内容在下方 */
        text-align: left;
        display: flex;
        flex-direction: column;
        background: #ffffff;
        margin-top: 0;
        justify-content: space-between;
    }
    
    .post-title {
        display: none; /* 小屏幕隐藏内容区域的标题，使用图片上的标题 */
    }
    
    .post-excerpt {
        font-size: 0.7rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        flex: 1;
        color: #4a4a4a;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .read-more-btn {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
        margin: 0;
        border-radius: 4px;
        align-self: flex-start;
        background: #6b7c93;
        color: #ffffff;
        border: 1px solid #6b7c93;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-top: auto;
    }
    
    .read-more-btn:hover {
        background: #5a6b7a;
        border-color: #5a6b7a;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(107, 124, 147, 0.3);
    }
}


/* 热门文章区域 - 低调设计 */
.blog-posts-section {
    margin: 4rem 0 2rem;
    padding: 1.5rem 0;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.blog-posts-section::before {
    display: none;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 300;
    color: #6a6a6a;
    text-align: left;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    position: relative;
}

.section-title::after {
    display: none;
}

/* 热门文章网格 - 低调设计 */
.blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* 桌面端样式 - 热门文章卡片 */
@media (min-width: 769px) {
.blog-post-card {
    background: #fafafa;
    border-radius: 8px;
    overflow: visible;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    min-height: 140px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    margin-bottom: 1rem;
    padding: 1.5rem;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    z-index: 10;
}

.blog-post-card::before {
    display: none;
}

.blog-post-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: #d0d0d0;
    background: #f5f5f5;
}

/* 热门文章图片 - 低调设计 */
.post-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    width: 120px;
    flex-shrink: 0;
    margin-left: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    order: 2;
    border: 1px solid #e0e0e0;
}

.post-image::before {
    display: none;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
    position: relative;
    z-index: 0;
}

.blog-post-card:hover .post-image {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-color: #c0c0c0;
}

.blog-post-card:hover .post-image::before {
    display: none;
}

.blog-post-card:hover .card-image {
    transform: scale(1.02);
}

/* 无图片占位符样式 */
.debug-no-image {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-image-placeholder {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.no-image-placeholder i {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.post-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    order: 1;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: #2a2a2a;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    letter-spacing: 0.01em;
    position: relative;
}

.post-title::after {
    display: none;
}

.blog-post-card:hover .post-title::after {
    display: none;
}

.post-excerpt {
    color: #6a6a6a;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.read-more-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #c0c0c0;
    color: #6a6a6a;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.2s ease;
    align-self: flex-start;
    margin-top: 0.3rem;
    letter-spacing: 0.01em;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.read-more-btn::before {
    display: none;
}

.read-more-btn:hover::before {
    display: none;
}

.read-more-btn:hover {
    background: #f0f0f0;
    color: #4a4a4a;
    transform: none;
    box-shadow: none;
    border-color: #a0a0a0;
}

} /* 结束桌面端媒体查询 */

/* 空状态 */
.empty-posts {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
}

.empty-icon {
    font-size: 2.5rem;
    color: #d0d0d0;
    margin-bottom: 1rem;
}

.empty-posts h3 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #4a4a4a;
    margin-bottom: 0.8rem;
}

.empty-posts p {
    color: #8b8b8b;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-post-card {
    animation: fadeInUp 0.5s ease-out;
}

.blog-post-card:nth-child(1) { animation-delay: 0.1s; }
.blog-post-card:nth-child(2) { animation-delay: 0.15s; }
.blog-post-card:nth-child(3) { animation-delay: 0.2s; }
.blog-post-card:nth-child(4) { animation-delay: 0.25s; }
.blog-post-card:nth-child(5) { animation-delay: 0.3s; }
.blog-post-card:nth-child(6) { animation-delay: 0.35s; }

/* 加载状态 */
.blog-posts-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* 打印样式 */
@media print {
    .blog-index-page {
        background: white;
    }
    
    .blog-post-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .post-image {
        display: none;
    }
}
