:root {
    --bs-primary: #6f42c1;
    --bs-primary-rgb: 111, 66, 193;
    --bs-primary-dark: #5a32a3;
    --bs-primary-light: #8b6cd6;
    --bs-link-color: #6f42c1;
    --bs-link-hover-color: #5a32a3;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a2e;
    background-color: #ffffff;
}

.navbar {
    min-height: 64px;
}

.navbar-brand {
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.card {
    border-radius: 12px;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #6f42c1;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #6f42c1;
}

.blog-content p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.blog-content code {
    background-color: #f8f7fc;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    color: #6f42c1;
}

.blog-content a {
    color: #6f42c1;
    text-decoration: underline;
}

.blog-content a:hover {
    color: #5a32a3;
}

.btn-primary {
    --bs-btn-bg: #6f42c1;
    --bs-btn-border-color: #6f42c1;
    --bs-btn-hover-bg: #5a32a3;
    --bs-btn-hover-border-color: #5a32a3;
    --bs-btn-active-bg: #4e2a8e;
    --bs-btn-active-border-color: #4e2a8e;
    --bs-btn-disabled-bg: #6f42c1;
    --bs-btn-disabled-border-color: #6f42c1;
}

.btn-outline-primary {
    --bs-btn-color: #6f42c1;
    --bs-btn-border-color: #6f42c1;
    --bs-btn-hover-bg: #6f42c1;
    --bs-btn-hover-border-color: #6f42c1;
    --bs-btn-active-bg: #5a32a3;
    --bs-btn-active-border-color: #5a32a3;
}

.text-primary {
    color: #6f42c1 !important;
}

a.text-primary:hover {
    color: #5a32a3 !important;
}

.bg-primary {
    background-color: #6f42c1 !important;
}

.bg-light {
    background-color: #f8f7fc !important;
}

.sidebar-panel-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    margin-bottom: 1rem;
}

.sidebar-panel-link {
    color: #6f42c1;
    text-decoration: none;
}

.sidebar-panel-link:hover {
    text-decoration: underline;
}

.sidebar-archive-link {
    color: #495057;
}

.sidebar-archive-link:hover {
    color: #6f42c1;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6f42c1;
    margin-bottom: 0.25rem;
}

.article-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a2e;
}

.article-lead {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
}

.article-meta {
    font-size: 0.8rem;
}

.article-body {
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.thumbnail-placeholder {
    background: linear-gradient(135deg, #f8f7fc 0%, #e8e3f0 100%);
    border-radius: 12px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b6cd6;
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
