.managed-home-slider {
    position: relative;
    background: #063b5d;
    overflow: hidden;
}

.managed-home-slider .item {
    height: clamp(430px, 48vw, 720px);
}

.managed-home-slider picture,
.managed-home-slider .home-slide-image {
    display: block;
    width: 100%;
    height: 100%;
}

.managed-home-slider .home-slide-image {
    object-fit: cover;
    object-position: center;
}

.managed-home-slider .home-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 32, 61, .86) 0%, rgba(0, 32, 61, .58) 48%, rgba(0, 32, 61, .08) 78%);
}

.managed-home-slider .carousel-caption {
    inset: 0;
    padding: 0;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.managed-home-slider .carousel-caption .container {
    position: relative;
    height: 100%;
}

.managed-home-slider .home-slide-content {
    position: absolute;
    top: 50%;
    left: 15px;
    width: min(720px, 70%);
    transform: translateY(-50%);
    color: #fff;
}

.managed-home-slider h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(30px, 3.5vw, 54px);
    line-height: 1.12;
}

.managed-home-slider .home-slide-subtitle {
    margin-bottom: 20px;
    font-size: clamp(17px, 1.7vw, 24px);
    line-height: 1.45;
}

.managed-home-slider .home-slide-meta {
    margin: 6px 0;
    font-size: clamp(15px, 1.3vw, 19px);
}

.managed-home-slider .home-slide-meta .fa {
    width: 24px;
    text-align: center;
}

.managed-home-slider .home-slide-button {
    display: inline-block;
    margin-top: 24px;
    padding: 13px 26px;
    border: 2px solid #fff;
    border-radius: 3px;
    background: #e0a800;
    color: #152d44;
    font-weight: 700;
    text-shadow: none;
    transition: background-color .2s ease, color .2s ease;
}

.managed-home-slider .home-slide-button:hover,
.managed-home-slider .home-slide-button:focus {
    background: #fff;
    color: #004784;
}

.managed-home-slider .carousel-control {
    width: 7%;
}

.managed-home-slider .home-slider-toggle {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 16;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(0, 32, 61, .72);
    color: #fff;
        padding: 0px;
    line-height: normal;
}

@media (max-width: 767px) {
    .managed-home-slider .item {
        height: min(690px, 115vw);
        min-height: 500px;
    }

    .managed-home-slider .home-slide-shade {
        background: linear-gradient(0deg, rgba(0, 32, 61, .92) 0%, rgba(0, 32, 61, .62) 68%, rgba(0, 32, 61, .18) 100%);
    }

    .managed-home-slider .home-slide-content {
        top: auto;
        right: 30px;
        bottom: 65px;
        left: 30px;
        width: auto;
        transform: none;
    }

    .managed-home-slider h2 {
        margin-bottom: 12px;
        font-size: clamp(27px, 8vw, 38px);
    }

    .managed-home-slider .home-slide-subtitle {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .managed-home-slider .home-slide-button {
        margin-top: 16px;
        padding: 10px 20px;
    }

    .managed-home-slider .carousel-control {
        width: 12%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .managed-home-slider .item,
    .managed-home-slider .home-slide-button {
        transition: none;
    }
}
