.breaking-news-container {
    width: 100%;
    position: relative;
    padding: 10px 20px;
    margin-bottom: 0;
}

.breaking-news-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-label {
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    max-width: 120px;
    text-align: center;
    line-height: 1;
    font-size: 21px;
}

.breaking-news-wrapper a {
    text-decoration: none;
    flex: 1;
    transition: opacity 0.3s ease;
    font-weight: bold;
    line-height: 1.4;
}

.breaking-news-wrapper a:hover {
    opacity: 0.8;
}

.breaking-time {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .breaking-news-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 0;
        width: 100%;
    }
    .breaking-label {
        flex: 0 0 auto;
        margin-left: -5px;
        font-size: 14px;
        padding: 6px 8px;
        max-width: 80px;
    }
    .breaking-news-wrapper a {
        flex: 1 1 auto;
        margin: 0 8px;
        display: block;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        position: relative;
        font-size: 16px;
        padding: 0;
    }
    .breaking-news-wrapper a span.marquee {
        display: inline-block;
        padding-left: 100%;
        animation: marquee 10s linear infinite;
    }
    .breaking-time {
        flex: 0 0 auto;
        margin-right: -5px;
        font-size: 15px;
    }
    .breaking-news-wrapper a {
        position: relative;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    }
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}