/* News Ticker Architecture */
.marque-section {
    background-color: #ffffff;
    border-top: 0px solid #e5e5e5;
    /* border-bottom moved to inner container to match site width */
    padding: 0;
    margin-top: 5px;
    width: 100%;
    position: relative;
    z-index: 9;
}

/* Sync container with site global max-widths to ensure perfect alignment */
.marque-section .container {
    position: relative;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

@media (min-width: 1200px) {
    .marque-section .container {
        max-width: 1390px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .marque-section .container {
        max-width: 1020px !important;
    }
}

.top-news-ticker {
    display: flex;
    align-items: center;
    height: 44px;
    background-color: #ffe6e6;
    /* Pink background moved here to fill gaps behind arrow */
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid #cc0000;
    margin: 0 !important;
    width: 100%;
}

/* Flash News Label */
.top-news-ticker .title {
    background-color: #cc0000;
    color: #ffffff;
    font-family: "Noto Sans Tamil", sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px 0 15px;
    position: relative;
    z-index: 20;
    /* Ensure title stays on top of running text */
    /* Create the arrow/chevron effect */
    clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
    width: 150px;
    flex-shrink: 0;
}

/* Ticker Run Area */
.top-news-ticker-runner {
    flex-grow: 1;
    background-color: transparent;
    /* Transparent so parent pink shows through */
    height: 100%;
    overflow: hidden;
    padding-left: 10px;
}

.top-news-ticker-runner a {
    color: #000000;
    font-family: "Noto Sans Tamil", sans-serif;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    /* Changed from flex to inline-flex/block for marquee safety */
    align-items: center;
    white-space: nowrap;
    /* Prevent wrapping */
    margin-right: 20px;
    /* Spacing between different news items */
    line-height: 44px;
    /* Center vertically specifically */
    height: 100%;
}

.top-news-ticker-runner a span.text--danger {
    color: #cc0000;
    font-weight: 700;
    margin-right: 3px;
    /* Gap between category and title */
}

.top-news-ticker-runner a:hover {
    color: #cc0000;
    text-decoration: underline;
}