.announcement-bar {
    color: #000000;
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 4px 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
@media (max-width: 992px) {
    .announcement-bar {
        font-size: 13px;
    }
}
.announcement-bar__content {
    display: inline-flex;
    align-items: center;
    white-space: pre-wrap; /* Por defecto */
}

.announcement-bar__content.animated {
    white-space: nowrap; /* Cuando tiene animación */
}

.announcement-bar__close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 0rem 1.25rem;
    color: inherit;
}
.announcement-bar__content.animated {
    animation: marquee var(--animation-speed) linear infinite;
}
.announcement-bar__content.animated:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}
