:root {
    --bb-gold: #b9852f;
    --bb-ink: #1d2733;
    --bb-muted: #657384;
    --bb-line: #d8dee5;
    --bb-surface: #f6f8fa;
    --bb-soft: #eef3f7;
}

body {
    background: #fff;
    color: var(--bb-ink);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: #1762a8;
    text-decoration: none;
}

a:hover {
    color: #0f477b;
    text-decoration: underline;
}

.site-nav {
    background: #fff;
    border-bottom: 1px solid var(--bb-line);
}

.navbar-brand img {
    width: 120px;
    height: 70px;
    object-fit: contain;
}

.brand-text {
    color: var(--bb-ink);
    font-size: 1.1rem;
    font-weight: 700;
}

.brand-mark {
    color: var(--bb-gold);
    font-weight: 700;
}

.nav-link {
    color: var(--bb-muted);
    font-weight: 700;
}

.nav-link.active,
.nav-link:hover {
    color: var(--bb-ink);
}

.hero {
    background: linear-gradient(180deg, #f9fafb 0%, #eef3f7 100%);
    border-bottom: 1px solid var(--bb-line);
    padding: 56px 0 46px;
}

.eyebrow {
    color: var(--bb-gold);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: .6rem;
    text-transform: uppercase;
}

.hero h1,
.page-title h1 {
    color: var(--bb-ink);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
}

.hero .lead,
.page-title p,
.section-heading p {
    color: var(--bb-muted);
}

.search-box .form-control,
.search-box .btn {
    border-radius: 6px;
}

.search-box .form-control {
    border-color: #cbd5df;
}

.btn-primary {
    --bs-btn-bg: #1f6fb2;
    --bs-btn-border-color: #1f6fb2;
    --bs-btn-hover-bg: #185d98;
    --bs-btn-hover-border-color: #185d98;
}

.section-block {
    padding: 40px 0;
}

.section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-heading h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 4px;
}

.section-heading p {
    margin: 0;
}

.category-card {
    background: #fff;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(29, 39, 51, .06);
    padding: 20px;
}

.category-card-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.category-initial {
    align-items: center;
    background: var(--bb-soft);
    border: 1px solid #dae4ee;
    border-radius: 8px;
    color: #1f6fb2;
    display: inline-flex;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.link-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-list a {
    color: var(--bb-ink);
}

.article-list {
    border-radius: 8px;
    overflow: hidden;
}

.article-list .list-group-item {
    align-items: center;
    border-color: var(--bb-line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 14px 16px;
}

.article-list span {
    font-weight: 700;
}

.article-list small {
    color: var(--bb-muted);
    white-space: nowrap;
}

.page-title {
    background: var(--bb-surface);
    border-bottom: 1px solid var(--bb-line);
    padding: 34px 0 30px;
}

.breadcrumb-wrap {
    align-items: center;
    color: var(--bb-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: .94rem;
    gap: 8px;
    margin-bottom: 12px;
}

.kb-article {
    background: #fff;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(29, 39, 51, .06);
    font-size: 1.03rem;
    line-height: 1.7;
    padding: 28px;
}

.kb-article p:last-child {
    margin-bottom: 0;
}

.kb-article img {
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    display: block;
    height: auto;
    margin: 16px 0;
    max-width: 100%;
}

.kb-article a[href$=".exe"],
.kb-article a[href$=".msi"] {
    align-items: center;
    background: #eef6ff;
    border: 1px solid #c9def5;
    border-radius: 8px;
    color: #0f477b;
    display: inline-flex;
    font-weight: 800;
    padding: 8px 12px;
}

.empty-state {
    background: #fff;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    color: var(--bb-muted);
    padding: 24px;
}

.site-footer {
    background: var(--bb-ink);
    color: #dce3ea;
    margin-top: 24px;
    padding: 22px 0;
}

@media (max-width: 767.98px) {
    .hero {
        padding: 36px 0 30px;
    }

    .navbar-brand img {
        width: 96px;
        height: auto;
    }

    .brand-text {
        font-size: 1rem;
    }

    .article-list .list-group-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .article-list small {
        white-space: normal;
    }

    .kb-article {
        padding: 20px;
    }
}
