/* ===================================================================
   BREAKING NEWS
   VERSION : 1.0
=================================================================== */
.breaking-news {
    position: relative;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.breaking-news-wrapper {
    display: flex;
    align-items: center;
    min-height: 54px;
}

/* LABEL & ICON */
.breaking-news-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 190px;
    height: 54px;
    padding: 0 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.breaking-news-label i {
    font-size: 16px;
    animation: pulseFire 1.5s infinite;
}

/* NEWS CONTENT & TRACK */
.breaking-news-content {
    position: relative;
    flex: 1;
    overflow: hidden;
    padding: 0 18px;
}

.breaking-news-track {
    position: relative;
    display: flex;
    align-items: center;
    height: 54px;
}

.breaking-news-item {
    display: none;
    width: 100%;
    animation: fadeNews 0.45s ease;
}

.breaking-news-item.active { display: block; }

.breaking-news-item a {
    display: block;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition-fast);
}

.breaking-news-item a:hover { color: var(--primary); }

/* ACTIONS */
.breaking-news-action {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding-right: 10px;
}

.breaking-news-action button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.breaking-news-action button:hover { background: var(--primary); color: var(--white); }
.breaking-news-action button:active { transform: scale(0.92); }
.breaking-news-close { color: #888; }

/* ANIMATIONS */
@keyframes fadeNews {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseFire {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .breaking-news-label { min-width: 160px; font-size: 13px; }
}

@media (max-width: 768px) {
    .breaking-news-wrapper { min-height: 50px; }
    .breaking-news-label { min-width: 140px; height: 50px; padding: 0 16px; font-size: 12px; }
    .breaking-news-track { height: 50px; }
    .breaking-news-item a { font-size: 14px; }
}

@media (max-width: 576px) {
    .breaking-news-wrapper { flex-wrap: wrap; }
    .breaking-news-label { width: 100%; min-width: 100%; justify-content: flex-start; padding: 0 18px; }
    .breaking-news-content { width: 100%; padding: 0 18px; }
    .breaking-news-track { height: 46px; }
    .breaking-news-action { width: 100%; justify-content: flex-end; padding: 8px 18px 10px; border-top: 1px solid var(--border-color); }
}

@media (max-width: 480px) {
    .breaking-news-item a { font-size: 13px; }
    .breaking-news-action button { width: 32px; height: 32px; }
}