@media (max-width: 1023px) {
    .security-banner {
        position: relative;
        width: 100%;
        height: 50px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top left;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-left: 220px;
        padding-right: 10px;
        box-sizing: border-box;
        overflow: hidden;
        cursor: pointer;
        pointer-events: auto;
    }

    /*
     * header-sticky is the same state that hides the cutoff countdown,
     * so both top-of-page elements are synchronized without extra JS.
     */
    .page-header.header-sticky > .security-banner {
        display: none;
    }

    .security-banner .banner-text {
        color: #911bbc;
        font-family: 'Archivo', sans-serif;
        font-weight: bold;
        font-size: 1.5rem;
        line-height: 1.2;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .security-banner:focus-visible {
        outline: 3px solid #ffffff;
        outline-offset: -4px;
    }

    @media (max-width: 768px) {
        .security-banner .banner-text {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 600px) {
        .security-banner .banner-text {
            font-size: 1rem;
        }
    }

    @media (max-width: 400px) {
        .security-banner .banner-text {
            font-size: 0.8rem;
        }
    }
}

@media (min-width: 1024px) {
    .security-banner {
        display: none !important;
    }
}
