/*
|--------------------------------------------------------------------------
| Introduction
|--------------------------------------------------------------------------
*/

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

/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

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

.cew-intro-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
}

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

.cew-intro-eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2D6A4F;
    margin-bottom: 16px;
}

.cew-intro-heading {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    color: #1A2F23;
    margin: 0 0 16px 0;
}

.cew-intro-description {
    font-size: 18px;
    line-height: 1.7;
    color: #404943;
    margin: 0 0 24px 0;
}

/*
|--------------------------------------------------------------------------
| Social links
|--------------------------------------------------------------------------
*/

.cew-intro-social {
    display: flex;
    gap: 16px;
    padding-top: 8px;
}

.cew-intro-social a {
    width: 48px;
    height: 48px;

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

    border-radius: 999px;
    text-decoration: none;

    background-color: rgba(45,106,79,0.10);
    color: #2D6A4F;

    transition: all 0.3s ease;
}

.cew-intro-social a:hover {
    background-color: #2D6A4F;
    color: #ffffff;
}

.cew-intro-social .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: 24px;
    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 column
|--------------------------------------------------------------------------
*/

.cew-intro-media {
    position: relative;
}

.cew-intro-image {
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.cew-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.cew-intro-media:hover .cew-intro-image img {
    transform: scale(1.05);
}

/*
|--------------------------------------------------------------------------
| Stat badge
|--------------------------------------------------------------------------
*/

.cew-intro-stat {
    position: absolute;
    bottom: -24px;
    left: -24px;

    max-width: 200px;

    background-color: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.10);
}

.cew-intro-stat-number {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #2D6A4F;
    margin-bottom: 4px;
}

.cew-intro-stat-label {
    font-size: 12px;
    line-height: 1.4;
    color: #404943;
}

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

@media (max-width: 1024px) {

    .cew-intro-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

}

@media (max-width: 768px) {

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

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

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

    .cew-intro-description {
        font-size: 16px;
    }

    .cew-intro-stat {
        left: 0;
    }

}
