/* =============================================================================
   KB ARTICLE: Modern sérvsebészet szempontjai
   ============================================================================= */

/* Article layout */
.kb-mh-article {
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem 1rem;
}

/* Lead */
.kb-mh-lead {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-secondary);
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin-bottom: 3rem;
}

.kb-mh-intro {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* --- Text + Image Row --- */
.kb-mh-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.kb-mh-split--reversed .kb-mh-split-image {
    order: -1;
}

.kb-mh-split-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.kb-mh-split-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.kb-mh-split-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.kb-mh-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Section divider --- */
.kb-mh-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
    margin: 3rem 0;
}

/* --- Points Section Title --- */
.kb-mh-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* --- Point Cards (2-column grid) --- */
.kb-mh-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.kb-mh-point {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.kb-mh-point:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.kb-mh-point-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.kb-mh-point-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.kb-mh-point-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.35;
}

.kb-mh-point-body p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0 0 0.5rem;
}

.kb-mh-point-body p:last-child {
    margin-bottom: 0;
}

/* Detail list inside point */
.kb-mh-details {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.kb-mh-details li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.kb-mh-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* --- Wide highlight point (spans full width) --- */
.kb-mh-point--wide {
    border-left: 4px solid var(--primary);
    background: var(--bg-light);
}

/* --- Summary box --- */
.kb-mh-summary {
    background: linear-gradient(135deg, var(--bg-blue-light), #daeef8);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.kb-mh-summary h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.kb-mh-summary p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
}

/* Back link */
.kb-mh-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.kb-mh-back:hover {
    gap: 0.75rem;
}

/* --- Responsive --- */
@media (min-width: 768px) {
    .kb-mh-split {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .kb-mh-split--reversed .kb-mh-split-image {
        order: 0;
    }

    .kb-mh-split--reversed {
        direction: rtl;
    }

    .kb-mh-split--reversed > * {
        direction: ltr;
    }

    .kb-mh-points {
        grid-template-columns: 1fr 1fr;
    }

    .kb-mh-point--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .kb-mh-article {
        padding: 2rem 1rem;
    }

    .kb-mh-section-title {
        font-size: 1.3rem;
    }

    .kb-mh-point {
        padding: 1.25rem;
    }
}