
        /* CSS Variables for Dynamic Dark/Light Theme */
        :root {
            --bg-body: #ffffff;
            --bg-card: #ffffff;
            --bg-header: rgba(255, 255, 255, 0.95);
            --text-main: #0f172a;
            --text-muted: #64748b;
            --border-color: #e2e8f0;
            --accent-color: #FF4A00;
            --accent-hover: #b91c1c;
            --badge-bg: #ffffff;
            --badge-text: #ff4a00;
            --shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
            --radius: 1px;
            --sidebar-width: 280px;
        }

        [data-theme="dark"] {
            --bg-body: #0b0f19;
            --bg-card: #111827;
            --bg-header: rgba(17, 24, 39, 0.95);
            --text-main: #f3f4f6;
            --text-muted: #9ca3af;
            --border-color: #1f2937;
            --accent-color: #ef4444;
            --accent-hover: #dc2626;
            --badge-bg: rgba(239, 68, 68, 0.15);
            --badge-text: #fca5a5;
            --shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            line-height: 1.6;
            padding-bottom: 60px;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Outfit', sans-serif;
            letter-spacing: -0.02em;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .text-accent {
            color: var(--accent-color);
            font-weight: 700;
        }

        /* Header Navigation */
        header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--bg-header);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-color);
            padding: 0.85rem 1.5rem;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
        }

        .header-icon-btn {
            background: transparent;
            border: none;
            color: var(--text-main);
            font-size: 1.25rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        .header-icon-btn:hover {
            background: var(--border-color);
        }

        .brand-logo {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            justify-self: center;
            line-height: 0;
        }

        .brand-logo-img {
            height: 38px;
            width: auto;
            max-width: 180px;
            object-fit: contain;
            display: block;
            transition: transform 0.2s ease, filter 0.25s ease;
        }

        .brand-logo:hover .brand-logo-img {
            transform: scale(1.02);
        }

        .sidebar-logo-img {
            height: 32px;
            width: auto;
            max-width: 150px;
            object-fit: contain;
            display: block;
        } 

        .header-right-actions {
            justify-self: end;
            display: flex;
            align-items: center;
        }

        .footer-logo-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 1.25rem;
        }

        .footer-logo-img {
            height: 42px;
            width: auto;
            max-width: 200px;
            object-fit: contain;
            display: block;
        }

        /* Collapsible Dropdown Search Bar under Header */
        .search-drawer {
            display: none;
            position: sticky;
            top: 60px;
            z-index: 99;
            background: var(--bg-card);
            border-bottom: 1px solid var(--border-color);
            padding: 1rem 1.5rem;
            box-shadow: var(--shadow);
            animation: slideDown 0.25s ease-out forwards;
        }

        .search-drawer.active {
            display: block;
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .header-search-box {
            position: relative;
            max-width: 600px;
            margin: 0 auto;
            width: 100%;
        }

        .search-input-field {
            width: 100%;
            padding: 10px 16px 10px 42px;
            border: 1px solid var(--border-color);
            border-radius: 20px;
            background: var(--bg-body);
            color: var(--text-main);
            outline: none;
            font-size: 0.9rem;
        }

        .search-icon-inside {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .suggestions-overlay {
            position: absolute;
            top: 110%;
            left: 0;
            right: 0;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            box-shadow: var(--shadow);
            z-index: 1000;
            display: none;
            overflow: hidden;
        }

        .suggestion-item {
            padding: 10px 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            border-bottom: 1px solid var(--border-color);
        }

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

        .suggestion-item:hover {
            background: var(--bg-body);
        }

        .suggestion-thumb {
            width: 42px;
            height: 42px;
            border-radius: 6px;
            object-fit: cover;
        }

        /* OFF-CANVAS SIDEBAR NAVIGATION */
        .sidebar-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 200;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .sidebar-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .sidebar {
            position: fixed;
            top: 0;
            left: -280px;
            width: var(--sidebar-width);
            height: 100%;
            background: var(--bg-card);
            z-index: 201;
            box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
            display: flex;
            flex-direction: column;
            transition: left 0.3s ease;
            overflow-y: auto;
        }

        .sidebar.active {
            left: 0 !important;
        }

        .sidebar-header {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .sidebar-close-btn {
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.25rem;
            cursor: pointer;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .sidebar-close-btn:hover {
            color: var(--accent-color);
            background: var(--bg-body);
        }

        .sidebar-nav-list {
            list-style: none;
            padding: 1.5rem 0;
            display: flex;
            flex-direction: column;
        }

        .sidebar-nav-item a {
            display: block;
            padding: 6px 1.5rem;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-muted);
            transition: all 0.2s;
        }

        .sidebar-nav-item a:hover {
            background: var(--bg-body);
            color: var(--accent-color);
            padding-left: 1.75rem;
        }

        .sidebar-footer {
            margin-top: auto;
            padding: 1.5rem;
            border-top: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .social-icons {
            display: flex;
            align-items: center;
            justify-content: space-around;
        }

        .social-icon-btn {
            color: var(--text-muted);
            font-size: 1.2rem;
            transition: color 0.2s, transform 0.2s;
        }

        .social-icon-btn:hover {
            color: var(--accent-color);
            transform: translateY(-2px);
        }

        .theme-switch-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--bg-body);
            padding: 8px 14px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }

        .theme-switch-label {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-muted);
        }

        .theme-btn {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
        }

        /* Category Bar */
        .filter-header-bar {
            max-width: 1200px;
            margin: 1.25rem auto 0;
            padding: 0 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .category-bar {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .category-bar::-webkit-scrollbar {
            display: none;
        }

        .pill {
            display: inline-block;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-muted);
            clip-path: polygon(0 0, 90% 0, 100% 35%, 100% 100%, 10% 100%, 0 65%);
            padding: 5px 10px;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            white-space: nowrap;
        }

        .pill.active {
            color: var(--text-muted);
            border-color: var(--accent-color);
            border: 1px solid var(--accent-color);
        }

        /* Main Layout Base */
        main {
            max-width: 1200px;
            margin: 1.5rem auto;
            padding: 0 1.5rem;
        }

        .section-title {
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title::before {
            content: '';
            width: 4px;
            height: 20px;
            background-color: var(--accent-color);
            border-radius: 2px;
        }

        .badge {
            background: var(--badge-bg);
            color: var(--badge-text);
            font-size: 0.75rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 6px;
            text-transform: uppercase;
            width: fit-content;
        }

        .reactions {
            display: flex;
            gap: 12px;
        }

        .reaction-btn {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.85rem;
        }

        .reaction-btn:hover {
            color: var(--accent-color);
        }

        /* 1. HERO SPOTLIGHT SECTION */
        .hero-spotlight {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 1.5rem;
            margin-bottom: 2.5rem;
        }

        .hero-main {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            min-height: 380px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 18px;
            background-size: cover;
            background-position: center;
            color: #ffffff;
            box-shadow: var(--shadow);
            cursor: pointer;
        }

        .hero-left-bg {
            position: absolute;
            display: block;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0) 100%);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            gap: 6px;
        }

        .hero-title {
            color: #ffffff;
        
          font-family: 'Oswald', sans-serif;
            font-size: 14px;
            font-weight: 500;
            text-transform: uppercase;
    
            line-height: 1.19;
            margin-bottom: 2px;
            max-width: 92%;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
        }

        .hero-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.75rem;
            font-weight: 600;
            color: #e2e8f0;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }

        .hero-category {
            background: transparent !important;
            padding: 0 !important;
            color: var(--accent-color);
            font-weight: 800;
        }

        .hero-dot-divider {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.8rem;
        }

        .hero-sidebar {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .side-item {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            padding: 1rem;
            box-shadow: var(--shadow);
            cursor: pointer;
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .side-img-frame {
            width: 80px;
            height: 70px;
            overflow: hidden;
            flex-shrink: 0;
        }

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

        .side-item-title {
            font-size: 0.95rem;
            font-weight: 700;
            line-height: 1.35;
        }

        /* 2. STANDARD CARD GRID LAYOUT */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2.5rem;
        }

        .card {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            overflow: hidden;
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
            position: relative;
            cursor: pointer;
        }

        .card-img-wrapper {
            width: 100%;
            height: 190px;
            position: relative;
            overflow: hidden;
        }

        .card-img-wrapper .badge {
            position: absolute;
            top: 12px;
            left: 12px;
            z-index: 2;
        }

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

        .card-body {
            padding: 1.25rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .card-title {
            font-size: 1.1rem;
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 0.75rem;
        }

        .card-excerpt {
            color: var(--text-muted);
            font-size: 0.875rem;
            margin-bottom: 1.25rem;
            flex-grow: 1;
        }

        .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid var(--border-color);
            padding-top: 0.85rem;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* 3. HORIZONTAL LIST SECTION */
        .list-section {
            margin-bottom: 2.5rem;
        }

        .list-container {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        /* 4. STAGGERED / MASONRY GRID */
        .staggered-section {
            margin-bottom: 2.5rem;
        }

        .staggered-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 1.5rem;
        }

        .staggered-large {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            overflow: hidden;
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
            cursor: pointer;
        }

        .staggered-large img {
            width: 100%;
            height: 260px;
            object-fit: cover;
        }

        .staggered-sub-grid {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        /* 5. MINIMALIST BULLET BRIEFS */
        .briefs-section {
            margin-bottom: 2.5rem;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 1.5rem;
            box-shadow: var(--shadow);
        }

        .briefs-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.25rem;
            list-style: none;
        }

        .brief-item {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            cursor: pointer;
        }

        .brief-num {
            background: var(--accent-color);
            color: #ffffff;
            font-size: 0.8rem;
            font-weight: 800;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .brief-text {
            font-size: 0.925rem;
            font-weight: 600;
            line-height: 1.4;
        }

        /* 6. MAGAZINE DUAL-SPLIT SECTION */
        .magazine-section {
            margin-bottom: 2.5rem;
        }

        .magazine-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }

        .magazine-feature {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            min-height: 320px;
            display: flex;
            align-items: flex-end;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            cursor: pointer;
        }

        .magazine-feature img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .magazine-feature-content {
            position: relative;
            z-index: 2;
            color: #ffffff;
        }

        .magazine-stack {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            justify-content: space-between;
        }

        .magazine-mini {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 1rem;
            display: flex;
            gap: 1rem;
            align-items: center;
            cursor: pointer;
        }

        .magazine-mini img {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
        }

        /* 7. HORIZONTAL SCROLL CAROUSEL TRACK */
        .carousel-section {
            margin-bottom: 2.5rem;
        }

        .carousel-track {
            display: flex;
            gap: 1.25rem;
            overflow-x: auto;
            padding-bottom: 10px;
            scrollbar-width: thin;
        }

        .carousel-track::-webkit-scrollbar {
            height: 6px;
        }

        .carousel-track::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 10px;
        }

        .carousel-card {
            min-width: 260px;
            max-width: 260px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            flex-shrink: 0;
            cursor: pointer;
        }

        .carousel-img {
            width: 100%;
            height: 140px;
            object-fit: cover;
        }

        .carousel-body {
            padding: 1rem;
        }

        .carousel-title {
            font-size: 0.95rem;
            font-weight: 700;
            line-height: 1.35;
            margin-top: 6px;
        }

        /* 8. VIDEO SHOWCASE SECTION */
        .video-section {
            margin-bottom: 2.5rem;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.25rem;
        }

        .video-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            cursor: pointer;
        }

        .video-thumb {
            position: relative;
            width: 100%;
            height: 160px;
        }

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

        .play-btn {
            position: absolute;
            inset: 0;
            margin: auto;
            width: 44px;
            height: 44px;
            background: rgba(220, 38, 38, 0.9);
            color: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }

        .video-info {
            padding: 1rem;
        }

        .video-title {
            font-size: 0.95rem;
            font-weight: 700;
            line-height: 1.35;
        }

        /* 9. NEWSLETTER & OPINION SECTIONS */
        .middle-split {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 1.5rem;
            margin-bottom: 2.5rem;
        }

        .opinion-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .opinion-item {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 1.25rem;
            display: flex;
            gap: 1rem;
            align-items: center;
            cursor: pointer;
        }

        .author-avatar {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--accent-color);
        }

        .opinion-body {
            flex-grow: 1;
        }

        .author-name {
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--accent-color);
            text-transform: uppercase;
        }

        .opinion-quote {
            font-size: 0.95rem;
            font-weight: 700;
            line-height: 1.35;
        }

        .newsletter-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 1.5rem;
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
        }

        .newsletter-input {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background: var(--bg-body);
            color: var(--text-main);
            margin: 1rem 0 0.75rem;
            font-size: 0.875rem;
            outline: none;
        }

        .newsletter-btn {
            background: var(--accent-color);
            color: #ffffff;
            border: none;
            padding: 10px 16px;
            border-radius: 8px;
            font-size: 0.875rem;
            font-weight: 700;
            cursor: pointer;
            width: 100%;
        }

        /* Sponsor / Ad Slot Container */
        .ad-slot {
            width: 100%;
            background: var(--bg-card);
            border: 1px dashed var(--border-color);
            border-radius: var(--radius);
            padding: 1.5rem;
            text-align: center;
            margin-bottom: 2.5rem;
            color: var(--text-muted);
            font-size: 0.875rem;
        }

        /* Footer */
        footer {
            background: var(--bg-card);
            border-top: 1px solid var(--border-color);
            padding: 2.5rem 1.5rem;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.875rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 18px;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        /* Mobile Breakpoints */
        @media (max-width: 850px) {
            .hero-spotlight, .middle-split, .staggered-grid, .magazine-layout {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 600px) {
            header {
                padding: 0.85rem 1rem;
            }
            main {
                padding: 0 1rem;
            }
            .hero-main {
                min-height: 280px;
                padding: 1.25rem;
            }
            .hero-title {
                font-size: 1.05rem;
                max-width: 100%;
            }
        }
    
      a.pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        color: inherit;
        white-space: nowrap;
      }
  