/*
Theme Name: Sarkari Jobs Theme
Description: A modern WordPress theme for Sarkari Jobs and Recruitment Alerts.
Author: Urvashi
Version: 1.0.0
*/

        /* CSS Variables */
        :root {
            --primary-blue: #004b87;
            --secondary-blue: #007bff;
            --accent-orange: #ff9900;
            --india-saffron: #FF9933;
            --india-green: #138808;
            --bg-light: #f4f7f6;
            --text-dark: #333333;
            --text-muted: #666666;
            --white: #ffffff;
            --border-color: #e0e0e0;
            --font-primary: 'Inter', sans-serif;
        }

        /* Global Styles */
        body {
            background-color: var(--bg-light);
            color: var(--text-dark);
            font-family: var(--font-primary);
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
            transition: all 0.3s ease;
        }

        /* Header */
        header {
            background-color: var(--white);
            border-bottom: 3px solid transparent;
            border-image: linear-gradient(to right, var(--india-saffron) 33%, var(--white) 33%, var(--white) 66%, var(--india-green) 66%) 1;
            padding: 15px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        header .logo {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-blue);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 25px;
            margin: 0;
            padding: 0;
            align-items: center;
        }

        nav ul li a {
            color: var(--primary-blue);
            font-weight: 600;
            font-size: 15px;
            text-transform: uppercase;
        }

        nav ul li a:hover {
            color: var(--secondary-blue);
        }

        .cta-btn {
            background-color: var(--accent-orange) !important;
            color: var(--white) !important;
            padding: 12px 24px;
            border-radius: 6px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            font-weight: bold;
        }

        .cta-btn:hover {
            background-color: #e68a00 !important;
            transform: translateY(-2px);
        }

        /* Modern Hero Section */
        .hero-section {
            position: relative;
            background: linear-gradient(rgba(0, 75, 135, 0.85), rgba(0, 123, 255, 0.7)),  center/cover no-repeat;
            color: var(--white);
            padding: 120px 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .hero-section h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            margin-top: 0;
            font-weight: 800;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }

        .hero-section p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto 40px auto;
            line-height: 1.6;
            text-shadow: 0 1px 5px rgba(0,0,0,0.3);
        }

        /* Hero Search Bar */
        .hero-search {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 15px;
            border-radius: 12px;
            display: flex;
            gap: 10px;
            max-width: 800px;
            width: 100%;
            border: 1px solid rgba(255,255,255,0.2);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .hero-search input, .hero-search select {
            padding: 15px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            flex: 1;
            outline: none;
        }

        .hero-search button {
            background-color: var(--accent-orange);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 6px;
            font-weight: bold;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .hero-search button:hover {
            background-color: #e68a00;
        }

        /* Popular Jobs Carousel */
        .carousel-section {
            padding: 80px 20px;
            max-width: 1200px;
            margin: -60px auto 0 auto;
            position: relative;
            z-index: 10;
        }

                .carousel-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            padding-bottom: 20px;
        }
        
        @media (max-width: 992px) {
            .carousel-container {
                display: flex;
                overflow-x: auto;
                scroll-behavior: smooth;
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
            .carousel-container::-webkit-scrollbar {
                display: none;
            }
        }

        .carousel-card {
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.08);
            border-top: 4px solid var(--primary-blue);
            transition: transform 0.3s ease;
        }
        @media (max-width: 992px) {
            .carousel-card {
                min-width: 280px;
                flex-shrink: 0;
            }
        }

        .carousel-card:nth-child(even) { border-top-color: var(--india-saffron); }
        .carousel-card:nth-child(3n) { border-top-color: var(--india-green); }

        .carousel-card:hover {
            transform: translateY(-5px);
        }

        .carousel-card h3 {
            color: var(--primary-blue);
            margin: 0 0 10px 0;
            font-size: 1.2rem;
        }

        .carousel-card .badge {
            background: #e6f2ff;
            color: var(--primary-blue);
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            display: inline-block;
            margin-bottom: 15px;
        }

        /* Categories */
        .categories {
            padding: 60px 20px;
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }

        .category-card {
            background: white;
            border: 1px solid var(--border-color);
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.03);
            transition: all 0.3s;
        }

        .category-card:hover {
            transform: translateY(-5px);
            border-color: var(--secondary-blue);
            box-shadow: 0 8px 25px rgba(0,123,255,0.15);
        }

        .category-card h3 {
            color: var(--primary-blue);
            margin: 0 0 10px 0;
        }

        /* Newsletter Signup */
        .newsletter {
            background: linear-gradient(135deg, var(--india-saffron) 0%, var(--accent-orange) 100%);
            padding: 60px 20px;
            text-align: center;
            color: white;
            margin-top: 60px;
        }

        .newsletter-inner {
            max-width: 600px;
            margin: 0 auto;
        }

        .newsletter h2 {
            font-size: 2.5rem;
            margin-top: 0;
            margin-bottom: 15px;
        }

        .newsletter p {
            font-size: 1.1rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .newsletter-form {
            display: flex;
            gap: 10px;
        }

        .newsletter-form input {
            flex: 1;
            padding: 15px 20px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            outline: none;
        }

        .newsletter-form button {
            background-color: var(--primary-blue);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 6px;
            font-weight: bold;
            font-size: 16px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .newsletter-form button:hover {
            background-color: #003366;
        }

        /* Footer */
        footer {
            background-color: var(--primary-blue);
            color: white;
            text-align: center;
            padding: 40px 20px;
        }

        .disclaimer {
            background-color: rgba(255,255,255,0.1);
            color: #fff;
            padding: 15px;
            max-width: 800px;
            margin: 0 auto 20px auto;
            border-radius: 6px;
            font-size: 14px;
            border: 1px solid rgba(255,255,255,0.2);
        }

        @media (max-width: 768px) {
            .hero-search, .newsletter-form {
                flex-direction: column;
            }
            .hero-section h1 { font-size: 2.5rem; }
            nav ul { display: none; } /* Mobile menu toggle needed in real WP */
        }
            /* Dropdown Menu CSS */
        nav ul li {
            position: relative;
        }

        nav ul li .dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: var(--white);
            min-width: 280px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            border-radius: 0 0 8px 8px;
            padding: 10px 0;
            z-index: 1000;
            border-top: 3px solid var(--india-saffron);
        }

        nav ul li:hover .dropdown {
            display: block;
        }

        nav ul li .dropdown a {
            display: block;
            padding: 10px 20px;
            color: var(--text-dark);
            font-size: 14px;
            font-weight: 500;
            border-bottom: 1px solid var(--border-color);
            text-transform: none;
        }

        nav ul li .dropdown a:last-child {
            border-bottom: none;
        }

        nav ul li .dropdown a:hover {
            background-color: #f8fafc;
            color: var(--primary-blue);
            padding-left: 25px;
        }
            /* Mobile Menu Fix */
        .mobile-toggle {
            display: none;
            font-size: 28px;
            cursor: pointer;
            color: var(--primary-blue);
        }

        @media (max-width: 768px) {
            .mobile-toggle { display: block !important; }
            header { flex-wrap: wrap; }
            nav {
                display: none;
                width: 100%;
                order: 3;
                background: white;
                margin-top: 15px;
                box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            }
            nav.nav-open { display: block; }
            nav ul {
                display: flex !important;
                flex-direction: column;
                gap: 0;
            }
            nav ul li {
                width: 100%;
                border-bottom: 1px solid #f1f1f1;
            }
            nav ul li:last-child { border-bottom: none; }
            nav ul li a {
                display: block;
                padding: 15px 20px;
            }
            nav ul li .dropdown {
                position: static;
                box-shadow: none;
                border-top: none;
                background: #f9fafb;
                display: none;
            }
            nav ul li:hover .dropdown {
                display: block;
            }
            nav ul li a.cta-btn {
                display: block;
                text-align: center;
                margin: 15px;
            }
        }
    
        /* Article Card Styles */
        .article-card {
            display: block;
            border-radius: 12px;
            overflow: hidden;
            text-decoration: none;
            color: var(--text-dark);
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
            background: #fff;
            border: 1px solid var(--border-color);
        }
        .article-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            border-color: var(--secondary-blue);
        }
        .article-card .img-wrapper {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
            overflow: hidden;
        }
        .article-card img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .article-card .overlay {
            padding: 20px;
        }
        .article-card h3 {
            margin: 0;
            font-size: 1.1rem;
            color: var(--primary-blue);
            line-height: 1.4;
        }

    
