/*
|--------------------------------------------------------------------------
| Site Team & Info
|--------------------------------------------------------------------------
*/

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

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

.cew-st2-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}

/*
|--------------------------------------------------------------------------
| Main column
|--------------------------------------------------------------------------
*/

.cew-st2-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

/*
|--------------------------------------------------------------------------
| Team members
|--------------------------------------------------------------------------
*/

.cew-st2-team {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.cew-st2-member {
    display: flex;
    align-items: flex-start;
    gap: 16px;

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

    background-color: #f3f4f3;
    border: 1px solid #bfc9c1;
}

.cew-st2-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;

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

    border-radius: 999px;
    background-color: #2D6A4F;
}

.cew-st2-avatar .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;

    color: #ffffff;
}

.cew-st2-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #0f5238;
    margin: 0;
    text-decoration: none;
}

a.cew-st2-name:hover {
    text-decoration: underline;
}

.cew-st2-role {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #404943;
    margin: 2px 0 0 0;
}

/*
|--------------------------------------------------------------------------
| Note panel
|--------------------------------------------------------------------------
*/

.cew-st2-note {
    background-color: #eeeeed;
    padding: 32px;

    border-radius: 12px;
    border: 1px solid #bfc9c1;
}

.cew-st2-note-heading {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1c1c;
    margin: 0 0 8px 0;
}

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

/*
|--------------------------------------------------------------------------
| Sidebar
|--------------------------------------------------------------------------
*/

.cew-st2-side {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/*
|--------------------------------------------------------------------------
| CQC card
|--------------------------------------------------------------------------
*/

.cew-st2-cqc {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #bfc9c1;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden;
}

.cew-st2-cqc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    background-color: #244293;
    color: #ffffff;
    padding: 16px;
}

.cew-st2-cqc-title {
    font-weight: 700;
}

.cew-st2-cqc-head img {
    height: 24px;
    width: auto;
    display: block;
}

.cew-st2-cqc-body {
    padding: 32px;
    text-align: center;
}

.cew-st2-cqc-service {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1c1c;
    margin: 0 0 12px 0;
}

.cew-st2-cqc-badge {
    display: inline-block;

    padding: 8px 16px;
    border-radius: 4px;

    font-weight: 700;
    color: #ffffff;
    text-decoration: none;

    background-color: #f39200;
}

a.cew-st2-cqc-badge:hover {
    filter: brightness(1.08);
}

.cew-st2-cqc-date {
    font-size: 12px;
    line-height: 1.5;
    color: #404943;
    margin: 16px 0 0 0;
}

/*
|--------------------------------------------------------------------------
| Address card
|--------------------------------------------------------------------------
*/

.cew-st2-address {
    background-color: #0f5238;
    color: #ffffff;

    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.10);
}

.cew-st2-address-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.cew-st2-address-text {
    font-style: normal;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.cew-st2-address-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 16px;

    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.cew-st2-address-phone:hover {
    text-decoration: underline;
}

.cew-st2-address-phone .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 20px;
    line-height: 1;
}

.cew-st2-btn {
    display: block;
    width: 100%;

    margin-top: 24px;
    padding: 12px 24px;

    border-radius: 8px;
    background-color: #ffffff;
    color: #0f5238;

    font-weight: 700;
    text-align: center;
    text-decoration: none;

    transition: background-color 0.3s ease;
}

.cew-st2-btn:hover {
    background-color: #eeeeed;
}

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

@media (max-width: 1024px) {

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

}

@media (max-width: 768px) {

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

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

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

    .cew-st2-team {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .cew-st2-note,
    .cew-st2-address,
    .cew-st2-cqc-body {
        padding: 24px;
    }

}
