.emteam {
    max-width: 1216px;
    margin-inline: auto;
    padding-block: 20px 40px;
    color: #0b263e;
    container-type: inline-size;
}

.emteam .emteam__header {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px 24px;
    margin: 0 0 clamp(24px, 4vw, 48px);
}

.emteam .emteam__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #e3eefe;
    color: #0053d6;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.emteam .emteam__header h2 {
    margin: 10px 0 4px;
    color: #0b263e;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.12;
    text-transform: uppercase;
}

.emteam .emteam__header p {
    margin: 0;
    color: #44546b;
    font-size: 14px;
    line-height: 1.5;
}

.emteam .emteam__controls {
    display: flex;
    gap: 12px;
}

.emteam .emteam__controls[hidden] {
    display: none;
}

.emteam .emteam__controls button {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 0;
    border: 1px solid #c6d4e5;
    border-radius: 50%;
    background: #fff;
    color: #253952;
    cursor: pointer;
}

.emteam .emteam__controls button:hover {
    background: #e3eefe;
}

.emteam .emteam__track:focus-visible,
.emteam .emteam__controls button:focus-visible {
    outline: 2px solid #0053d6;
    outline-offset: 2px;
}

.emteam ul.emteam__track {
    position: relative;
    direction: ltr;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.emteam .emteam__track::-webkit-scrollbar {
    display: none;
}

.emteam .emteam__card {
    box-sizing: border-box;
    flex: 0 0 min(320px, 85%);
    min-width: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid #dce5f0;
    border-radius: 24px;
    background: #f5f7f9;
    scroll-snap-align: start;
    overflow-wrap: anywhere;
}

.emteam .emteam__photo {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 6px;
    aspect-ratio: 270 / 224;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 16px;
    background: #0e1d38;
    color: #bacbe0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.emteam .emteam__photo .dashicons {
    width: 48px;
    height: 48px;
    color: #559df4;
    font-size: 48px;
}

.emteam .emteam__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.emteam .emteam__card h3 {
    margin: 0 0 4px;
    color: #0b263e;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.emteam .emteam__card p {
    margin: 0;
    line-height: 1.55;
}

.emteam .emteam__card .emteam__role {
    color: #0053d6;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.emteam .emteam__card .emteam__bio {
    margin-top: 12px;
    color: #44546b;
    font-size: .875rem;
}

@container (max-width: 640px) {
    .emteam ul.emteam__track {
        gap: 16px;
    }

    .emteam .emteam__card {
        padding: 18px;
    }
}
