/* ==========================================================================
   Aaj Tak News Portal - Professional Design System & UI Stylesheet
   Authentic Look & Feel matching https://www.aajtak.in/
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700;800;900&display=swap');

:root {
    --at-red: #e21b22;
    --at-red-dark: #b80f14;
    --at-red-light: #ff474d;
    --at-navy: #002866;
    --at-navy-dark: #001538;
    --at-navy-light: #003e9c;
    --at-orange: #ff3720;
    --at-gold: #ffb400;
    --at-gray-dark: #1f2937;
    --at-gray-medium: #4b5563;
    --at-gray-light: #9ca3af;
    --at-border: #e5e7eb;
    --at-bg-light: #f8fafc;
    --at-white: #ffffff;
    --at-font-hindi: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif;
    --at-font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--at-font-hindi);
    font-size: 16px;
    line-height: 1.6;
    color: var(--at-gray-dark);
    background-color: var(--at-bg-light);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--at-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   1. TOP GLOBAL HEADER (Aaj Tak Top Bar)
   ========================================================================== */
.at-topbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--at-border);
    font-family: var(--at-font-hindi);
    font-size: 13px;
    color: #666;
}

.at-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}

.at-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.at-live-tv-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--at-red);
    color: var(--at-white) !important;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.at-live-tv-btn:hover {
    background-color: var(--at-red-dark);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.at-ist-clock {
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
}

.at-market-ticker {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    border-left: 1px solid var(--at-border);
    padding-left: 14px;
}

.ticker-item {
    display: flex;
    gap: 4px;
}

.ticker-up {
    color: #16a34a;
    font-weight: 600;
}

.ticker-down {
    color: #dc2626;
    font-weight: 600;
}

.at-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.at-social-mini {
    display: flex;
    gap: 8px;
}

.at-social-mini a {
    color: #777;
    font-size: 14px;
}

.at-social-mini a:hover {
    color: var(--at-red);
}

.at-auth-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #333;
    padding: 3px 10px;
    border-radius: 4px;
    background: #f1f3f5;
}

.at-auth-link:hover {
    background: #e5e7eb;
    color: var(--at-red);
}

/* ==========================================================================
   2. MAIN LOGO HEADER & SEARCH
   ========================================================================== */
.at-main-header {
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid var(--at-border);
}

.at-main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.at-brand-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.at-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.at-logo-badge {
    background: linear-gradient(135deg, var(--at-red) 0%, var(--at-red-dark) 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    box-shadow: 0 4px 10px rgba(226, 27, 34, 0.35);
    display: flex;
    align-items: center;
    gap: 6px;
}

.at-logo-text {
    display: flex;
    flex-direction: column;
}

.at-logo-tagline {
    font-size: 12px;
    font-weight: 700;
    color: var(--at-red);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.at-header-banner {
    flex: 1;
    max-width: 728px;
    margin: 0 20px;
    text-align: center;
}

.at-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-trigger-btn {
    background: none;
    border: 1px solid var(--at-border);
    padding: 6px 12px;
    border-radius: 20px;
    font-family: inherit;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-trigger-btn:hover {
    border-color: var(--at-red);
    color: var(--at-red);
}

/* ==========================================================================
   3. NAVIGATION BAR (Aaj Tak Dark Navy)
   ========================================================================== */
.at-navbar {
    background-color: var(--at-navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.at-nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.at-nav-menu::-webkit-scrollbar {
    display: none;
}

.at-nav-item {
    position: relative;
}

.at-nav-link {
    display: block;
    padding: 10px 15px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    transition: background-color 0.2s, color 0.2s;
}

.at-nav-link:hover, .at-nav-item.active .at-nav-link {
    color: #ffffff;
    background-color: var(--at-navy-dark);
}

.at-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--at-orange);
    opacity: 0;
    transition: opacity 0.2s;
}

.at-nav-link:hover::after, .at-nav-item.active .at-nav-link::after {
    opacity: 1;
}

.at-nav-link.live-btn {
    background: var(--at-red);
    border-radius: 4px;
    margin: 4px 0 4px 10px;
    padding: 6px 12px;
}

/* ==========================================================================
   4. BREAKING NEWS TICKER (बड़ी खबरें)
   ========================================================================== */
.at-breaking-bar {
    background-color: #ffffff;
    border-bottom: 2px solid var(--at-red);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.at-breaking-bar .container {
    display: flex;
    align-items: center;
    height: 42px;
}

.breaking-label {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: var(--at-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 0 14px;
    height: 100%;
    white-space: nowrap;
    position: relative;
}

.breaking-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    border-left: 10px solid var(--at-red);
    z-index: 2;
}

.breaking-marquee-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding-left: 20px;
}

.breaking-marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

.breaking-marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   5. LAYOUT: MAIN CONTENT + SIDEBAR
   ========================================================================== */
.at-layout-wrap {
    padding: 24px 0;
}

.at-main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
}

@media (max-width: 992px) {
    .at-main-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   6. HERO TOP STORIES GRID (आज की बड़ी खबरें)
   ========================================================================== */
.hero-stories-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .hero-stories-grid {
        grid-template-columns: 1fr;
    }
}

.lead-story-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lead-story-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.lead-image-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e2e8f0;
}

.lead-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lead-story-card:hover .lead-image-wrap img {
    transform: scale(1.04);
}

.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--at-red);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.lead-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lead-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    color: #111;
}

