.kb-hero {
    background: linear-gradient(160deg, #0b1223 0%, #121a2e 55%, #0b1223 100%);
    color: #fff;
    padding: 72px 0 56px;
}

.kb-hero-sm {
    padding-top: 58px;
}

.kb-kicker {
    color: #a3e635;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.kb-hero h1 {
    font-size: clamp(36px, 6vw, 66px);
    font-weight: 900;
    line-height: 1.02;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.kb-sub {
    font-size: 18px;
    max-width: 820px;
    color: #dbe3f0;
    margin-bottom: 24px;
    text-transform: none;
}

.kb-search {
    display: flex;
    gap: 10px;
    max-width: 860px;
}

.kb-search input {
    flex: 1;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 0 14px;
    font-size: 14px;
}

.kb-search input::placeholder {
    color: #cbd5e1;
}

.kb-search button {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: #a3e635;
    color: #000;
    font-weight: 800;
    padding: 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.kb-featured,
.kb-categories {
    background: #f8fafc;
    padding: 34px 0;
}

.kb-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.kb-section-head h2 {
    font-size: 28px;
    font-weight: 900;
    color: #0f172a;
    text-transform: uppercase;
    margin: 0;
}

.kb-section-head a,
.kb-section-head span {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.kb-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.kb-article-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    text-decoration: none !important;
    transition: all .25s ease;
}

.kb-article-card:hover {
    border-color: #a3e635;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15,23,42,0.08);
}

.kb-article-meta {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #15803d;
    text-transform: uppercase;
}

.kb-article-card h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
    text-transform: none;
}

.kb-article-card p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    text-transform: none;
}

.kb-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.kb-category-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    text-decoration: none !important;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    transition: all .25s ease;
}

.kb-category-card:hover {
    border-color: #a3e635;
    box-shadow: 0 14px 28px rgba(15,23,42,0.08);
}

.kb-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #0f172a;
    color: #a3e635;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.kb-category-card h3 {
    margin: 2px 0 6px;
    color: #0f172a;
    font-size: 21px;
    font-weight: 900;
    text-transform: none;
}

.kb-category-card p {
    margin: 0 0 6px;
    color: #475569;
    font-size: 14px;
    text-transform: none;
}

.kb-category-card span {
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kb-empty {
    padding: 26px;
    border-radius: 16px;
    border: 1px dashed #94a3b8;
    text-align: center;
    background: #fff;
}

.kb-empty h3 {
    color: #0f172a;
    font-size: 22px;
    margin-bottom: 8px;
}

.kb-empty p {
    color: #475569;
    margin-bottom: 10px;
}

.kb-empty a,
.kb-inline-help a {
    color: #15803d;
    font-weight: 700;
}

.kb-inline-help {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1;
    font-size: 12px;
    color: #64748b;
}

.kb-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 16px;
}

.kb-article-content {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    color: #1e293b;
    line-height: 1.75;
}

.kb-article-content h2,
.kb-article-content h3 {
    margin-top: 20px;
    color: #0f172a;
    font-weight: 900;
}

.kb-article-sidebar {
    display: grid;
    gap: 12px;
    align-content: start;
}

.kb-article-meta-card,
.kb-vote-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px;
}

.kb-article-meta-card h4,
.kb-vote-form h4 {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.kb-article-meta-card p {
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
}

.kb-vote-actions {
    display: flex;
    gap: 8px;
}

.kb-vote-actions button {
    flex: 1;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.kb-vote-actions .yes {
    background: #a3e635;
    color: #000;
    border-color: #a3e635;
}

.kb-vote-actions .no {
    background: #fff;
    color: #1f2937;
}

.kb-ticket-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 12px;
}

@media (max-width: 1024px) {
    .kb-featured-grid,
    .kb-category-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .kb-search {
        flex-direction: column;
    }

    .kb-featured-grid,
    .kb-category-grid {
        grid-template-columns: 1fr;
    }

    .kb-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .kb-article-layout {
        grid-template-columns: 1fr;
    }
}
