.mso-service-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(8, 18, 42, 0.86);
}

.mso-service-carousel__slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 220ms ease;
}

.mso-service-carousel__slide.is-active {
    visibility: visible;
    opacity: 1;
}

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

.mso-service-carousel__image--contain {
    object-fit: contain;
}

.mso-service-lightbox,
.mso-service-carousel__lightbox {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.mso-service-lightbox > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mso-service-carousel__button {
    position: absolute;
    z-index: 1;
    top: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background: rgba(7, 18, 47, 0.76);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 160ms ease, color 160ms ease;
}

.mso-service-carousel__button:hover,
.mso-service-carousel__button:focus-visible {
    background: #f2d48c;
    color: #0d224f;
    outline: none;
}

.mso-service-carousel__button--previous {
    left: 9px;
}

.mso-service-carousel__button--next {
    right: 9px;
}

.mso-service-carousel__count {
    position: absolute;
    right: 9px;
    bottom: 9px;
    z-index: 1;
    min-width: 36px;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(7, 18, 47, 0.76);
    color: #fff;
    font-size: 0.73rem;
    line-height: 1.25;
    text-align: center;
}

@media (max-width: 767.98px) {
    .mso-service-carousel__button {
        width: 32px;
        height: 32px;
    }
}
