/* 🌾 GLOBAL RESET */
body {
    margin: 0;
    font-family: 'Noto Sans Devanagari', sans-serif;
    background: #f5f5f5;
    color: #111;
}

/* 🌐 HEADER */
.mobile-header {
    background: #b71c1c; /* deep red */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.logo-area {
    text-align: center;
}

.logo {
    height: 30px;
    vertical-align: middle;
}

.tagline {
    font-size: 11px;
    color: #fff;
    line-height: 1;
}

.menu-btn {
    font-size: 22px;
    cursor: pointer;
    color: #fff;
}

.live-btn {
    background: #ff0000;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* 📱 SIDE MENU */
.side-menu {
    position: fixed;
    top: 0;
    left: -80%;
    width: 75%;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 6px rgba(0,0,0,0.4);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.side-menu.open {
    left: 0;
}

.side-header {
    background: #b71c1c;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    position: relative;
}

.menu-logo {
    width: 60px;
    margin-bottom: 5px;
}

.close-btn {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
}

/* Overlay behind side menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900;
}
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Side Menu List */
.side-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.side-menu ul li {
    border-bottom: 1px solid #eee;
}
.side-menu ul li a {
    display: block;
    padding: 12px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
}
.side-menu ul li a:hover {
    background: #f8f8f8;
    color: #b71c1c;
    font-weight: bold;
}

/* 🗞 BREAKING NEWS BAR */
.breaking-bar {
    background: #000; /* black background */
    color: #fff; /* white text */
    display: flex;
    align-items: center;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
}

.breaking-title {
    background: #ff0000; /* red tag */
    color: #fff;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 2px;
    margin-right: 10px;
    font-size: 12px;
}

/* 🔴 CATEGORY SCROLL (Tabs) */
.category-scroll {
    display: flex;
    overflow-x: auto;
    background: #fff;
    padding: 8px 5px;
    border-bottom: 1px solid #ddd;
    scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar {
    display: none;
}
.category-scroll a {
    background: #b71c1c; /* red */
    color: #fff;
    padding: 7px 12px;
    margin: 0 5px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.category-scroll a:hover {
    background: #000;
}

/* 📢 ADVERTISEMENT */
.ad-banner {
    margin: 10px 0;
}
.ad-banner img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

/* 🧭 BIG NEWS AREA */
.big-news-item {
    position: relative;
}
.big-news-item img {
    width: 100%;
    height: auto;
    display: block;
}
.big-news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
}
.big-news-content h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

/* 🗞️ NEWS SECTION */
.news-section {
    background: #fff;
    margin: 10px;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.category-title {
    font-size: 16px;
    color: #b71c1c;
    border-left: 4px solid #b71c1c;
    padding-left: 8px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Individual News Card */
.news-card {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-top: 10px;
    padding-bottom: 8px;
}
.news-card img {
    width: 35%;
    border-radius: 6px;
    margin-right: 10px;
    object-fit: cover;
}
.news-info h5 {
    font-size: 14px;
    margin: 0;
    color: #111;
    font-weight: 600;
    line-height: 1.4;
}
.news-info h5:hover {
    color: #b71c1c;
}

/* No Updates */
.no-updates {
    font-size: 14px;
    color: #777;
    text-align: center;
    margin: 10px 0;
}

/* Smoothness */
.side-menu {
    transition: left 0.3s ease;
}
/* 🧾 NEWS LINKS FIX */
a {
    color: #111; /* normal text color */
    text-decoration: none; /* remove underline */
}

a:hover {
    color: #b71c1c; /* red on hover */
    text-decoration: none;
}

/* For marquee breaking news links */
.breaking-bar a {
    color: #fff !important; /* white text inside black bar */
    text-decoration: none;
    font-weight: 500;
}

.breaking-bar a:hover {
    color: #ffeb3b !important; /* soft yellow hover for clarity */
}

/* For category links */
.category-scroll a {
    text-decoration: none;
}

.category-scroll a:active {
    background: #000;
}
.news-detail {
    background: #fff;
    margin: 10px;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.news-headline {
    font-size: 18px;
    color: #111;
    margin: 10px 0;
    line-height: 1.4;
    font-weight: 700;
}

.news-date {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.news-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.news-body {
    font-size: 15px;
    line-height: 1.6;
    color: #222;
}

.news-body p {
    margin-bottom: 10px;
}
/* 🌾 संबंधित खबरें */
.related-section {
    background: #fff;
    margin: 15px 10px;
    border-radius: 10px;
    padding: 10px;
}

.related-title {
    background: #d32f2f;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.related-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 5px;
}

.related-card {
    flex: 0 0 45%;
    background: #000;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.related-caption {
    padding: 6px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}
.ad-banner-top, .footer-ads, .sidebar-ads {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.ad-section {
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    margin-bottom: 12px;
}
.ad-wrapper img, .ad-wrapper video, .ad-wrapper iframe {
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    margin-bottom: 10px;
    transition: transform 0.2s ease-in-out;
}
.ad-wrapper img:hover {
    transform: scale(1.02);
}
.category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 8px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.category-scroll a {
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 20px;
    background: #d60000;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.category-scroll a:hover {
    background: #a80000;
}

.category-scroll .home-btn {
    background: #008000; /* green */
}

.category-scroll .home-btn:hover {
    background: #006600;
}
/* ✅ CATEGORY SCROLL FIX */
.category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    background: #fff;
    padding: 8px 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    scroll-behavior: smooth;
}

.category-scroll a {
    display: inline-block;
    background: #f2f2f2;
    color: #111;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
    white-space: nowrap;
}

.category-scroll a:hover,
.category-scroll a.active,
.category-scroll .home-btn:hover {
    background: #007b00;
    color: #fff !important;
}

.home-btn {
    background: #e8f5e9;
    color: green;
    border: 1px solid #c5e1a5;
    font-weight: bold;
}

.category-scroll::-webkit-scrollbar {
    height: 5px;
}
.category-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.category-scroll::-webkit-scrollbar-track {
    background: transparent;
}
