  :root {
        --mesh-1: #4c8bf5; 
        --mesh-2: #2ec4b6; 
        --mesh-3: #4fd1c5; 
        --mesh-4: #60a5fa; 
        --btn-grad: linear-gradient(135deg, #818cf8, #c084fc);
        --btn-mesh: linear-gradient(-45deg, var(--mesh-1), var(--mesh-2), var(--mesh-3), var(--mesh-4));
    }

   /* --- High-Compatibility Geometric Background --- */
 /*    body {
        position: relative;
        background-color: #fcfdfe; 
        margin: 0;
        padding: 0;
        min-height: 100vh;
    }

   body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1; 
        
    
        background-image: 
            linear-gradient(45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%, transparent 75%, rgba(26, 35, 126, 0.03) 75%, rgba(26, 35, 126, 0.03)),
            linear-gradient(45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%, transparent 75%, rgba(26, 35, 126, 0.03) 75%, rgba(26, 35, 126, 0.03));
        
       
        background-size: 80px 80px, 80px 80px;
        background-position: 0 0, 40px 40px;
    }

 
    .news-archive, 
    main, 
    #header-placeholder {
        background-color: transparent !important;
        position: relative;
        z-index: 1; 
    }

  
    .news-card {
        background: #ffffff;
        z-index: 2;
    } */
    
 
 /* News Archive Specific Styles */
        .news-archive {
            padding: 0, 20px, 80px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .archive-header {
            margin-top: 20px;
            margin-bottom: 40px;
            text-align: center;
        }

        .archive-title {
            font-size: 2.5rem;
            color: #1a237e;
            margin-bottom: 16px;
        }

        .filter-section {
            display: flex;
            gap: 20px;
            margin-bottom: 40px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .filter-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .filter-select {
            padding: 8px 16px;
            border: 1px solid #ddd;
            border-radius: 25px;
            background: white;
            min-width: 150px;
        }

        .search-box {
            position: relative;
            flex-grow: 1;
            max-width: 400px;
        }

        .search-input {
            width: 100%;
            padding: 8px 40px 8px 16px;
            border: 1px solid #ddd;
            border-radius: 25px;
        }

        .search-icon {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
        }

        .pagination {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 40px;
            margin-bottom: 20px;
        }

        .page-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 8px 16px;
            background: #ffffff;
            color: #1a237e;
            border: 2px solid #1a237e;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .page-link:hover,
        .page-link.active {
            background: #1a237e;
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(26, 35, 126, 0.2);
        }

        .page-link:hover {
            background: #1a237e;
            color: #ffffff;
        }

        .page-link.active {
            background: #1a237e;
            color: #ffffff;
            pointer-events: none;
        }

        .page-link.dots {
            border: none;
            background: none;
            pointer-events: none;
            padding: 8px;
        }

        .page-link.dots:hover {
            background: none;
            transform: none;
            box-shadow: none;
        }

        /* Container for the whole article */
        .article-container {
            background: #fff;
            height:auto;
            overflow: hidden;
        }

        /* Container for the Text content alone */
        .article-content-box {
            padding: 40px;
            max-width: 900px;
            margin: 0 auto;
        }

        /* Title Styling */
        .article-header .archive-title {
            font-size: 2.2rem;
            color: #1a237e;
            text-align: left;
            margin-bottom: 10px;
            text-transform: uppercase;
        }

        /* Meta Data (Date/Author) */
        .news-meta {
            display: flex;
            gap: 20px;
            color: #787272;
            font-size: 0.9rem;
            margin-bottom: 20px;
        }

        /* Divider Line */
        .article-divider {
            border: 0;
            border-top: 1px solid #968f8fd1;
        }

        /* Body Text Paragraphs */
        .article-body p {
            font-size: 1.1rem;
            line-height: 1.5;
            color: #444;
            margin-bottom: 10px;
            text-align: justify;
        }

        /* Image specifically for the detail page */
        .article-image-box {
            width: 100%;
            height: 450px;
        }

        .article-image-box img {
            width: 100%;
            height: 40%;
            object-fit: cover;
        }

        .news-card {
            transition: opacity 0.4s ease-in-out;
        }

        /* Add smooth transitions */
        .news-card,
        .news-image,
        .filter-select,
        .search-input {
            transition: all 0.3s ease;
        }

        .news {
            padding: 80px 0;
            background-color: #f8f9fa;
        }

        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-badge {
            display: inline-block;
            padding: 6px 16px;
            background-color: #e3f2fd;
            color: #1a237e;
            border-radius: 20px;
            font-size: 0.9rem;
            margin-bottom: 16px;
        }

        .section-title {
            font-size: 2.5rem;
            color: #1a237e;
            margin-bottom: 16px;
        }

        .section-subtitle {
            color: #666;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Ensure the grid doesn't collapse or hide items incorrectly */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
    min-height: 400px; /* Prevents layout jump when filtering */
    align-items: stretch;
}

/* Fix the image wrapper so it doesn't overflow */
.news-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure cards are visible when filtered */
.news-card {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
}

        .news-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .news-card:hover {
            transform: translateY(-5px);
        }

        .news-image-wrapper {
            position: relative;
            padding-top: 66.67%;
            overflow: hidden;
        }

        .news-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 350px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .news-card:hover .news-image {
            transform: scale(1.05);
        }

        .news-category {
            position: absolute;
            top: 16px;
            right: 16px;
            background: linear-gradient(-45deg, var(--mesh-1), var(--mesh-2), var(--mesh-3), var(--mesh-4));
            background-size: 300% 300%;
            animation: meshFlow 15s ease infinite;
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 900;
        }

        .news-content {
            padding: 24px;
        }

        .news-meta {
            display: flex;
            gap: 16px;
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 12px;
        }

        .news-meta i {
            margin-right: 6px;
        }

        .news-title {
            font-size: 1.25rem;
            color: #1a237e;
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .news-description {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 20px;
            text-align: justify;
        }

        .read-more-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #1a237e;
            text-decoration: none;
            font-weight: 500;
            transition: gap 0.3s ease;
        }

        .read-more-link:hover {
            gap: 12px;
        }

        .news-footer {
            text-align: center;
            margin-top: 40px;
        }

        .view-all-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: linear-gradient(-45deg, var(--mesh-1), var(--mesh-2), var(--mesh-3), var(--mesh-4));
            background-size: 300% 300%;
            animation: meshFlow 15s ease infinite;
            color: white;
            text-decoration: none;
            border-radius: 25px;
            transition: all 0.3s ease;
        }

        .view-all-button i {
            color:#fff;
        }

        .view-all-button:hover {
            background: #0d1757;
            gap: 12px;
        }

        .article-image-container {
            width: 100%;
            max-height: 500px;
            display: flex;
            overflow: hidden;
            margin-bottom: 40px;
        }

        .article-image {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .article-header {
            text-align: left;
            border-bottom: 1px solid #eee;
            padding-bottom: 20px;
        }

        .article-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--dark);
        }

        .article-body {
            margin-top: 20px;
        }

        .article-body p {
            font-size: 0r1.2m;
        }

        .article-meta {
            font-size: 1.1rem;
        }

        .info-title {
            color: var(--primary);
            font-weight: 700;
            margin: 25px 0 10px 0;
        }

        .article-list {
            margin-bottom: 25px;
            padding-left: 20px;
        }

        .article-list li {
            margin-bottom: 10px;
            list-style-type: disc;
        }

        .article-footer {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid #eee;
        }

        /* Centering Logic */
        .centered {
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }

        .article-header.centered {
            border-bottom: none; /* Optional: remove line if you want it cleaner like Screenshot 165 */
            margin-bottom: 40px;
        }

        /* Container for the cards */
        .info-cards-row {
            display: flex;
            gap: 30px;
            margin: 50px auto;
            max-width: 1000px;
            justify-content: center;
            padding: 0 20px;
        }

        /* Premium Card Styling */
        .info-card {
            flex: 1;
            background: #ffffff;
            padding: 20px 20px;
            border-radius: 20px;
            /* Sophisticated Layered Shadow */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 8px rgba(0, 0, 0, 0.02);
            border: 1px solid rgba(0, 0, 0, 0.03);
            text-align: center;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            overflow: hidden;
        }

        /* Premium Hover Effect: Lift and Glow */
        .info-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(26, 35, 126, 0.1); /* Subtle SEMCO Blue Glow */
            border-color: rgba(26, 35, 126, 0.1);
        }

        /* Accent top border to match SEMCO branding */
        .info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #1a237e, #4a148c);
            opacity: 0.8;
        }

        /* Icon Styling */
        .info-card .info-title {
            margin-bottom: 25px;
            font-size: 1.5rem;
            color: #1a237e;
            font-weight: 800;
            display: flex;
            flex-direction: column; 
            align-items: center;
            gap: 10px;
        }

        .info-card .info-title i {
            font-size: 2rem;
            background: rgba(26, 35, 126, 0.05);
            padding: 20px;
            border-radius: 50%;
            color: #1a237e;
            transition: transform 0.3s ease;
        }

        .info-card:hover .info-title i {
            transform: scale(1.1) rotate(5deg);
            background: rgba(26, 35, 126, 0.1);
        }

        /* Premium List Styling */
        .article-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: inline-block;
            text-align: left; 
        }

        .article-list li {
            padding: 8px 0;
            font-size: 1.05rem;
            color: #555;
            border-bottom: 1px solid #f8f9fa;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .article-list li:last-child {
            border-bottom: none;
        }

        /* Custom bullet: Checkmark icon */
        .article-list li::before {
            content: '\f058'; /* FontAwesome Check Circle */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: #1a237e;
            font-size: 0.9rem;
        }

        /* Add or update these responsive styles */
        @media (max-width: 1200px) {
            .news-archive {
                padding: 60px 15px;
            }
            
            .news-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 20px;
            }
        }

         /* Responsive Adjustments */
        @media (max-width: 768px) {
            .news {
                padding: 60px 0;
            }

            .section-title {
                font-size: 2rem;
            }

            .news-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }

       /* Mobile Adjustments */
        @media (max-width: 768px) {
            .news-archive {
                padding: 0 15px 60px 15px;
            }
            .article-image-box {
                height: auto;
            }
        }

        @media (max-width: 768px) {

            .info-cards-row {
                flex-direction: column;
                gap: 20px;
            }

            .filter-section {
                flex-direction: column;
                align-items: stretch;
            }

            .search-box {
                max-width: 100%;
            }

            .pagination {
                gap: 10px;
            }

            .page-link {
                min-width: 35px;
                height: 35px;
                padding: 6px 12px;
                font-size: 0.9rem;
            }
            .archive-header {
                margin-bottom: 30px;
            }

            .archive-title {
                font-size: 2rem;
            }

            .filter-section {
                flex-direction: column;
                gap: 15px;
            }

            .filter-group {
                width: 100%;
                justify-content: space-between;
            }

            .filter-select {
                flex: 1;
                margin-left: 10px;
            }

            .search-box {
                width: 100%;
                max-width: none;
            }

            .news-card {
                margin-bottom: 20px;
            }

            .news-content {
                padding: 16px;
            }

            .news-title {
                font-size: 1.1rem;
            }

            .news-description {
                font-size: 0.9rem;
            }

            .news-meta {
                flex-wrap: wrap;
                gap: 10px;
                font-size: 0.8rem;
            }
        }


        @media screen and (max-width: 768px) {
        /* Makes the article container fit the screen width */
        .section-container, .article {
            width: 100% !important;
            padding-left: 15px !important;
            padding-right: 15px !important;
            margin: 0 !important;
            box-sizing: border-box;
        }

        /* Reduces the Article Title text size */
        .article-title {
            font-size: 1.2rem !important;
            line-height: 1.1;
            margin-bottom: 10px;
        }

        /* Adjusts the intro sub-heading */
        .intro-text h3 {
            font-size: 1.2rem !important;
        }

        /* Stack the info cards vertically on mobile */
        .info-cards-row {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* Ensure images don't overflow */
        .article-image {
            width: 10%;
            height: auto;
        }
    }

     @media (max-width: 480px) {
            .archive-title {
                font-size: 1.75rem;
            }

            .section-subtitle {
                font-size: 0.9rem;
            }

            .pagination {
                gap: 5px;
            }

            .page-link {
                padding: 6px 12px;
                font-size: 0.9rem;
            }

            .news-image-wrapper {
                padding-top: 60%; 
            }

            .news-category {
                font-size: 0.75rem;
                padding: 4px 8px;
                top: 10px;
                right: 10px;
            }

            .article-image-box {
            width: 100%;
            height: auto;
            margin-top: 200px;
            }

            .article-image-box img {
                width: 100%;
                height: 25%;
                object-fit: cover;
            }

            .article-title {
            margin-top: 60px;
           }


            .article-body p {
                font-size: 0.95rem;
            }

            .article-meta {
                font-size: 0.80rem;
            }

            .view-all-button {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 6px 12px;
            background: linear-gradient(-45deg, var(--mesh-1), var(--mesh-2), var(--mesh-3), var(--mesh-4));
            background-size: 300% 300%;
            animation: meshFlow 15s ease infinite;
            color: white;
            text-decoration: none;
            border-radius: 25px;
            transition: all 0.3s ease;
            font-size: 0.90rem;
            }

            .view-all-button i {
                color:#fff;
                font-size: 0.90rem;
            }

            .view-all-button:hover {
                background: #0d1757;
                gap: 12px;
            }
        }