.staff-carousel {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.staff-carousel *,
.staff-carousel *::before,
.staff-carousel *::after {
    box-sizing: border-box;
}

.staff-carousel__left,
.staff-carousel__right {
    min-width: 0;
}

.staff-carousel__left {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.staff-carousel__text-slide {
    display: none;
    width: 100%;
}

.staff-carousel__text-slide.is-active {
    display: block;
}

.staff-carousel__name,
.staff-carousel__designation {
    word-break: break-word;
}

.staff-carousel__right {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

.staff-carousel__media-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.staff-carousel__media-slide {
    display: none;
    flex: 1 1 auto;
}

.staff-carousel__media-slide.is-active {
    display: block;
}

.staff-carousel__image {
    overflow: hidden;
    max-width: 100%;
}

.staff-carousel__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.staff-carousel__meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    min-width: 70px;
    gap: 20px;
}

.staff-carousel__counter {
    text-align: right;
    line-height: 1;
}

.staff-carousel__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.staff-carousel__nav-btn {
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.staff-carousel__nav-btn:hover {
    transform: translateY(-1px);
}

.staff-carousel__nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.staff-carousel__nav-btn svg {
    display: block;
}

@media (max-width: 767px) {
    .staff-carousel {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .staff-carousel__left,
    .staff-carousel__right {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .staff-carousel__left {
        text-align: center;
        justify-content: center;
    }

    .staff-carousel__media-wrap {
        flex-direction: column;
        justify-content: center;
    }

    .staff-carousel__image {
        margin-left: auto;
        margin-right: auto;
    }

    .staff-carousel__meta {
        min-width: 0;
        width: auto;
        align-self: center;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 18px;
    }

    .staff-carousel__counter {
        text-align: center;
    }

    .staff-carousel__nav {
        flex-direction: row;
    }
}
