/* ===== Blog Index — Hero ===== */

.blog-hero {
    padding-top: 140px;
    padding-bottom: 48px;
    text-align: center;
}

.blog-hero h1 {
    font-family: 'Outfit', -apple-system, sans-serif;
    font-size: clamp(28px, 4vw, 40px);
}

.blog-hero p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 12px auto 0;
}

/* ===== Blog Index — Listing ===== */

.blog-listing {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

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

/* ===== Blog Index — Cards ===== */

.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    border: 1px solid var(--separator);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--card-hover-border);
    transform: translateY(-2px);
}

.blog-card-body {
    padding: 24px;
}

.blog-card-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.blog-card-body h2 {
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card-body p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-card-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ===== Article — Header ===== */

.article-header {
    max-width: 700px;
    margin: 0 auto;
    padding: 140px 24px 32px;
    text-align: center;
}

.article-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-header h1 {
    font-size: clamp(28px, 5vw, 42px);
    margin-top: 12px;
    margin-bottom: 16px;
}

.article-meta {
    color: var(--text-secondary);
    font-size: 14px;
}

.article-meta-sep {
    margin: 0 8px;
}

/* ===== Article — Body ===== */

.article-body {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.article-body p {
    font-family: 'Lora', Georgia, serif;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 1.25em;
    color: var(--text-primary);
}

.article-body h2 {
    font-size: 24px;
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-family: 'Outfit', -apple-system, sans-serif;
}

.article-body h3 {
    font-size: 20px;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-family: 'Outfit', -apple-system, sans-serif;
}

.article-body a {
    color: var(--blue);
    text-decoration: none;
}

.article-body a:hover {
    text-decoration: underline;
}

/* ===== Condition Cards ===== */

.condition-card {
    background: var(--feature-icon-bg);
    border-left: 4px solid var(--blue);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 1.5em 0;
}

.condition-card-title {
    font-family: 'Outfit', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.condition-card-value {
    font-family: 'Outfit', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.condition-card p {
    font-family: 'Lora', Georgia, serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== CTA Box ===== */

.cta-box {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    margin: 2.5em 0;
}

.cta-box h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 8px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Lora', Georgia, serif;
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 20px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--blue);
    padding: 12px 28px;
    border-radius: 24px;
    font-family: 'Outfit', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ===== Article Nav ===== */

.article-nav {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.article-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.article-nav a:hover {
    color: var(--blue);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .article-header {
        padding-top: 120px;
    }

    .article-body {
        padding: 0 20px 48px;
    }

    .condition-card {
        padding: 16px 20px;
    }

    .cta-box {
        padding: 32px 24px;
    }
}
