.team-cards {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.team-cards h2 {
    color: var(--white);
}

.team-cards__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    object-fit: cover;
}

.team-cards::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #001E3B;
    opacity: 0.5;
    z-index: -1;
}

.team-cards--listings::before {
    display: none;
}

.team-card-slider {
    margin: 0 -38px;
    padding-top: 10px;
}

.team-card-slider .slick-slide {
    vertical-align: top;
}

.team-card-item {
    padding: 0 16px;
}

.team-card {
    position: relative;
    display: block;
    width: 199px;
    text-decoration: none;
    font-weight: normal;
}

.team-card__image {
    width: 100%;
    height: 269px;
    position: relative;
}

.team-card__image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 3px;
    border: 10px solid #F0F8FF;
    border-radius: 3px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.team-card__details {
    padding-top: 15px;
    text-align: center;
}

.team-card__title {
    color: var(--white);
    font-family: "Assistant", sans-serif;
    font-size: 1.5625rem;
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 10px;
}

.team-card__description {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.team-card__cta {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    border: none;
    background: none;
    padding: 0 22px 0 0;
}

.team-card__cta::after {
    content: '\e908';
    font-family: 'ettinger-icon';
    font-size: 0.875rem;
    line-height: 1em;
    font-weight: normal;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: rotate(-90deg) translateY(-50%);
    transform-origin: left center;
}

.team-cards__bttn {
    margin-top: 30px;
}

.team-cards__bttn .btn-group {
    gap: 20px 32px;
}

.team-cards__bttn .btn:has(+.btn) {
    margin-bottom: 0;
    margin-right: 0;
}

.team-card-slider .slick-arrow {
    bottom: auto;
    top: 115px;
    margin: 0;
}

.team-card-slider .slick-prev {
    left: 38px;
}

.team-card-slider .slick-next {
    right: 38px;
}

.team-cards--listings h2,
.team-cards--listings .team-card__title,
.team-cards--listings .team-card__description {
    color: var(--navy);
}

.team-cards--listings .team-card-slider {
    gap: 32px 0;
    margin: 0 0;
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
    justify-content: center;
}

.team-cards--listings .team-card-item {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.team-cards--listings .team-card {
    width: 100%;
}

.team-cards--listings .team-card__image {
    width: 200px;
    height: 257px;
    margin: 0 auto;
}

.team-cards--listings .team-card__description {
    font-size: 1rem;
}

.team-cards--listings .team-card__cta {
    font-size: 1.125rem;
    color: #9D6400;
    font-family: "Montserrat", sans-serif;
    padding-right: 20px;
}

.team-cards--listings .team-card__cta::after {
    right: -13px;
}

.team-card__image img {
    border-radius: 5px;
    object-position: 0 10px;
}

@media (min-width: 768px) {

    .team-card-slider {
        margin: 0 -16px;
    }

    .team-card {
        width: 100%;
    }

    .team-card-slider .slick-prev {
        left: -14px;
    }

    .team-card-slider .slick-next {
        right: -14px;
    }

    .team-cards--listings .team-card-slider {
        gap: 35px 0;
        padding-top: 15px;
    }

    .team-cards--listings .team-card__details {
        padding-top: 24px;
    }

    .team-cards--listings .team-card__image {
        width: 100%;
    }
}

@media (min-width: 990px) {
    .team-cards--listings .team-card__image {
        height: 375px;
    }
}

@media (min-width: 1200px) {

    .team-card-slider {
        margin: 0 -16px;
        padding: 25px 84px 0;
    }

    .team-card-slider .slick-arrow {
        top: 165px;
    }

    .team-card-slider .slick-prev {
        left: 16px;
    }

    .team-card-slider .slick-next {
        right: 16px;
    }

    .team-cards__bttn {
        margin-top: 34px;
    }

    .team-card__image {
        height: 340px;
    }

    .team-card__info {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 44, 87, 0.5);
        opacity: 0;
        transition: all .3s;
    }

    .team-card__info span {
        display: block;
        position: relative;
        color: var(--white);
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.20em;
        text-transform: uppercase;
        padding-right: 22px;
    }

    .team-card__info span::after {
        content: '\e908';
        font-family: 'ettinger-icon';
        font-size: 0.875rem;
        line-height: 1em;
        font-weight: normal;
        position: absolute;
        right: -15px;
        top: 50%;
        transform: rotate(-90deg) translateY(-50%);
        transform-origin: left center;
    }

    .team-card:hover .team-card__info {
        opacity: 1;
    }

    .team-card__details {
        padding-top: 19px;
    }

    .team-card__description {
        margin-bottom: 0;
    }

    .team-cards--listings .team-card-slider {
        padding: 15px 0 0;
        gap: 50px 0;
    }

    .team-cards--listings .team-card__description {
        font-size: 1.125rem;
    }

    .team-cards--listings .team-card__details {
        padding: 24px 15px 0;
    }

}

@media (min-width: 1367px) {
    .team-cards__wrap {
        padding: 0 55px;
    }

}