        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', sans-serif;
        }

        body {
            background-color: #121212;
            color: white;
            line-height: 1.6;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

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

        /* Header Styles - Updated to match second example */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            background: #121212;
            position: sticky;
            top: 0;
            z-index: 1000;
            /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); */
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: #1DB954;
        }

        .accent {
            color: #1DB954;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
            align-items: center;
        }

        .nav-links li a {
            color: white;
            text-decoration: none;
            font-size: 1rem;
            transition: color 0.3s;
            font-weight: 500;
        }

        .nav-links li a:hover {
            color: #1DB954;
        }

        .btn-outline {
            border: 1px solid #1DB954;
            padding: 8px 20px;
            border-radius: 30px;
            text-decoration: none;
            color: #1DB954;
            transition: all 0.3s;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            width: 30px;
            height: 25px;
            justify-content: space-between;
            position: relative;
            z-index: 2;
        }

        .menu-toggle span {
            display: block;
            height: 3px;
            width: 100%;
            background: white;
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 8px);
        }

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

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -8px);
        }

        /* Blog Intro */
        .blog-intro {
            text-align: center;
            margin-bottom: 40px;
            padding: 40px 0;
        }

        .blog-intro h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: white;
        }

        .blog-intro p {
            color: #aaa;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Blog Layout */
        .blog-container {
            display: grid;
            grid-template-columns: 7fr 3fr;
            gap: 40px;
            margin-bottom: 60px;
        }

        /* Featured Post */
        .featured-post {
            margin-bottom: 40px;
            background: #1a1a1a;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .featured-img {
            height: 350px;
            overflow: hidden;
        }

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

        .featured-post:hover .featured-img img {
            transform: scale(1.05);
        }

        .featured-content {
            padding: 25px;
        }

        .post-meta {
            display: flex;
            gap: 15px;
            color: white;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        .post-tag {
            background: #1DB954;
            color: #000;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .featured-content h2 {
            font-size: 1.8rem;
            margin-bottom: 15px;
        }

        .featured-content h2 a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        .featured-content h2 a:hover {
            color: #1DB954;
        }

        .featured-content p {
            margin-bottom: 20px;
            color: white;
        }

        .read-more {
            display: inline-block;
            color: #1DB954;
            text-decoration: none;
            font-weight: 600;
            transition: transform 0.3s;
            cursor: pointer;
        }

        .read-more:hover {
            transform: translateX(5px);
        }

        /* Posts Grid */
        .posts-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-bottom: 40px;
        }
        .post-card p {
            display: -webkit-box;
            font-size: 0.6rem;   /* or try 14px */
            -webkit-line-clamp: 3; /* number of lines to show */
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }


        .post-card {
            background: #1a1a1a;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s;
        }

        .post-card:hover {
            transform: translateY(-5px);
        }

        .post-img {
            height: 200px;
            overflow: hidden;
        }

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

        .post-card:hover .post-img img {
            transform: scale(1.05);
        }

        .post-content {
            padding: 20px;
        }

        .post-content h3 {
            font-size: 1rem;
            margin-bottom: 10px;
        }

        .post-content h3 a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        .post-content h3 a:hover {
            color: #1DB954;
        }

        .post-content p {
            color: white;
            font-size: 0.95rem;
            margin-bottom: 15px;
        }

        /* Sidebar */
        .sidebar {
            position: sticky;
            top: 20px;
        }

        .sidebar-widget {
            background: #1a1a1a;
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .sidebar-widget h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #2a2a2a;
            color: white;
        }

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

        .categories-list li {
            margin-bottom: 12px;
            display: flex;
            justify-content: space-between;
        }

        .categories-list a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        .categories-list a:hover {
            color: #1DB954;
        }

        .category-count {
            background: #2a2a2a;
            color: white;
            padding: 2px 8px;
            border-radius: 20px;
            font-size: 0.8rem;
        }

        /* Recent Posts */
        .recent-post {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            align-items: center;
        }

        .recent-post:last-child {
            margin-bottom: 0;
        }

        .recent-post-img {
            width: 70px;
            height: 70px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
        }

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

        .recent-post-content h4 {
            font-size: 0.95rem;
            margin-bottom: 5px;
        }

        .recent-post-content h4 a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        .recent-post-content h4 a:hover {
            color: #1DB954;
        }

        .recent-post-date {
            color: white;
            font-size: 0.8rem;
        }

        /* Tags */
        .tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tag {
            background: #2a2a2a;
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            text-decoration: none;
            transition: all 0.3s;
        }

        .tag:hover {
            background: #1DB954;
            color: #000;
        }

        /* Newsletter */
        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .newsletter-form input {
            background: #2a2a2a;
            border: none;
            padding: 12px 15px;
            border-radius: 8px;
            color: white;
            font-size: 1rem;
        }

        .newsletter-form input:focus {
            outline: 1px solid #1DB954;
        }

        .subscribe-btn {
            background: #1DB954;
            color: #000;
            border: none;
            padding: 12px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }

        .subscribe-btn:hover {
            background: #1ed760;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }

        .pagination a,
        .pagination span {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            text-decoration: none;
            font-weight: 600;
        }

        .pagination a {
            background: #2a2a2a;
            color: white;
            transition: all 0.3s;
        }

        .pagination a:hover,
        .pagination a.active {
            background: #1DB954;
            color: #000;
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 40px 0;
            margin-top: 60px;
            border-top: 1px solid #2a2a2a;
            color: #888;
        }

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

        .footer-social a {
            color: #e0e0e0;
            font-size: 1.2rem;
            transition: color 0.3s;
        }

        .footer-social a:hover {
            color: #1DB954;
        }

        /* Full Article View */
        /* Full Article View - Light Mode */
.article-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95); /* White overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 20px;
    overflow-y: auto;
}

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

.article-container {
    background: #ffffff; /* White modal background */
    border-radius: 12px;
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.3);
    padding-bottom: 20px;
}

