/*
|--------------------------------------------------------------------------
| Staffing & Training
|--------------------------------------------------------------------------
*/

.cew-st {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f9f9f8;
}

.cew-st-container {
    max-width: 1200px;
    margin: auto;
    padding-left: 48px;
    padding-right: 48px;
}

.cew-st-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
    align-items: start;
}

/*
|--------------------------------------------------------------------------
| Text column
|--------------------------------------------------------------------------
*/

.cew-st-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cew-st-heading {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    color: #0f5238;

    border-left: 4px solid #2D6A4F;
    padding-left: 24px;

    margin: 0;
}

.cew-st-body-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cew-st-lead {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
    color: #1A2F23;
    margin: 0;
}

.cew-st-body {
    font-size: 16px;
    line-height: 1.75;
    color: #404943;
    margin: 0;
}

/*
|--------------------------------------------------------------------------
| Certifications panel
|--------------------------------------------------------------------------
*/

.cew-st-certs {
    background-color: #f3f4f3;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(191, 201, 193, 0.30);
}

.cew-st-certs-heading {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f5238;
    margin: 0 0 16px 0;
}

.cew-st-certs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cew-st-cert {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 14px;
    line-height: 1.4;
    color: #1a1c1c;
}

.cew-st-cert .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    font-size: 18px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;

    flex-shrink: 0;
    color: #2D6A4F;
}

/*
|--------------------------------------------------------------------------
| Media column
|--------------------------------------------------------------------------
*/

.cew-st-media {
    position: relative;
    height: 100%;
    min-height: 300px;

    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.10), 0 8px 10px -6px rgba(0,0,0,0.10);
}

.cew-st-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .cew-st-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;

        /* keep text above the image when "Image on Left" is on */
        direction: ltr !important;
    }

    .cew-st-media {
        min-height: 260px;
    }

}

@media (max-width: 768px) {

    .cew-st {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .cew-st-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .cew-st-heading {
        font-size: 28px;
        padding-left: 16px;
    }

    .cew-st-lead {
        font-size: 17px;
    }

}
