#nmtdc-news-final {
    width:min(1080px,94%);
    height:48px;
    margin:16px auto 20px auto;

    display:flex;
    align-items:center;

    overflow:hidden;

    position:relative;
    z-index:10000;

    background:rgba(0,0,0,.94);

    border:2px solid #e2b632;
    border-radius:11px;

    box-shadow:
        0 0 8px rgba(255,215,75,.95),
        0 0 22px rgba(255,170,0,.48),
        0 6px 20px rgba(0,0,0,.60);
}

#nmtdc-news-final-label {
    height:100%;

    display:flex;
    align-items:center;

    flex:0 0 auto;

    padding:0 18px;

    background:#050505;

    border-right:2px solid #d7aa2c;

    color:#ffd75e;

    font-family:Arial,Helvetica,sans-serif;
    font-size:12px;
    font-weight:900;

    letter-spacing:.08em;

    white-space:nowrap;

    text-shadow:
        0 0 8px rgba(255,204,52,.90);
}

#nmtdc-news-final-window {
    flex:1 1 auto;
    min-width:0;
    height:100%;

    overflow:hidden;
}

#nmtdc-news-final-track {
    height:100%;
    width:max-content;

    display:flex;
    align-items:center;

    animation:
        nmtdcNewsFinalScroll
        105s
        linear
        infinite;
}

#nmtdc-news-final:hover #nmtdc-news-final-track {
    animation-play-state:paused;
}

.nmtdc-news-final-story {
    height:48px;

    display:flex;
    align-items:center;

    padding:0 22px;

    color:#ffffff;
    text-decoration:none;

    font-family:Arial,Helvetica,sans-serif;
    font-size:13px;
    font-weight:700;

    white-space:nowrap;

    border-right:
        1px solid rgba(226,182,50,.25);
}

.nmtdc-news-final-story:hover {
    color:#ffe69b;

    background:
        rgba(226,182,50,.11);
}

.nmtdc-news-final-category {
    margin-right:8px;

    color:#e8b936;

    font-size:10px;
    font-weight:900;

    letter-spacing:.05em;
}

.nmtdc-news-final-dot {
    margin-left:20px;

    color:#e2b632;
}

@keyframes nmtdcNewsFinalScroll {
    from {
        transform:translateX(0);
    }

    to {
        transform:translateX(-50%);
    }
}

@media(max-width:700px) {

    #nmtdc-news-final {
        width:96%;
        height:44px;
    }

    #nmtdc-news-final-label {
        padding:0 9px;
        font-size:9px;
    }

    .nmtdc-news-final-story {
        height:44px;
        padding:0 14px;
        font-size:11px;
    }
}

/* ==========================================================
   NMTDC NEWS TICKER — LARGE READABLE VERSION
   ========================================================== */

#nmtdc-news-final {
    width:calc(100% - 90px) !important;
    max-width:1450px !important;

    height:150px !important;
    min-height:150px !important;

    margin:18px auto 26px auto !important;

    border-radius:14px !important;

    border-width:2px !important;

    box-shadow:
        0 0 10px rgba(255,215,75,.95),
        0 0 28px rgba(255,170,0,.55),
        0 8px 24px rgba(0,0,0,.65) !important;
}

#nmtdc-news-final-label {
    height:150px !important;

    padding:0 28px !important;

    font-size:20px !important;
    font-weight:900 !important;

    letter-spacing:.09em !important;
}

#nmtdc-news-final-window {
    height:150px !important;
}

#nmtdc-news-final-track {
    height:150px !important;

    animation:
        nmtdcNewsFinalScroll
        360s
        linear
        infinite !important;
}

.nmtdc-news-final-story {
    height:150px !important;

    padding:0 40px !important;

    font-size:22px !important;
    font-weight:800 !important;
}

.nmtdc-news-final-category {
    margin-right:14px !important;

    font-size:15px !important;
    font-weight:900 !important;
}

.nmtdc-news-final-dot {
    margin-left:32px !important;

    font-size:18px !important;
}

@media(max-width:900px) {

    #nmtdc-news-final {
        width:calc(100% - 30px) !important;

        height:110px !important;
        min-height:110px !important;
    }

    #nmtdc-news-final-label {
        height:110px !important;

        padding:0 16px !important;

        font-size:14px !important;
    }

    #nmtdc-news-final-window,
    #nmtdc-news-final-track {
        height:110px !important;
    }

    .nmtdc-news-final-story {
        height:110px !important;

        padding:0 24px !important;

        font-size:17px !important;
    }

    .nmtdc-news-final-category {
        font-size:12px !important;
    }
}

