/* ─── Announcement Bar ─────────────────────────────────── */
#announcement-bar {
    background-color: #1E6B7B;
    color: #ffffff;
    width: 100%;
    z-index: 9999;
    position: relative; /* static flow - sticky header handles its own offset */
}

#announcement-bar.is-dismissed {
    display: none;
}

.announcement-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 48px 10px 16px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.announcement-bar__content {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.announcement-bar__content p {
    margin: 0;
}

.announcement-bar__content a {
    color: #ffffff;
    text-decoration: underline;
}

.announcement-bar__close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.announcement-bar__close:hover {
    opacity: 1;
}

/* ─── Sticky header offset ─────────────────────────────── */
/* GeneratePress sticky nav sits at top:0 by default.
   We override it to account for the bar height.         */
.site-header.stuck {
    top: var(--announcement-bar-height, 0px) !important;
    transition: top 0.2s ease;
}
