/* ===========================================================
   NEWS TICKER
   Scrolling headline bar, bottom GIF strip, prev/next controls, and (currently unused) news-card styles
   =========================================================== */


/* ---- Ticker bar ---- */
.ads-bar {
    width: 100%;
    background: linear-gradient(180deg, #dfdfdf 0%, #c0c0c0 100%);
    border-top: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    border-bottom: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.ad-text {
    font-size: 4px;
    color: #000000;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
    animation: scroll-text 20s linear infinite;
}

@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ads-bar {
    display: flex;
    align-items: center;
}

.live-news {
    background: #e00000;
    color: white;
    font-weight: bold;
    padding: 4px 8px;
    white-space: nowrap;
    text-transform: uppercase;
    border-right: 2px solid #fff;
    font-size: 9px;
}

#headline {
    flex: 1;
    font-size: 9px;
    white-space: nowrap;
    color: #000000;
    overflow: hidden;
}


/* ---- Bottom GIF strip ---- */
.gif-bar {
    width: auto;
    height: 50px;
    margin-bottom: 15px;
    margin-top: 15px;
    border: 2px solid #555;
    overflow: hidden;
}

.gif-bar img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}


/* ---- Player controls (prev / mute / next) ---- */
.controls {
    display: flex;
    gap: 3px;
    margin-top: 0px;
}

.controls button {
    cursor: url("../images/pointer.cur"), pointer;

    flex: 1;
    padding: 3px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    cursor: pointer;
    font-size: 10px;
}

.controls button:active {
    border-color: #808080 #ffffff #ffffff #808080;
}


/* ---- News cards (not currently used in index.html - kept for parity with the original file) ---- */
.news-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.news-header {
    background: linear-gradient(90deg, #000080 0%, #1084d7 100%);
    color: white;
    padding: 5px 8px;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    border-bottom: 1px solid #000000;
    flex-shrink: 0;
}

.news-ticker {
    flex: 1;
    overflow-y: auto;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-item {
    background: #ffffff;
    border: 1px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    padding: 6px;
    font-size: 11px;
    line-height: 1.4;
    color: #000000;
    flex-shrink: 0;
}

.news-date {
    color: #000080;
    font-weight: bold;
    margin-right: 5px;
}
