.bpbn-widget{width:100%;font-family:Tahoma,"Vazirmatn","IRANSans",Arial,sans-serif}
.bpbn-bar{width:100%;min-height:48px;display:flex;align-items:stretch;overflow:hidden;background:#151a1f;border-radius:5px;box-sizing:border-box;direction:rtl}
.bpbn-breaking{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;background:#e00000;white-space:nowrap;position:relative;z-index:3}
.bpbn-breaking-text{font-weight:700;color:#fff}
.bpbn-pulse{position:relative;width:10px;height:10px;display:inline-block;background:#fff;border-radius:50%;flex:0 0 10px}
.bpbn-pulse:before,.bpbn-pulse:after{content:"";position:absolute;inset:-6px;border:2px solid #fff;border-radius:50%;animation:bpbnpulse 1.8s ease-out infinite}
.bpbn-pulse:after{animation-delay:.9s}
@keyframes bpbnpulse{0%{transform:scale(.35);opacity:1}100%{transform:scale(1.5);opacity:0}}

.bpbn-news-area{flex:1 1 auto;min-width:0;overflow:hidden;display:flex;align-items:center;position:relative;direction:ltr}
.bpbn-news-track{display:flex;align-items:center;flex:0 0 auto;width:max-content;min-width:200%;white-space:nowrap;gap:70px;animation:bpbnmove 55s linear infinite;animation-play-state:running;will-change:transform}
.bpbn-news-area:hover .bpbn-news-track{animation-play-state:paused}
.bpbn-news-item{display:inline-flex;align-items:center;direction:rtl;flex:0 0 auto;gap:10px}
.bpbn-news-thumb{width:32px;height:32px;min-width:32px;border-radius:50%;object-fit:cover;display:block}
.bpbn-news-link{color:#fff;text-decoration:none;font-weight:400;font-size:14px;line-height:1.8}
.bpbn-news-link:hover{text-decoration:underline}
@keyframes bpbnmove{
    from{transform:translate3d(-50%,0,0)}
    to{transform:translate3d(0,0,0)}
}

.bpbn-datetime{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 9px;
    background:#293038;
    color:#fff;
    font-size:12px;
    font-weight:300;
    line-height:1;
    white-space:nowrap;
    direction:rtl;
    letter-spacing:0;
}
.bpbn-date-text,.bpbn-time-text{font-weight:300}
@media(max-width:767px){
    /* موبایل: سطر اول تاریخ و ساعت، سطر دوم خبر فوری + تیتر اخبار */
    .bpbn-bar{
        min-height:86px;
        display:flex;
        flex-wrap:wrap;
        align-content:stretch;
    }
    .bpbn-datetime{
        order:1;
        width:100%;
        flex:0 0 100%;
        min-height:40px;
        height:40px;
        padding:0 6px;
        font-size:10px;
        box-sizing:border-box;
    }
    .bpbn-breaking{
        order:2;
        flex:0 0 auto;
        min-height:46px;
        height:46px;
        padding:0 9px;
        gap:6px;
    }
    .bpbn-breaking-text{font-size:11px}
    .bpbn-pulse{width:8px;height:8px;flex-basis:8px}
    .bpbn-pulse:before,.bpbn-pulse:after{inset:-5px}
    .bpbn-news-area{
        order:3;
        flex:1 1 0;
        width:auto;
        min-width:0;
        min-height:46px;
        height:46px;
    }
    .bpbn-news-track{
        gap:45px;
        animation-duration:65s;
    }
    .bpbn-news-item{gap:7px}
    .bpbn-news-thumb{width:27px;height:27px;min-width:27px}
    .bpbn-news-link{font-size:12px}
}
