.site-announcement {
    position: relative;
    z-index: 99999;
    width: 100%;
    background: linear-gradient(90deg, #ff7a18 0%, #ffb347 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.site-announcement--force-visible {
    min-height: 48px;
}

.site-announcement--dismissed {
    display: none !important;
}

.site-announcement__inner {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px;
}

.site-announcement__content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.site-announcement__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-announcement__eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: #fff;
}

.site-announcement__text,
.site-announcement__link,
.site-announcement .promo-trigger.site-announcement__link {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.site-announcement__link:hover {
    color: #fff;
    text-decoration: underline;
}

.site-announcement__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.site-announcement__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #d35400;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-announcement__cta:hover {
    color: #a84300;
}

.site-announcement__dismiss,
.site-announcement__close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.promo-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(242, 101, 34, 0.12);
    color: #d45a18;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.promo-trigger {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.promo-modal[hidden] {
    display: none;
}

.promo-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.promo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
}

.promo-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(640px, calc(100% - 32px));
    margin: 7vh auto 0;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.promo-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.08);
    font-size: 1.25rem;
    cursor: pointer;
}

.promo-modal__media img,
.update-detail-card__media img {
    display: block;
    width: 100%;
    height: auto;
}

.promo-modal__content,
.update-detail-card {
    padding: 28px;
}

.promo-modal__subtitle,
.update-detail-card__subtitle,
.updates-card p {
    color: #475569;
    line-height: 1.7;
}

.promo-modal__actions,
.update-detail-card__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.updates-page .updates-hero {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: end;
    margin: 24px 0 32px;
}

.updates-filter {
    min-width: 220px;
}

.updates-filter label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.updates-filter select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
}

.updates-highlight-grid,
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.updates-highlight-grid {
    margin-bottom: 24px;
}

.updates-card,
.update-detail-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.updates-card {
    padding: 24px;
}

.updates-card--highlight,
.update-detail-card--orange,
.promo-modal--orange .promo-modal__dialog {
    background: linear-gradient(180deg, #fff8f3 0%, #ffffff 100%);
}

.updates-card--green,
.update-detail-card--green,
.promo-modal--green .promo-modal__dialog {
    background: linear-gradient(180deg, #f3fff7 0%, #ffffff 100%);
}

.updates-card--red,
.update-detail-card--red,
.promo-modal--red .promo-modal__dialog {
    background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}

.updates-card__header,
.updates-card__footer,
.update-detail-card__header {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.updates-card__date,
.update-detail-card__date,
.updates-meta {
    color: #64748b;
    font-size: 0.88rem;
}

.updates-card h2,
.updates-card h3,
.update-detail-card h1 {
    margin: 14px 0 10px;
    color: #0f172a;
}

.updates-card a,
.update-detail-card a {
    text-decoration: none;
}

.updates-empty {
    padding: 28px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.updates-related {
    margin-top: 36px;
}

.hero-notice-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

@media (max-width: 768px) {
    .site-announcement__inner,
    .updates-page .updates-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 12px;
    }

    .site-announcement__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .promo-modal__dialog {
        width: min(100% - 20px, 640px);
        margin-top: 4vh;
    }

    .promo-modal__actions,
    .update-detail-card__actions {
        flex-direction: column;
    }
}

.hero-badge .promo-trigger,
.hero-notice-item.promo-trigger {
    color: inherit;
    font: inherit;
}

.hero-notice-item.promo-trigger {
    width: 100%;
    border: 0;
    background: inherit;
    padding: 0;
}

body.promo-modal-open {
    overflow: hidden;
}

/* Keep announcements below the fixed navbar dropdown layer. */
.site-announcement {
    z-index: 900;
}