.article-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.article-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #000000; /* Black title text */
}

.article-header .post-meta {
    margin-bottom: 15px;
    color: #333; /* Dark gray meta text */
}

.article-image {
    height: 400px;
    overflow: hidden;
}

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

.article-content {
    padding: 30px;
    color: #000000; /* Main text black */
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
    color: #000000; /* Paragraphs black */
}

.article-content h3 {
    margin: 30px 0 15px;
    color: #0000ee; /* Blue headings/links */
}

.article-content a {
    color: #0000ee; /* Links blue */
    text-decoration: underline;
    transition: color 0.3s;
}

.article-content a:hover {
    color: #0033cc; /* Darker blue on hover */
}

.close-article {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #eee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.close-article:hover {
    background: #ddd;
}

.close-article i {
    color: #000;
    font-size: 1.2rem;
}


        /* Responsive Design - Updated to match second example */
        @media (max-width: 1024px) {
            .blog-intro h1 {
                font-size: 2.2rem;
            }

            .article-image {
                height: 300px;
            }
        }

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

            .sidebar {
                position: static;
            }
        }

        @media (max-width: 768px) {
            .menu-toggle {
                display: flex;
            }

            nav {
                position: fixed;
                top: 0;
                right: -300px;
                width: 300px;
                height: 100vh;
                background: #000;
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-start;
                padding: 80px 30px 30px;
                transition: right 0.3s ease;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
            }

            nav.active {
                right: 0;
            }

            .nav-links {
                flex-direction: column;
                gap: 20px;
                width: 100%;
            }

            .posts-grid {
                grid-template-columns: 1fr;
            }

            .featured-img {
                height: 250px;
            }

            .blog-intro {
                padding: 20px 0;
            }

            .blog-intro h1 {
                font-size: 2rem;
            }

            .article-header h2 {
                font-size: 1.6rem;
            }

            .article-image {
                height: 250px;
            }
        }

        @media (max-width: 576px) {
            .blog-intro h1 {
                font-size: 1.8rem;
            }

            .post-meta {
                flex-direction: column;
                gap: 8px;
            }

            .featured-content h2 {
                font-size: 1.5rem;
            }

            .btn-outline {
                padding: 6px 15px;
                font-size: 0.9rem;
            }

            .article-header {
                padding: 20px 20px 15px;
            }

            .article-content {
                padding: 20px;
            }

            .article-header h2 {
                font-size: 1.4rem;
            }
        }

        @media (max-width: 400px) {
            .blog-intro h1 {
                font-size: 1.6rem;
            }

            .article-image {
                height: 200px;
            }
        }

        /* Filtered results styles */
        .filtered-results {
            margin: 2rem 0;
            padding: 1.5rem;
            background: #1a1a1a;
            /* Dark background */
            border-radius: 8px;
            border-left: 4px solid #1DB954;
            /* Green accent border */
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            /* Subtle shadow for depth */
        }

        .filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .filter-header h3 {
            margin: 0;
            color: #ffffff;
            /* White text for contrast */
            font-size: 1.2rem;
            font-weight: 600;
        }

        .clear-filter-btn {
            background: #1DB954;
            /* Bright green button */
            color: #000000;
            /* Black text for readability */
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .clear-filter-btn:hover {
            background: #1DB954;
            /* Slightly darker green on hover */
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

        .filtered-posts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .no-results {
            text-align: center;
            padding: 2rem;
            background: #252525;
            /* Slightly lighter dark for contrast */
            border-radius: 8px;
        }

        .no-results h3 {
            color: #e17055;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .no-results p {
            color: #cccccc;
            /* Light grey text */
        }

        /* Recent posts container */
        .recent-posts-container {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        /* Category links styling */
        .category-link {
            color: white;
            /* Light grey for default state */
            text-decoration: none;
            transition: color 0.3s ease, transform 0.2s ease;
            display: inline-block;
            /* For transform to work */
        }

        .category-link:hover {
            color: #1DB954;
            /* Bright green on hover */
            transform: translateX(4px);
            /* Subtle movement */
        }

        /* Tags cloud styling */
        .tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tag {
            background: #2a2a2a;
            /* Dark grey background */
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            transition: all 0.3s ease;
            text-decoration: none;
            color: white;
            /* Light grey text */
            border: 1px solid #3a3a3a;
            /* Subtle border */
        }

        .tag:hover {
            background: #1DB954;
            /* Bright green background on hover */
            color: #000000;
            /* Black text for contrast */
            transform: translateY(-2px);
            border-color: #1DB954;
            /* Match border to background */
            box-shadow: 0 2px 4px rgba(104, 231, 92, 0.3);
            /* Green glow */
        }

        /* Ensure text within filtered results is readable */
        .filtered-posts-grid .post-card h3 a,
        .filtered-posts-grid .post-card p,
        .filtered-posts-grid .post-card .post-meta span {
            color: white;
            /* White or light grey for main text */
        }

        .filtered-posts-grid .post-card .post-meta span {
            color: #aaaaaa;
            /* Slightly dimmer for meta text */
        }

        .filtered-posts-grid .read-more {
            color: #1DB954;
            /* Green for "Read More" links */
        }

        .filtered-posts-grid .read-more:hover {
            color: #1DB954;
            /* Darker green on hover */
            text-decoration: underline;
        }

        /* Pagination for filtered results (if added) */
        .filtered-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid #333333;
        }

        .filtered-pagination a {
            color: #cccccc;
            padding: 0.5rem 0.75rem;
            border-radius: 4px;
            text-decoration: none;
            transition: all 0.3s ease;
            min-width: 36px;
            text-align: center;
        }

        .filtered-pagination a:hover,
        .filtered-pagination a.active {
            background: #1DB954;
            color: #000000;
        }

        .filtered-pagination a.prev-page,
        .filtered-pagination a.next-page {
            background: #2a2a2a;
        }

        .filtered-pagination a.prev-page:hover,
        .filtered-pagination a.next-page:hover {
            background: #3a3a3a;
            color: #1DB954;
        }