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