/*
|--------------------------------------------------------------------------
| Site Overview
|--------------------------------------------------------------------------
*/

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

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

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

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

.cew-so-text-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.cew-so-text {
    font-size: 16px;
    line-height: 1.7;
    color: #404943;
    margin: 0;
}

/*
|--------------------------------------------------------------------------
| Feature chips
|--------------------------------------------------------------------------
*/

.cew-so-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 8px;
}

.cew-so-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #0f5238;
}

.cew-so-chip .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 22px;
    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;
}

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

.cew-so-media {
    position: relative;
    height: 320px;

    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(45, 106, 79, 0.10);

    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

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

.cew-so-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cew-so-placeholder .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
    font-size: 60px;
    line-height: 1;
    color: #2D6A4F;
}

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

@media (max-width: 900px) {

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

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

}

@media (max-width: 768px) {

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

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

    .cew-so-heading {
        font-size: 28px;
    }

    .cew-so-media {
        height: 240px !important;
    }

}
