/* ========================================================
   TOP ANNOUNCEMENT TICKER
   Modular Ticker Stylesheet - Only loaded when announcements exist
   ======================================================== */
.top-announcement-ticker {
    display: flex;
    align-items: center;
    background: #111827;
    color: #ffffff;
    height: 34px;
    font-size: 0.82rem;
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
    position: relative;
    z-index: 1009;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

.ticker-label {
    background: #2c5aa0;
    color: #ffffff;
    padding: 0 12px;
    font-weight: 700;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.ticker-content-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-scroll 50s linear infinite;
}

.ticker-content-wrapper:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-item {
    color: #e5e7eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 30px;
    transition: color 0.2s;
    font-weight: 500;
}

.ticker-item:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ticker-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    display: inline-block;
}

.ticker-badge.urgent {
    background: #ef4444;
    color: #ffffff;
}

.ticker-separator {
    color: #4b5563;
    margin-right: 30px;
    font-size: 1.1rem;
}

@keyframes ticker-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@media (max-width: 768px) {
    .ticker-label-text {
        display: none;
    }
    .ticker-label {
        padding: 0 8px;
        font-size: 1rem;
    }
}