/* Article Styles */

        :root {
            --primary-color: #1e8f42;
            --bg-light: #ffffff;
            --text-dark: #111827;
            --text-muted: #6b7280;
            --border-color: #e5e7eb;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: 'Inter', sans-serif; background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }

        /* Top Navigation */
        .navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: #fff; border-bottom: 1px solid var(--border-color); }
        .navbar-brand { font-weight: 800; font-size: 1.2rem; color: #d97706; display: flex; align-items: center; gap: 8px; }
        .navbar-brand span { color: var(--text-dark); }
        .navbar-links { display: flex; gap: 30px; }
        .navbar-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 0.95rem; }

        /* Main Container */
        .container { max-width: 1200px; margin: 50px auto; padding: 0 5%; }

        .article-header { margin-bottom: 40px; }
        .article-title { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 15px; color: #000; letter-spacing: -0.5px; }
        .article-subtitle { font-size: 1.1rem; color: #4b5563; line-height: 1.5; }

        /* Top Ad Banner */
        .top-ad { border: 1px solid #bfdbfe; border-radius: 12px; overflow: hidden; margin-bottom: 40px; text-align: center; }
        .top-ad-content { padding: 40px 20px; background: #fff; }
        .top-ad h3 { color: #2563eb; font-size: 2rem; font-weight: 700; margin-bottom: 10px; }
        .top-ad p { color: #60a5fa; font-size: 1.1rem; margin-bottom: 25px; }
        .top-ad a { display: block; background: #3b82f6; color: white; padding: 15px; text-decoration: none; font-weight: 600; font-size: 1.1rem; }
        .top-ad a:hover { background: #2563eb; }

        /* Hero Image */
        .hero-img { width: 100%; border-radius: 12px; margin-bottom: 40px; object-fit: cover; }

        /* Article Content */
        .article-content { font-size: 1.05rem; color: #374151; line-height: 1.8; margin-bottom: 40px; }
        .article-content p { margin-bottom: 20px; }
        .article-content h2 { font-size: 1.5rem; color: #111; margin-top: 40px; margin-bottom: 20px; font-weight: 700; }

        /* Ad Block Style */
        .sponsor-block { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; margin: 40px 0; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
        @media(min-width: 600px) { .sponsor-block { flex-direction: row; align-items: center; justify-content: space-between; } }
        
        .sponsor-block-left { display: flex; flex: 1; gap: 30px; flex-direction: column; }
        @media(min-width: 600px) { .sponsor-block-left { flex-direction: row; align-items: center; } }

        .indeed-logo { font-size: 4rem; font-weight: 900; color: #003399; letter-spacing: -2px; line-height: 1; }
        
        .sponsor-meta { font-size: 0.8rem; font-weight: 600; color: #9ca3af; text-transform: uppercase; margin-bottom: 8px; display: block; }
        .sponsor-meta strong { color: #4b5563; margin-right: 5px; }
        
        .sponsor-desc { font-size: 0.95rem; color: #4b5563; max-width: 350px; line-height: 1.5; }
        .sponsor-title { font-size: 1.1rem; font-weight: 700; color: #111; margin-bottom: 5px; }

        .btn-green { background-color: var(--primary-color); color: white; padding: 12px 30px; text-decoration: none; border-radius: 6px; font-weight: 600; display: inline-block; transition: background 0.2s; white-space: nowrap; }
        .btn-green:hover { background-color: #157333; }

        /* Toptal Image */
        .toptal-img { width: 160px; height: 110px; border-radius: 8px; object-fit: cover; }

        /* Related Posts */
        .related-section { margin-top: 80px; }
        .related-section h2 { font-size: 1.8rem; font-weight: 800; color: #111; text-align: center; margin-bottom: 40px; }
        
        .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
        .related-card { text-decoration: none; display: block; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background: #fff; transition: transform 0.2s; }
        .related-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
        .related-card img { width: 100%; height: 160px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
        
        /* Placeholder for missing image */
        .img-placeholder { width: 100%; height: 160px; background: #f8fafc; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border-color); }
        
        .related-content { padding: 20px; }
        .related-content h3 { font-size: 1rem; color: #2563eb; margin-bottom: 15px; line-height: 1.4; font-weight: 700; }
        .related-content p { font-size: 0.85rem; color: #9ca3af; }

        /* Footer */
        footer { margin-top: 80px; padding: 30px 5%; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #9ca3af; }
        .footer-links { display: flex; gap: 20px; }
        .footer-links a { color: #2563eb; text-decoration: none; font-weight: 500; }
    

.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.article-card:hover { transform: translateY(-5px); }
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-card h3 { padding: 15px; margin: 0; font-size: 1.1rem; color: var(--primary-blue); }

.categories .category-section { margin-top: 50px; text-align: left; }
.categories .category-section h2 { color: var(--primary-blue); font-size: 2rem; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-top: 20px; }

/* ====== CUSTOM PREMIUM ARTICLE DESIGN ====== */
.article-wrap {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: left;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #0f172a;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.article-subtitle {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta .badge {
    background: #e2fbf7;
    color: #0a7a6b;
    padding: 3px 12px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-img {
  width: 100%;
  border-radius: 16px;
  margin: 20px 0 30px;
  object-fit: cover;
  max-height: 650px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.article-content {
    font-size: 1.125rem;
    color: #334155;
    line-height: 1.9;
    text-align: left;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 45px 0 20px;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin: 35px 0 15px;
}

.article-content ul, .article-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content strong {
    color: #0f172a;
}

/* ====== INDEED AD BOX ====== */
.indeed-box {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    padding: 28px;
    margin: 50px 0;
    display: flex;
    gap: 28px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    flex-wrap: wrap;
}

.indeed-logo-box {
    border: 1px solid #cbd5e1;
    width: 200px;
    height: 110px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    flex-shrink: 0;
}

.indeed-logo-txt {
    font-size: 4rem;
    font-weight: 900;
    color: #003399;
    letter-spacing: -3px;
    line-height: 1;
}

.indeed-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.indeed-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
}

.indeed-name {
    font-size: 1.1rem;
    color: #003399;
    font-weight: 700;
}

.indeed-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.indeed-btn {
    align-self: flex-start;
    background: #16a34a;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.indeed-btn:hover {
    background: #15803d;
}

/* ====== INLINE READ MORE BLOCK ====== */
.inline-read-more {
    background: #f0fdfa;
    border-left: 4px solid #0e9f8f;
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
    margin: 45px 0;
}

.inline-rm-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0a7a6b;
    margin-bottom: 6px;
}

.inline-rm-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.inline-rm-desc {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.55;
}

.inline-rm-btn {
    background: #0e9f8f;
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    transition: background 0.2s;
}

.inline-rm-btn:hover {
    background: #0a7a6b;
}

/* ====== RECOMMENDED POSTS ====== */
.recommended-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    width: 100%;
}

.recommended-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: -0.4px;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-content: center;
}

.rec-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.rec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.rec-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.rec-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.rec-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.rec-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin: 0;
}

@media (max-width: 700px) {
    .article-title {
        font-size: 2rem;
    }
    .indeed-box {
        flex-direction: column;
        align-items: stretch;
    }
    .indeed-logo-box {
        width: 100%;
        height: 120px;
    }
    .recommended-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   My Digital Word Premium Blog Homepage Styles
   ========================================================================== */
.featured-section {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Featured Card (large/horizontal) */
.featured-large-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.featured-large-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.featured-large-card .card-img {
    width: 44%;
    min-height: 260px;
    object-fit: cover;
}

.featured-large-card .card-content {
    width: 56%;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-pill {
    align-self: flex-start;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
    text-transform: capitalize;
}

/* Badge custom styling by category slug */
.badge-pill.badge-jobs { background: #fdf2f8; color: #db2777; }
.badge-pill.badge-tech { background: #eff6ff; color: #2563eb; }
.badge-pill.badge-lifestyle { background: #ecfdf5; color: #059669; }
.badge-pill.badge-culture { background: #faf5ff; color: #7c3aed; }
.badge-pill.badge-news { background: #fff7ed; color: #ea580c; }
.badge-pill.badge-general { background: #f3f4f6; color: #4b5563; }

.featured-large-card h2 {
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 12px 0;
    line-height: 1.35;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.featured-large-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Stacked Small Horizontal Card */
.featured-small-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    padding: 16px;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    align-items: center;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.featured-small-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.featured-small-card .card-img {
    width: 140px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
}

.featured-small-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-small-card h3 {
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    line-height: 1.4;
    color: var(--text-dark);
    letter-spacing: -0.2px;
}

/* Center Separator Headings */
.section-separator {
    text-align: center;
    margin: 70px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-separator h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.section-separator p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.section-subheading {
    text-align: center;
    margin: 50px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subheading h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 6px 0;
    letter-spacing: -0.4px;
}

.section-subheading p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Category Filter Pills */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.category-filters .filter-pill {
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-filters .filter-pill:hover {
    border-color: #9ca3af;
    color: var(--text-dark);
}

.category-filters .filter-pill.active {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--white);
}

/* Dynamic Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    transition: opacity 0.25s ease-in-out;
}

.article-grid-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

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

.article-grid-card .img-container {
    width: 100%;
    aspect-ratio: 1.0;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 16px;
    margin-bottom: 12px;
}

.article-grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-grid-card:hover img {
    transform: scale(1.03);
}

.article-grid-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.35;
    letter-spacing: -0.3px;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* Centered Outline Button */
.browse-btn-container {
    display: flex;
    justify-content: center;
    margin: 50px 0 80px;
}

.browse-all-btn {
    border: none;
    background: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.browse-all-btn::before, .browse-all-btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8px;
    border: 1px solid var(--text-dark);
    transition: border-color 0.2s;
}

.browse-all-btn::before {
    left: 0;
    border-right: none;
}

.browse-all-btn::after {
    right: 0;
    border-left: none;
}

.browse-all-btn:hover {
    color: var(--text-muted);
}

.browse-all-btn:hover::before, .browse-all-btn:hover::after {
    border-color: var(--text-muted);
}

@media (max-width: 768px) {
    .featured-section {
        padding: 0 15px;
    }
    .featured-large-card {
        flex-direction: column;
    }
    .featured-large-card .card-img, .featured-large-card .card-content {
        width: 100%;
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

