/* ================================ TEAM STYLE ================================ */
#team {
    min-height: auto !important;
    height: auto !important;
    justify-content: flex-start;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#team .two-columns {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-bottom: 5rem;
}

#team .team-content {
    width: 100%;
    max-width: 1650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.team-member {
    flex: 1;
    position: relative;
    border: 1px solid var(--color-text);
    padding: 3rem;
    border-radius: 8px;
    background: var(--color-bg);
    margin: 2vw;
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.team-member h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--color-text);
}

.team-headline-wrapper {
    width: 100%;
    max-width: 1650px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}

.team-headline {
    font-family: 'Lazare Grotesk Trial', Arial, sans-serif !important;
    font-weight: normal;
    letter-spacing: 1.7px;
    position: relative;
    font-size: 2.5rem;
    color: var(--color-accent-start);
    background: var(--color-bg);
    padding: 0 2rem;
    z-index: 2;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: center;
    white-space: nowrap;
}

.team-headline-wrapper::before {
    content: "";
    height: 2px;
    background: linear-gradient(to left, var(--color-accent-start), var(--color-accent-end));
    flex-grow: 1;
    min-width: 0;
    z-index: 1;
    margin-right: 0;
}

.team-headline-wrapper::after {
    content: "";
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-start), var(--color-accent-end));
    flex-grow: 1;
    min-width: 0;
    z-index: 1;
    margin-left: 0;
}

.team-headline-wrapper::before { margin-right: 0; }

.team-headline-wrapper::after  { margin-left: 0; }


.supporter-text {
    margin-bottom: 1rem;
    text-align: center;
}

.supporter-text h3 {
    font-size: 1.5rem;;
}

@media (max-width: 700px) {
    .team-headline {
        font-size: 1.6rem;
        padding: 0 0.6rem;
    }

    #team .two-columns {
        flex-direction: column;
        align-items: center;
    }
}