.team-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-item__header {
    position: relative;
    height: 440px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 0 24px;
}

.team-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-item__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    flex: 1;
}

.team-item__name {
    font-family: var(--solomon);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--blue);
}

.team-item__post {
    font-family: var(--solomon);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--lightblue);
    margin: auto 0 0;
}

.team-item .team-item__button {
    width: 100%;
    font-weight: 500;
}

.team__accordion {
    position: absolute;
    inset: 20px;
    text-align: right;
    z-index: 2;
}

.team__accordion .accordion__details {
    margin: 0 0 10px;
}

.team__accordion .accordion__summary {
    display: flex;
    justify-content: end;
}

.team__accordion .accordion__toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    padding: 8px;
    background-color: var(--deepblue);
    border-radius: 50%;
    cursor: pointer;
    transition-duration: .3s;
}

.team__accordion .accordion__toggle:hover {
    background-color: var(--accent);
}

.team__accordion .accordion__toggle svg {
    width: 100%;
}

.team__accordion .accordion__content {
    position: relative;
}

.team__accordion .accordion__content-body {
    text-align: center;
    display: grid;
    gap: 10px;
    border-radius: 6px;
    background: var(--bg2);
    transition-duration: .3s;
}

.accordion__details[open] + .accordion__content .accordion__content-body {
    padding: 20px;
}


.accordion__details[open] + .accordion__content:before {
    content: "";
    margin: 0 4px -1px auto;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 30px solid var(--bg2);
    transition-duration: .3s;
}

.team__accordion .accordion__content-title {
    font-family: var(--solomon);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--deepblue);
    cursor: pointer;
    transition-duration: .3s;
}

.team__accordion .accordion__content-title:hover {
    color: var(--accent);
}

.team__accordion .accordion__content-description {
    font-family: var(--solomon);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.team-wrapper .owl-stage {
    display: flex;
}

.team-wrapper .team-list .owl-stage-outer {
    padding: 0 20px;
    margin: 0 -20px;
}

.team-wrapper .owl-item.active {

}

.team-wrapper .owl-item {
    transition: 0.4s;
}

.team-wrapper .owl-nav {
    justify-content: space-between;
    display: flex !important;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -110px;
    right: -110px;
}

.team-wrapper .owl-nav.disabled {
    display: none !important;
}

.team-wrapper .team-content {
    position: relative;
}

.team-wrapper .owl-nav button {
    width: 60px;
    height: 60px;
    border: 1px solid #87A5C099 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.4s;
    pointer-events: all;
}

.team-wrapper .owl-nav button:not(.disabled):hover {
    background: var(--accent) !Important;
    border-color: var(--accent) !Important;
}

.team-wrapper .owl-nav button svg path {
    transition: 0.4s;
}


.team-wrapper .owl-nav button:not(.disabled):hover svg path {
    stroke: #fff;
}

.team-wrapper .owl-nav button.disabled {
    opacity: .4;
    cursor: initial;
}


@media all and (max-width: 1750px) {
    .team-wrapper .owl-nav {
        left: 5px;
        right: 5px;
    }
}

@media all and (max-width: 1280px) {
    .team-wrapper .owl-stage {
        padding-left: 0 !important;
    }

}

@media all and (max-width: 1024px) {
    .team-wrapper .owl-nav {
        justify-content: center;
        position: static;
        margin-top: 40px;
        transform: unset;
    }

    .team-wrapper .owl-nav > * {
        margin: 0 8px;
    }

    .team-wrapper .team-item:not(:first-child) {
        margin-top: 20px;
    }
}

@media all and (max-width: 480px) {
    .team-item__name {
        font-size: 16px;
    }

    .team-item__post {
        font-size: 14px;
    }
}