.team-widget__head {
    margin-bottom: 36px;
}

.team-widget__title {
    margin: 0;
}

.team-widget__slider {
    position: relative;
    min-width: 0;
    padding-inline: 88px;
    touch-action: pan-y;
}

.team-widget__swiper {
    overflow: hidden;
}

.team-widget__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.team-widget__slide {
    height: auto;
    min-width: 0;
}

.team-widget__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    border: 1px solid rgba(212, 223, 210, 0.95);
    background: var(--color-surface);
}

.team-widget__image-wrap {
    aspect-ratio: 1 / 1;
    background: var(--color-surface-muted);
    overflow: hidden;
}

.team-widget__image-wrap--placeholder {
    background: #e8f3e6;
}

.team-widget__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-widget__content {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 20px;
}

.team-widget__name {
    margin: 0;
    color: var(--color-text);
    font-size: 1.5rem;
    line-height: 1.3;
}

.team-widget__position {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    line-height: 1.45;
}

.team-widget__contacts {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.45;
}

.team-widget__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 60px;
    min-width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-text, #000000);
    border-radius: 50%;
    background: var(--color-surface, #ffffff);
    color: var(--color-accent, #009b7c);
    cursor: pointer;
    flex-shrink: 0;
    transform: translateY(-50%);
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.team-widget__nav svg {
    width: 27px;
    height: 27px;
    display: block;
}

.team-widget__nav:hover,
.team-widget__nav:focus-visible {
    color: #ffffff;
    border-color: var(--color-accent, #009b7c);
    background: var(--color-accent, #009b7c);
}

.team-widget__nav--prev {
    left: 0;
}

.team-widget__nav--next {
    right: 0;
}

.team-widget__nav.swiper-button-disabled {
    opacity: .35;
    pointer-events: none;
}

.team-widget__nav.swiper-button-lock {
    opacity: .35;
    pointer-events: none;
}

@media (max-width: 767px) {
    .team-widget__head {
        margin-bottom: 24px;
    }

    .team-widget__slider {
        padding-inline: 0;
    }

    .team-widget__nav {
        display: none;
    }
}