.lead-summary {
    font-size: 14px;
    color: var(--at-gray-medium);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #888;
    margin-top: auto;
}

/* Secondary Top Stories Column */
.side-stories-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.side-story-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    background: #ffffff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.2s, box-shadow 0.2s;
}

.side-story-item:hover {
    box-shadow: var(--shadow-md);
    background-color: #fafbfc;
}

.side-story-thumb {
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    background: #e2e8f0;
}

.side-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-story-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   7. AAJ TAK VIDEO SECTION (Dark Premium Theme)
   ========================================================================== */
.at-video-section {
    background-color: var(--at-navy-dark);
    color: #ffffff;
    padding: 30px 0;
    margin: 30px 0;
    border-radius: 10px;
}

.at-video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.at-video-title {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.at-video-title span {
    color: var(--at-orange);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    padding: 0 20px;
}

.video-card {
    background: #002255;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
}

.video-card:hover {
    transform: translateY(-4px);
}

.video-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
}

.video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(226, 27, 34, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: transform 0.2s, background 0.2s;
}

.video-card:hover .play-badge {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--at-red);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
}

.video-info {
    padding: 12px;
}

.video-headline {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   8. CATEGORY NEWS BLOCKS (मनोरंजन, खेल, टेक, देश)
   ========================================================================== */
.section-heading-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--at-red);
    padding-bottom: 8px;
    margin-bottom: 18px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 20px;
    background: var(--at-red);
    border-radius: 2px;
}

.section-more-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--at-red);
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .section-cards-grid {
        grid-template-columns: 1fr;
    }
}

.news-card-standard {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card-standard:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.news-card-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #e2e8f0;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card-standard:hover .news-card-thumb img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.news-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   9. SIDEBAR WIDGETS
   ========================================================================== */
.at-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--at-border);
}

.widget-header {
    background: var(--at-navy);
    color: #ffffff;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.widget-header.red-theme {
    background: var(--at-red);
}

/* Short URL Generator Sidebar Widget */
.short-url-widget-body {
    padding: 16px;
}

.shortener-intro {
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
}

.shortener-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shortener-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--at-border);
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
}

.shortener-input:focus {
    outline: none;
    border-color: var(--at-red);
    box-shadow: 0 0 0 3px rgba(226, 27, 34, 0.15);
}

.shortener-submit-btn {
    background: var(--at-red);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}

.shortener-submit-btn:hover {
    background: var(--at-red-dark);
}

.shortener-result-box {
    margin-top: 12px;
    padding: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    display: none;
}

.shortener-result-link {
    font-family: var(--at-font-en);
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
    word-break: break-all;
    display: block;
    margin-bottom: 6px;
}

.copy-btn {
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

/* Trending stories widget */
.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--at-border);
    transition: background-color 0.2s;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item:hover {
    background-color: #fafbfc;
}

.trending-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--at-red);
    line-height: 1;
    min-width: 24px;
}

.trending-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #222;
}

/* Cricket Score Widget */
.cricket-card {
    padding: 14px;
    background: #f8fafc;
}

.cricket-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}

.cricket-score {
    font-size: 18px;
    font-weight: 800;
    color: var(--at-navy);
}

.cricket-status {
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
}

/* ==========================================================================
   10. SINGLE ARTICLE DETAIL PAGE
   ========================================================================== */
.article-container {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px 30px;
    box-shadow: var(--shadow-sm);
}

.article-breadcrumbs {
    font-size: 13px;
    color: #888;
    margin-bottom: 14px;
    display: flex;
    gap: 6px;
}

