@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    /* Enterprise Deep Slate & Trust Blue Palette */
    --primary-slate: #0f172a; /* Slate 900 */
    --secondary-slate: #1e293b; /* Slate 800 */
    --accent-blue: #2563eb; /* Blue 600 */
    --accent-blue-hover: #1d4ed8; /* Blue 700 */
    --light-bg: #f8fafc; /* Slate 50 */
    --border-color: #e2e8f0; /* Slate 200 */
    
    --text-main: #334155; /* Slate 700 */
    --text-heading: #0f172a; /* Slate 900 */
    --text-muted: #64748b; /* Slate 500 */
    --white: #ffffff;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --transition: all 0.2s ease-in-out;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 16px;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-heading);
    font-weight: 700;
}

header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.logo h1 { font-size: 1.5rem; color: var(--accent-blue); letter-spacing: 0.5px; }

nav ul { list-style: none; display: flex; gap: 2.5rem; align-items: center; margin: 0; }
nav a { color: var(--text-main); text-decoration: none; font-weight: 500; transition: var(--transition); font-size: 0.95rem; display: flex; align-items: center; gap: 0.5rem; }
nav a:hover { color: var(--accent-blue); }

/* Dropdown CSS */
nav li { position: relative; }
nav .dropdown-menu {
    position: absolute; top: 100%; left: 0; background: var(--white); min-width: 220px;
    box-shadow: var(--shadow-lg); border-radius: 8px; border: 1px solid var(--border-color);
    display: flex; flex-direction: column; padding: 0.5rem 0; gap: 0;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 100;
}
nav li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
nav .dropdown-menu li { width: 100%; }
nav .dropdown-menu a { padding: 0.75rem 1.5rem; width: 100%; color: var(--text-main); display: block; }
nav .dropdown-menu a:hover { background: var(--light-bg); color: var(--accent-blue); }

.btn {
    padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 500; font-family: 'Poppins', sans-serif;
    text-decoration: none; transition: var(--transition); display: inline-block; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--accent-blue); color: var(--white); }
.btn-primary:hover { background: var(--accent-blue-hover); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--accent-blue); border-color: var(--accent-blue); }
.btn-outline:hover { background: var(--accent-blue); color: var(--white); }
.btn-danger { background: #ef4444; color: var(--white); }
.btn-danger:hover { background: #dc2626; }

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-slate) 0%, var(--secondary-slate) 100%);
    color: var(--white);
    padding: 2rem 5%;
    text-align: center;
    min-height: calc(100vh - 80px); /* Full height minus header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.7); /* Dark overlay */
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; width: 100%; max-width: 900px;
}
.hero h2 { 
    color: var(--white); font-size: 3.5rem; margin-bottom: 1.5rem; letter-spacing: -0.5px; line-height: 1.2;
    animation: fadeUp 0.8s ease-out forwards; opacity: 0;
}
.hero h2 span { color: #60a5fa; display: block; margin-top: 0.5rem; } 
.hero p { 
    color: #cbd5e1; font-size: 1.125rem; max-width: 800px; margin: 0 auto 2.5rem auto; 
    animation: fadeUp 0.8s ease-out 0.2s forwards; opacity: 0;
}
.hero-actions { 
    display: flex; gap: 1rem; justify-content: center; 
    animation: fadeUp 0.8s ease-out 0.4s forwards; opacity: 0;
}

/* Section Wrappers */
.section-wrapper { padding: 5rem 5%; max-width: 1400px; margin: 0 auto; }
.section-title { font-size: 2.25rem; margin-bottom: 3rem; text-align: center; }

/* Course Cards */
.course-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2.5rem; 
}

@media (max-width: 1200px) {
    .course-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .course-grid { grid-template-columns: 1fr; }
}
.course-card {
    background: var(--white); border: 1px solid var(--border-color); border-radius: 12px;
    overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); box-shadow: var(--shadow-sm);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cbd5e1; }
