/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Ensure emojis display correctly */
h1, h2, h3, h4, h5, h6, p, span, a, div {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: visible;
}

/* Desktop Header */
.desktop-header {
    background-color: #fff;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1001;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.animated-slogan {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff0000;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.static-watch {
    white-space: nowrap;
}

.dynamic-text {
    position: relative;
    white-space: nowrap;
}

.dynamic-text::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    border-left: 2px solid #ff0000;
    background-color: white;
    animation: typing 4s steps(12) infinite;
}

@keyframes typing {
    40%, 60% {
        left: 100%;
    }
    100% {
        left: 0;
    }
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
}

/* Social Icons and Weather Date */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    color: #333;
    font-size: 18px;
    transition: color 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.social-icons a:hover {
    color: #007bff;
}

.weather-date {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 20px;
    padding: 0 20px;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    font-size: 14px;
    color: #666;
}

.weather-date .weather,
.weather-date .date {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-weight: 500;
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.weather-date .weather:hover,
.weather-date .date:hover {
    background-color: #e9ecef;
}

.weather-date i {
    color: #333;
    font-size: 16px;
}

.social-icons .static-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.social-icons .static-link:hover {
    background-color: #e9ecef;
    color: #0056b3;
}

.social-icons .static-link i {
    font-size: 16px;
}

@media (max-width: 992px) {
    .weather-date {
        gap: 15px;
        margin: 0 15px;
        padding: 0 15px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .desktop-header {
        display: none; /* Hide desktop header on mobile */
    }

    /* Mobile Menu Toggle */
    .menu-trigger {
        position: fixed;
        top: 20px;
        left: 20px;
        width: 44px;
        height: 44px;
        background: #fff;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1002;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .menu-icon {
        width: 24px;
        height: 24px;
        stroke: #333;
        stroke-width: 2;
        stroke-linecap: round;
    }

    .menu-icon .line {
        transition: all 0.3s ease;
    }

    /* Mobile Navigation */
    .mobile-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;
        background: #fff;
        z-index: 1001;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    }

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

    /* Mobile Nav Header */
    .mobile-nav-header {
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 44px; /* Space for menu trigger */
    }

    .user-profile {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .profile-icon {
        width: 40px;
        height: 40px;
        background: #f0f0f0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .profile-icon svg {
        width: 24px;
        height: 24px;
        fill: #666;
    }

    /* Mobile Nav Menu */
    .mobile-nav-menu {
        padding: 20px 0;
    }

    .nav-section {
        margin-bottom: 24px;
    }

    .nav-section h3 {
        font-size: 14px;
        font-weight: 600;
        color: #666;
        padding: 0 20px;
        margin: 0 0 12px;
        text-transform: uppercase;
    }

    .nav-section ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-item {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        color: #333;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        transition: background-color 0.2s;
    }

    .nav-item:active {
        background-color: rgba(0, 0, 0, 0.05);
    }

    /* Mobile Nav Footer */
    .mobile-nav-footer {
        padding: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .theme-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .theme-switch {
        width: 44px;
        height: 24px;
        background: #e0e0e0;
        border-radius: 12px;
        padding: 2px;
        border: none;
        cursor: pointer;
        position: relative;
    }

    .switch-track {
        position: absolute;
        top: 2px;
        left: 2px;
        right: 2px;
        bottom: 2px;
        border-radius: 10px;
        transition: background-color 0.2s;
    }

    .switch-thumb {
        width: 20px;
        height: 20px;
        background: #fff;
        border-radius: 50%;
        display: block;
        transition: transform 0.2s;
    }

    .theme-switch.active .switch-thumb {
        transform: translateX(20px);
    }

    /* Menu Animation */
    .menu-trigger.active .line-1 {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-trigger.active .line-2 {
        opacity: 0;
    }

    .menu-trigger.active .line-3 {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Dark Mode Styles */
    @media (prefers-color-scheme: dark) {
        .menu-trigger {
            background: #333;
        }

        .menu-icon {
            stroke: #fff;
        }

        .mobile-nav {
            background: #222;
        }

        .mobile-nav-header,
        .mobile-nav-footer {
            border-color: rgba(255, 255, 255, 0.1);
        }

        .profile-icon {
            background: #444;
        }

        .profile-icon svg {
            fill: #fff;
        }

        .nav-section h3 {
            color: #999;
        }

        .nav-item {
            color: #fff;
        }

        .nav-item:active {
            background-color: rgba(255, 255, 255, 0.05);
        }

        .theme-switch {
            background: #444;
        }
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* Main content adjustment */
    .main-content {
        padding-top: 84px; /* Space for menu trigger */
    }
}

/* Main Menu Styles */
.main-menu {
    background: #333;
    padding: 0;
    position: relative;
    z-index: 100;
}

.main-menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.main-menu nav {
    flex: 1;
}

.main-menu nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu nav ul li {
    position: relative;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.main-menu nav ul li a {
    display: block;
    color: #fff;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.main-menu nav ul li a:hover,
.main-menu nav ul li a:active {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-menu nav ul li:hover {
    border-bottom-color: #f44336;
}

.bbc-style-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: 48px;
}

.nav-primary {
    flex: 1;
}

.nav-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    color: var(--white, #fff);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    background-color: #2c2c2c;
}

.nav-arrow {
    margin-left: 4px;
    transition: transform 0.2s;
}

.has-submenu:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white, #fff);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-wrapper {
    padding: 0.5rem;
}

.submenu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-item {
    margin-bottom: 0.25rem;
}

.submenu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-700, #444);
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: normal;
}

.submenu-link:hover {
    background: var(--gray-100, #f8f9fa);
    color: var(--primary, #dc3545);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .bbc-style-nav {
        padding: 0 12px;
    }

    .nav-items {
        display: none;
    }

    .mobile-menu-trigger {
        display: block;
        background: none;
        border: none;
        color: #fff;
        padding: 12px;
        cursor: pointer;
    }

    .mobile-menu {
        position: fixed;
        top: 48px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #000;
        padding: 16px;
        transform: translateX(-100%);
        transition: transform 0.3s;
        overflow-y: auto;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-nav-items {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-nav-link {
        color: #fff;
        text-decoration: none;
        padding: 12px 16px;
        font-size: 16px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-link:hover {
        background-color: #2c2c2c;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .main-menu {
        background-color: #1a1a1a;
    }

    .nav-link:hover {
        background-color: #2c2c2c;
    }

    .submenu {
        background: #2c2c2c;
    }

    .submenu-link:hover {
        background-color: #404040;
    }
}

/* Main Content */
main {
    padding: 20px 0;
}

/* Main content layout */
.main-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    align-items: flex-start;
    min-width: 0; /* Allow flex container to shrink */
}

/* Top content layout */
.top-content-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.left-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Right sidebar */
.right-content {
    width: 380px;
    flex-shrink: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    height: calc(100vh - 90px);
    overflow-y: visible;
    background: transparent;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: flex-start;
    z-index: 10;
    padding-top: 20px;
}

/* Right content no longer needs scrollbar - individual sections scroll */

.sidebar-sections {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
}

/* Section styling */
.section-list {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 600px;
}

.section-header {
    background-color: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 1.2em;
    margin: 0;
    color: #333;
    font-weight: 600;
}

.section-content {
    padding: 0;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.section-list-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

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

.section-list-item:hover {
    background-color: #f8f9fa;
}

.section-list-item a {
    display: flex;
    text-decoration: none;
    color: inherit;
    width: 100%;
    gap: 12px;
}

.section-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.section-item-content {
    flex: 1;
    min-width: 0;
}

.section-item-content h3 {
    font-size: 0.9em;
    margin: 0 0 8px 0;
    line-height: 1.4;
    color: #333;
    font-weight: 500;
}

.section-item-content span {
    font-size: 0.8em;
    color: #777;
}

/* Custom scrollbar for section content */
.section-content::-webkit-scrollbar {
    width: 4px;
}

.section-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.section-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.section-content::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .right-content {
        width: 100%;
        position: static;
        height: auto;
        overflow: visible;
        padding-right: 0;
    }
    
    .section-list {
        max-height: none;
    }
    
    .section-content {
        overflow-y: visible;
    }
    
    .sidebar-sections {
        position: static;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding-bottom: 0;
    }
}

@media (max-width: 576px) {
    .sidebar-sections {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Live News Section */
.live-section {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    width: 100%;
}

.live-section h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.live-news-carousel {
    overflow-x: hidden;
}

.live-news-list {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.live-news-item {
    flex: 0 0 auto;
    width: 200px;
    margin-right: 10px;
}

.live-news-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.live-news-item p {
    font-size: 14px;
    margin-top: 5px;
}

/* Featured News Section */
.featured-news {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.main-banner-slider {
    flex: 1;
    position: relative;
}

.main-banner-wrapper {
    overflow: hidden;
    border-radius: 8px;
}

.main-banner-list {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.main-banner {
    flex: 0 0 100%;
    position: relative;
}

.main-banner img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.main-banner h2 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-shadow: 2px 2px 4px #000000;
    margin: 0;
    padding: 0 20px;
}

.slider-controls,
.slider-dot,
.slider-dot.active,
.featured-slider-controls,
.featured-slider-dot,
.featured-slider-dot.active {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    position: absolute !important;
    z-index: -9999 !important;
    overflow: hidden !important;
}

/* Most Read Section */
.most-read-section {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    width: 25%;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.tab-buttons button {
    background-color: transparent;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    color: #777;
}

.tab-buttons button.active {
    color: #333;
    border-bottom: 2px solid #dc3545;
}

.tab-content {
    display: none;
    height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.tab-content.active {
    display: block;
}

.most-read-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
}

.most-read-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.most-read-item .thumbnail {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 5px;
    object-fit: cover;
}

.most-read-item h3 {
    font-size: 1em;
    margin: 0 0 5px 0;
}

.most-read-item a {
    text-decoration: none;
    color: #333;
}

.most-read-item span {
    font-size: 12px;
    color: #777;
}

/* Category Sections */
.category-section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.category-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.category-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.category-news-item:hover {
    transform: translateY(-5px);
}

.category-news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-news-content {
    padding: 15px;
}

.category-news-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.category-news-excerpt {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.category-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

/* Featured Category */
.featured-category {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.featured-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.featured-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.featured-main-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-side-item {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.featured-side-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.featured-side-content {
    flex: 1;
}

.featured-side-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.featured-side-meta {
    font-size: 12px;
    color: #888;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
    font-size: 14px;
}

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

.footer-logo img {
    height: 40px;
}

.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.footer-nav ul li {
    margin: 0 10px;
}

.footer-nav ul li a {
    text-decoration: none;
    color: #ddd;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.footer-social a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #007bff;
}

/* Dark mode social icons */
@media (prefers-color-scheme: dark) {
    .social-icons a {
        color: #fff;
    }
    
    .social-icons a:hover {
        color: #4dabf7;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    nav ul {
        gap: 15px;
    }

    .right-content-fixed {
        right: 2.5%;
    }
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
        min-height: auto;
    }

    .right-content {
        width: 100%;
        position: static;
        height: auto;
        overflow: visible;
    }

    .sidebar-sections {
        position: static;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }

    .main-content {
        gap: 10px;
    }

    .top-content-wrapper {
        gap: 10px;
    }

    .live-news-item {
        flex: 0 0 calc(100% - 15px);
    }
    
    .main-banner img {
        height: 200px;
    }
    
    .most-read-item img {
        width: 80px;
        height: 60px;
    }

    .main-banner h2 {
        font-size: 16px;
        padding: 15px;
    }

    .section-list {
        border-radius: 4px;
    }

    .section-header {
        padding: 12px;
    }

    .section-content {
        padding: 12px;
    }

    .mixed-grid-image {
        height: 180px;
    }

    .mixed-list-thumbnail {
        width: 80px;
        height: 60px;
    }

    .banner-container {
        margin: 0 -10px;
        border-radius: 0;
    }

    .top-banner,
    .bottom-banner {
        height: 100px;
    }

    .most-read-top-banner {
        height: auto;
        margin: 0;
    }

    .live-button span {
        display: none;
    }
    
    .live-button {
        padding: 8px;
    }
    
    .search-input.expanded {
        width: 120px;
    }

    .header-container {
        padding: 0 40px;
    }

    .logo img {
        max-height: 35px;
    }

    .mobile-menu-toggle {
        left: 5px;
    }

    nav {
        width: 85%;
    }

    .right-content {
        margin-top: 10px;
    }

    .sidebar-sections {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .live-button {
        padding: 8px;
    }
    
    .live-button span {
        display: none;
    }
    
    .search-input.expanded {
        width: 120px;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video badge and play button styles */
.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.main-banner .play-button {
    width: 65px;
    height: 65px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.95);
    color: rgba(255, 255, 255, 0.95);
}

.main-banner .play-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 768px) {
    .play-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-width: 2px;
    }

    .main-banner .play-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-width: 2px;
    }
}

/* Live indicator styles */
.live-indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #e74c3c;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    width: auto;
}

.live-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.translation-badge {
    display: inline-block;
    background-color: #1976d2;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 10px;
}

.translation-badge i {
    margin-right: 4px;
}

.translation-info {
    background-color: #e3f2fd;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.translation-info p {
    margin: 0;
    color: #1976d2;
    font-size: 14px;
}

.translation-info a {
    color: #1565c0;
    text-decoration: none;
    font-weight: 500;
}

.translation-info a:hover {
    text-decoration: underline;
}

.article-meta {
    margin-bottom: 10px;
    color: #777;
    font-size: 14px;
}

.article-meta span {
    margin-right: 15px;
}

.article-meta .video-badge,
.article-meta .translation-badge {
    margin-right: 0;
}

/* Live Menu Styles */
.live-menu {
    position: relative;
    display: inline-block;
}

.live-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
    margin-top: 5px;
    z-index: 1000;
    padding: 5px 0;
    list-style: none;
}

/* Only use active class for dropdown visibility */
.live-menu.active .live-dropdown {
    display: block;
}

.live-dropdown li {
    margin: 0;
}

.live-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.live-dropdown a:hover {
    background-color: #f8f9fa;
    color: #dc3545;
}

/* Remove hover-based rotation */
.live-button i {
    font-size: 12px;
    transition: transform 0.2s;
}

.live-menu.active .live-button i {
    transform: rotate(180deg);
}

/* Dark mode support for live dropdown */
@media (prefers-color-scheme: dark) {
    .live-dropdown,
    .live-submenu {
        background: #333;
        border: 1px solid #444;
    }

    .live-dropdown:before {
        border-bottom-color: #333;
    }

    .live-dropdown li a,
    .live-submenu li a {
        color: #fff;
    }

    .live-dropdown li a:hover,
    .live-submenu li a:hover {
        background-color: #444;
    }
}

/* Mobile adjustments for live menu */
@media (max-width: 768px) {
    .live-submenu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding-left: 20px;
        background: transparent;
    }

    .live-dropdown li.has-submenu > a:after {
        transform: translateY(-50%) rotate(90deg);
    }
}

/* Dark mode logo handling */
@media (prefers-color-scheme: dark) {
    .light-logo {
        display: none !important;
    }
    .dark-logo {
        display: block !important;
    }
}

@media (prefers-color-scheme: light) {
    .light-logo {
        display: block !important;
    }
    .dark-logo {
        display: none !important;
    }
}

/* Add smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    button,
    .live-button,
    .search-icon,
    .social-icons a,
    nav ul li a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .featured-side-item,
    .news-item,
    .video-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Add pull-to-refresh animation */
@media (max-width: 768px) {
    body {
        overscroll-behavior-y: contain;
    }
    
    .container {
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Search Icon */
.search-icon {
    display: none;
    font-size: 20px;
    color: #333;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

@media (max-width: 768px) {
    /* Hide desktop elements on mobile */
    .weather-date,
    .social-icons,
    .header-right,
    .animated-slogan {
        display: none !important;
    }

    header {
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .header-container {
        display: grid;
        grid-template-columns: 60px 1fr 60px;
        align-items: center;
        height: 100%;
        padding: 0;
    }

    /* Show mobile elements */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 24px;
        height: 18px;
    }

    .mobile-menu-toggle span {
        margin: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .logo {
        margin: 0;
        padding: 0;
        justify-content: center;
    }

    .logo img {
        max-height: 35px;
    }

    .search-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        padding: 10px;
    }

    /* Dark mode adjustments */
    @media (prefers-color-scheme: dark) {
        header {
            background: #222;
        }

        .mobile-menu-toggle span {
            background: #fff;
        }

        .search-icon {
            color: #fff;
        }
    }

    /* Adjust main content for fixed header */
    .main-content {
        padding-top: 60px;
    }
}

nav {
    z-index: 1000;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 50;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.banner-container {
    z-index: 1;
}

.section-list {
    z-index: 1;
    position: relative;
}

/* Ensure proper stacking context */
.main-content,
.top-content-wrapper {
    position: relative;
    z-index: 1;
}

.sidebar-sections {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    z-index: 1;
    align-self: flex-start;
}

/* Full width container between bottom banner and footer */
.full-width-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.full-width-container .section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.full-width-container .section:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .full-width-container {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .full-width-container {
        margin: 10px auto;
    }
    
    .full-width-container .section {
        margin-bottom: 10px;
        border-radius: 4px;
    }
}

.sidebar-sections {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Scrollbar styles moved to individual section-content */

/* Make each section in sidebar expand properly */
.section-list {
    flex: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
}

.section-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .right-content {
        width: 100%;
    }

    .sidebar-sections {
        position: static;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .sidebar-sections {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
        max-width: 100%;
    }

    .main-content {
        gap: 12px;
        padding: 12px 0;
    }

    .top-content-wrapper {
        gap: 12px;
    }

    /* Improved mobile menu */
    .main-menu {
        width: 85%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: -100%;
        background: #fff;
        transition: all 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        z-index: 1000;
        overflow-y: auto;
        padding: 60px 0 20px;
    }

    .main-menu.active {
        left: 0;
    }

    .main-menu nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-menu nav ul li {
        width: 100%;
    }

    .main-menu nav ul li a {
        padding: 15px 20px;
        display: block;
        border-bottom: 1px solid #eee;
        color: #333;
    }

    /* Improved mobile header */
    .header-container {
        padding: 0 15px;
        height: 60px;
    }

    .logo img {
        max-height: 35px;
    }

    /* Enhanced mobile grid */
    .mobile-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 12px;
    }

    .grid-item {
        margin-bottom: 0;
    }

    /* Improved mobile list view */
    .mobile-list .list-item {
        padding: 12px;
    }

    .article-link {
        gap: 12px;
    }

    .article-image {
        width: 100px;
        height: 70px;
    }

    /* Better touch targets */
    .mobile-menu-toggle,
    .search-icon,
    .social-icons a,
    .live-button {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Improved mobile sections */
    .mobile-section {
        margin-bottom: 12px;
        border-radius: 8px;
    }

    .section-title {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .section-list-item {
        padding: 12px;
    }
    
    .section-thumbnail {
        width: 70px;
        height: 50px;
    }
    
    .section-item-content h3 {
        font-size: 0.85em;
    }
    
    .section-item-content span {
        font-size: 0.75em;
    }

    /* Enhanced mobile carousel */
    .live-carousel {
        padding: 12px;
    }

    .live-carousel-item {
        flex: 0 0 180px;
    }

    .live-carousel-image {
        position: relative;
        width: 100%;
        height: 160px;
        overflow: hidden;
        border-radius: 4px;
    }

    .live-carousel-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .play-button:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: translate(-50%, -50%) scale(1.1);
    }

    .live-indicator {
        position: absolute;
        top: 10px;
        left: 10px;
        background: rgba(255, 0, 0, 0.8);
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: bold;
        z-index: 2;
        animation: blink 1s infinite;
    }

    .live-indicator::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        background: white;
        border-radius: 50%;
        margin-right: 4px;
        animation: blink 1s infinite;
    }

    @keyframes blink {
        0% { opacity: 1; }
        50% { opacity: 0.5; }
        100% { opacity: 1; }
    }

    /* Breaking badge styles removed - breaking news system disabled */

    /* Breaking badge pseudo-elements and animations removed */

    /* Menu overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    /* Improved sidebar sections */
    .sidebar-sections {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 12px;
    }

    .section-list {
        margin-bottom: 0;
    }

    /* Better spacing for content */
    .right-content {
        margin-top: 12px;
    }

    /* Enhanced mobile typography */
    h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    h3 {
        font-size: 16px;
        line-height: 1.4;
    }

    p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Additional mobile optimizations for smaller screens */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }

    .mobile-grid {
        padding: 10px;
    }

    .grid-item {
        margin-bottom: 0;
    }

    .article-image {
        width: 90px;
        height: 65px;
    }

    .live-carousel-item {
        flex: 0 0 160px;
    }

    .live-carousel-image {
        height: 100px;
    }

    .banner-container {
        margin: 10px -10px;
    }

    .top-banner,
    .bottom-banner {
        height: 100px;
    }

    .section-title {
        padding: 10px 12px;
        font-size: 15px;
    }

    .mobile-section {
        margin-bottom: 10px;
    }

    /* Improved header for very small screens */
    .header-container {
        padding: 0 12px;
        height: 55px;
    }

    .logo img {
        max-height: 32px;
    }

    /* Better spacing for smaller screens */
    .main-content {
        gap: 10px;
        padding: 10px 0;
    }

    .top-content-wrapper {
        gap: 10px;
    }

    .sidebar-sections {
        gap: 10px;
        margin-top: 10px;
    }
}

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1003;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: block;
    opacity: 1;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
    width: 100%;
}

.search-input {
    width: 0;
    padding: 8px 12px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-icon {
    background: none;
    border: none;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon:hover {
    color: rgba(255, 255, 255, 0.8);
}

.search-container:focus-within .search-input,
.search-input:focus {
    width: 200px;
    opacity: 1;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .search-container:focus-within .search-input,
    .search-input:focus {
        width: 150px;
    }
    
    .main-menu-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
    }
    
    .expandable-search {
        position: relative;
        margin-left: 10px;
    }
    
    .search-form {
        position: relative;
        display: flex;
        align-items: center;
    }
}

/* Expandable Search Styles */
.expandable-search {
    position: relative;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
}

.search-input {
    width: 0;
    padding: 8px 12px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-icon {
    background: none;
    border: none;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon:hover {
    color: rgba(255, 255, 255, 0.8);
}

.search-container:focus-within .search-input,
.search-input:focus {
    width: 200px;
    opacity: 1;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .search-container:focus-within .search-input,
    .search-input:focus {
        width: 150px;
    }
    
    .main-menu-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
    }
    
    .expandable-search {
        position: relative;
        margin-left: 10px;
    }
    
    .search-form {
        position: relative;
        display: flex;
        align-items: center;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    .main-menu {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 1002;
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 70px 0 20px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    .main-menu.active {
        transform: translateX(280px);
    }

    .main-menu nav ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .main-menu nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .main-menu nav ul li a {
        padding: 15px 20px;
        display: flex;
        align-items: center;
        color: #333;
        font-size: 15px;
        text-decoration: none;
        transition: background-color 0.2s ease;
    }

    .main-menu nav ul li a:hover,
    .main-menu nav ul li a:active {
        background-color: rgba(0,0,0,0.05);
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1001;
        opacity: 0;
        transition: opacity 0.3s ease;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Dark mode adjustments */
    @media (prefers-color-scheme: dark) {
        .search-overlay {
            background: rgba(34, 34, 34, 0.98);
        }

        .search-input {
            color: #fff;
            border-bottom-color: #fff;
        }

        .search-close {
            color: #fff;
        }

        .main-menu {
            background: #222;
        }

        .main-menu nav ul li {
            border-bottom-color: rgba(255,255,255,0.1);
        }

        .main-menu nav ul li a {
            color: #fff;
        }

        .main-menu nav ul li a:hover,
        .main-menu nav ul li a:active {
            background-color: rgba(255,255,255,0.05);
        }
    }

    /* Prevent body scroll when menu or search is open */
    body.menu-open,
    body.search-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

/* Fix for desktop article menu */
@media (min-width: 768px) {
    .article-container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .article-main {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }
    
    .article-sidebar {
        position: relative;
    }
    
    .article-sidebar-content {
        position: sticky;
        top: 80px;
    }
    
    .article-menu {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .article-menu h3 {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }
    
    .article-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .article-menu li {
        margin-bottom: 10px;
    }
    
    .article-menu a {
        display: block;
        padding: 8px 10px;
        color: #333;
        text-decoration: none;
        border-radius: 4px;
        transition: background-color 0.2s;
    }
    
    .article-menu a:hover {
        background-color: #f5f5f5;
    }
    
    .article-menu a.active {
        background-color: #e6f7ff;
        color: #1890ff;
        font-weight: 500;
    }
    
    /* Fix for main menu in article view */
    .main-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        background-color: #222 !important;
        width: 100% !important;
        z-index: 100 !important;
    }
    
    .main-menu-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 !important;
    }
    
    .main-menu nav {
        display: block !important;
        width: auto !important;
    }
    
    /* Hide mobile navigation in desktop view */
    .main-menu .mobile-nav-item,
    .main-menu .mobile-nav-list {
        display: none !important;
    }
    
    .bbc-style-nav {
        display: block !important;
    }
    
    .nav-primary {
        display: block !important;
    }
    
    .nav-items {
        display: flex !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nav-item {
        display: inline-block !important;
        position: relative !important;
        margin: 0 !important;
    }
    
    .nav-link {
        display: flex !important;
        align-items: center !important;
        padding: 15px !important;
        color: white !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        transition: background-color 0.2s !important;
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    .submenu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background-color: #333 !important;
        min-width: 200px !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
        border-radius: 0 0 4px 4px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
        transition: all 0.3s !important;
        z-index: 1000 !important;
    }
    
    .has-submenu:hover .submenu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}

/* View All News Link */
.view-all-news {
    margin-top: 15px;
    text-align: right;
    padding: 10px 0;
    border-top: 1px solid #eaeaea;
}

.view-all-link {
    display: inline-block;
    color: #0056b3;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #003d7a;
    text-decoration: none;
}

.view-all-link i {
    margin-right: 5px;
}

.banner-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
}

.banner-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    display: block;
    text-decoration: none;
    color: inherit;
}

.banner-content h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    margin: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 24px;
    line-height: 1.3;
}

.main-banner .play-button {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 32px;
}

.main-banner .play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.main-banner .live-indicator {
    font-size: 14px;
    padding: 6px 12px;
}

.main-banner .live-indicator::before {
    width: 8px;
    height: 8px;
}

/* Main banner breaking badge removed */

@media (max-width: 768px) {
    .banner-content h2 {
        font-size: 18px;
        padding: 15px;
    }

    .main-banner .play-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .main-banner .live-indicator {
        font-size: 10px;
        padding: 5px 10px;
        transform: scale(1);
    }

    /* Mobile breaking badge styles removed */
}

/* Individual News Section Styles */
.individual-articles {
    margin-bottom: 40px;
}

.individual-news-section {
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
}

.individual-news-section .section-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
    font-weight: 700;
    color: #333;
}

.individual-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.individual-news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.individual-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.individual-news-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.individual-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.individual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.individual-news-item:hover .individual-image img {
    transform: scale(1.05);
}

.individual-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.individual-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.individual-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.individual-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
    margin-top: auto;
}

.individual-category {
    background-color: #e74c3c;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.individual-date {
    font-style: italic;
}

/* Responsive styles for individual news grid */
@media (max-width: 1200px) {
    .individual-news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .individual-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .individual-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .individual-news-section {
        padding: 15px;
    }
    
    .individual-news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .individual-image {
        height: 200px;
    }
    
    .individual-content h3 {
        font-size: 15px;
    }
}

/* Adding specific class for the live news carousel play button */
.live-news-item .play-button,
.live-carousel-item .play-button {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Specific mobile fix for carousel play button */
.live-carousel-image .play-button {
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
}

/* Grid layouts */
.grid,
.category-grid,
.individual-news-grid,
.mobile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 16px 0;
}

/* Responsive grid adjustments */
@media (max-width: 1200px) {
    .grid,
    .category-grid,
    .individual-news-grid,
    .mobile-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .grid,
    .category-grid,
    .individual-news-grid,
    .mobile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .grid,
    .category-grid,
    .individual-news-grid,
    .mobile-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 10px 0;
    }
} 