.blue-box {
    background-color: var(--color-blue);
}

.headline-title-bg {
    margin-bottom: 0.3em !important;
    color: var(--color-white) !important;
}

.headline-subtitle-bg {
    color: var(--color-white) !important;
    font-size: 1.5em !important;
    line-height: 1.5em !important;
}

.line-bg {
    border: 0.15em solid var(--color-white) !important;
    border-radius: 5px !important;
    width: 20% !important;
    margin: 1em auto 0 !important;
    opacity: 100% !important;
}

.line-title {
    margin: 0 auto 1em !important;
}


/* Buttons and newsletter popup. The block uses links (a.btn.white) and per-block popup classes since the
   "Block security update"; the theme styles still target button.white and #newsletter-popup, so they are set here. */
.join-us-block .btn.white {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 4px 15px 0;
    background-color: var(--color-white);
    color: var(--color-blue);
    border: 1px solid var(--color-white);
    border-radius: 0;
    font-size: 14px;
    line-height: 17px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: none;
}

.join-us-block .btn.white:hover,
.join-us-block .btn.white:focus-visible {
    background-color: var(--color-blue);
    color: var(--color-white);
}

.newsletter-popup {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
}

.newsletter-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #116ab2;
    padding: 40px 20px 20px;
    max-width: 90%;
    min-width: 50%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.newsletter-popup-content:focus {
    outline: none;
}

.newsletter-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    min-height: 0;
    padding: 0 5px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 18px;
    cursor: pointer;
}