/* ==========================================================
   NMTDC NEWS — JAZZY MULTICOLOR CONTENT
   BOX DIMENSIONS / SCROLL SPEED UNCHANGED
   ========================================================== */

.nmtdc-news-icon {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:54px !important;
    height:54px !important;

    margin-right:16px !important;

    flex:0 0 auto !important;

    font-size:34px !important;
    line-height:1 !important;

    border-radius:50% !important;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.22),
            rgba(0,0,0,.18) 60%,
            rgba(0,0,0,.55)
        ) !important;

    border:2px solid rgba(255,255,255,.45) !important;

    box-shadow:
        0 0 10px rgba(255,255,255,.45),
        0 0 20px rgba(255,190,40,.38) !important;

    animation:
        nmtdcIconPulse
        2.8s
        ease-in-out
        infinite !important;
}

.nmtdc-news-final-category {
    display:inline-flex !important;
    align-items:center !important;

    padding:9px 14px !important;

    border-radius:999px !important;

    border:2px solid rgba(255,255,255,.45) !important;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.18),
            rgba(0,0,0,.35)
        ) !important;

    box-shadow:
        0 0 12px rgba(255,255,255,.25) !important;

    text-shadow:
        0 0 8px currentColor !important;
}

.nmtdc-news-final-story {
    position:relative !important;

    text-shadow:
        0 2px 4px rgba(0,0,0,.9),
        0 0 9px rgba(255,255,255,.18) !important;
}

.nmtdc-news-final-story::after {
    content:"" !important;

    position:absolute !important;

    top:16% !important;
    bottom:16% !important;
    right:0 !important;

    width:2px !important;

    background:
        linear-gradient(
            transparent,
            rgba(255,215,80,.95),
            rgba(100,190,255,.8),
            transparent
        ) !important;

    box-shadow:
        0 0 8px rgba(255,200,70,.65) !important;
}

.nmtdc-news-final-story:nth-child(6n+1)
.nmtdc-news-final-category {
    color:#ffd84e !important;
}

.nmtdc-news-final-story:nth-child(6n+2)
.nmtdc-news-final-category {
    color:#6fdcff !important;
}

.nmtdc-news-final-story:nth-child(6n+3)
.nmtdc-news-final-category {
    color:#ff7ac8 !important;
}

.nmtdc-news-final-story:nth-child(6n+4)
.nmtdc-news-final-category {
    color:#9eff70 !important;
}

.nmtdc-news-final-story:nth-child(6n+5)
.nmtdc-news-final-category {
    color:#b49cff !important;
}

.nmtdc-news-final-story:nth-child(6n+6)
.nmtdc-news-final-category {
    color:#ff9d56 !important;
}

.nmtdc-news-final-story:nth-child(6n+1)
.nmtdc-news-icon {
    box-shadow:
        0 0 12px rgba(255,215,70,.8),
        0 0 24px rgba(255,170,0,.45) !important;
}

.nmtdc-news-final-story:nth-child(6n+2)
.nmtdc-news-icon {
    box-shadow:
        0 0 12px rgba(90,210,255,.85),
        0 0 24px rgba(60,150,255,.42) !important;
}

.nmtdc-news-final-story:nth-child(6n+3)
.nmtdc-news-icon {
    box-shadow:
        0 0 12px rgba(255,100,190,.85),
        0 0 24px rgba(255,70,140,.42) !important;
}

.nmtdc-news-final-story:nth-child(6n+4)
.nmtdc-news-icon {
    box-shadow:
        0 0 12px rgba(130,255,100,.85),
        0 0 24px rgba(50,220,70,.40) !important;
}

.nmtdc-news-final-story:nth-child(6n+5)
.nmtdc-news-icon {
    box-shadow:
        0 0 12px rgba(180,150,255,.85),
        0 0 24px rgba(130,90,255,.42) !important;
}

.nmtdc-news-final-story:nth-child(6n+6)
.nmtdc-news-icon {
    box-shadow:
        0 0 12px rgba(255,150,80,.85),
        0 0 24px rgba(255,100,30,.42) !important;
}

.nmtdc-news-final-story:hover {
    transform:scale(1.025) !important;

    background:
        linear-gradient(
            90deg,
            rgba(255,190,35,.08),
            rgba(80,170,255,.10),
            rgba(255,90,180,.08)
        ) !important;
}

