/* ===================================
   Professional News Ticker Styles
====================================== */

.news-ticker-section {
    padding: 0;
    position: relative;
    z-index: 98;
    margin-top: 96px; 
    background-color: var(--very-light-gray);
    border-top: 1px solid var(--extra-medium-gray);
    border-bottom: 1px solid var(--extra-medium-gray);
}

.news-ticker-container {
    display: flex;
    align-items: stretch;
    height: 42px;
}

.ticker-label {
    background-color: var(--base-color);
    color: var(--white);
    padding: 0 30px 0 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
}

.ticker-label::after {
    content: '';
    position: absolute;
    top: 0;
    right: -21px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 42px 0 0 21px;
    border-color: transparent transparent transparent var(--base-color);
    z-index: 1;
}

.ticker-wrap {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 30px;
}

.ticker-move {
    display: inline-block;
    animation: marquee 30s linear infinite;
    line-height: 42px;
}

.ticker-item {
    display: inline-block;
    padding: 0 1.5rem;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
}

.ticker-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background-color: var(--extra-medium-gray);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-wrap:hover .ticker-move {
    animation-play-state: paused;
}