/* Start Header */
.header-interior {
    background-color: var(--bs-secondary-dark);
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.header-interior-text {
    margin: 2rem auto;
}

.header-interior h1 {
    color: var(--bs-white);
}

.header-interior .breadcrumb a,
.header-interior .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-secondary);
}

.header-interior li, 
.header-interior h1, 
.header-interior .subtitle p {
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.1);
}

.header-interior .breadcrumb {
    font-size: .875rem;
    line-height: 150%;
    margin-bottom: 0;
}

.header-interior .subtitle {
    font-size: 1rem;
    line-height: 150%;
}

/* Background Image for small screens */
.header-background-image {
    position: relative;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    margin-bottom: 1rem;
}

/* Ensure the content is on top of the background image */
.header-interior > .container {
    position: relative;
    z-index: 2;
    padding-top: 0;
    padding-right: 0; /* Remove padding to prevent overlap */
}

/* Styles for screens 992px and up */
@media (min-width: 992px) {
    .header-interior {
        display: flex;
        align-items: center;
        min-height: 250px;
    }

    
    .header-interior-text {
        margin: 3rem auto;
    }

    .header-background-image {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 40%; 
        height: auto; 
        margin-bottom: 0;
    }

    .header-interior > .container {
        padding-right: 35%; 
    }
}
/* End Header */
