/* Breaking News Ticker - RTL Optimized */

.bn-breaking-news {
    display: block;
    width: 100%;
    border: solid 1px var(--theme-color);
    background: var(--theme-color);
    height: 55px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: inset 0 -15px 30px rgba(0,0,0,0.4), 0 5px 10px rgba(0,0,0,0.5);
}

.bn-breaking-news * {
    box-sizing: border-box;
}

/* Label Section */
.bn-label {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    background-color: var(--theme-color);
    text-align: center;
    color: #FFF;
    font-weight: 700;
    z-index: 10;
    padding: 0 15px;
    font-size: 20px;
    white-space: nowrap;
    box-shadow: inset 0 -15px 30px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

/* News Container */
.bn-news {
    position: absolute;
    right: 150px; /* Adjusted for label width */
    left: 95px; /* Adjusted for controls width */
    top: 0;
    bottom: 0;
    height: 100%;
    overflow: hidden;
    direction: rtl;
}

.bn-news ul {
    display: flex;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-right: 0;
    position: relative;
    white-space: nowrap;
}

.bn-news ul li {
    flex-shrink: 0;
    display: inline-block;
    height: 100%;
    padding: 0 30px;
    white-space: nowrap;
}

.bn-news ul li a {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 18px;
    line-height: 55px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.bn-news ul li a:hover {
    color: #ffeb3b;
}

/* Controls */
.bn-controls {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    display: flex;
    z-index: 10;
    user-select: none;
}

.bn-controls .btn {
    width: 30px;
    height: 100%;
    cursor: pointer;
    border: none;
    border-right: solid 1px var(--theme-color);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.bn-controls .btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Arrow Icons */
.bn-arrow {
    display: inline-block;
    height: 8px;
    width: 8px;
    position: relative;
}

.bn-arrow::after {
    content: '';
    display: inline-block;
    height: 8px;
    width: 8px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    left: 0;
    top: 0;
}

.bn-arrow.bn-next {
    transform: rotate(315deg);
}

.bn-arrow.bn-prev {
    transform: rotate(135deg);
}

/* Play/Pause Icons */
.bn-play {
    position: relative;
    width: 0;
    height: 12px;
    display: inline-block;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #fff;
}

.bn-pause {
    position: relative;
    width: 10px;
    height: 12px;
    display: inline-block;
}

/* .bn-pause::before,
.bn-pause::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 100%;
    background-color: #fff;
    top: 0;
} */

.bn-pause::before {
    position: absolute;
  content: "";
  width: 2px;
  height: 100%;
  left: 3px;
  background-color: #999;
}

.bn-pause::after {
    position: absolute;
  content: "";
  width: 2px;
  height: 100%;
  left: -3px;
  background-color: #999;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .bn-label {
        min-width: 100px;
        font-size: 16px;
    }
    
    .bn-label img {
        width: 30px !important;
    }
    
    .bn-news {
        right: 100px;
    }
    
    .bn-news ul li a {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* .bn-label .hidden-xs {
        display: none;
    }
     */
    .bn-label {
        min-width: 60px;
    }
    
    .bn-news {
        right: 60px;
        left: 0;
    }
    
    /* .bn-controls.hidden-xs {
        display: none !important;
    } */
}

/* Urdu Font Support */
.urdu {
    font-family: 'Jameel Noori Nastaleeq', 'Noto Nastalikh Urdu', 'Urdu Typesetting', 'Arabic Typesetting', Arial, sans-serif;
}