.team-fold-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 120px 0px;
}

.team-folda-item {
    flex: 0 0 calc(100% / 4 - 23px);
}

.team-folda-item.team-item {
    cursor:pointer;
}

.team-folda-item-img {
    display: flex;
    background: #f2f2f2;
    border-radius: 20px;
}

.team-popup-img-inner {
    background: #f2f2f2;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
}

.team-popup-img {
    flex: 0 0 400px;
}

.team-popup-img-inner :is(img, picture) {
    flex: 1;
}

.team-popup-img-content .subtitle {
    color: var(--primary-color1);
    margin: 20px 0px 0px;
}

.team-popup-img-content {
    text-align: center;
}

.team-popup-wrap p:empty {
    display: none;
}

.team-popup-wrap br {
    display: none;
}

.team-folda-item-img :is(img, picture) {
    flex: 1;
    border-radius: 20px;
    transition: all 500ms ease;
}

.team-folda-item-content-subtext .subtitle {
    font-size: 28px;
    line-height: 36px;
    margin: 20px 0px 0px;
    color: var(--primary-color1);
}

.team-folda {
    width: var(--fold-width);
    margin: var(--fold-margin);
    background: white;
    border-radius: var(--global-radius);
}

.team-folda-item.team-item:hover img {
    filter: brightness(0.7);
}

.team-popup-wrap {
    display: flex;
    height: fit-content;
    padding: 40px;
    gap: 80px;
    align-items: flex-start;
    max-height: 600px;
    overflow-y: scroll;
    flex: 1;
}

.team-popup-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div#popup-team-item {
    max-width: 1250px;
    background: white;
}