/* Mobile */
.hero {
    padding-top: 2rem;
    padding-bottom: 3rem;
    position: relative;
    isolation: isolate;
}

.hero-bg-container {
    display: none;
}

/* Large Screen Styles - Bootstrap large breakpoint */
@media (min-width: 992px) {

    .hero.hero-secondary {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
        min-height: 12rem;
        display: flex;
        align-items: center;
    }

    /* Hero Background Container */
    .hero-bg-container {
        display: block;
        
        position: absolute;
        top: 0;
        left: 0;
        isolation: isolate;
        z-index: -1;
        
        width: 100%;
        height: 100%;

        overflow: hidden;
    }

    /* Image Container */
    .image-container {
        height: 100%;
        
        position: absolute;
        right: 0;
        top: 0;
        z-index: 1;
    }
    .hero-bg-50 .image-container {
        width: 55%;
    }
    
    .hero-bg-75 .image-container {
        width: 35%;
    }
 
    /* Image */
    .hero-bg-container .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Parallelogram */
    .bg-primary-parallelogram {
        display: block;
        transform: skewX(-10deg);
        
        position: absolute;
        top: 0;
        left: -5%;
        z-index: 2;
        
        background: var(--background-pattern-location) var(--bs-primary);
        height: 101%;
    }

    .hero-bg-75 .bg-primary-parallelogram {
        width: 85%;
    }

    .hero-bg-50 .bg-primary-parallelogram {
        width: 60%;
    }
    
    /* Caption */
    .hero-bg-50 .caption-container {
        display: flex;
        justify-content: end;
        width: 100%;
        background: var(--background-pattern-location) var(--bs-gray-800);
        text-align: right;
        text-align: end;
        
        padding-top: .5rem;
        padding-bottom: .5rem;
        padding-left: 1rem;
        padding-right: 2rem;


        position: absolute;
        bottom: 0;
        right: 0;
    
    }
    
    .hero-bg-50 .hero-image-caption {
        display: block;
        
        color: var(--bs-white);
        text-align: right;
        text-align: end;
        
        max-width: 90%;
        margin-bottom: 0;
    }

    
}

@media (min-width: 1200px) {
    .hero-header-text {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }

    .hero-header-text h1 {
        display: block;
        flex-shrink: 0;
        max-width: 20rem;
    }
    .hero-header-text p {
        display: block;
        max-width: 40rem;
    }
}