/* =========================================================
   ECU Summon No Results Cards
   ========================================================= */

#ecu-no-results-help-cards {
    width: 100%;
    max-width: 1000px;

    margin: 30px 0 30px;

    padding: 0 5px;

    box-sizing: border-box;
}


/* =========================================================
   Section heading
   ========================================================= */

.ecu-no-results-card-heading {
    margin: 0 0 18px;

    color: #333;

    font-size: 20px;

    font-weight: 600;

    line-height: 1.3;
}


/* =========================================================
   Card grid
   ========================================================= */

.ecu-no-results-card-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(260px, 1fr));

    gap: 16px;

    width: 100%;
}


/* =========================================================
   Individual cards
   ========================================================= */

.ecu-no-results-card {
    position: relative;

    display: flex;

    align-items: flex-start;

    width: 100%;

    min-height: 125px;

    box-sizing: border-box;

    padding: 20px;

    background: #fff;

    border: 1px solid #d5d5d5;

    border-left: 5px solid #592a8a;

    border-radius: 6px;

    color: #333 !important;

    text-align: left;

    text-decoration: none !important;

    box-shadow:
        0 2px 5px rgba(0, 0, 0, .08);

    cursor: pointer;

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        border-color .15s ease;

    font-family: inherit;
}


/* =========================================================
   Hover
   ========================================================= */

.ecu-no-results-card:hover {
    border-color: #592a8a;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, .15);

    transform: translateY(-2px);

    text-decoration: none !important;
}


/* =========================================================
   Keyboard focus
   ========================================================= */

.ecu-no-results-card:focus {
    outline: 3px solid #fdbb30;

    outline-offset: 2px;
}


/* =========================================================
   Icons
   ========================================================= */

.ecu-card-icon {
    flex: 0 0 42px;

    width: 42px;

    height: 42px;

    margin-right: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

    line-height: 1;
}


/* =========================================================
   Purple circle behind ! and ?
   ========================================================= */

.ecu-no-results-card:nth-child(2) .ecu-card-icon,
.ecu-no-results-card:nth-child(4) .ecu-card-icon {

    width: 42px;

    height: 42px;

    flex: 0 0 42px;

    box-sizing: border-box;

    border-radius: 50%;

    background-color: #592a8a;

    color: #ffffff;

    font-size: 25px;

    font-weight: 700;

    line-height: 42px;

    text-align: center;
}


/* =========================================================
   Card content
   ========================================================= */

.ecu-card-content {
    display: flex;

    flex-direction: column;

    padding-right: 25px;
}


/* =========================================================
   Card title
   ========================================================= */

.ecu-card-title {
    display: block;

    margin-bottom: 7px;

    color: #592a8a;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.25;
}


/* =========================================================
   Card description
   ========================================================= */

.ecu-card-description {
    display: block;

    color: #555;

    font-size: 14px;

    line-height: 1.45;
}


/* =========================================================
   Arrow
   ========================================================= */

.ecu-card-arrow {
    position: absolute;

    right: 14px;

    top: 50%;

    transform: translateY(-50%);

    color: #592a8a;

    font-size: 28px;

    line-height: 1;
}


/* =========================================================
   Mobile / tablet
   ========================================================= */

@media screen and (max-width: 800px) {

    .ecu-no-results-card-grid {
        grid-template-columns: 1fr;
    }
}


@media screen and (max-width: 500px) {

    #ecu-no-results-help-cards {
        padding-left: 0;

        padding-right: 0;
    }

    .ecu-no-results-card {
        min-height: 110px;

        padding: 17px;
    }

    .ecu-card-title {
        font-size: 16px;
    }

    .ecu-card-description {
        font-size: 13px;
    }
}
