/* Top announcement strip.

   Colors are NOT set here. They come from Theme Options -> Header
   ("Top bar - background color" / "Top bar - text color") and are emitted
   as an inline style on .top-bar by the header partial, so the admin
   control sits next to the other top-bar settings instead of being a
   hardcoded value in a stylesheet. This file used to hardcode
   `background: var(--header-primary-green, #2d4f36)` — that variable was
   never defined anywhere, so the green fallback was what every tenant got
   with no way to change it.

   The declarations below carry no !important on purpose: nothing else in
   the theme targets .top-bar, so there is nothing to out-rank, and an
   !important background here would beat the inline style and put the
   hardcoded color right back. */
.top-bar {
    padding: 8px 0;
    font-size: 12px;
    font-weight: 400;
}

/* Links in the admin-authored copy follow the chosen text color rather
   than the global link color, so the strip stays readable on any
   background the tenant picks. */
.top-bar a {
    color: inherit;
}

.top-bar .ps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 991px) {
    .top-bar {
        display: none !important;
    }
}