#nmtdc-news-final-label {
    background:
        linear-gradient(
            135deg,
            #070707,
            #3d2b00,
            #070707
        ) !important;

    background-size:200% 200% !important;

    animation:
        nmtdcLabelGlow
        6s
        ease
        infinite !important;
}

@keyframes nmtdcIconPulse {
    0%,100% {
        transform:scale(1);
    }

    50% {
        transform:scale(1.12);
    }
}

@keyframes nmtdcLabelGlow {
    0% {
        background-position:0% 50%;
    }

    50% {
        background-position:100% 50%;
    }

    100% {
        background-position:0% 50%;
    }
}


/* ==========================================================
   NMTDC NEWS — EXTRA LARGE, EASY-TO-READ CONTENT
   BOX SIZE / POSITION / SCROLL SPEED UNCHANGED
   ========================================================== */

#nmtdc-news-final-label {
    padding:0 38px !important;

    font-size:38px !important;
    font-weight:950 !important;

    line-height:1 !important;

    text-shadow:
        0 0 5px rgba(255,220,95,.95),
        0 0 14px rgba(255,185,25,.75) !important;

    animation:
        nmtdcNewsLabelPulse
        2.4s
        ease-in-out
        infinite !important;
}

.nmtdc-news-final-story {
    padding:0 52px !important;

    font-size:42px !important;
    font-weight:850 !important;

    line-height:1.05 !important;

    letter-spacing:.005em !important;
}

.nmtdc-news-final-category {
    margin-right:22px !important;

    padding:13px 20px !important;

    font-size:27px !important;
    font-weight:950 !important;

    line-height:1 !important;
}

.nmtdc-news-icon {
    width:72px !important;
    height:72px !important;

    margin-right:22px !important;

    font-size:46px !important;

    border-width:3px !important;

    animation:
        nmtdcNewsIconGlow
        2.2s
        ease-in-out
        infinite !important;
}

.nmtdc-news-final-dot {
    margin-left:42px !important;

    font-size:34px !important;
}

.nmtdc-news-final-story > span:not(.nmtdc-news-final-category):not(.nmtdc-news-icon):not(.nmtdc-news-final-dot) {
    text-shadow:
        0 2px 3px rgba(0,0,0,1),
        0 0 5px rgba(255,255,255,.45) !important;

    animation:
        nmtdcHeadlineSoftPulse
        3.2s
        ease-in-out
        infinite !important;
}

/*
 * Gentle visual pulse.
 * No rapid strobe or harsh blink.
 */

@keyframes nmtdcNewsLabelPulse {

    0%,100% {
        opacity:1;
        filter:brightness(1);
    }

    50% {
        opacity:.82;
        filter:brightness(1.3);
    }
}

@keyframes nmtdcNewsIconGlow {

    0%,100% {
        transform:scale(1);
        filter:brightness(1);
    }

    50% {
        transform:scale(1.09);
        filter:brightness(1.45);
    }
}

@keyframes nmtdcHeadlineSoftPulse {

    0%,100% {
        opacity:1;
        filter:brightness(1);
    }

    50% {
        opacity:.90;
        filter:brightness(1.18);
    }
}

@media(max-width:900px) {

    #nmtdc-news-final-label {
        font-size:26px !important;
        padding:0 20px !important;
    }

    .nmtdc-news-final-story {
        font-size:30px !important;
        padding:0 30px !important;
    }

    .nmtdc-news-final-category {
        font-size:20px !important;
        padding:10px 14px !important;
    }

    .nmtdc-news-icon {
        width:58px !important;
        height:58px !important;
        font-size:36px !important;
    }

    .nmtdc-news-final-dot {
        font-size:25px !important;
    }
}

/*
 * Accessibility:
 * respect systems requesting reduced motion.
 */
@media (prefers-reduced-motion: reduce) {

    #nmtdc-news-final-label,
    .nmtdc-news-icon,
    .nmtdc-news-final-story > span {
        animation:none !important;
    }
}

/* ==========================================================
   NMTDC NEWS BADGE — ATTENTION GLOW
   ========================================================== */

