
.hero__slide{
    position: relative;
}
.hero__image{
    background-size: cover;  
    background-repeat: no-repeat;
    background-position: center;
    min-height: 550px;
    height: 80vh;
    max-height: 750px;
    width: 100%;
}
.hero__overlay{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1rem 1rem 2rem;
}
.hero__box{
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
/* Carousel controls as small yellow round buttons */
#hero__carousel .carousel-control-prev, 
#hero__carousel .carousel-control-next{
    opacity: 1;
    width: auto;
    height: 44px;
    width: 44px;
    background: #fff; /* project yellow */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
#hero__carousel .carousel-control-prev{ left: 20px; }
#hero__carousel .carousel-control-next{ right: 20px; }
#hero__carousel .carousel-control-prev i, #hero__carousel .carousel-control-next i {
    color: #23335e; /* dark blue chevrons for contrast */
    font-size: 22px;
    line-height: 44px;
    text-align: center;
    width: 44px;
}
#hero__carousel .carousel-control-next:hover,
#hero__carousel .carousel-control-prev:hover {
    text-decoration: none;
    outline: 0;
    opacity: .95;
    background: #ffc107;
}


@media (max-width:768.86px){
    .hero__image{
        min-height: 400px;
        height: 60vh;
        max-height: none;
    }
    .hero__overlay{
        padding: 1rem;
    }
    .hero__box{
        border-radius: 1rem;
    }
}

