/* =============================================================================
   SURGERY PAGE: Nagy hegsérvek / komplex sérv (Incisional Hernia)
   Prefix: ih-
   ============================================================================= */

/* Header */
.ih-header {
    background: linear-gradient(135deg, #0a2540 0%, #1a4a7a 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
}

.ih-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.ih-header-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* Article body */
.ih-article {
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem 1rem;
}

/* Section */
.ih-section {
    margin-bottom: 0.5rem;
}

/* Section title */
.ih-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 */
.ih-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
    margin: 3rem 0;
}

/* Body text */
.ih-body-text {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ---- Intro split: text + image ---- */
.ih-intro-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ih-intro-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.ih-intro-text p:last-child {
    margin-bottom: 0;
}

.ih-intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ih-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Size classification box ---- */
.ih-size-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;
    text-align: center;
}

.ih-size-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);
}

.ih-size-box p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-primary);
    margin: 0;
}

.ih-size-box strong {
    color: var(--primary-dark);
    font-size: 1.25rem;
}

/* ---- Importance callout ---- */
.ih-importance {
    background: #fef9f0;
    border-left: 4px solid var(--warning);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
}

.ih-importance p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.ih-importance p:last-child {
    margin-bottom: 0;
}

/* ---- Procedure explanation ---- */
.ih-procedure-block {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.ih-procedure-block p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.ih-procedure-block p:last-child {
    margin-bottom: 0;
}

/* ---- Mesh info highlight ---- */
.ih-mesh-highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.ih-mesh-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--success), #16a34a);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.ih-mesh-highlight h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 0.75rem;
}

.ih-mesh-highlight p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin: 0 0 0.75rem;
}

.ih-mesh-highlight p:last-child {
    margin-bottom: 0;
}

/* ---- Note inline ---- */
.ih-note {
    font-size: 0.98rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ---- Surgery method cards ---- */
.ih-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.ih-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;
}

.ih-method:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.ih-method-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}

.ih-method--open .ih-method-badge {
    background: linear-gradient(135deg, var(--text-secondary), #3d5065);
}

.ih-method--robot .ih-method-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.ih-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;
}

.ih-method-body {
    padding: 1.5rem;
}

.ih-method-body > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Pros & Cons */
.ih-pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.ih-pros,
.ih-cons {
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.ih-pros {
    background: #f0fdf4;
    border-left: 3px solid var(--success);
}

.ih-cons {
    background: #fef2f2;
    border-left: 3px solid var(--danger);
}

.ih-pros h4,
.ih-cons h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.ih-pros h4 {
    color: #166534;
}

.ih-cons h4 {
    color: #991b1b;
}

.ih-pros ul,
.ih-cons ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ih-pros ul li,
.ih-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;
}

.ih-pros ul li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.ih-cons ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

/* Robot advantages list */
.ih-advantages ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ih-advantages ul li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.ih-advantages ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Robot info note */
.ih-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-top: 1.25rem;
}

.ih-info-note p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
}

/* Back link */
.ih-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.ih-back:hover {
    gap: 0.75rem;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (min-width: 768px) {
    .ih-intro-split {
        grid-template-columns: 1.3fr 1fr;
        gap: 3rem;
    }

    .ih-pros-cons {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .ih-header {
        padding: 100px 0 40px;
    }

    .ih-header h1 {
        font-size: 1.7rem;
    }

    .ih-header-sub {
        font-size: 1rem;
    }

    .ih-article {
        padding: 2rem 1rem;
    }

    .ih-section-title {
        font-size: 1.3rem;
    }

    .ih-method-body {
        padding: 1.25rem;
    }

    .ih-size-box,
    .ih-procedure-block,
    .ih-mesh-highlight {
        padding: 1.5rem;
    }
}