/* -----------------------------------
   TOPBAR
----------------------------------- */
.topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    direction: rtl;
    font-size: 15px;
}

.topbar-date {
    font-weight: 600;
}

.topbar-search button {
    background: #fff;
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

.topbar-social a {
    color: #fff;
    margin-left: 10px; /* RTL spacing */
    font-size: 18px;
    text-decoration: none;
}

.topbar-social a:hover {
    color: #ffcc00;
}

/* -----------------------------------
   MAIN HEADER (Logo + Title)
----------------------------------- */
.main-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    direction: rtl;
}

.header-logo img {
    max-height: 80px;
}

.site-title-urdu {
    font-size: 26px;
    margin: 0;
}

.site-desc {
    font-size: 14px;
    margin: 0;
    color: #777;
}

/* -----------------------------------
   MAIN MENU
----------------------------------- */
.main-menu {
    display: flex;
    justify-content: flex-start; /* RTL first, menu items align right */
    list-style: none;
    gap: 20px;
    direction: rtl;
}

.main-menu li {
    position: relative;
}

.main-menu li a {
    text-decoration: none;
    color: #000;
    padding: 10px 5px;
    display: flex;
    align-items: center;
}

.main-menu li a:hover {
    color: #ffcc00;
}

/* Home icon */
.main-menu li.home-menu > a::before {
    content: "🏠";
    margin-left: 5px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

/* Responsive */
@media(max-width:768px){
    .main-menu {
        display: none;
        flex-direction: column;
        gap: 0;
    }

    .main-menu.active {
        display: flex;
        background: #fff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 10px;
        border: 1px solid #ccc;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

.header-area {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-header-flex,
.topbar-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
}

.breaking-news-bar {
    background: #ffcc00;
    color: #000;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    direction: rtl;
}

.breaking-news-bar .breaking-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breaking-label {
    font-weight: bold;
    margin-right: 15px;
}

.breaking-ticker {
    display: flex;
    animation: tickerScroll 20s linear infinite;
}

.breaking-ticker:hover {
    animation-play-state: paused; /* stop on hover */
}

.ticker-item {
    margin-left: 30px;
}

.ticker-item a {
    text-decoration: none;
    color: #000;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
