.team-section > .team-section__summary {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
}

.team-section__summary::-webkit-details-marker {
    display: none;
}

.team-section__summary:focus-visible {
    outline: 2px solid var(--tenant-primary);
    outline-offset: 6px;
    border-radius: var(--tenant-radius-button);
}

.team-section__toggle {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.5rem;
    color: var(--tenant-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.team-section__collapse,
.team-section[open] > .team-section__summary .team-section__expand {
    display: none;
}

.team-section[open] > .team-section__summary .team-section__collapse {
    display: inline;
}

.team-section[open] > .team-section__summary .team-section__chevron {
    transform: rotate(180deg);
}

@media (max-width: 480px) {
    .team-section__toggle > span {
        display: none !important;
    }
}