#nmtdc-news-final-label {
    position:relative !important;
    overflow:hidden !important;

    color:#fff2a3 !important;

    background:
        linear-gradient(
            135deg,
            #050505 0%,
            #3d2800 35%,
            #8b5b00 50%,
            #3d2800 65%,
            #050505 100%
        ) !important;

    background-size:250% 250% !important;

    border-right:
        3px solid #ffd84e !important;

    text-shadow:
        0 0 4px #ffffff,
        0 0 10px #ffd84e,
        0 0 20px #ffb300,
        0 0 32px #ff8c00 !important;

    box-shadow:
        inset 0 0 18px rgba(255,205,65,.35),
        0 0 12px rgba(255,210,60,.90),
        0 0 28px rgba(255,160,0,.75) !important;

    animation:
        nmtdcBadgeAttention
        1.8s
        ease-in-out
        infinite,
        nmtdcBadgeBackground
        4s
        linear
        infinite !important;
}

#nmtdc-news-final-label::before {
    content:"" !important;

    position:absolute !important;

    top:-40% !important;
    left:-60% !important;

    width:35% !important;
    height:180% !important;

    transform:
        rotate(18deg) !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.90),
            transparent
        ) !important;

    filter:
        blur(2px) !important;

    animation:
        nmtdcBadgeSweep
        3s
        ease-in-out
        infinite !important;

    pointer-events:none !important;
}

#nmtdc-news-final-label::after {
    content:"●" !important;

    display:inline-block !important;

    margin-left:16px !important;

    color:#ffdf58 !important;

    font-size:.55em !important;

    vertical-align:middle !important;

    text-shadow:
        0 0 5px #ffffff,
        0 0 12px #ffd43b,
        0 0 22px #ff8a00 !important;

    animation:
        nmtdcBadgeDot
        1.1s
        ease-in-out
        infinite !important;
}

@keyframes nmtdcBadgeAttention {

    0%,100% {
        filter:
            brightness(1);
        transform:
            scale(1);
    }

    45% {
        filter:
            brightness(1.35);
        transform:
            scale(1.02);
    }

    55% {
        filter:
            brightness(1.65);
        transform:
            scale(1.035);
    }
}

@keyframes nmtdcBadgeBackground {

    0% {
        background-position:
            0% 50%;
    }

    100% {
        background-position:
            250% 50%;
    }
}

@keyframes nmtdcBadgeSweep {

    0%,60% {
        left:-60%;
        opacity:0;
    }

    68% {
        opacity:1;
    }

    90% {
        left:135%;
        opacity:.9;
    }

    100% {
        left:135%;
        opacity:0;
    }
}

@keyframes nmtdcBadgeDot {

    0%,100% {
        opacity:.45;
        transform:scale(.8);
    }

    50% {
        opacity:1;
        transform:scale(1.35);
    }
}

@media (prefers-reduced-motion: reduce) {

    #nmtdc-news-final-label,
    #nmtdc-news-final-label::before,
    #nmtdc-news-final-label::after {
        animation:none !important;
    }
}


/* ==========================================================
   MMTDC NEWS — COMPACT TWO-LINE BADGE
   ========================================================== */

#nmtdc-news-final-label {
    width:190px !important;
    min-width:190px !important;
    max-width:190px !important;

    padding:0 12px !important;

    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;

    text-align:center !important;

    gap:6px !important;
}

.nmtdc-news-badge-top {
    display:block !important;

    color:#fff2a3 !important;

    font-size:27px !important;
    font-weight:950 !important;

    line-height:.95 !important;
    letter-spacing:.04em !important;

    white-space:nowrap !important;

    text-shadow:
        0 0 5px #ffffff,
        0 0 12px #ffd84e,
        0 0 24px #ff9d00 !important;
}

.nmtdc-news-badge-bottom {
    display:block !important;

    color:#ffd85a !important;

    font-size:17px !important;
    font-weight:900 !important;

    line-height:1 !important;
    letter-spacing:.12em !important;

    white-space:nowrap !important;

    text-shadow:
        0 0 5px #ffd84e,
        0 0 14px #ff9d00 !important;
}

/*
 * Keep the existing glowing/flashing badge effect,
 * but don't let animation change the badge width.
 */

#nmtdc-news-final-label::after {
    position:absolute !important;
    right:8px !important;
    bottom:8px !important;

    margin:0 !important;

    font-size:9px !important;
}

@media(max-width:900px) {

    #nmtdc-news-final-label {
        width:145px !important;
        min-width:145px !important;
        max-width:145px !important;

        padding:0 8px !important;

        gap:4px !important;
    }

    .nmtdc-news-badge-top {
        font-size:20px !important;
    }

    .nmtdc-news-badge-bottom {
        font-size:12px !important;
    }
}

