/* Vertical Newsticker */
.newsticker-wrap {
    min-height: 40px;
    height: auto;
    /* Allow height to flow */
    overflow: hidden;
    position: relative;
    background-color: var(--color-primary);
    /* Primary Color Background */
    display: flex;
    justify-content: center;
    border: none !important;
    /* Force remove border */
}

/* Specific Override for Global Reset */
.newsticker-wrap *,
.newsticker-wrap *::before,
.newsticker-wrap *::after {
    border-style: none !important;
}

.newsticker-content {
    /* No longer a wide flex row */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.newsticker-item {
    min-height: 40px;
    height: auto;
    /* Allow height to grow on wrap */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Center text when it wraps */
    width: 100%;
    margin: 0;
    padding: 10px 20px;
    /* More padding for multi-line */
    font-weight: 600;
    font-size: 0.875rem;
    /* text-sm */
    color: #ffffff;
    /* White Text */
}

.newsticker-content {
    animation: none;
    /* Disable horizontal */
    position: relative;
}

/* Let's use a class to hide items and show active one via JS/CSS */
.newsticker-item {
    display: none;
    /* Hide all by default */
    animation: none;
}

.newsticker-item.active {
    display: flex;
    animation: fadeUp 0.5s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}