.article-headline {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
    color: #111;
    margin-bottom: 16px;
}

.article-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--at-border);
    border-bottom: 1px solid var(--at-border);
    padding: 12px 0;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--at-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.85;
}

.share-whatsapp { background: #25d366; }
.share-fb { background: #1877f2; }
.share-twitter { background: #000000; }
.share-telegram { background: #0088cc; }

/* Audio Reader Bar */
.audio-listen-bar {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.listen-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
}

.play-audio-btn {
    background: var(--at-red);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-hero-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.article-hero-image img {
    width: 100%;
    height: auto;
}

.article-body-text {
    font-size: 18px;
    line-height: 1.75;
    color: #222;
}

.article-body-text p {
    margin-bottom: 18px;
}

.article-body-text strong {
    color: #000;
}

/* Comments */
.comments-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 2px solid var(--at-border);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.comment-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--at-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    min-height: 90px;
}

/* ==========================================================================
   11. FOOTER (Aaj Tak Multi-column Branding)
   ========================================================================== */
.at-footer {
    background-color: var(--at-navy-dark);
    color: #cbd5e1;
    padding: 50px 0 20px;
    margin-top: 50px;
    font-size: 14px;
}

.at-footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .at-footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo-badge {
    display: inline-block;
    background: var(--at-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 22px;
    font-weight: 900;
}

.footer-col-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 6px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--at-red);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.at-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   12. SEARCH MODAL
   ========================================================================== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
    z-index: 2000;
}

.search-box-card {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
}

.search-form-row {
    display: flex;
    gap: 10px;
}

.search-input-field {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--at-border);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

.search-input-field:focus {
    outline: none;
    border-color: var(--at-red);
}

/* ==========================================================================
   13. MOBILE & DESKTOP DUAL RESPONSIVE DESIGN SYSTEM
   Authentic News Portal & Native Mobile App Experience
   ========================================================================== */

/* Desktop Defaults (Hidden on Desktop screens > 768px) */
.mobile-menu-toggle-btn {
    display: none;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    color: #ffffff;
    border-bottom: 2px solid var(--at-gold);
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mobile-drawer-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.mobile-drawer-body {
    padding: 18px;
    flex: 1;
}

.mobile-drawer-user {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.drawer-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s;
}

.drawer-user-pill:hover {
    background: #e2e8f0;
}

.mobile-drawer-search {
    display: flex;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    background: #ffffff;
}

.mobile-drawer-search input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
}

.mobile-drawer-search button {
    background: var(--at-red);
    color: #ffffff;
    border: none;
    padding: 0 16px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.mobile-drawer-search button:hover {
    background: var(--at-red-dark);
}

.drawer-section-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.mobile-drawer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.mobile-drawer-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    color: #334155;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-drawer-menu li.active a,
.mobile-drawer-menu li a:hover {
    background: #fee2e2;
    color: var(--at-red);
    font-weight: 700;
    padding-left: 18px;
}

.mobile-drawer-menu.sub-menu li a {
    font-size: 13.5px;
    color: #64748b;
    padding: 8px 12px;
}

.mobile-drawer-menu.sub-menu li a:hover {
    color: var(--at-red);
    background: #f8fafc;
}

/* App-Style Floating Mobile Bottom Bar (Hidden on Desktop) */
.mobile-bottom-nav {
    display: none;
}

/* ==========================================================================
   MEDIUM / TABLET RESPONSIVENESS (<= 992px)
   ========================================================================== */
@media (max-width: 992px) {
    .container {
        padding: 0 14px;
    }

    .at-header-banner {
        display: none !important;
    }

    .at-market-ticker {
        display: none !important;
    }

    .at-main-grid {
        grid-template-columns: 100% !important;
        gap: 24px;
    }

    .at-content-column {
        width: 100%;
        min-width: 0;
    }

    .at-sidebar {
        width: 100%;
        min-width: 0;
    }

    .hero-stories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .section-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .at-video-section .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .at-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (<= 768px) - Complete App-Like UI
   ========================================================================== */
@media (max-width: 768px) {
    /* Prevent horizontal scrolling on mobile */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Reserve space for fixed bottom navigation bar */
    body {
        padding-bottom: 66px !important;
    }

    .container {
        padding: 0 12px;
    }

    /* Top Bar Mobile */
    .at-topbar {
        font-size: 12px;
    }

    .at-topbar .container {
        height: 36px;
        padding: 0 10px;
    }

    .at-topbar-left {
        gap: 8px;
    }

    .at-live-tv-btn {
        padding: 3px 8px;
        font-size: 11px;
        border-radius: 4px;
    }

    .at-ist-clock {
        font-size: 11px;
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .at-auth-link {
        font-size: 12px;
    }

    /* Main Brand Header Mobile */
    .at-main-header {
        padding: 8px 0;
    }

    .at-main-header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .at-brand-group {
        gap: 8px;
    }

    .at-logo-badge {
        padding: 4px 10px !important;
        font-size: 18px !important;
        border-radius: 6px;
    }

    .at-logo-badge span {
        font-size: 18px !important;
    }

    .at-logo-tagline {
        display: none !important;
    }

    .at-header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .search-trigger-btn {
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 6px;
    }

    .search-btn-text {
        display: none;
    }

    /* Hamburger Menu Button */
    .mobile-menu-toggle-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        background: #ffffff;
        border: 1.5px solid var(--at-red);
        border-radius: 8px;
        cursor: pointer;
        padding: 8px;
        gap: 4px;
        box-shadow: 0 2px 6px rgba(226, 27, 34, 0.15);
        transition: all 0.15s ease;
    }

    .mobile-menu-toggle-btn:active,
    .mobile-menu-toggle-btn:hover {
        background: #fee2e2;
        border-color: var(--at-red-dark);
        transform: scale(0.96);
    }

    .mobile-menu-toggle-btn .menu-bar {
        display: block;
        width: 20px;
        height: 2.2px;
        background: var(--at-red);
        border-radius: 2px;
        transition: all 0.25s ease;
    }

    /* Swipeable Horizontal Categories Nav Bar */
    .at-navbar {
        position: sticky;
        top: 0;
        z-index: 990;
        background: #002866;
        border-bottom: 2px solid var(--at-red);
        overflow: hidden;
    }

    .at-navbar .container {
        padding: 0;
    }

    .at-nav-menu {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 8px;
    }

    .at-nav-menu::-webkit-scrollbar {
        display: none;
    }

    .at-nav-item {
        flex: 0 0 auto;
    }

    .at-nav-link {
        padding: 9px 12px;
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
    }

    .at-nav-item.active .at-nav-link {
        background: var(--at-red);
        color: #ffffff;
    }

    /* Breaking News Bar Mobile */
    .at-breaking-bar {
        border-bottom-width: 1px;
    }

    .at-breaking-bar .container {
        height: 36px;
    }

    .breaking-label {
        font-size: 12px;
        padding: 0 8px;
    }

    .breaking-label::after {
        border-top-width: 18px;
        border-bottom-width: 18px;
        border-left-width: 8px;
        right: -8px;
    }

    .breaking-marquee-wrap {
        padding-left: 14px;
    }

    .breaking-marquee-content {
        font-size: 12.5px;
    }

    /* Main Content Layout */
    .at-layout-wrap {
        padding: 14px 0;
    }

    /* Hero Stories Grid on Mobile: Lead Card + Horizontal Side Stories */
    .hero-stories-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 20px;
    }

    .lead-story-card {
        border-radius: 8px;
    }

    .lead-content {
        padding: 14px;
        gap: 8px;
    }

    .lead-title {
        font-size: 18px;
        line-height: 1.35;
    }

    .lead-summary {
        font-size: 13.5px;
        -webkit-line-clamp: 2;
    }

    .side-stories-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .side-story-item {
        display: grid;
        grid-template-columns: 95px 1fr;
        gap: 10px;
        padding: 8px;
        border-radius: 6px;
        align-items: center;
    }

    .side-story-thumb {
        width: 95px;
        height: 65px;
        border-radius: 6px;
        overflow: hidden;
    }

    .side-story-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .side-story-title {
        font-size: 13.5px;
        line-height: 1.35;
        font-weight: 700;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Video Section on Mobile */
    .at-video-section {
        padding: 16px 12px;
        border-radius: 8px;
        margin-bottom: 22px;
    }

    .at-video-title {
        font-size: 17px;
    }

    .at-video-section .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .video-card {
        border-radius: 6px;
    }

    .video-info {
        padding: 8px;
    }

    .video-headline {
        font-size: 12.5px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Category Cards Grid on Mobile: Horizontal Newsfeed Style */
    .category-block {
        margin-bottom: 24px;
    }

    .section-heading-bar {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .section-title {
        font-size: 17px;
    }

    .section-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .news-card-standard {
        display: grid;
        grid-template-columns: 105px 1fr;
        gap: 12px;
        background: #ffffff;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid var(--at-border);
        align-items: center;
        transition: background 0.15s ease;
    }

    .news-card-standard:active {
        background: #f8fafc;
    }

    .news-card-thumb {
        width: 105px;
        height: 72px;
        border-radius: 6px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .news-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .news-card-body {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .news-card-title {
        font-size: 13.5px;
        line-height: 1.35;
        font-weight: 700;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 4px;
    }

    /* Single Article Page Mobile Optimizations */
    .article-container {
        padding: 16px 12px;
        border-radius: 8px;
    }

    .article-headline {
        font-size: 20px;
        line-height: 1.35;
        margin-bottom: 12px;
    }

    .article-meta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-bottom: 14px;
    }

    .share-buttons {
        display: flex;
        width: 100%;
        gap: 6px;
    }

    .share-btn {
        flex: 1;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 700;
        border-radius: 6px;
    }

    .audio-listen-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }

    .play-audio-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }

    .article-hero-image {
        margin: 14px 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .article-body-text {
        font-size: 16.5px;
        line-height: 1.8;
    }

    .article-body-text p {
        margin-bottom: 16px;
    }

    /* Footer Mobile */
    .at-footer {
        padding: 24px 0 80px;
    }

    .at-footer-top {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 20px;
    }

    .at-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding-top: 14px;
    }

    /* App-Style Floating Mobile Bottom Bar */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 58px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid #e2e8f0;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 10000;
        box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
        padding: 0 4px;
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: #64748b;
        text-decoration: none;
        font-family: inherit;
        cursor: pointer;
        padding: 6px 0;
        gap: 2px;
        transition: color 0.15s ease;
    }

    .bottom-nav-item .nav-icon {
        font-size: 18px;
        line-height: 1;
    }

    .bottom-nav-item .nav-label {
        font-size: 11px;
        font-weight: 700;
        line-height: 1;
    }

    .bottom-nav-item.active,
    .bottom-nav-item:active {
        color: var(--at-red);
    }

    .bottom-nav-item.live-pulse-item .nav-icon {
        animation: pulse 1.2s infinite;
    }

    /* Search Modal Mobile */
    .search-box-card {
        width: 94%;
        padding: 18px;
        margin: 0 10px;
    }

    .search-form-row {
        flex-direction: column;
        gap: 8px;
    }

    .search-form-row .btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}

/* ==========================================================================
   SMALL SMARTPHONE OPTIMIZATIONS (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .at-topbar .container {
        padding: 0 8px;
    }

    .at-ist-clock {
        max-width: 140px;
        font-size: 10.5px;
    }

    .at-logo-badge {
        font-size: 16px !important;
        padding: 4px 8px !important;
    }

    .lead-title {
        font-size: 16.5px;
    }

    .side-story-item {
        grid-template-columns: 85px 1fr;
    }

    .side-story-thumb {
        width: 85px;
        height: 60px;
    }

    .news-card-standard {
        grid-template-columns: 90px 1fr;
        gap: 10px;
        padding: 8px;
    }

    .news-card-thumb {
        width: 90px;
        height: 65px;
    }

    .at-video-section .video-grid {
        grid-template-columns: 1fr;
    }

    .video-thumb-wrap {
        aspect-ratio: 16/9;
    }
}

/* ==========================================================================
   Google AdSense & Responsive Banner Placements
   ========================================================================== */
.ad-container {
    display: block;
    width: 100%;
    margin: 18px auto;
    text-align: center;
    clear: both;
    overflow: hidden;
    transition: min-height 0.3s ease;
}

.ad-container ins.adsbygoogle {
    margin: 0 auto !important;
    display: block !important;
    max-width: 100% !important;
}

.ad-container.ad-header_ad {
    max-width: 970px;
    margin: 12px auto 16px auto;
}

.ad-container.ad-sidebar_top_ad,
.ad-container.ad-sidebar_sticky_ad {
    max-width: 336px;
    margin: 16px auto;
}

.ad-container.ad-article_top_ad,
.ad-container.ad-article_middle_ad,
.ad-container.ad-article_bottom_ad {
    max-width: 800px;
    margin: 20px auto;
    padding: 8px 0;
}

.ad-container.ad-shortlink_top_ad,
.ad-container.ad-shortlink_bottom_ad {
    max-width: 728px;
    margin: 16px auto;
}

@media (max-width: 768px) {
    .ad-container {
        margin: 12px auto;
        overflow-x: hidden;
    }
    .ad-container.ad-header_ad {
        margin: 8px auto 12px auto;
    }
}

