/* Blog shared styles — design tokens and elements reused across blog index + article pages */

:root {
    --blog-surface: #ffffff;
    --blog-border: #dce6f3;
    --blog-text: #42556d;
    --blog-text-muted: #607186;
    --blog-text-soft: #9aa8bb;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-base);
    transition: color var(--duration-200) var(--ease-out);
}

.blog-back-link:hover {
    color: var(--brand-orange-hover);
}

.blog-tag-pill {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-full);
    padding: var(--space-1-5) var(--space-3-5);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    background: #f5f8fc;
    border: 1px solid #dce6f4;
    text-decoration: none;
    transition: all var(--duration-200) var(--ease-out);
}

.blog-tag-pill:hover {
    border-color: rgba(0, 86, 161, 0.45);
    color: var(--brand-blue);
    background: #edf4fd;
}

.blog-tag-pill.active {
    color: white;
    border-color: var(--brand-blue);
    background: linear-gradient(120deg, var(--brand-blue) 0%, #2168b4 100%);
}

html[data-bs-theme="dark"] .blog-tag-pill {
    background: #1b2233;
    border-color: #2d3b52;
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .blog-tag-pill:hover {
    border-color: var(--brand-blue-light);
    color: #93c5fd;
    background: #1b2b43;
}

html[data-bs-theme="dark"] .blog-tag-pill.active {
    background: linear-gradient(120deg, #1f6cb6 0%, #2f78c4 100%);
    border-color: #2f78c4;
}
