.elementor .elementor-widget-gs-team-members:has([data-mps-team-archive]),
.elementor .elementor-widget-html:has([data-mps-team-archive]) {
    width: 100%;
    align-self: stretch;
    min-width: 0;
}
[data-mps-team-archive] .gs-roow.gs_team {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr));
    height: auto !important;
}
[data-mps-team-archive] .gs-roow.gs_team::before,
[data-mps-team-archive] .gs-roow.gs_team::after { display: none; }
[data-mps-team-archive] .gs-roow.gs_team > .single-member-div {
    width: auto !important; min-width: 0; max-width: none; position: relative !important;
    top: auto !important; left: auto !important;
}
[data-mps-team-archive] a.gs_team_pop { display: block; position: relative; container: team-card / inline-size; width: 100%; }
[data-mps-team-archive] .single-member { height: auto !important; max-height: none !important; }
[data-mps-team-archive] .gs-roow.gs_team { row-gap: 14px; }
[data-mps-team-archive] a.gs_team_pop .gs_team_image__wrapper {
    width: 100%; height: auto !important; aspect-ratio: 2 / 3; overflow: hidden;
}
[data-mps-team-archive] a.gs_team_pop .gs_team_image__wrapper img {
    display: block; width: 100%; height: 100% !important; object-fit: cover;
}
:is([data-mps-team-archive], .gs_team_popup, #gs_team_single) :is(.gs-member-desig,.gs-sin-mem-desig,.level-info-specialty):has(.mps-team-chip) {
    display: flex; flex-wrap: wrap; gap: 6px; padding: 0; background: transparent;
}
:is([data-mps-team-archive], .gs_team_popup, #gs_team_single) .mps-team-chip {
    display: inline-flex; align-items: center; max-width: 100%;
    min-height: 28px; padding: 3px 11px; box-sizing: border-box;
    border-radius: 999px; background: #eef0f2; color: #30343b;
    font: 500 13px/1.45 "MPS Local Montserrat", Montserrat, sans-serif;
    white-space: normal; overflow-wrap: anywhere;
}
@media (min-width: 768px) and (max-width: 1024px) {
    [data-mps-team-archive] .gs-roow.gs_team { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
[data-mps-team-archive] a.gs_team_pop > .single-member-name-desig {
    position: absolute !important;
    inset: auto 0 0 !important;
    z-index: 1;
    display: grid;
    gap: 2px;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
    margin: 0;
    padding: 6px clamp(7px, 3.5cqi, 12px) !important;
    transform: none !important;
    text-align: left;
    background: linear-gradient(to bottom, rgb(22 25 31 / .76), rgb(22 25 31 / .89)) !important;
}
body.mps-readable [data-mps-team-archive] a.gs_team_pop :is(.gs-member-name, .gs-member-desig) {
    display: block;
    width: 100%;
    min-width: 0;
    float: none;
    padding: 0 !important;
    margin: 0 !important;
    text-align: start;
    background: transparent !important;
}
body.mps-readable [data-mps-team-archive] a.gs_team_pop .gs-member-name {
    font: 600 clamp(14px, 6.5cqi, 18px)/1.25 "MPS Local Montserrat", Montserrat, sans-serif !important;
    color: white !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.mps-readable [data-mps-team-archive] a.gs_team_pop .gs-member-desig {
    font: 450 clamp(12px, 5.5cqi, 14px)/1.35 "MPS Local Montserrat", Montserrat, sans-serif !important;
    color: #f2f3f5 !important;
    block-size: 2lh;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: normal;
}
.mps-team-preview-short { display: none; }
@container team-card (max-width: 266px) {
    .mps-team-preview-wide:has(+ .mps-team-preview-short) { display: none; }
    .mps-team-preview-short { display: inline; }
}
@container team-card (max-width: 160px) {
    [data-mps-team-archive] a.gs_team_pop > .single-member-name-desig { padding-inline: 5px !important; }
    [data-mps-team-archive] a.gs_team_pop .mps-team-preview-short { letter-spacing: -.02em; }
}
@media (max-width: 767px) {
    [data-mps-team-archive] .gs-roow.gs_team { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
