/* Modern News Portal CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700;800;900&display=swap');

:root {
    --primary: #0f172a;    /* Midnight Slate */
    --accent: #c21a23;     /* Editorial Crimson Red */
    --accent-red: #E63946;  /* Vibrant Red */
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-pink: #f472b6;
    --accent-yellow: #fbbf24;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --bg-gray: #f1f5f9;
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-ui: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --header-bg: rgba(255, 255, 255, 0.85);
}



* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-ui); background: var(--bg-light); color: var(--text-main); line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Premium Modern Header --- */
.top-nav-bar { background: #0f172a; color: #94a3b8; padding: 10px 0; font-size: 0.75rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.05); }
.top-nav-flex { display: flex; justify-content: space-between; align-items: center; }
.top-trending { display: flex; align-items: center; gap: 15px; flex: 1; margin: 0 40px; overflow: hidden; }
.trending-label { color: #f8fafc; background: #e50914; padding: 2px 8px; border-radius: 4px; font-weight: 800; white-space: nowrap; }
.top-trending marquee a { color: #cbd5e1; text-decoration: none; margin: 0 10px; transition: color 0.2s; }
.top-trending marquee a:hover { color: white; }
.top-socials { display: flex; align-items: center; gap: 20px; }
.top-socials a { color: inherit; transition: color 0.2s; }
.top-socials a:hover { color: white; }
.admin-link { background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 20px; text-decoration: none; display: flex; align-items: center; gap: 6px; }

.main-header { 
    background: var(--header-bg); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border); 
    padding: 20px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    transition: all 0.4s ease;
}
.main-header.sticky { padding: 12px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.header-flex { display: flex; justify-content: space-between; align-items: center; }
.header-left { display: flex; align-items: center; gap: 25px; }

.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; text-decoration: none; color: var(--text-main); letter-spacing: -1px; }
.logo span { color: var(--accent); }

.nav-list { display: flex; list-style: none; gap: 30px; }
.nav-link { 
    text-decoration: none; color: var(--text-muted); font-weight: 700; font-size: 0.85rem; 
    text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s; 
    position: relative; padding: 5px 0;
}
.nav-link::after { 
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; 
    background: var(--accent); transition: width 0.3s; 
}
.nav-link:hover, .nav-link.active { color: var(--text-main); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 20px; }
.search-wrapper form { position: relative; display: flex; align-items: center; }
.search-input { 
    padding: 10px 40px 10px 20px; border-radius: 50px; border: 1px solid #e2e8f0; 
    background: #f8fafc; font-size: 0.85rem; width: 220px; transition: all 0.3s;
}
.search-input:focus { width: 300px; outline: none; border-color: var(--accent); background: white; box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.05); }
.search-btn { position: absolute; right: 15px; background: none; border: none; color: #94a3b8; cursor: pointer; transition: color 0.2s; }
.search-btn:hover { color: var(--accent); }

/* Modern Hamburger */
.mobile-menu-toggle { 
    display: none; flex-direction: column; gap: 6px; width: 30px; background: none; border: none; cursor: pointer; 
}
.mobile-menu-toggle span { width: 100%; height: 2px; background: #0f172a; border-radius: 2px; transition: all 0.3s; }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Search (Hidden by default on Desktop) */
.mobile-search { display: none; }

/* --- End Header --- */

/* News Ticker */
.news-ticker { background: #fff; border: 1px solid var(--border); border-radius: 50px; display: flex; align-items: center; padding: 5px 20px; margin: 20px 0; gap: 20px; overflow: hidden; }
.ticker-label { background: #fff1f2; color: var(--accent); padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 5px; }
.ticker-content { font-size: 0.9rem; font-weight: 500; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Enhanced News Cards */
.card-modern { 
    background: var(--bg-card); 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: var(--shadow); 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    border: 1px solid var(--border); 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
}
.card-modern:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05); 
    border-color: var(--accent);
}
.card-img-wrapper { position: relative; width: 100%; height: 200px; overflow: hidden; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card-modern:hover .card-img-wrapper img { transform: scale(1.05); }

.badge { 
    position: absolute; top: 15px; left: 15px; padding: 6px 14px; 
    border-radius: 50px; font-size: 0.65rem; font-weight: 800; 
    color: white; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 5;
}
.badge-red { background: linear-gradient(135deg, var(--accent-red) 0%, #991b1b 100%); }
.badge-blue { background: linear-gradient(135deg, var(--primary) 0%, #0a1e3b 100%); }
.badge-yellow { background: linear-gradient(135deg, var(--accent-yellow) 0%, #d97706 100%); color: white; }

.card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.card-meta { display: flex; align-items: center; gap: 15px; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px; }
.card-meta span { display: flex; align-items: center; gap: 5px; }
.card-title-modern { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; line-height: 1.3; margin-bottom: 10px; color: var(--text-main); }
.card-footer-modern { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.8rem; }

/* Overlay Card (Hero Main) */
.card-overlay { 
    position: relative; border-radius: 24px; overflow: hidden; height: 550px; 
    color: white; text-decoration: none; display: flex; align-items: flex-end; 
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4); transition: transform 0.6s ease;
}
.card-overlay:hover { transform: scale(0.99); }
.card-overlay::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 75%; background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, transparent 100%); z-index: 1; }
.card-overlay img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card-overlay:hover img { transform: scale(1.05); }
.overlay-content { position: relative; z-index: 2; padding: 50px; max-width: 90%; }
.overlay-title { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800; margin-bottom: 15px; line-height: 1.1; }
.overlay-excerpt { font-size: 1.1rem; opacity: 0.85; margin-bottom: 25px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 400; }

/* Category Section Header */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin: 60px 0 30px; border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.section-title { font-size: 1.8rem; font-weight: 800; color: var(--text-main); position: relative; font-family: var(--font-heading); }
.section-title::after { content: ''; position: absolute; bottom: -16px; left: 0; width: 60px; height: 3px; background: var(--accent); }
.view-all { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.view-all:hover { color: var(--accent); }

/* Entertainment Section */
.ent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.ent-featured { display: flex; flex-direction: column; }
.ent-featured-img { width: 100%; height: 550px; object-fit: cover; margin-bottom: 20px; }
.ent-tag { color: #ef4444; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; display: block; text-align: center; }
.ent-featured-title { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; text-align: center; line-height: 1.2; text-decoration: none; color: var(--text-main); }

.ent-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ent-item { text-decoration: none; color: inherit; display: block; }
.ent-item-img { width: 100%; height: 160px; object-fit: cover; margin-bottom: 15px; }
.ent-item-tag { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; color: #555; margin-bottom: 8px; display: block; }
.ent-item-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ent-item:hover .ent-item-title { color: var(--accent); }

/* Economy Section */
.econ-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.econ-col { display: flex; flex-direction: column; gap: 30px; position: relative; }
.econ-col:not(:last-child)::after {
    content: ''; position: absolute; right: -15px; top: 0; bottom: 0; width: 1px; border-right: 1px dotted #ccc;
}

.econ-featured-img-wrapper { position: relative; width: 100%; height: 320px; margin-bottom: 20px; }
.econ-featured-img { width: 100%; height: 100%; object-fit: cover; }
.explained-badge { position: absolute; top: 20px; right: 20px; background: white; padding: 5px 15px; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); font-weight: 800; color: #000; font-size: 0.8rem; }

.econ-title-large { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; line-height: 1.3; margin-bottom: 15px; text-decoration: none; color: #000; display: block; }
.econ-excerpt { color: #555; line-height: 1.6; font-size: 0.95rem; }

.econ-stack-item { text-decoration: none; color: inherit; }
.econ-stack-img { width: 100%; height: 140px; object-fit: cover; margin-bottom: 12px; }
.econ-stack-title { font-size: 0.95rem; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.crown-icon { color: #d97706; font-size: 0.8rem; margin-left: 5px; }

@media (max-width: 992px) {
    .econ-grid { grid-template-columns: 1fr; }
    .econ-col::after { display: none; }
}

/* Videos Section (Dark Theme) */
.video-section { background: #000000; color: white; padding: 80px 0; margin: 80px 0; }
.video-header h2 { font-family: var(--font-heading); font-size: 2.5rem; color: white; margin-bottom: 40px; display: flex; align-items: center; gap: 15px; }
.video-header h2::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }

.video-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.video-featured-wrapper { display: flex; flex-direction: column; }
.video-featured { position: relative; border-radius: 15px; overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.video-featured iframe { width: 100%; height: 500px; border: none; display: block; }
.video-featured-title { padding: 25px 0; font-size: 1.8rem; font-weight: 800; line-height: 1.2; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

.video-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 25px; align-content: start; }
.video-item { text-decoration: none; color: #fff; display: flex; flex-direction: column; transition: all 0.3s ease; }
.video-thumb { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; margin-bottom: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.4); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
.video-item:hover .video-thumb img { transform: scale(1.1); }
.video-item:hover .video-thumb::after { background: var(--accent); transform: translate(-50%, -50%) scale(1.1); }

.video-thumb::after { 
    content: '\f04b'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 50px; height: 50px; background: rgba(229, 9, 20, 0.9); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1rem; color: white;
    transition: all 0.3s ease; z-index: 2;
}
.video-item-title { font-size: 1rem; font-weight: 700; line-height: 1.4; color: #f1f5f9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.video-item:hover .video-item-title { color: var(--accent); }

@media (max-width: 1200px) {
    .video-grid { grid-template-columns: 1.5fr 1fr; }
}
@media (max-width: 992px) {
    .video-grid { grid-template-columns: 1fr; }
    .video-featured iframe { height: 350px; }
    .video-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .video-list { grid-template-columns: 1fr; }
}

/* Hero Section */
.hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; margin: 40px 0; border-bottom: 2px solid var(--primary); padding-bottom: 40px; }
.hero-main .news-title { font-size: 2.5rem; }
.hero-main .news-img { height: 450px; }

/* Footer */
footer { background: #1a1a1a; color: white; padding: 60px 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-logo { font-family: var(--font-heading); font-size: 2rem; color: white; text-decoration: none; margin-bottom: 20px; display: block; }
.footer-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 5px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #ccc; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }

/* Detail Page */
.article-header { max-width: 800px; margin: 40px auto; text-align: center; }
.article-title { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.article-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 30px; }
.article-img { width: 100%; max-height: 600px; object-fit: cover; margin-bottom: 40px; }
.article-content { max-width: 700px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; color: #333; }
.article-content p { margin-bottom: 25px; }

/* Category Page Layout (Indian Express Style) */
.category-container { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 40px; }

.cat-hero { position: relative; margin-bottom: 40px; border-bottom: 1px solid #ddd; padding-bottom: 30px; }
/* Detail Page Styling */
.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; padding: 40px 0; }
.article-header { border-bottom: 1px solid #eee; padding-bottom: 30px; margin-bottom: 40px; }
.breadcrumb { font-size: 0.8rem; color: #888; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.breadcrumb a { text-decoration: none; color: inherit; }
.breadcrumb span { margin: 0 10px; opacity: 0.5; }

.article-title-large { font-family: var(--font-heading); font-size: 3rem; line-height: 1.1; font-weight: 800; margin-bottom: 25px; color: #000; }
.article-top-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.author-info { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; background: #f1f5f9; }
.author-name { font-weight: 700; font-size: 1rem; color: #000; }
.meta-stats { display: flex; gap: 20px; color: #777; font-size: 0.85rem; font-weight: 600; }
.meta-stats i { color: var(--accent); margin-right: 5px; }

.article-img-large { width: 100%; height: auto; max-height: 600px; object-fit: cover; border-radius: 12px; margin-bottom: 40px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); display: block; background: #f1f5f9; }

.article-content { font-family: 'Inter', sans-serif; font-size: 1.15rem; line-height: 1.8; color: #333; }
.article-content p { margin-bottom: 25px; }
.article-content blockquote { 
    margin: 40px 0; padding: 30px 40px; background: #f9f9f9; border-left: 5px solid var(--accent);
    font-style: italic; font-size: 1.4rem; font-family: var(--font-heading); color: #555; position: relative;
}
.article-content blockquote::before {
    content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: 15px; left: 15px; font-size: 1.5rem; opacity: 0.1;
}

.article-content h2, .article-content h3 { font-family: var(--font-heading); margin: 40px 0 20px; font-weight: 800; color: #000; }
.article-content ul, .article-content ol { margin-bottom: 25px; padding-left: 20px; }
.article-content li { margin-bottom: 12px; position: relative; }
.article-content ul li::marker { color: var(--accent); font-size: 1.2rem; }

/* Sidebar Widgets Premium */
.sidebar-widget { margin-bottom: 50px; background: white; border-radius: 12px; }
.widget-title { font-size: 1rem; font-weight: 800; text-transform: uppercase; border-bottom: 2px solid #000; padding-bottom: 10px; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.trending-item { display: flex; gap: 15px; margin-bottom: 20px; text-decoration: none; color: inherit; align-items: flex-start; }
.trending-thumb { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.trending-info { flex: 1; }
.trending-title { font-size: 0.95rem; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 5px; }
.trending-date { font-size: 0.75rem; color: #888; font-weight: 600; }
.trending-item:hover .trending-title { color: var(--accent); }

/* Video Section Styles (Global) */
.video-section { background: #000000; color: white; padding: 60px 0; margin: 60px 0; }
.video-header h2 { font-family: var(--font-heading); font-size: 2.2rem; color: white; margin-bottom: 30px; display: flex; align-items: center; gap: 15px; }
.video-header h2::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }

.video-grid { display: grid; grid-template-columns: 1.8fr 1.2fr; gap: 40px; }
.video-featured-wrapper { display: flex; flex-direction: column; }
.video-featured { position: relative; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.video-featured iframe { width: 100%; height: 400px; border: none; display: block; }
.video-featured-title { padding: 15px 0; font-size: 1.4rem; font-weight: 700; line-height: 1.3; color: #fff; }

.video-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; align-content: start; }
.video-item { text-decoration: none; color: #fff; display: flex; flex-direction: column; }
.video-thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; margin-bottom: 12px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb::after { 
    content: '\f04b'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; background: rgba(229, 9, 20, 0.9); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: white;
}
.video-item-title { font-size: 0.85rem; font-weight: 700; line-height: 1.4; color: #f1f5f9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 992px) {
    .video-grid { grid-template-columns: 1fr; }
    .video-featured iframe { height: 300px; }
}
/* Sports Modern Section */
.sports-header { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }
.sports-section-title { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; color: #000; margin: 0; white-space: nowrap; }
.sports-header-line { flex: 1; height: 4px; background: #000; }
.sports-view-all { text-decoration: none; color: #000; font-weight: 800; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; white-space: nowrap; transition: 0.3s; }
.sports-view-all:hover { color: var(--accent); }

.sports-modern-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }

.sports-hero-story { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 15px 45px rgba(0,0,0,0.05); transition: 0.4s; }
.sports-hero-story:hover { transform: translateY(-10px); box-shadow: 0 25px 60px rgba(0,0,0,0.1); }
.sports-hero-img-container { position: relative; width: 100%; height: 400px; overflow: hidden; }
.sports-hero-img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.sports-hero-story:hover .sports-hero-img { scale: 1.05; }
.sports-cat-badge { position: absolute; top: 20px; left: 20px; background: #000; color: #fff; padding: 6px 15px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

.sports-hero-content { padding: 30px; }
.sports-hero-title { font-family: var(--font-heading); font-size: 2.2rem; line-height: 1.2; font-weight: 800; color: #000; margin-bottom: 20px; }
.sports-hero-excerpt { font-size: 1.05rem; line-height: 1.6; color: #555; margin-bottom: 25px; }

.sports-meta { display: flex; gap: 20px; color: #999; font-size: 0.85rem; font-weight: 600; border-top: 1px solid #eee; padding-top: 20px; }
.meta-item i { margin-right: 6px; color: var(--accent); }

.sports-secondary-list { display: flex; flex-direction: column; gap: 20px; }
.sports-side-item { display: flex; gap: 20px; text-decoration: none; color: inherit; padding: 15px; border-radius: 12px; transition: 0.3s; background: #f8fafc; }
.sports-side-item:hover { background: #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transform: translateX(10px); }
.sports-side-img-wrapper { width: 120px; height: 100px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.sports-side-img { width: 100%; height: 100%; object-fit: cover; }
.sports-side-title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; color: #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sports-meta-mini { font-size: 0.75rem; color: #888; margin-top: 8px; font-weight: 600; text-transform: uppercase; }

/* Layout and Grid Classes */
.hero-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.category-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
}
.premium-cat-hero {
    margin-bottom: 50px;
}
.hero-img-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 450px;
    margin-bottom: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.cat-list-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 40px;
}
.cat-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* =============================================
   COMPREHENSIVE RESPONSIVE DESIGN (All Devices)
   ============================================= */

@media (max-width: 1200px) {
    .hero { grid-template-columns: 1fr; }
    .hero-main .news-img { height: 350px; }
    .overlay-title { font-size: 1.8rem; }
    .detail-layout, .category-container { grid-template-columns: 1fr; gap: 30px; }
    .sidebar { order: 2; }
}

@media (max-width: 992px) {
    /* Hide top bar */
    .top-nav-bar { display: none; }

    /* Enable mobile toggle button and keep it visible above the drawer */
    .mobile-menu-toggle { 
        display: flex !important; 
        position: relative;
        z-index: 2100; 
    }

    /* Premium Mobile Slide-out Menu Drawer */
    nav#main-nav {
        position: fixed; 
        top: 0; 
        left: -100%; 
        width: 300px; 
        height: 100vh;
        background: white; 
        z-index: 2000; 
        padding: 100px 30px 30px 30px;
        transition: left 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
        display: flex !important;
        flex-direction: column;
    }
    nav#main-nav.active { 
        left: 0; 
    }

    /* Animation inside mobile menu */
    nav#main-nav .nav-list li {
        opacity: 0;
        transform: translateY(15px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    nav#main-nav.active .nav-list li {
        opacity: 1;
        transform: translateY(0);
    }
    nav#main-nav.active .nav-list li:nth-child(1) { transition-delay: 0.05s; }
    nav#main-nav.active .nav-list li:nth-child(2) { transition-delay: 0.1s; }
    nav#main-nav.active .nav-list li:nth-child(3) { transition-delay: 0.15s; }
    nav#main-nav.active .nav-list li:nth-child(4) { transition-delay: 0.2s; }
    nav#main-nav.active .nav-list li:nth-child(5) { transition-delay: 0.25s; }
    nav#main-nav.active .nav-list li:nth-child(6) { transition-delay: 0.3s; }
    nav#main-nav.active .nav-list li:nth-child(7) { transition-delay: 0.35s; }
    nav#main-nav.active .nav-list li:nth-child(8) { transition-delay: 0.4s; }
    nav#main-nav.active .nav-list li:nth-child(9) { transition-delay: 0.45s; }

    /* Mobile Search form in drawer */
    .mobile-search {
        display: block !important;
        margin-bottom: 30px;
        width: 100%;
        position: relative;
    }
    .mobile-search .search-input {
        width: 100%;
        padding: 12px 40px 12px 20px;
        border-radius: 30px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        font-size: 0.9rem;
        transition: all 0.3s;
    }
    .mobile-search .search-input:focus {
        border-color: var(--accent);
        background: white;
        box-shadow: 0 0 0 4px rgba(194, 26, 35, 0.1);
    }
    .mobile-search .search-btn {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #94a3b8;
        cursor: pointer;
    }

    /* Navigation list in drawer */
    .nav-list { 
        flex-direction: column; 
        width: 100%; 
        gap: 15px; 
    }
    .nav-list li { 
        width: 100%; 
        border-bottom: 1px solid #f1f5f9; 
    }
    .nav-link { 
        display: block; 
        padding: 12px 0; 
        width: 100%; 
        font-size: 1.1rem; 
        color: var(--text-main);
    }
    .nav-link::after {
        display: none;
    }
    
    /* Dropdown contents in drawer */
    .dropdown-content { 
        position: static; 
        box-shadow: none; 
        border: none; 
        padding-left: 20px; 
        display: block; 
        background: #f8fafc; 
    }

    /* Logo and Header adjustments */
    .logo { font-size: 1.4rem; }
    .header-right { display: none; }
    .header-top { padding: 10px 0; }
    .date, .socials { display: none; }

    /* Hero Grid Layout on Mobile */
    .hero-grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    /* Modern 1-col layout for major sections */
    .ent-grid, .econ-grid, .sports-modern-grid { 
        grid-template-columns: 1fr !important; 
        gap: 30px;
    }
    .ent-list, .video-list { 
        grid-template-columns: 1fr 1fr !important; 
        gap: 20px; 
    }
    
    .ent-featured-img { 
        height: auto !important; 
        aspect-ratio: 16/9; 
        max-height: 300px; 
    }
    .ent-featured-title { 
        font-size: 1.6rem; 
        margin-top: 15px; 
    }
    
    /* Economy Section Mobile Fix */
    .econ-col::after { display: none !important; }
    .econ-featured-img-wrapper { height: auto !important; aspect-ratio: 16/9; }
    .econ-title-large { font-size: 1.5rem; }
    .econ-stack-item { display: grid; grid-template-columns: 120px 1fr; gap: 15px; align-items: start; }
    .econ-stack-img { height: 80px; margin-bottom: 0; }
    .econ-stack-title { font-size: 1rem; -webkit-line-clamp: 2; }
    
    /* Category Page Mobile Layout */
    .category-layout { grid-template-columns: 1fr !important; }
    .cat-sidebar { position: static !important; margin-top: 50px; }
    .cat-list-item { grid-template-columns: 1fr !important; }
    .list-img-wrapper { height: 250px !important; }
    .premium-cat-hero h2 { font-size: 1.8rem !important; }
    .hero-img-wrapper { height: 300px !important; }
}

@media (max-width: 768px) {
    .section-title { font-size: 1.5rem; }
    .overlay-title { font-size: 1.4rem; }
    .overlay-content { padding: 20px; }
    .card-overlay { height: 350px; }
    
    .article-title-large { font-size: 2rem; }
    .news-ticker { display: none; }
    
    /* 2x2 Layout for News Items */
    .ent-list, .video-list { grid-template-columns: 1fr 1fr !important; }
    
    .video-header h2 { font-size: 1.6rem; }
    .video-featured iframe { height: 220px; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .sports-section-title { font-size: 1.6rem; }
    .sports-hero-img-container { height: 220px; }
    .ent-featured-title { font-size: 1.4rem; }
    .econ-title-large { font-size: 1.3rem; }
    
    /* Better spacing for mobile */
    section.container { margin: 40px auto !important; }
}

@media (max-width: 576px) {
    /* Keep 2x2 for small cards where possible, or switch to 1 col for very small screens */
    .ent-list, .video-list { grid-template-columns: 1fr 1fr !important; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .logo { font-size: 1.6rem; }
    .sports-side-item { flex-direction: column; }
    .sports-side-img-wrapper { width: 100%; height: 150px; }
}

@media (max-width: 480px) {
    .ent-list { grid-template-columns: 1fr !important; } /* Single col for very small screens */
    .econ-stack-item { grid-template-columns: 80px 1fr; }
    .econ-stack-img { height: 60px; }
    .logo { font-size: 1.8rem; }
}

