/** Hospital home hero slider geometry fix. */
.ma-slider-top,
.ma-slider-top .owl-slider,
.ma-slider-top .owl-stage-outer,
.ma-slider-top .owl-stage,
.ma-slider-top .owl-item,
.ma-slider-top .slider-item {
    position: relative;
}

.ma-slider-top .slider-item {
    height: 460px;
    min-height: 460px;
    max-height: 460px;
    overflow: hidden;
}

.ma-slider-top .pic-slider,
.ma-slider-top .backabi {
    height: 460px;
    min-height: 460px;
}

.ma-slider-top .pic-slider-inner {
    position: relative;
    width: 100%;
    height: 460px;
    min-height: 460px;
    padding: 0 !important;
    overflow: hidden;
    background-color: #eee;
}

.ma-slider-top .pic-slider-inner .hospital-hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: center center;
}

.ma-slider-top .owl-stage {
    display: flex;
    align-items: stretch;
}

.ma-slider-top .owl-item {
    flex: 0 0 auto;
}

.ma-slider-top .owl-item .slider-item {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .ma-slider-top .slider-item,
    .ma-slider-top .pic-slider,
    .ma-slider-top .backabi,
    .ma-slider-top .pic-slider-inner {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
    }
}

@media screen and (max-width: 590px) {
    .ma-slider-top .slider-item,
    .ma-slider-top .pic-slider,
    .ma-slider-top .backabi,
    .ma-slider-top .pic-slider-inner {
        height: 340px;
        min-height: 340px;
        max-height: 340px;
    }

    .ma-slider-top .backabi {
        height: auto;
        min-height: 0;
    }
}
