/* Knowledge Base - Ask Ashley Style */

a, .btn-link {
    color: #006bb7;
}


.kb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 60px;
    font-family: inherit;
}

/* Breadcrumb */
.kb-breadcrumb {
    font-size: 13px;
    color: #666;
    margin-bottom: 24px;
}

.kb-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.kb-breadcrumb a:hover {
    color: #333;
    text-decoration: underline;
}

.kb-breadcrumb span {
    margin: 0 6px;
    color: #999;
}

/* Header */
.kb-header {
    text-align: center;
    margin-bottom: 24px;
}

.kb-header-icon {
    display: inline-block;
    margin-bottom: 8px;
    color: #333;
}

.kb-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.5px;
    border: none;
}

/* Search */
.kb-search-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.kb-search {
    display: flex;
    width: 100%;
    max-width: 600px;
    border: 1px solid #ccc;
    border-radius: 0;
    overflow: hidden;
}

.kb-search input {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    border: none;
    outline: none;
    background: #fff;
    color: #333;
}

.kb-search input::placeholder {
    color: #999;
}

.kb-search-btn {
    padding: 10px 24px;
    background: #333;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.kb-search-btn:hover {
    background: #555;
}

/* Section Title */
.kb-section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
}

/* Top-Level Category Cards */
.kb-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.kb-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 32px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    transition: box-shadow 0.2s, border-color 0.2s;
    background: #fff;
}

.kb-category-card:hover {
    border-color: #ccc;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.kb-category-icon {
    margin-bottom: 16px;
    color: #333;
}

.kb-category-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.kb-category-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Back Link */
.kb-back-row {
    margin-bottom: 16px;
}

.kb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.kb-back-link:hover {
    color: #333;
}

/* Topic Grid */
.kb-topic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.kb-topic-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.kb-topic-card:hover {
    border-color: #e0e0e0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.kb-topic-icon {
    margin-bottom: 12px;
    color: #333;
}

.kb-topic-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.3;
}

.kb-topic-desc {
    font-size: 13px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .kb-topic-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .kb-topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kb-category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .kb-category-card {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .kb-topic-grid {
        grid-template-columns: 1fr;
    }
}





/* Knowledge Base Article Pages */

.kb-article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px 60px;
    font-family: inherit;
}

.kb-article-back {
    margin-bottom: 20px;
}

.kb-article-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 32px;
    padding-bottom: 16px;
    border: none;
    border-bottom: 2px solid #e8e8e8;
}

.kb-article-content {
    line-height: 1.7;
    color: #333;
    font-size: 15px;
}

    .kb-article-content h2 {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a1a;
        margin: 32px 0 12px;
        border: none;
    }

        .kb-article-content h2:first-child {
            margin-top: 0;
        }

    .kb-article-content p {
        margin: 0 0 12px;
    }

    .kb-article-content ul {
        margin: 0 0 16px;
        padding-left: 24px;
    }

    .kb-article-content li {
        margin-bottom: 6px;
    }

    .kb-article-content hr {
        border: none;
        border-top: 1px solid #e8e8e8;
        margin: 36px 0;
    }

    .kb-article-content a {
        color: #1a1a1a;
        text-decoration: underline;
    }

        .kb-article-content a:hover {
            color: #555;
        }

    .kb-article-content strong {
        font-weight: 700;
        color: #1a1a1a;
    }