.team-archive {
    padding-bottom: 100px;
}

.team-archive__section:first-of-type {
    margin-top: 0;
}

.team-archive__section {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 6.25rem;
}

.team-archive__section-title {
    color: var(--color-black);
    line-height: 1;
    text-align: center;
}

.team-archive__grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    column-gap: 16px;
    row-gap: 64px;
}

.team-card {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 18.9375rem;
}

.team-card__image {
    border-radius: 16px;
    display: block;
    height: 192px;
    object-fit: cover;
    width: 100%;
}

.team-card__content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    padding-left: 12px;
    padding-right: 12px;
    text-align: center;
    width: 100%;
}

.team-card__name {
    color: var(--color-black);
    line-height: 1;
    width: 100%;
    margin-top: 1.5rem;
}

.team-card__role {
    color: var(--color-dark-shade);
    line-height: 1;
    width: 100%;
    margin-top: 1rem;
}

.team-card__button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-width: 93px;
    margin-top: 1.5rem;
}

.team-archive-location {
    border-radius: 24px;
    display: grid;
    gap: 4px;
    grid-template-columns: minmax(0, 1.017) minmax(0, 0.994);
    margin-top: 100px;
    overflow: hidden;
}

.team-archive-location__map {
    background: #e8ebef;
    min-height: 380px;
    position: relative;
}

.team-archive-location__content {
    align-items: flex-start;
    background: var(--color-light-shade);
    display: flex;
    flex-direction: column;
    gap: 36px;
    justify-content: center;
    padding: 64px 48px;
}

.team-archive-location__title {
    color: var(--color-black);
    line-height: 1;
}

.team-archive-location__copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-archive-location__address {
    color: var(--color-black);
    font-weight: 700;
    line-height: 1.6;
}

.team-archive-location__text {
    color: var(--color-dark-shade);
    line-height: 1.6;
    max-width: 669px;
}

.team-archive-location__button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-width: 80px;
}

.team-archive__shape {
    display: none;
    height: 282px;
    pointer-events: none;
    position: absolute;
    top: 175px;
    width: 144px;
    z-index: -1;
}

.team-archive__shape--left {
    background: url('../../icons/hero-shape-left.svg') center / contain no-repeat;
    left: 0;
}

.team-archive__shape--right {
    background: url('../../icons/hero-shape-right.svg') center / contain no-repeat;
    right: 0;
    top: 415px;
}

@media (max-width: 806px) {
    .team-card {
        max-width: 22.875rem;
        width: 100%;
    }
}