/* ===== Blog Styles ===== */
.blog-page {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 72px;
    background: var(--bg-primary);
    min-height: 100vh;
}

/* Blog Index */
.blog-header {
    text-align: center;
    margin-bottom: 48px;
}
.blog-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--sage-900);
    margin-bottom: 12px;
}
.blog-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.blog-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sage-600);
    background: var(--sage-100);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    width: fit-content;
}
.blog-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sage-900);
    margin-bottom: 10px;
    line-height: 1.35;
}
.blog-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}
.blog-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sage-600);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.blog-card-link:hover { color: var(--sage-800); }
.blog-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}
.blog-card-link:hover svg { transform: translateX(3px); }

/* Article Page */
.article-content {
    max-width: 720px;
    margin: 0 auto;
}
.article-meta {
    margin-bottom: 36px;
}
.article-meta .blog-card-tag {
    margin-bottom: 16px;
}
.article-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--sage-900);
    margin-bottom: 12px;
    line-height: 1.2;
}
.article-date {
    color: var(--text-muted);
    font-size: 0.88rem;
}
.article-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sage-800);
    margin-top: 40px;
    margin-bottom: 14px;
}
.article-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sage-700);
    margin-top: 28px;
    margin-bottom: 10px;
}
.article-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}
.article-content ul, .article-content ol {
    margin-left: 24px;
    margin-bottom: 16px;
}
.article-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}
.article-content strong {
    color: var(--sage-800);
    font-weight: 600;
}
.article-content a {
    color: var(--sage-600);
    text-decoration: underline;
}
.article-content a:hover {
    color: var(--sage-800);
}
.article-content blockquote {
    border-left: 3px solid var(--sage-400);
    padding: 16px 20px;
    margin: 24px 0;
    background: var(--sage-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-content blockquote p {
    color: var(--sage-700);
    font-style: italic;
    margin-bottom: 0;
}

/* Article CTA */
.article-cta {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, var(--sage-50), var(--warm-100));
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
}
.article-cta h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sage-900);
    margin-bottom: 8px;
    margin-top: 0;
}
.article-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.article-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--sage-600);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
    text-decoration: none;
}
.article-cta .btn:hover {
    background: var(--sage-700);
}

/* Back link */
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
    transition: color 0.2s;
    text-decoration: none;
}
.article-back:hover { color: var(--sage-700); }
.article-back svg {
    width: 16px;
    height: 16px;
}
