/* =========================================
   EMERGENCY SUPPORT
========================================= */

.emergency-support {
    padding: 40px 0;
    background: #f8fafc;
    overflow: hidden;
}

/* =========================================
   WRAPPER
========================================= */

.emergency-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);

    gap: 60px;

    align-items: start;

    width: 100%;
}

/* =========================================
   LEFT CONTENT
========================================= */

.emergency-content {
    max-width: 720px;
    min-width: 0;
    width: 100%;
}

.emergency-tag {
    display: inline-block;

    padding: 8px 16px;

    border-radius: 10px;

    background: rgba(20, 184, 166, 0.12);

    color: #0f766e;

    font-size: 0.85rem;
    font-weight: 700;

    margin-bottom: 18px;
}

.emergency-content h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);

    line-height: 1.1;

    letter-spacing: -2px;

    color: #0f172a;

    margin-bottom: 18px;

    word-break: break-word;
}

.emergency-content p {
    color: #64748b;

    font-size: clamp(0.95rem, 2vw, 1.05rem);

    line-height: 1.8;

    margin-bottom: 22px;
}

/* =========================================
   FEATURES
========================================= */

.emergency-list {
    list-style: none;

    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin: 0;
    padding: 0;

    width: 100%;
}

.emergency-list li {
    display: flex;
    align-items: center;

    gap: 8px;

    padding: 10px 14px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    font-size: 0.88rem;
    font-weight: 600;

    color: #334155;

    transition: all 0.2s ease;

    min-width: 0;
}

.emergency-list li i {
    color: #14b8a6;
    font-size: 0.9rem;

    flex-shrink: 0;
}

.emergency-list li span {
    word-break: break-word;
}

.emergency-list li:hover {
    transform: translateY(-2px);

    border-color: rgba(20, 184, 166, 0.3);

    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

/* =========================================
   RIGHT COLUMN
========================================= */

.emergency-action {
    display: flex;
    flex-direction: column;

    gap: 18px;

    position: sticky;
    top: 20px;

    min-width: 0;
    width: 100%;
}

/* =========================================
   ACTION CARD
========================================= */

.action-card {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 24px;

    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);

    text-align: left;
}

.action-card h3 {
    font-size: 1.3rem;

    color: #0f172a;

    margin-bottom: 10px;

    line-height: 1.3;
}

.action-card p {
    color: #64748b;

    font-size: 0.95rem;
    line-height: 1.6;

    margin-bottom: 16px;
}

/* =========================================
   BUTTONS
========================================= */

.emergency-button,
.emergency-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    text-decoration: none;

    font-weight: 700;

    border-radius: 10px;

    transition: all 0.25s ease;

    text-align: center;
}

/* PRIMARY BUTTON */

.emergency-button {
    padding: 14px 18px;

    background: #14b8a6;
    color: #ffffff;
}

.emergency-button:hover {
    background: #0d9488;

    transform: translateY(-2px);
}

/* CALL BUTTON */

.emergency-call-btn {
    margin-top: 18px;
    margin-bottom: 12px;

    padding: 12px 18px;

    background: #ffffff;

    border: 1px solid #14b8a6;

    color: #14b8a6;
}

.emergency-call-btn:hover {
    background: rgba(20, 184, 166, 0.08);

    transform: translateY(-2px);
}

/* =========================================
   NOTE
========================================= */

.emergency-note {
    display: block;

    margin-top: 4px;

    font-size: 0.82rem;

    color: #94a3b8;

    text-align: left;
}

/* =========================================
   LARGE TABLETS
========================================= */

@media (max-width: 960px) {

    .emergency-wrapper {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .emergency-content {
        max-width: 100%;
    }

    .emergency-action {
        position: relative;
        top: auto;
    }

    .emergency-list {
        flex-wrap: wrap;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .emergency-support {
        padding: 20px 0;
    }

    .emergency-wrapper {
        gap: 28px;
    }

    .emergency-content h2 {
        line-height: 1.15;

        letter-spacing: -1px;
    }

    .emergency-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .action-card {
        padding: 20px;

        border-radius: 16px;
    }

    .emergency-button,
    .emergency-call-btn {
        font-size: 0.95rem;
    }

    /* IMPORTANT FIX FOR YOUR LIST */

    .emergency-list {
        flex-direction: column;
        align-items: stretch;

        gap: 12px;
    }

    .emergency-list li {
        width: 100%;

        justify-content: flex-start;

        white-space: normal;

        font-size: 0.85rem;

        line-height: 1.5;
    }
}

/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .emergency-content h2 {
        font-size: 1.7rem;
    }

    .action-card {
        padding: 16px;
    }

    .emergency-list li {
        padding: 10px 12px;

        font-size: 0.8rem;
    }

    .emergency-button,
    .emergency-call-btn {
        padding: 12px 14px;
    }
}