/* Lightweight replacement for the former animated header banner. */
.topBanner.haayTopBanner {
    width: 100%;
    min-height: 38px;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 9999;
    box-sizing: border-box;
    text-align: left;
    color: #ffffff;
    background: #0f75bc;
    background: -webkit-linear-gradient(left, #0f75bc 0%, #14a9ff 46%, #20a003 100%);
    background: linear-gradient(90deg, #0f75bc 0%, #14a9ff 46%, #20a003 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 -18px 32px rgba(0, 0, 0, 0.08);
}

.topBanner.haayTopBanner::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0, rgba(255, 255, 255, 0) 34%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 12px);
}

.haayTopBanner__link,
.haayTopBanner__link:hover,
.haayTopBanner__link:focus {
    display: block;
    width: 100%;
    color: #ffffff !important;
    text-decoration: none;
}

.haayTopBanner__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    min-height: 38px;
    margin: 0 auto;
    padding: 6px 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    box-sizing: border-box;
    line-height: 1.25;
}

.haayTopBanner__mark {
    width: 30px;
    height: 22px;
    margin-right: 12px;
    position: relative;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}

.haayTopBanner__mark span {
    position: absolute;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

.haayTopBanner__mark span:first-child {
    left: 0;
}

.haayTopBanner__mark span:last-child {
    right: 0;
    background: rgba(255, 255, 255, 0.82);
}

.haayTopBanner__copy {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    min-width: 0;
}

.haayTopBanner__headline,
.haayTopBanner__subline {
    display: inline-block;
    font-family: Inter, Roboto, Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    white-space: normal;
}

.haayTopBanner__headline {
    font-weight: 800;
}

.haayTopBanner__subline {
    font-weight: 700;
    opacity: 0.96;
}

.haayTopBanner__subline strong {
    color: #ffffff;
    font-weight: 900;
}

.haayTopBanner__divider {
    width: 1px;
    height: 18px;
    margin: 0 12px;
    background: rgba(255, 255, 255, 0.48);
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}

.haayTopBanner__badges {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-left: 16px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}

.haayTopBanner__badges span {
    position: relative;
    display: inline-block;
    min-height: 24px;
    margin-left: 7px;
    padding: 5px 9px 5px 20px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-family: Inter, Roboto, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    white-space: nowrap;
    box-sizing: border-box;
}

.haayTopBanner__badges span::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: #ffffff;
}

@media (max-width: 1080px) {
    .haayTopBanner__badges {
        display: none;
    }
}

@media (max-width: 991px) {
    :root {
        --haay-mobile-header-height: 160px;
    }

    body:not(.haay-home) .header + .page {
        margin-top: calc(var(--haay-mobile-header-height, 160px) + 10px) !important;
    }
}

@media (max-width: 767px) {
    .topBanner.haayTopBanner {
        min-height: 52px;
    }

    .haayTopBanner__inner {
        min-height: 52px;
        padding: 7px 12px;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
    }

    .haayTopBanner__mark {
        width: 26px;
        height: 20px;
        margin-right: 10px;
    }

    .haayTopBanner__mark span {
        width: 16px;
        height: 16px;
        border-radius: 4px;
    }

    .haayTopBanner__copy {
        display: block;
        min-width: 0;
        max-width: calc(100% - 36px);
    }

    .haayTopBanner__headline,
    .haayTopBanner__subline {
        display: block;
        font-size: 12.5px;
        line-height: 1.22;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .haayTopBanner__subline {
        margin-top: 2px;
        font-size: 12px;
    }

    .haayTopBanner__divider {
        display: none;
    }
}

@media (max-width: 360px) {
    .haayTopBanner__headline {
        font-size: 12px;
    }

    .haayTopBanner__subline {
        font-size: 11.5px;
    }
}
