 :root {
            --nyt-black: #000;
            --nyt-gray-dark: #333;
            --nyt-gray-medium: #666;
            --nyt-gray-light: #e2e2e2;
            --nyt-gray-lighter: #f7f7f7;
            --nyt-blue: #326891;
            --nyt-red: #d0021b;
            --nyt-yellow: #ffd700;
            --nyt-white: #fff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Helvetica Neue', Arial, sans-serif;
            font-size: 14px;
            line-height: 1.5;
            color: var(--nyt-black);
            background-color: var(--nyt-white);
        }

        .serif {
            font-family: 'Noto Serif', Georgia, serif;
        }

        /* Header */
        .header {
            border-bottom: 1px solid var(--nyt-gray-light);
            background: var(--nyt-white);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-top {
            border-bottom: 1px solid var(--nyt-gray-light);
            padding: 8px 0;
            font-size: 11px;
        }

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

        .date {
            color: var(--nyt-gray-medium);
        }

        .weather {
            color: var(--nyt-gray-medium);
        }

        .header-main {
            padding: 12px 0; 
            background-color: rgba(217,215,237,1.00);
        }

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

        .logo {
            font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
            font-size: 32px;
            font-weight: bold;
            text-decoration: none;
            color:rgba(48,52,134,1.00);
        }

        .search-subscribe {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .search-form {
            position: relative;
        }

        .search-input {
            border: 1px solid var(--nyt-gray-light);
            padding: 8px 12px;
            font-size: 14px;
            width: 250px;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--nyt-blue);
        }

        .subscribe-btn {
            background: var(--nyt-blue);
            color: white;
            border: none;
            padding: 8px 16px;
            font-size: 12px;
            font-weight: bold;
            text-transform: uppercase;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
        }

        .subscribe-btn:hover {
            background: #2a5a7a;
        }

        /* Navigation */
        .nav {
            border-bottom: 1px solid var(--nyt-gray-light);
            padding: 12px 0;
        }

        .nav-list {
            display: flex;
            list-style: none;
            gap: 30px;
            justify-content: center;
        }

        .nav-link {
            text-decoration: none;
            color: var(--nyt-black);
            font-weight: 500;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 5px 0;
            position: relative;
        }

        .nav-link:hover {
            color: var(--nyt-blue);
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--nyt-blue);
        }

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

        /* Main content */
        .main-content {
            padding: 30px 0;
        }

        .content-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 40px;
        }

        /* Featured news */
        .featured-section {
            margin-bottom: 40px;
        }

        .featured-main {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 30px;
        }

        .featured-article {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .featured-article:hover .featured-title {
            color: var(--nyt-blue);
        }

        .featured-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            margin-bottom: 15px;
        }

        .featured-category {
            font-size: 11px;
            color: var(--nyt-gray-medium);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .featured-title {
            font-family: 'Noto Serif', serif;
            font-size: 24px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 10px;
            transition: color 0.3s ease;
        }

        .featured-excerpt {
            color: var(--nyt-gray-dark);
            line-height: 1.5;
            margin-bottom: 10px;
        }

        .article-meta {
            font-size: 12px;
            color: var(--nyt-gray-medium);
        }

        /* News list */
        .news-list {
            border-top: 1px solid var(--nyt-gray-light);
        }

        .news-item {
            border-bottom: 1px solid var(--nyt-gray-light);
            padding: 20px 0;
            display: grid;
            grid-template-columns: 1fr 120px;
            gap: 20px;
        }

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

        .news-link {
            text-decoration: none;
            color: inherit;
        }

        .news-link:hover .news-title {
            color: var(--nyt-blue);
        }

        .news-category {
            font-size: 11px;
            color: var(--nyt-gray-medium);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 5px;
        }

        .news-title {
            font-family: 'Noto Serif', serif;
            font-size: 18px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 8px;
            transition: color 0.3s ease;
        }

        .news-excerpt {
            color: var(--nyt-gray-dark);
            font-size: 14px;
            line-height: 1.4;
            margin-bottom: 8px;
        }

        .news-image {
            width: 120px;
            height: 90px;
            object-fit: cover;
        }

        /* Load More Button */
        .load-more-container {
            text-align: center;
            padding: 30px 0;
            border-top: 1px solid var(--nyt-gray-light);
        }

        .load-more-btn {
            background: var(--nyt-black);
            color: white;
            border: 2px solid var(--nyt-black);
            padding: 12px 40px;
            font-size: 13px;
            font-weight: bold;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.5px;
        }

        .load-more-btn:hover {
            background: var(--nyt-white);
            color: var(--nyt-black);
        }

        .load-more-btn:disabled {
            background: var(--nyt-gray-light);
            color: var(--nyt-gray-medium);
            border-color: var(--nyt-gray-light);
            cursor: not-allowed;
        }

        .load-more-btn.loading {
            position: relative;
            color: transparent;
        }

        .load-more-btn.loading::after {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            top: 50%;
            left: 50%;
            margin-left: -8px;
            margin-top: -8px;
            border: 2px solid var(--nyt-white);
            border-radius: 50%;
            border-top-color: transparent;
            animation: spin 0.6s linear infinite;
        }

        /* Sidebar */
        .sidebar {
            padding-left: 30px;
            border-left: 1px solid var(--nyt-gray-light);
        }

        .sidebar-section {
            margin-bottom: 40px;
        }

        .sidebar-title {
            font-family: 'Noto Serif', serif;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--nyt-gray-light);
        }

        .popular-item {
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--nyt-gray-lighter);
        }

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

        .popular-link {
            text-decoration: none;
            color: inherit;
        }

        .popular-link:hover .popular-title {
            color: var(--nyt-blue);
        }

        .popular-title {
            font-family: 'Noto Serif', serif;
            font-size: 16px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 5px;
            transition: color 0.3s ease;
        }

        .popular-meta {
            font-size: 12px;
            color: var(--nyt-gray-medium);
        }

        /* Categories */
        .categories-list {
            list-style: none;
        }

        .category-item {
            margin-bottom: 10px;
        }

        .category-link {
            text-decoration: none;
            color: var(--nyt-black);
            font-size: 14px;
            padding: 5px 0;
            display: block;
            border-bottom: 1px solid transparent;
        }

        .category-link:hover {
            color: var(--nyt-blue);
            border-bottom-color: var(--nyt-blue);
        }

        /* Newsletter */
        .newsletter {
            background: var(--nyt-gray-lighter);
            padding: 20px;
            text-align: center;
        }

        .newsletter-title {
            font-family: 'Noto Serif', serif;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .newsletter-text {
            font-size: 13px;
            color: var(--nyt-gray-dark);
            margin-bottom: 15px;
        }

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

        .newsletter-input {
            border: 1px solid var(--nyt-gray-light);
            padding: 8px 12px;
            font-size: 14px;
        }

        .newsletter-btn {
            background: var(--nyt-black);
            color: white;
            border: none;
            padding: 10px;
            font-size: 12px;
            font-weight: bold;
            text-transform: uppercase;
            cursor: pointer;
        }

        .newsletter-btn:hover {
            background: var(--nyt-gray-dark);
        }

        /* Footer */
        .footer {
            background: var(--nyt-gray-lighter);
            padding: 40px 0 20px;
            margin-top: 60px;
            border-top: 1px solid var(--nyt-gray-light);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-section h4 {
            font-family: 'Noto Serif', serif;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 8px;
        }

        .footer-links a {
            text-decoration: none;
            color: var(--nyt-gray-dark);
            font-size: 13px;
        }

        .footer-links a:hover {
            color: var(--nyt-blue);
        }

        .footer-bottom {
            border-top: 1px solid var(--nyt-gray-light);
            padding-top: 20px;
            text-align: center;
            font-size: 12px;
            color: var(--nyt-gray-medium);
        }

        /* Breaking news bar */
        .breaking-news {
            background: var(--nyt-red);
            color: white;
            padding: 8px 0;
            font-size: 12px;
            font-weight: bold;
        }

        .breaking-content {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .breaking-label {
            background: var(--nyt-white);
            color: var(--nyt-red);
            padding: 2px 8px;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .breaking-text {
            flex: 1;
            overflow: hidden;
            white-space: nowrap;
        }

        .breaking-scroll {
            animation: scroll-left 30s linear infinite;
        }

        @keyframes scroll-left {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                padding-left: 0;
                border-left: none;
                border-top: 1px solid var(--nyt-gray-light);
                padding-top: 30px;
            }
            
            .featured-main {
                grid-template-columns: 1fr;
            }
            
            .news-item {
                grid-template-columns: 1fr;
            }
            
            .news-image {
                width: 100%;
                height: 200px;
            }
            
            .nav-list {
                flex-wrap: wrap;
                gap: 15px;
            }
            
            .header-main .container {
                flex-direction: column;
                gap: 15px;
            }
            
            .search-subscribe {
                width: 100%;
                justify-content: center;
            }
            
            .search-input {
                width: 200px;
            }
        }

        /* Loading animation */
        .loading {
            text-align: center;
            padding: 40px;
        }

        .spinner {
            border: 2px solid var(--nyt-gray-light);
            border-top: 2px solid var(--nyt-blue);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }