/* =============================================================================
   SURGERY PAGE: Köldöksérv rectus diastasissal (Umbilical Hernia + Diastasis)
   ============================================================================= */

/* Header */
.uhd-header {
    background: linear-gradient(135deg, #0a2540 0%, #1a4a7a 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
}

.uhd-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.uhd-header-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* Article body */
.uhd-article {
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem 1rem;
}

/* Section */
.uhd-section {
    margin-bottom: 0.5rem;
}

/* Section title */
.uhd-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-blue-light);
}

/* Divider */
.uhd-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
    margin: 3rem 0;
}

/* Body text */
.uhd-body-text {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ---- Intro split: text + image ---- */
.uhd-intro-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.uhd-intro-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.uhd-intro-text p:last-child {
    margin-bottom: 0;
}

.uhd-intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.uhd-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Diastasis split: text + image ---- */
.uhd-diastasis-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.uhd-diastasis-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.uhd-diastasis-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
}

.uhd-diastasis-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Two column cards (okok + tünetek) ---- */
.uhd-two-col-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.uhd-card {
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
}

.uhd-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.uhd-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uhd-card ul li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.uhd-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Causes card */
.uhd-card--causes {
    background: #fef9f0;
    border-left: 4px solid var(--warning);
}

.uhd-card--causes h3 {
    color: #92600a;
}

.uhd-card--causes ul li::before {
    background: var(--warning);
}

/* Symptoms card */
.uhd-card--symptoms {
    background: var(--bg-blue-light);
    border-left: 4px solid var(--primary);
}

.uhd-card--symptoms h3 {
    color: var(--primary-dark);
}

.uhd-card--symptoms ul li::before {
    background: var(--primary-light);
}

/* ---- Info note box ---- */
.uhd-info-note {
    background: var(--bg-blue-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
}

.uhd-info-note p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
}

.uhd-info-note--inline {
    margin-top: 1rem;
    margin-bottom: 0;
    background: #f0fdf4;
    border-left-color: var(--success);
}

.uhd-info-note--inline p {
    font-weight: 600;
    color: #166534;
}

/* ---- Warning box ---- */
.uhd-warning-box {
    background: #fef2f2;
    border-left: 4px solid var(--danger);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 1.5rem 1.75rem;
}

.uhd-warning-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #7f1d1d;
    margin: 0;
}

/* ---- Highlight box ---- */
.uhd-highlight-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.uhd-highlight-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.uhd-highlight-box p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-primary);
    margin: 0;
}

/* ---- Surgery method cards ---- */
.uhd-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.uhd-method {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.uhd-method:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.uhd-method-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}

.uhd-method--robot .uhd-method-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.uhd-method--lap .uhd-method-badge {
    background: linear-gradient(135deg, var(--accent), #2e9e85);
}

.uhd-method--open .uhd-method-badge {
    background: linear-gradient(135deg, var(--text-secondary), #3d5065);
}

.uhd-method-badge-num {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.uhd-method-body {
    padding: 1.5rem;
}

.uhd-method-body > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.uhd-method-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

/* Mesh info box inside robot method */
.uhd-mesh-info {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.25rem 0;
}

.uhd-mesh-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.uhd-mesh-info p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0 0 0.75rem;
}

.uhd-mesh-info p:last-child {
    margin-bottom: 0;
}

/* Advantages box */
.uhd-advantages {
    margin: 1.25rem 0;
}

.uhd-advantages h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.uhd-advantages ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uhd-advantages ul li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.uhd-advantages ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Steps list (nyitott műtét menete) */
.uhd-steps-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    counter-reset: steps;
}

.uhd-steps-list li {
    position: relative;
    padding-left: 2.25rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    counter-increment: steps;
}

.uhd-steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-blue-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pros & Cons */
.uhd-pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.uhd-pros,
.uhd-cons {
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.uhd-pros {
    background: #f0fdf4;
    border-left: 3px solid var(--success);
}

.uhd-cons {
    background: #fef2f2;
    border-left: 3px solid var(--danger);
}

.uhd-pros h4,
.uhd-cons h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.uhd-pros h4 {
    color: #166534;
}

.uhd-cons h4 {
    color: #991b1b;
}

.uhd-pros ul,
.uhd-cons ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uhd-pros ul li,
.uhd-cons ul li {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    padding-left: 1.25rem;
    position: relative;
}

.uhd-pros ul li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.uhd-cons ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

/* Recovery box */
.uhd-method-recovery {
    margin-top: 1.25rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.uhd-method-recovery h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.6rem;
}

.uhd-recovery-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uhd-recovery-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.uhd-recovery-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Back link */
.uhd-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.uhd-back:hover {
    gap: 0.75rem;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (min-width: 768px) {
    .uhd-intro-split {
        grid-template-columns: 1.3fr 1fr;
        gap: 3rem;
    }

    .uhd-diastasis-split {
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
    }

    .uhd-two-col-cards {
        grid-template-columns: 1fr 1fr;
    }

    .uhd-pros-cons {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .uhd-header {
        padding: 100px 0 40px;
    }

    .uhd-header h1 {
        font-size: 1.7rem;
    }

    .uhd-header-sub {
        font-size: 1rem;
    }

    .uhd-article {
        padding: 2rem 1rem;
    }

    .uhd-section-title {
        font-size: 1.3rem;
    }

    .uhd-method-body {
        padding: 1.25rem;
    }

    .uhd-highlight-box {
        padding: 1.5rem;
    }
}