.course-img { width: 100%; height: 240px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
.course-info { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.course-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 0.85rem; }
.course-category { color: var(--accent-blue); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.course-title { font-size: 1.25rem; margin-bottom: 0.75rem; line-height: 1.4; }
.course-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.course-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; border-top: 1px solid var(--border-color); padding-top: 1rem; }
.course-price { font-weight: 700; color: var(--text-heading); font-size: 1.25rem; }

/* Badges */
.badge { padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.badge-upcoming { background: #dbeafe; color: #1e40af; }
.badge-ongoing { background: #dcfce7; color: #166534; }
.badge-featured { background: #fef9c3; color: #854d0e; position: absolute; top: 1rem; right: 1rem; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.service-card {
    background: var(--white); padding: 2rem; border-radius: 12px; border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm); transition: var(--transition); text-align: left;
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent-blue); }
.service-icon { font-size: 2.5rem; color: var(--accent-blue); margin-bottom: 1.5rem; }
.service-title { margin-bottom: 1rem; font-size: 1.25rem; }
.service-desc { color: var(--text-muted); font-size: 0.95rem; }

/* Filter Bar */
.filter-bar {
    display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.filter-btn {
    background: var(--white); border: 1px solid var(--border-color); color: var(--text-main);
    padding: 0.5rem 1.25rem; border-radius: 9999px; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 500;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary-slate); color: var(--white); border-color: var(--primary-slate);
}

/* Forms & Tables (Enterprise Standard) */
.form-control {
    width: 100%; padding: 0.75rem 1rem; background: var(--white); border: 1px solid var(--border-color);
    border-radius: 6px; color: var(--text-heading); font-family: 'Poppins', sans-serif; transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-heading); font-size: 0.95rem; }

table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
th, td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border-color); }
th { background: #f1f5f9; color: var(--text-muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f8fafc; }

/* Admin Dashboard Specifics */
.admin-layout { display: flex; min-height: 100vh; background: #f1f5f9; }
.admin-sidebar {
    width: 280px; background: var(--primary-slate); color: var(--white);
    display: flex; flex-direction: column; position: fixed; height: 100vh;
}
.admin-brand { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 700; }
.admin-nav { padding: 1.5rem 0; display: flex; flex-direction: column; flex-grow: 1; }
.admin-nav a {
    padding: 0.75rem 1.5rem; color: #cbd5e1; text-decoration: none; display: flex; align-items: center; gap: 0.75rem; transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.1); color: var(--white); border-left: 4px solid var(--accent-blue); }
.admin-main { flex-grow: 1; margin-left: 280px; display: flex; flex-direction: column; }
.admin-topbar { background: var(--white); padding: 1rem 2rem; border-bottom: 1px solid var(--border-color); display: flex; justify-content: flex-end; align-items: center; box-shadow: var(--shadow-sm); }
.admin-content { padding: 2rem; }

/* Footer */
footer { background: var(--primary-slate); color: var(--text-muted); padding: 3rem 5%; text-align: center; margin-top: auto; }
footer a { color: #94a3b8; text-decoration: none; transition: var(--transition); }

/* ================================================================
   MOBILE HAMBURGER MENU
   ================================================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1100;
    border: none;
    background: none;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Dark overlay when mobile nav is open */
body.nav-overlay-active::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ================================================================
   RESPONSIVE: TABLET (≤ 1024px)
   ================================================================ */
@media (max-width: 1024px) {
    .section-wrapper { padding: 3rem 4%; }
    .hero h2 { font-size: 2.8rem; }
    .hero p { font-size: 1rem; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
    .course-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

    /* Admin sidebar narrows */
    .admin-sidebar { width: 240px; }
    .admin-main { margin-left: 240px; }
}

/* ================================================================
   RESPONSIVE: MOBILE (≤ 768px)
   ================================================================ */
@media (max-width: 768px) {

    /* ── Header / Nav ── */
    header {
        padding: 0.75rem 4%;
        position: sticky;
        top: 0;
    }
    .logo img { height: 50px !important; }

    .menu-toggle { display: flex; margin-left: auto; }
    .header-actions { display: none; }

    /* Nav wrapper must not take header space on mobile */
    header > nav { position: static; width: 0; overflow: visible; }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh; /* Modern mobile browsers: accounts for address bar */
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 5rem 0 2rem 0;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        z-index: 1050;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        align-items: stretch;
    }
    nav ul.nav-open { right: 0; }

    nav ul li { width: 100%; }
    nav a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    /* Mobile dropdown */
    nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        display: none; /* hidden by default on mobile — toggled by JS */
        background: var(--light-bg);
        min-width: unset;
    }
    nav .dropdown-menu.dropdown-open { display: flex; }
    nav .dropdown-menu a {
        padding: 0.75rem 2.5rem;
        font-size: 0.9rem;
    }

    /* DISABLE hover-based dropdown on mobile — JS handles it via tap */
    nav li:hover .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    /* Only show when JS adds .dropdown-open */
    nav li:hover .dropdown-menu.dropdown-open { display: flex; }

    /* Mobile CTA in menu */
    nav ul::after {
        content: 'ENROLL NOW →';
        display: block;
        text-align: center;
        padding: 1rem 1.5rem;
        margin: 1rem 1.5rem;
        background: var(--accent-blue);
        color: var(--white);
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
    }

    /* ── Hero Section ── */
    .hero {
        min-height: 70vh;
        padding: 3rem 5%;
    }
    .hero h2 { font-size: 2rem; line-height: 1.25; }
    .hero p { font-size: 0.95rem; margin-bottom: 2rem; }
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
        padding: 0.9rem 1.5rem !important;
        font-size: 1rem !important;
    }

    /* ── Sections ── */
    .section-wrapper { padding: 2.5rem 4%; }
    .section-title { font-size: 1.6rem; margin-bottom: 2rem; }

    /* Featured section header */
    .section-wrapper > div:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* ── Course Cards ── */
    .course-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .course-img { height: 180px; }
    .course-info { padding: 1.25rem; }
    .course-title { font-size: 1.1rem; }
    .course-desc { font-size: 0.9rem; margin-bottom: 1rem; }
    .course-footer { flex-direction: row; gap: 0.75rem; }

    /* ── Services Grid ── */
    .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .service-card { padding: 1.5rem; }
    .service-icon { font-size: 2rem; margin-bottom: 1rem; }
    .service-title { font-size: 1.1rem; }

    /* ── Filter Bar ── */
    .filter-bar { gap: 0.5rem; }
    .filter-btn { padding: 0.4rem 0.9rem; font-size: 0.85rem; }

    /* ── Blog Cards (inline-styled grids in blog.php) ── */
    /* Forces single column on the blog listing grid */
    [style*="grid-template-columns: repeat(auto-fill"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* ── Tables ── */
    table { font-size: 0.85rem; }
    th, td { padding: 0.75rem 0.75rem; }
    /* Horizontal scroll wrapper for wide tables */
    [style*="overflow-x: auto"] { -webkit-overflow-scrolling: touch; }

    /* ── Buttons ── */
    .btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

    /* ── Forms ── */
    .form-control { font-size: 16px; } /* Prevents iOS zoom on input focus */

    /* ── Footer ── */
    footer { padding: 2rem 4%; }
    footer [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    footer [style*="display: flex"][style*="gap: 0.5rem"] {
        align-items: center !important;
    }

    /* ── CTA / Assessment Section ── */
    #assessment [style*="padding: 4rem 3rem"] {
        padding: 2rem 1.5rem !important;
    }
    #assessment h3 { font-size: 1.5rem !important; }
    #assessment ul { flex-direction: column !important; align-items: center; gap: 0.75rem !important; }

    /* ── Admin Panel Mobile ── */
    .admin-sidebar {
        position: fixed;
        left: -280px;
        width: 280px;
        z-index: 1100;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .admin-sidebar.sidebar-open { left: 0; }
    .admin-main { margin-left: 0; }
    .admin-topbar { padding: 0.75rem 1rem; }
    .admin-content { padding: 1rem; }
    .sidebar-toggle { display: flex !important; }

    /* Admin tables scroll horizontally */
    .admin-content table { display: block; overflow-x: auto; white-space: nowrap; }

    /* Admin form grids: single column */
    .admin-content [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .admin-content [style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }

    /* Admin stat cards */
    .admin-content [style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* ================================================================
       PAGE-SPECIFIC MOBILE FIXES
       ================================================================ */

    /* ── All Page Banners ── */
    [style*="padding: 5rem 5%"],
    [style*="padding: 4rem 5%"] {
        padding: 2.5rem 5% !important;
    }
    [style*="padding: 5rem 5%"] h1,
    [style*="padding: 4rem 5%"] h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    [style*="padding: 5rem 5%"] p,
    [style*="padding: 4rem 5%"] p {
        font-size: 0.95rem !important;
    }

    /* ── Contact Page: 2-col → 1-col ── */
    [style*="grid-template-columns: 1fr 1fr"][style*="gap: 4rem"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* ── About Page: Why Choose Us 2-col → 1-col ── */
    [style*="grid-template-columns: 1fr 1fr"][style*="gap: 3rem"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* ── Course Details Page ── */
    /* Hero banner: flex → column */
    [style*="gap: 3rem"][style*="flex-wrap: wrap"] {
        flex-direction: column !important;
    }
    [style*="padding: 6rem 5%"] {
        padding: 3rem 5% !important;
    }
    [style*="padding: 6rem 5%"] h1 {
        font-size: 1.8rem !important;
    }
    [style*="padding: 6rem 5%"] h2 {
        font-size: 1.5rem !important;
    }
    /* Course details: 2fr 1fr grid → single column */
    [style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* ── MSSP & Assessment: Service cards flex → column ── */
    [style*="display: flex"][style*="gap: 2.5rem"][style*="align-items: flex-start"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding: 1.5rem !important;
    }
    /* Reduce service card heading size */
    [style*="gap: 2.5rem"] h3 {
        font-size: 1.3rem !important;
    }

    /* ── Assessment: CERT-In section flex → column ── */
    [style*="display: flex"][style*="gap: 4rem"][style*="flex-wrap: wrap"] {
        flex-direction: column !important;
        gap: 2rem !important;
        padding: 2rem !important;
    }
    /* Assessment grid cards */
    [style*="grid-template-columns: repeat(auto-fit, minmax(300px"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* ── Blog Post Page ── */
    /* Hero image/title section */
    [style*="height: 400px"][style*="position: relative"] {
        height: 280px !important;
    }
    [style*="height: 400px"] h1,
    [style*="height: 280px"] h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    [style*="height: 400px"] [style*="inline-flex"][style*="gap: 1.5rem"],
    [style*="height: 280px"] [style*="inline-flex"][style*="gap: 1.5rem"] {
        flex-direction: column !important;
        gap: 0.5rem !important;
        font-size: 0.85rem !important;
    }
    /* Blog content: responsive images and tables */
    .blog-content { font-size: 1rem; }
    .blog-content h2 { font-size: 1.5rem; }
    .blog-content h3 { font-size: 1.25rem; }
    .blog-content h4 { font-size: 1.1rem; }
    .blog-content img { max-width: 100% !important; height: auto !important; }
    .blog-content table { display: block; overflow-x: auto; white-space: nowrap; font-size: 0.85rem; }
    .blog-content pre { overflow-x: auto; font-size: 0.8rem; padding: 1rem !important; }
    .blog-content [style*="display:grid"],
    .blog-content [style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }

    /* ── CTA / Bottom sections ── */
    [style*="padding: 4rem"][style*="border-radius: 16px"] {
        padding: 2rem 1.5rem !important;
    }
    [style*="font-size: 2.25rem"] {
        font-size: 1.6rem !important;
    }
    [style*="font-size: 2rem"][style*="margin-bottom: 1.5rem"] {
        font-size: 1.5rem !important;
    }
}

/* ================================================================
   RESPONSIVE: SMALL MOBILE (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {
    header { padding: 0.5rem 3%; }
    .logo img { height: 40px !important; }

    .hero h2 { font-size: 1.6rem; }
    .hero p { font-size: 0.85rem; }
    .hero { min-height: 60vh; padding: 2rem 4%; }

    .section-title { font-size: 1.35rem; }
    .section-wrapper { padding: 2rem 3%; }

    .course-img { height: 150px; }
    .course-info { padding: 1rem; }
    .course-price { font-size: 1.1rem; }

    footer { padding: 1.5rem 3%; }

    /* Admin stat cards: full width */
    .admin-content [style*="grid-template-columns: repeat(4"],
    .admin-content [style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
    }
}
