/*
|--------------------------------------------------------------------------
| SLT Bento (Plain Talk Project & Identity)
|--------------------------------------------------------------------------
*/

.cew-slt-bento {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #ffffff;
}

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

.cew-slt-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.cew-slt-bento-tile {
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #bfc9c1;
}

/*
|--------------------------------------------------------------------------
| Plain Talk (8 cols)
|--------------------------------------------------------------------------
*/

.cew-slt-bento-plain {
    grid-column: span 8;
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 40px;
}

.cew-slt-bento-plain-body {
    position: relative;
    z-index: 10;
}

.cew-slt-bento-plain-eyebrow {
    display: block;
    margin-bottom: 16px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #F4A261;
}

.cew-slt-bento-plain-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #0f5238;
    margin: 0 0 24px 0;
}

.cew-slt-bento-plain-text {
    max-width: 36rem;
    font-size: 18px;
    line-height: 30px;
    color: #404943;
    margin: 0 0 32px 0;
}

.cew-slt-bento-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 32px;
    border-radius: 12px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
    background-color: #0f5238;
    color: #ffffff;

    transition: box-shadow 0.3s ease;
}

.cew-slt-bento-btn:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.20);
}

.cew-slt-bento-btn .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

/* oversized decorative glyph bleeding off the corner */
.cew-slt-bento-plain-watermark {
    position: absolute;
    right: -80px;
    top: -40px;
    z-index: 1;

    font-size: 300px;
    line-height: 1;
    color: currentColor;
    opacity: 0.05;

    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cew-slt-bento-plain:hover .cew-slt-bento-plain-watermark {
    opacity: 0.1;
}

/*
|--------------------------------------------------------------------------
| Identity (4 cols)
|--------------------------------------------------------------------------
*/

.cew-slt-bento-identity {
    grid-column: span 4;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 40px;

    background-color: #2D6A4F;
    color: #ffffff;
    border-color: transparent;
}

.cew-slt-bento-identity-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: auto;
}

.cew-slt-bento-identity-body {
    margin-top: 24px;
}

.cew-slt-bento-identity-heading {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    margin: 0 0 16px 0;
}

.cew-slt-bento-identity-text {
    font-size: 16px;
    line-height: 26px;
    opacity: 0.8;
    margin: 0;
}

/*
|--------------------------------------------------------------------------
| Empowering Information (12 cols, split)
|--------------------------------------------------------------------------
*/

.cew-slt-bento-empower {
    grid-column: span 12;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    background-color: rgba(244, 241, 222, 0.30);
    border-color: transparent;
}

.cew-slt-bento-empower-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.cew-slt-bento-empower-heading {
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: #0f5238;
    margin: 0 0 24px 0;
}

.cew-slt-bento-empower-lead {
    font-size: 18px;
    line-height: 30px;
    color: #404943;
    margin: 0 0 24px 0;
}

.cew-slt-bento-empower-list {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cew-slt-bento-empower-item {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 16px;
    line-height: 26px;
    color: #1a1c1c;
}

.cew-slt-bento-empower-item .material-symbols-outlined {
    flex-shrink: 0;
    color: #2D6A4F;
    font-size: 24px;
    line-height: 1;
    /* filled variant to match the solid check in the reference */
    font-variation-settings: 'FILL' 1;
}

.cew-slt-bento-empower-media {
    position: relative;
    min-height: 300px;
    background-color: #e2e2e2;
}

.cew-slt-bento-empower-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

@media (max-width: 900px) {

    .cew-slt-bento-plain,
    .cew-slt-bento-identity,
    .cew-slt-bento-empower {
        grid-column: span 12;
    }

    .cew-slt-bento-plain-heading {
        font-size: 36px;
    }

}

@media (max-width: 768px) {

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

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

    .cew-slt-bento-plain,
    .cew-slt-bento-identity,
    .cew-slt-bento-empower-text {
        padding: 28px;
    }

    .cew-slt-bento-plain-heading {
        font-size: 28px;
    }

    .cew-slt-bento-plain-text,
    .cew-slt-bento-empower-lead {
        font-size: 16px;
        line-height: 26px;
    }

    .cew-slt-bento-empower {
        grid-template-columns: minmax(0, 1fr);
    }

    .cew-slt-bento-empower-heading {
        font-size: 28px;
        line-height: 36px;
    }

    .cew-slt-bento-empower-media {
        min-height: 240px;
        order: -1;
    }

    .cew-slt-bento-btn {
        width: 100%;
        justify-content: center;
    }

}
