/* =============================================================================
   KNOWLEDGE BASE ARTICLE PAGES (Tudástár cikkek)
   ============================================================================= */

/* Page Header */
.kb-article-header {
    background: linear-gradient(135deg, var(--bg-blue-light) 0%, #d0e8f2 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.kb-article-header .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.kb-article-header .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}

.kb-article-header .breadcrumb a:hover {
    text-decoration: underline;
}

.kb-article-header .breadcrumb .separator {
    color: var(--text-light);
}

.kb-article-header .breadcrumb .current {
    color: var(--text-secondary);
}

.kb-article-header h1 {
    font-size: 2.25rem;
    color: var(--text-primary);
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.3;
}

/* Article Body */
.kb-article {
    max-width: 820px;
    margin: 0 auto;
    padding: var(--spacing-3xl) 1rem;
}

.kb-article-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}

.kb-article h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-blue-light);
}

.kb-article h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.kb-article p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Numbered Section Card */
.kb-point {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.kb-point:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.kb-point-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.kb-point-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.kb-point-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.kb-point p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.kb-point p:last-child {
    margin-bottom: 0;
}

.kb-point-details {
    margin-top: 0.75rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--bg-blue-light);
}

.kb-point-details li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    list-style: none;
    position: relative;
    padding-left: 1.25rem;
}

.kb-point-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
}

/* Summary Box */
.kb-summary {
    background: linear-gradient(135deg, var(--bg-blue-light), #daeef8);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2.5rem;
}

.kb-summary h3 {
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.kb-summary p {
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Back link */
.kb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-top: 2.5rem;
    transition: gap 0.2s ease;
}

.kb-back-link:hover {
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 640px) {
    .kb-article-header {
        padding: 100px 0 40px;
    }

    .kb-article-header h1 {
        font-size: 1.6rem;
    }

    .kb-article {
        padding: 2rem 1rem;
    }

    .kb-point {
        padding: 1.25rem;
    }

    .kb-point-title {
        font-size: 1.1rem;
    }
}