/* TechBari News Ticker - Frontend Styles */

.tbnt-top-ticker{
    position: relative;
    width: 100%;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
    margin: 12px 0;
    min-height: 42px;
}

.tbnt-top-label{
    position: absolute;
    left: 0;
    top: 0;
    padding: 9px 20px 9px 12px;
    background: #0a4466;
    color: #fff;
    font-size: 17px;
    line-height: 24px;
    z-index: 2;
    white-space: nowrap;
}

.tbnt-top-marquee{
    padding: 9px 12px 9px 190px; /* left label width */
    font-size: 17px;
    line-height: 24px;
}

.tbnt-footer-ticker{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #0a4466;
    color: #fff;
    z-index: 999999;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
}

.tbnt-footer-label{
    flex: 0 0 auto;
    padding: 10px 16px;
    background: rgba(0,0,0,0.18);
    font-size: 16px;
    line-height: 22px;
    white-space: nowrap;
}

.tbnt-footer-marquee{
    flex: 1 1 auto;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 22px;
}

.tbnt-item{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 18px;
    text-decoration: none;
    color: inherit;
}

.tbnt-item:hover{
    text-decoration: underline;
    opacity: 0.95;
}

.tbnt-bullet{
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0a4466;
    display: inline-block;
    flex: 0 0 9px;
}

.tbnt-top-ticker .tbnt-item{
    color: #222;
}

.tbnt-top-ticker .tbnt-item:hover{
    color: #0a4466;
}

.tbnt-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    display: inline-block;
    flex: 0 0 8px;
}

/* Avoid content hidden behind fixed notice ticker */
.tbnt-has-footer-ticker{
    padding-bottom: 46px;
}

/* Mobile tweaks */
@media (max-width: 576px){
    .tbnt-top-label{
        position: static;
        display: block;
        width: 100%;
        border-radius: 0;
    }
    .tbnt-top-marquee{
        padding: 9px 12px;
    }
}
