/* ============================================================
   Blog List Page Styles (blog-list.css)
   Scope: zh-CN/blog/index.html
   ============================================================ */

/* ---------- Page Hero ---------- */
.blog-hero {
    padding: 64px 0 56px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.blog-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.blog-hero-copy {
    max-width: 560px;
}

.blog-eyebrow,
.eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(32, 33, 36, 0.07);
    color: var(--color-text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.blog-hero-copy h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--color-text-main);
    margin-bottom: 16px;
}

.blog-hero-copy p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 480px;
}

.blog-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
    white-space: nowrap;
}

.blog-stats i {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.blog-count-num {
    font-size: 1.25rem;
    font-weight: 700;
}

/* ---------- Main Layout ---------- */
.blog-main {
    padding: 64px 0 80px;
}

/* ---------- Featured Card ---------- */
.featured-section {
    margin-bottom: 64px;
}

.featured-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    text-decoration: none;
    color: inherit;
    min-height: 380px;
}

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

.featured-cover {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.featured-cover-fallback {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-cover-fallback i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.25);
}

.featured-cover-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.featured-body {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

.featured-body h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
}

.featured-body p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.83rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.featured-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-top: 8px;
    transition: gap 0.2s ease;
}

.featured-card:hover .featured-cta {
    gap: 12px;
}

/* ---------- Regular Cards Grid ---------- */
.posts-section-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.posts-section-label h2 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0;
}

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

.post-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.post-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.09);
    transform: translateY(-4px);
}

.post-cover {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.post-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-cover-fallback i {
    font-size: 2.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.post-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.post-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--color-text-main);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-body p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---------- Empty State ---------- */
.blog-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--color-text-muted);
}

.blog-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-cover {
        min-height: 240px;
    }

    .featured-body {
        padding: 36px 32px;
    }

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

@media (max-width: 900px) {
    .blog-hero-copy h1 {
        font-size: 2.1rem;
    }
}

@media (max-width: 600px) {
    .blog-hero {
        padding: 56px 0 40px;
    }

    .blog-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .blog-hero-copy h1 {
        font-size: 1.8rem;
    }

    .featured-body {
        padding: 28px 24px;
    }

    .featured-body h2 {
        font-size: 1.35rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-main {
        padding: 40px 0 60px;
    }
}
