.team-loop--container {
    max-width: var(--theme-narrow-content-width);
    padding-top: 50px;
}

.team-loop--inner-slider > .team-loop--person:not(:first-child) {
    display: none;
}

.team-loop--inner-slider {
    max-width: 400px;
    margin: 0 auto;
}

.team-loop--person {
    position: relative;
    max-width: 400px;
}

.team-loop--image {
    aspect-ratio: 268/305;
}

.team-loop--content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.8));
    padding: 30px var(--theme-content-padding);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    transition: background-color .3s;
}

.team-loop--name {
    margin-bottom: 0;
}

.team-loop--position {
    color: var(--theme-gold);
    margin-bottom: 0;
}

.team-loop--arrows {
    display: flex;
    gap: 6px;
    max-width: 400px;
    margin: 0 auto 15px;
}

.team-loop--section .slick-arrow {
    width: 32px;
    height: 32px;
    position: static;
    color: inherit;
    border: 1px solid currentColor;
    border-radius: 50%;
    background-color: var(--theme-lt-green);
    background-repeat: no-repeat;
    background-position: center;
    transform: none;
}

.team-loop--section .slick-prev {
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.4723 6.52845L0.562384 6.52845M0.562384 6.52845L6.5286 12.4947M0.562384 6.52845L6.5286 0.562234' stroke='%23C5A458' stroke-width='1.125' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.team-loop--section .slick-next {
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.562383 6.52917H16.4723M16.4723 6.52917L10.5061 0.562957M16.4723 6.52917L10.5061 12.4954' stroke='%23C5A458' stroke-width='1.125' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
    .team-loop--inner-slider {
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
        gap: 30px;
    }

    .team-loop--inner-slider > .team-loop--person:not(:first-child) {
        display: block;
    }

    .team-loop--person {
        width: calc(50% - 15px);
        max-width: none;
    }
}

@media (min-width: 992px) {
    .team-loop--person {
        width: calc(33.3333% - 60px / 3);
    }

    .team-loop--image {
        aspect-ratio: 1;
    }

    .team-loop--content {
        opacity: 0;
        transition: opacity 0.3s ease, background-color .3s ease;
    }

    .team-loop--person:focus .team-loop--content,
    .team-loop--person:hover .team-loop--content {
        opacity: 1;
    }
}

.team-loop--person.no-image-mod {
    background: var(--theme-dk-green);
}

.team-loop--person.no-image-mod .team-loop--content {
    background: transparent;
    opacity: 1;
}

.team-loop--person.no-image-mod:focus .team-loop--content,
.team-loop--person.no-image-mod:hover .team-loop--content {
    background: rgba(0,0,0,0.5);
}