.announcement-wrapper {
    max-width: 600px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: Arial, sans-serif;
}

.announcement-heading {
    background:#1e5aa7   ;     /* black background */
    color: #fff;
    padding: 10px 12px;
    font-weight: 700;
    font-size: 16px;
    text-align:center;
}

.announcement-vertical-scroller {
    height: 350px;              /* container height: 5–6 announcements */
    overflow: hidden;
    position: relative;
}

.announcement-vertical-scroller ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.announcement-vertical-scroller li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;  /* border between announcements */
    box-sizing: border-box;
}

.announcement-vertical-scroller a {
    display: block;
    color: #000;
    font-weight: 600;
    text-decoration: none;
}




/* ---------------------------------------------
   "New" badge
   --------------------------------------------- */

.announcement-new-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 3px;
    vertical-align: middle;
    white-space: nowrap;
}

.announcement-new-badge.is-blinking {
    animation: ansc-blink 1.1s ease-in-out infinite;
}

@keyframes ansc-blink {
    0%   { opacity: 1; }
    50%  { opacity: .2; }
    100% { opacity: 1; }
}

/* Accessibility: no flashing for users who ask the OS to reduce motion */
@media (prefers-reduced-motion: reduce) {
    .announcement-new-badge.is-blinking {
        animation: none;
    }
}

/* Optional: uncomment to also tint the whole row of a new announcement
.announcement-vertical-scroller li.is-new {
    background: #fff6f6;
    border-left: 3px solid #e53935;
}
*/
