.state-banner {
    width: 100%;
    flex: 0 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.state-banner-content {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
}

.state-banner-seals {
    display: block;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2rem;
    flex-shrink: 0;
    background-color: inherit;
}

.state-seal {
    width: 4.0395rem;
    height: 4.0395rem;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.state-seal-ut {
    height: 4rem;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.state-banner-text {
    display: flex;
    padding: 1.25rem 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.625rem;
    flex: 1 1 auto;
    min-width: 0;
    background-color: inherit;
}

.state-title {
    max-width: 29.3125rem;
    width: auto;
    color: #FFF;
    font-family: "Open Sans", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    margin: 0;
}

/* Mobile banner */
@media (max-width: 767px) {
    .state-banner-content {
        align-items: center;
    }

    .state-banner-seals {
        padding: 0.75rem 1rem;
    }

    .state-seal {
        width: 3rem;
        height: 3rem;
    }

    .state-seal-ut {
        height: 3rem;
    }

    .state-banner-text {
        padding: 0.5rem 1rem;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .state-title {
        font-size: 1rem;
        text-align: center;
    }
}

/* Short phones: reduce banner height */
@media (max-height: 650px) and (max-width: 767px) {
    .state-banner-text {
        padding: 0.25rem 0.75rem;
    }

    .state-seal-ut {
        height: 2.5rem;
    }
}

/* Montana (MT) */
.state-banner-mt {
    background-color: #12333E !important;
}

.state-banner-seals-mt {
    background-color: #12333E !important;
}

.state-banner-text-mt {
    background-color: #1D5366 !important;
}

/* Utah (UT) */
.state-banner-ut {
    background-color: #12333E !important;
}

.state-banner-seals-ut {
    background-color: #12333E !important;
}

.state-banner-text-ut {
    background-color: #FFFFFF !important;
    border-bottom: 0.75rem solid #edeef0;
}

/* DM */
.state-banner-dm {
    background-color: #12333E !important;
}

.state-banner-seals-dm {
    background-color: #12333E !important;
}

.state-banner-text-dm {
    background-color: #1D5366 !important;
}

/* OF */
.state-banner-of {
    background-color: #12333E !important;
}

.state-banner-seals-of {
    background-color: #12333E !important;
}

.state-banner-text-of {
    background-color: #1D5366 !important;
}
