.leadership-carousel {
    background: #f4f0ea;
}

.leadership-team {
    background: transparent;
    gap: clamp(2rem, 5vw, 5rem);
    grid-auto-columns: calc((100% - clamp(2rem, 5vw, 5rem)) / 2);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-inline: auto;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 1.5rem 0 4rem;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    width: min(calc(100% - 4rem), 1180px);
}

.leadership-team::-webkit-scrollbar {
    display: none;
}

.leadership-section {
    scroll-snap-align: start;
}

.leadership-controls {
    padding-top: 0;
}

.collaborators-grid {
    display: grid;
    gap: clamp(1.25rem, 2.25vw, 2rem);
    grid-auto-columns: calc((100% - clamp(1.25rem, 2.25vw, 2rem) - clamp(1.25rem, 2.25vw, 2rem) - clamp(1.25rem, 2.25vw, 2rem)) / 4);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-inline: auto;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2.25rem 0 0;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    width: min(calc(100% - 4rem), 1180px);
}

.collaborators-grid::-webkit-scrollbar {
    display: none;
}

.collaborator-profile {
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.collaborator-portrait {
    aspect-ratio: 1;
}

.collaborator-profile .leader-details {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.collaborator-profile .leader-links {
    margin-top: auto;
}

.collaborators-controls {
    display: flex;
    gap: .75rem;
    justify-content: flex-end;
    padding: 0 max(2rem, calc((100vw - 1180px) / 2));
}

.collaborators-arrow {
    align-items: center;
    background: transparent;
    border: 1px solid var(--brown);
    border-radius: 50%;
    color: var(--brown);
    display: inline-flex;
    height: 3rem;
    justify-content: center;
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
    width: 3rem;
}

.collaborators-arrow:hover:not(:disabled),
.collaborators-arrow:focus-visible {
    background: var(--brown);
    color: #fff;
}

.collaborators-arrow:focus-visible {
    outline: 2px solid var(--brown);
    outline-offset: 3px;
}

.collaborators-arrow:disabled {
    cursor: not-allowed;
    opacity: .35;
}

.collaborator-profile h3 {
    font-size: clamp(1.5rem, 1.7vw, 1.9rem);
    min-height: 2em;
}

.collaborator-credential {
    background: transparent;
    border-left: 0;
    display: block;
    font-size: .9rem;
    margin-top: 1rem;
    padding: 0;
}

.collaborator-intro {
    min-height: 5.1em;
}

.collaborator-stats {
    border-block: 1px solid rgba(75, 48, 38, .18);
    display: flex;
    gap: 1rem;
    margin: 1rem 0 1.25rem;
    padding: .8rem 0;
}

.collaborator-stats span {
    color: #5f666b;
    font-size: .78rem;
    line-height: 1.25;
}

.collaborator-stats strong {
    color: var(--brown);
    display: block;
    font-size: 1rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .collaborators-grid {
        grid-auto-columns: calc((100% - 2rem) / 2);
    }
}

@media (max-width: 767px) {
    .leadership-team {
        gap: 1.25rem;
        grid-auto-columns: 100%;
        grid-template-columns: none;
        padding: 2rem 0 4.5rem;
        width: calc(100% - 2.5rem);
    }

    .collaborators-grid {
        gap: 1.25rem;
        grid-auto-columns: 100%;
        grid-template-columns: none;
        padding-top: 2rem;
        width: calc(100% - 2.5rem);
    }

    .collaborators-controls {
        padding: 0 1.25rem;
    }

    .collaborator-profile h3 {
        min-height: 0;
    }

    .collaborator-intro {
        min-height: 0;
    }
}
