:root {
    --site-promo-height: 0px;
}

body.has-top-banner {
    padding-top: var(--site-promo-height);
}

.site-promo-banner {
    position: fixed;
    z-index: 1031;
    inset: 0 0 auto;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 4px 14px;
    color: #34483f;
    background: #edf5f1;
    border-bottom: 1px solid #dce9e2;
    font-size: 14px;
    line-height: 1.35;
}

.site-promo-inner {
    width: min(100%, 1320px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.site-promo-copy {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.site-promo-copy p {
    display: inline;
    margin: 0;
}

.site-promo-countdown {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 4px;
    border: 1px solid #dce9e2;
    border-radius: 10px;
    color: #65756d;
    background: rgba(255, 255, 255, .72);
    white-space: nowrap;
}

.site-promo-countdown-label {
    padding: 0 4px 0 2px;
    color: #64736c;
    font-size: 10px;
}

.site-promo-unit {
    width: 31px;
    min-height: 31px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e4eee8;
    border-radius: 7px;
    background: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.site-promo-unit strong {
    color: #367966;
    font-size: 12px;
    font-weight: 650;
}

.site-promo-unit small {
    margin-top: 2px;
    color: #829087;
    font-size: 7px;
    letter-spacing: .02em;
}

.site-promo-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid #367966;
    border-radius: 999px;
    color: #fff;
    background: #367966;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.site-promo-cta:hover {
    border-color: #2e6858;
    color: #fff;
    background: #2e6858;
    transform: translateY(-1px);
}

.site-navbar-with-promo {
    top: var(--site-promo-height) !important;
}

/* The navbar is fixed; move the whole homepage content below it. */
body.home-page .header-mt {
    margin-top: 26px !important;
}

@media (max-width: 575.98px) {
    .site-promo-banner {
        padding: 7px 10px;
        font-size: 12px;
    }

    .site-promo-inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 8px;
        text-align: center;
    }

    .site-promo-copy {
        flex: 0 0 100%;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .site-promo-copy p {
        display: block;
    }

    .site-promo-copy h2,
    .site-promo-copy h3 {
        margin: 0;
        font-size: 12px;
        line-height: 1.25;
    }

    .site-promo-countdown {
        gap: 2px;
        padding: 2px 3px;
        border-radius: 9px;
    }

    .site-promo-countdown-label {
        padding: 0 3px 0 1px;
        font-size: 9px;
    }

    .site-promo-unit {
        width: 25px;
        min-height: 26px;
        border-radius: 6px;
    }

    .site-promo-unit strong {
        font-size: 10px;
    }

    .site-promo-unit small {
        font-size: 6px;
    }

    .site-promo-cta {
        gap: 4px;
        padding: 7px 10px;
        font-size: 10px;
    }
}

@media (max-width: 359.98px) {
    .site-promo-countdown-label {
        display: none;
    }

    .site-promo-unit {
        width: 23px;
        min-height: 25px;
    }

    .site-promo-countdown {
        gap: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-promo-banner,
    .site-promo-countdown {
        scroll-behavior: auto;
    }
}
