/* --- CSS Variables for Light/Dark Mode (OTT Style) --- */
:root {
    --bg-primary: #F5F5F5;
    --bg-secondary: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --brand-red: #C40000;
    --brand-dark: #121212;
    --accent-yellow: #FFB400;
    --border-color: #E0E0E0;
    --header-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.top-link, .social-icons a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}
.top-link:hover, .social-icons a:hover {
    color: var(--accent-yellow);
}

/* --- Main Header --- */
.main-header {
    background-color: var(--bg-secondary);
    box-shadow: var(--header-shadow);
    padding: 10px 0;
    transition: background-color 0.3s ease;
}
.brand-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-red) !important;
    letter-spacing: -0.5px;
}
.brand-dot { color: var(--text-primary); }

.nav-link {
    color: var(--text-primary) !important;
    padding: 10px 15px !important;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--brand-red) !important;
}

/* --- Action Buttons --- */
.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    transition: transform 0.2s, color 0.2s;
}
.icon-btn:hover {
    color: var(--brand-red);
    transform: scale(1.1);
}
.login-btn {
    background-color: var(--brand-red);
    border: none;
}
.login-btn:hover { background-color: #a00000; }

/* --- Reading Progress Bar --- */
.reading-progress-container {
  width: 100%;
  height: 3px;
  background: transparent;
  position: fixed;
  top: 0;
  z-index: 1050;
}
.reading-progress-bar {
  height: 3px;
  background: var(--brand-red);
  width: 0%;
}

/* --- Live TV Pulsing Dot --- */
.pulse-dot {
    height: 10px;
    width: 10px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 0, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

/* --- Mega Dropdown Style --- */
.mega-dropdown {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.mega-dropdown .dropdown-item {
    color: var(--text-primary);
    padding: 10px 20px;
    font-weight: 500;
}
.mega-dropdown .dropdown-item:hover {
    background-color: var(--brand-red);
    color: white;
}

/* --- Full Screen Search Overlay (OTT Style) --- */
.search-overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-overlay.active {
    top: 0;
}
.close-search {
    position: absolute;
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: white;
    font-size: 35px;
    cursor: pointer;
    transition: transform 0.3s;
}
.close-search:hover { transform: rotate(90deg); color: var(--brand-red); }
.search-content { width: 100%; max-width: 700px; padding: 20px; }
.search-input-group { border-radius: 50px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.search-input { border: none; padding: 20px 25px; font-size: 18px; }
.search-input:focus { box-shadow: none; }

/* --- Live Search Dropdown (AJAX) --- */
#liveSearchResults {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 16px;
    margin-top: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    max-height: 450px;
    overflow-y: auto;
    z-index: 10000;
    display: none;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.1);
}
#liveSearchResults::-webkit-scrollbar { width: 6px; }
#liveSearchResults::-webkit-scrollbar-thumb { background: var(--brand-red); border-radius: 10px; }
.live-result-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: 0.3s;
}
.live-result-item:hover { background: rgba(196, 0, 0, 0.05); }
.live-result-item img {
    width: 70px; height: 70px; border-radius: 10px;
    object-fit: cover; margin-right: 18px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.live-result-info h6 {
    margin: 0 0 6px 0; font-size: 15px; font-weight: 700;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4;
}
.live-result-info small { font-size: 12px; color: var(--text-secondary); font-weight: 600; }

/* --- Ad Placeholders --- */
.ad-placeholder { background: #e9ecef; border: 1px dashed #ced4da; padding: 20px; display: flex; justify-content: center; align-items: center; }
.leaderboard-ad { min-height: 90px; width: 100%; max-width: 728px; margin: 0 auto; }

/* --- Expert Ad Management Styles --- */
.tps-ad-wrapper { position: relative; z-index: 1; transition: all 0.3s ease; width: 100%; }
.tps-ad-container:empty { display: none !important; }
.in-article-ad { clear: both; margin: 2.5rem auto; }

/* --- Hero Section Cards --- */
.news-card { position: relative; display: block; overflow: hidden; border-radius: 14px; text-decoration: none; background: var(--bg-secondary); box-shadow: 0 4px 15px rgba(0,0,0,0.06); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(196, 0, 0, 0.12); border-color: rgba(196, 0, 0, 0.3); }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.news-card:hover img { transform: scale(1.08); }

/* Dark Overlay for Text Readability */
.dark-overlay::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1; pointer-events: none;
}

.card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; z-index: 2; color: #fff; }
.hero-big .news-card { height: 450px; }
.hero-small-grid .news-card { height: 215px; }

/* Category Badges */
.cat-badge { position: absolute; top: 15px; left: 15px; padding: 4px 12px; font-size: 12px; font-weight: bold; color: #fff; border-radius: 4px; z-index: 2; text-transform: uppercase; }
.politics-badge { background: #C40000; }
.crime-badge { background: #8B0000; }
.economy-badge { background: #0056b3; }
.sports-badge { background: #28a745; }
.tech-badge { background: #fd7e14; }

/* Typography inside cards */
.hero-title { font-size: 28px; font-weight: 800; line-height: 1.3; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); margin: 0; }
.small-title { font-size: 16px; font-weight: 700; line-height: 1.4; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); margin: 0; }
.meta-info { font-size: 13px; color: #ddd; }

/* --- Full Width Sliders (OTT Style) --- */
.section-heading { font-size: 24px; color: var(--text-primary); margin: 0; }
.slider-controls { display: flex; gap: 10px; }
.slider-btn { background: var(--bg-secondary); border: 1px solid var(--border-color); color: var(--text-primary); border-radius: 50%; width: 35px; height: 35px; cursor: pointer; transition: all 0.3s; }
.slider-btn:hover { background: var(--brand-red); color: white; border-color: var(--brand-red); }

.slider-container {
    display: flex; gap: 20px; overflow-x: auto; padding-bottom: 15px;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    /* Hide Scrollbar */
    -ms-overflow-style: none; scrollbar-width: none;
}
.slider-container::-webkit-scrollbar { display: none; }

.slider-item { flex: 0 0 calc(25% - 15px); scroll-snap-align: start; min-width: 250px; }
.trend-card { border: 1px solid var(--border-color); display: flex; flex-direction: column; height: 100%; transition: box-shadow 0.3s; }
.trend-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.trend-card .img-wrapper { height: 160px; overflow: hidden; }
.trend-title { font-size: 16px; font-weight: 600; color: var(--text-primary); line-height: 1.4; margin: 0; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-big .news-card { height: 300px; }
    .hero-title { font-size: 22px; line-height: 1.3; }
    .slider-item { flex: 0 0 calc(85% - 10px); min-width: 240px; } /* Shows edge of next card to hint swiping */
}

/* --- Category Block Heights --- */
.cat-big-card { height: 350px; border-radius: 12px; }
.cat-small-card { height: 167px; border-radius: 12px; } /* Perfectly aligns 2x2 grid */
.view-all-btn { transition: all 0.3s ease; }
.view-all-btn:hover { background-color: var(--brand-red); color: white !important; }

/* --- In-Feed Ad Slot --- */
.in-feed-ad { width: 100%; max-width: 970px; min-height: 250px; }

/* --- Web Stories (Google Discover Style - Tall Cards) --- */
.stories-wrapper { background-color: rgba(0,0,0,0.03); }
.story-item { flex: 0 0 calc(20% - 15px); min-width: 160px; max-width: 200px; }
.story-card { text-decoration: none; display: block; border-radius: 16px; overflow: hidden; height: 280px; position: relative; border: 2px solid var(--brand-red); transition: transform 0.3s;}
.story-card:hover { transform: scale(1.03); border-color: var(--accent-yellow); }
.story-img-wrap { width: 100%; height: 100%; position: relative; }
.story-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.story-text-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px; z-index: 3; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.story-text { font-size: 14px; line-height: 1.4; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }

/* --- Newsletter & WhatsApp Box --- */
.newsletter-box { 
    background: linear-gradient(135deg, var(--brand-red) 0%, #8B0000 100%);
    position: relative; overflow: hidden;
}
.newsletter-box::before {
    content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px;
    background: rgba(255,255,255,0.1); border-radius: 50%;
}
.newsletter-box::after {
    content: ''; position: absolute; bottom: -50px; left: -50px; width: 150px; height: 150px;
    background: rgba(255,255,255,0.1); border-radius: 50%;
}

/* --- YouTube Shorts (Vertical 9:16 Slider) --- */
.shorts-item { flex: 0 0 calc(16.66% - 15px); min-width: 200px; }
.shorts-card { height: 350px; border-radius: 16px; display: block; position: relative; overflow: hidden;}
.shorts-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.shorts-card:hover img { transform: scale(1.08); }
.play-icon-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: rgba(0,0,0,0.5); border-radius: 50%;
    display: flex; justify-content: center; align-items: center; z-index: 3;
    color: white; font-size: 24px; backdrop-filter: blur(5px); border: 2px solid rgba(255,255,255,0.5); transition: all 0.3s;
}
.shorts-card:hover .play-icon-overlay { background: rgba(196, 0, 0, 0.9); border-color: white; transform: translate(-50%, -50%) scale(1.1); }

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .cat-big-card { height: 250px; margin-bottom: 10px; }
    .story-item { flex: 0 0 calc(40% - 10px); min-width: 140px; }
    .shorts-item { flex: 0 0 calc(50% - 10px); min-width: 160px; }
    .shorts-card { height: 280px; }
    .in-feed-ad { min-height: 100px; } /* Mobile par ad size chhota hoga */
}

/* =========================================================
   1. PREMIUM CATEGORY BLOCKS (Politics, Crime, Sports)
========================================================= */
.category-section { margin-bottom: 50px; }
.section-heading { font-size: 26px; letter-spacing: -0.5px; }
.view-all-btn { 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    border-width: 2px;
}
.view-all-btn:hover { 
    transform: translateX(5px); 
    box-shadow: 0 4px 15px rgba(196, 0, 0, 0.3); 
}

/* Card Sizes & Layout */
.cat-big-card { height: 400px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.cat-small-card { height: 190px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

/* Dark Gradient Overlay for perfect Text Readability */
.dark-overlay { position: relative; display: block; overflow: hidden; }
.dark-overlay::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    z-index: 1; transition: background 0.4s ease;
}
.dark-overlay:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 100%);
}

/* Smooth Image Zoom on Hover */
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.news-card:hover img { transform: scale(1.08); }

.card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 25px; z-index: 2; color: #fff; }
.cat-small-card .card-content { padding: 15px; }

/* =========================================================
   2. WEB STORIES (Google Discover / Instagram Hybrid Look)
========================================================= */
.stories-wrapper { 
    background: linear-gradient(145deg, var(--bg-secondary) 0%, #f8f9fa 100%);
    border-top: 3px solid var(--accent-yellow);
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.02);
}

.story-item { flex: 0 0 calc(20% - 15px); min-width: 150px; max-width: 180px; }
.story-card { 
    text-decoration: none; display: block; border-radius: 16px; overflow: hidden; 
    height: 280px; position: relative; border: 3px solid transparent; 
    background-image: linear-gradient(white, white), linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    background-origin: border-box; background-clip: content-box, border-box;
    transition: transform 0.3s, box-shadow 0.3s;
}
.story-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(220, 39, 67, 0.3); }

.story-text-overlay { 
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px 15px 15px; z-index: 3; 
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); 
}

/* =========================================================
   3. YOUTUBE SHORTS (Premium Glassmorphism Style)
========================================================= */
.shorts-item { flex: 0 0 calc(16.66% - 15px); min-width: 220px; }
.shorts-card { height: 380px; border-radius: 16px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.play-icon-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 65px; height: 65px; background: rgba(255, 255, 255, 0.2); 
    border-radius: 50%; display: flex; justify-content: center; align-items: center; z-index: 3;
    color: white; font-size: 26px; border: 1px solid rgba(255,255,255,0.4); 
    backdrop-filter: blur(8px); /* Glassmorphism Effect */
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.shorts-card:hover .play-icon-overlay { 
    background: rgba(196, 0, 0, 0.85); border-color: transparent; 
    transform: translate(-50%, -50%) scale(1.15); box-shadow: 0 0 20px rgba(196, 0, 0, 0.5); 
}

/* =========================================================
   4. NEWSLETTER & WHATSAPP BOX (Modern Tech Feel)
========================================================= */
.newsletter-box { 
    background: linear-gradient(135deg, var(--brand-red) 0%, #7a0000 100%);
    position: relative; overflow: hidden; border: none;
}
/* Background abstract circles */
.newsletter-box::before {
    content: ''; position: absolute; top: -80px; right: -50px; width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%); border-radius: 50%;
}
.newsletter-box::after {
    content: ''; position: absolute; bottom: -80px; left: -50px; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); border-radius: 50%;
}
.newsletter-box .btn-success { background-color: #25D366; border: none; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); transition: transform 0.2s; }
.newsletter-box .btn-success:hover { transform: translateY(-3px); }

/* Mobile Responsiveness for all above */
@media (max-width: 768px) {
    .cat-big-card { height: 240px; }
    .cat-small-card { height: 140px; }
    .story-item { flex: 0 0 calc(42% - 10px); min-width: 130px; }
    .shorts-item { flex: 0 0 calc(55% - 10px); min-width: 150px; }
    .shorts-card { height: 280px; }
}

/* =========================================================
   FIX: BREAKING NEWS TICKER & HOT TOPICS STRIP
========================================================= */

/* --- Breaking News Ticker --- */
.breaking-news-section {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    height: 45px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.breaking-badge {
    background-color: var(--brand-red);
    color: #FFF;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
    position: relative;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    white-space: nowrap; /* टेक्स्ट टूटेगा नहीं */
    flex-shrink: 0; /* बैज छोटा/पिचकेगा नहीं */
}

.breaking-ticker-wrap {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.breaking-ticker {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%; /* राइट साइड से शुरू करने के लिए */
    animation: scrollTicker 30s linear infinite; /* स्पीड कंट्रोल */
}

.breaking-ticker span {
    margin-right: 60px;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-block;
}

/* Hover करने पर टिकर रुक जाएगा */
.breaking-ticker-wrap:hover .breaking-ticker {
    animation-play-state: paused;
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}


/* --- Hot Topics (Trending Tags) Strip --- */
.hot-topics-strip {
    background-color: var(--bg-secondary);
    font-size: 14px;
    width: 100%;
    overflow: hidden;
}

.hot-topics-strip .container-fluid {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* इसे नेक्स्ट लाइन में जाने से रोकेगा */
}

.hot-topics-strip .badge {
    flex-shrink: 0; /* 'हॉट टॉपिक्स:' बैज को सिकुड़ने से रोकेगा */
    white-space: nowrap;
}

.tags-scroll {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* Very Important: Tags एक ही लाइन में रहेंगे */
    width: 100%;
    padding-bottom: 2px;
    
    /* Scrollbar Hide करने के लिए */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.tags-scroll::-webkit-scrollbar {
    display: none; 
}

.hot-tag {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap; /* Important */
    display: inline-block;
    transition: color 0.3s ease;
}

.hot-tag:hover {
    color: var(--brand-red);
}

/* =========================================================
   100% FIXED: BREAKING NEWS & HOT TOPICS
========================================================= */

/* --- Breaking News Fix --- */
.tps-breaking-wrap {
    display: flex;
    align-items: center;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    height: 45px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.tps-breaking-label {
    background-color: var(--brand-red);
    color: #FFF;
    font-weight: bold;
    font-size: 14px;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
    white-space: nowrap;
    flex-shrink: 0; /* इसे सिकुड़ने से रोकेगा */
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.tps-breaking-marquee {
    flex: 1; /* बची हुई पूरी जगह लेगा */
    overflow: hidden;
    position: relative;
    height: 100%;
}

.tps-marquee-content {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content; /* टेक्स्ट के हिसाब से चौड़ाई लेगा */
    animation: tps-scroll 30s linear infinite;
}

.tps-marquee-content span {
    margin-right: 60px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap; /* टेक्स्ट को 2 लाइन में नहीं जाने देगा */
}

.tps-breaking-marquee:hover .tps-marquee-content {
    animation-play-state: paused;
}

@keyframes tps-scroll {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* --- Hot Topics Fix --- */
.tps-hottopics-wrap {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    height: 40px;
    width: 100%;
    overflow: hidden;
}

.tps-hot-label {
    flex-shrink: 0; /* बैज को पिचकने से रोकेगा */
    margin-right: 15px;
    white-space: nowrap;
    font-size: 13px;
    padding: 6px 12px;
}

.tps-hot-links {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    height: 100%;
    flex: 1;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.tps-hot-links::-webkit-scrollbar {
    display: none;
}

.tps-hot-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap; /* लिंक्स को टूटने से रोकेगा */
    transition: color 0.2s;
}

.tps-hot-links a:hover {
    color: var(--brand-red);
}

/* =========================================================
   NEW FEATURES: SIDEBAR, MARKET TICKER, FACT CHECK
========================================================= */

/* --- Market Ticker (Sensex/Gold) --- */
.market-ticker-wrap { font-size: 13px; border-left: 1px solid var(--border-color); }

/* --- Sidebar Latest News Scroller --- */
.latest-news-scroller { max-height: 350px; overflow-y: auto; padding-right: 10px; }
.latest-news-scroller::-webkit-scrollbar { width: 4px; }
.latest-news-scroller::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.hover-red { transition: color 0.3s; }
.hover-red:hover { color: var(--brand-red) !important; }

/* --- Fact Check Box --- */
.fact-check-box { transition: transform 0.3s, box-shadow 0.3s; }
.fact-check-box:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; }

/* --- E-Paper Box --- */
.epaper-box { display: block; overflow: hidden; border-radius: 8px; transition: transform 0.3s; }
.epaper-box:hover { transform: scale(1.02); }
.epaper-box img { width: 100%; transition: filter 0.3s; }
.epaper-box:hover img { filter: grayscale(0%) !important; }

/* Desktop Fix for Hero Section heights inside 75% col */
@media (min-width: 992px) {
    .hero-big .news-card { height: 420px; }
    .hero-small-grid .news-card { height: 202px; } /* Ensures perfect alignment */
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .sidebar-area { margin-top: 30px; }
    .hero-big .news-card { height: 300px; }
    .hero-small-grid .news-card { height: 200px; }
}

/* --- Google News Promo Button --- */
.google-news-promo { background: #ffffff; border: 1px solid rgba(26, 115, 232, 0.15); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden;}
.google-news-promo:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(26, 115, 232, 0.15) !important; border-color: #1a73e8; }
.google-news-promo .btn { transition: 0.3s; }
.google-news-promo:hover .btn { background: #1557b0 !important; transform: scale(1.05); }