.hero-container.home {
    display: grid;
    grid-template-areas: same;
    max-height: 57.5rem;
    overflow: hidden;
}

.hero-container.home>* {
    grid-area: same;
}

.hero-container.home img {
    width: 100vw;
    object-fit: cover;
    min-height: 57.5rem;

}

.hero-container.home .hero-text {
    background-color: var(--color-brand-navy-opacity);
    max-width: 72rem;
    width: 100%;
    display: flex;
    flex-flow: column wrap;
    padding: 8rem 2rem 8rem 0;
    margin-top: -0.1rem;
    align-items: flex-start;
    justify-content: center;
    max-height: 58.5rem;
}

.hero-container.home .hero-text>* {
    color: #fff;
    margin-inline: 12rem 4rem;
    text-align: left;
}

.hero-container.home .hero-text h3 {
    font-size: 1.8rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #DB864E 30%, transparent 15%) 5;
    padding-bottom: 1rem;
    align-self: start;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-container.home .hero-text h4 {
    font-size: 4.8rem;
    line-height: 1;
}

.hero-text p {
    font-size: 2.1rem;
    margin-top: 3rem;
}

.hero-text .button.white-on-blue {
    align-self: flex-start;
    margin-top: 1rem;
    border: solid #fff 1px;
    background: none;
    font-size: 1.5rem;
    padding-inline: 2rem;
}

.hero-text .button.white-on-blue:hover{
    background: var(--color-primary-white);
}

.hero-container.home .hero-home-ctas{
    display: flex;
    gap: 3rem;
}

.hero-container.home + .hero-search-container{
    background: var(--color-gray-light-web);
}

@media screen and (max-width: 70em){
    .hero-container.home .hero-text>* {
        margin-inline: 6rem 4rem;
    }
}

@media screen and (max-width: 45em){
    .hero-container.home .hero-text {
        width: 100%;
        min-width: unset;
        padding-block: 4rem;
    }
    .hero-container.home .hero-text h4 {
        font-size: 3.2rem;
    }
    .hero-container.home .hero-text>* {
        margin-inline: 3rem;
        
    }
    .hero-text h1{
        font-size: 4rem !important;
    }

    .hero-container.home h4{
        font-size: 3.2rem;
    }
    .hero-container.home .hero-text p{
        font-size: 1.8rem;
    }
}