/* ============================================================
   AGFUND Guest Portal — style-guest.css
   Scope: all elements inside .guest-portal
   Does NOT interfere with internal app styles
   ============================================================ */


/* ── 1. Tokens ───────────────────────────────────────────── */
.guest-portal {
    --g-primary: #1a4a7a;
    --g-primary-light: #2563a8;
    --g-accent: #e8a020;
    --g-accent-light: #f5c04a;
    --g-bg: #f4f6f9;
    --g-surface: #ffffff;
    --g-border: #e2e8f0;
    --g-text: #1e293b;
    --g-text-muted: #64748b;
    --g-nav-h: 64px;
    --g-radius: 12px;
    --g-shadow: 0 2px 16px rgba(26,74,122,.08);
    --g-shadow-md: 0 4px 32px rgba(26,74,122,.13);
    --g-font: 'Bookman Old Style', 'dubai', sans-serif;
}


    /* ── 2. Reset ────────────────────────────────────────────── */
    .guest-portal *,
    .guest-portal *::before,
    .guest-portal *::after {
        box-sizing: border-box;
    }


/* ── 3. Base layout ──────────────────────────────────────── */
.guest-portal {
    font-family: var(--g-font);
    color: var(--g-text);
    background: var(--g-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.g-main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}


/* ── 4. Navbar shell ─────────────────────────────────────── */
.g-navbar {
    height: var(--g-nav-h);
    background: var(--g-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

/* left — brand + nav links */
.g-navbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* right — user chip + logout */
.g-navbar-right {
    display: flex;
    align-items: center;
    gap: .75rem;
}


/* ── 5. Brand / logo ─────────────────────────────────────── */
.g-navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    flex-shrink: 0;
}

    .g-navbar-brand img {
        height: 52px;
        width: auto;
        background: #79a9db;
        border-radius: 7px;
        padding: 4px 8px;
    }

/* Pill variant — original colours, no filter */
.g-brand-pill {
    background: #ffffff;
    border-radius: 7px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
}

.g-brand-img {
    height: 36px;
    width: auto;
    display: block;
}

.g-navbar-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,.25);
}

.g-portal-label {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--g-accent-light);
}

/* Mobile logo toggles */
.g-mobile-logo {
    display: none;
}

.g-top-logo {
    display: flex;
}


/* ── 6. Nav links ────────────────────────────────────────── */
.g-nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .g-nav-links a {
        display: flex;
        align-items: center;
        gap: .45rem;
        padding: .45rem .9rem;
        border-radius: 8px;
        font-size: .88rem;
        color: rgba(255,255,255,.82);
        text-decoration: none;
        transition: background .18s, color .18s;
    }

        .g-nav-links a:hover,
        .g-nav-links a.active {
            background: rgba(255,255,255,.12);
            color: #fff;
        }

        .g-nav-links a.active {
            border-bottom: 2px solid var(--g-accent);
            border-radius: 8px 8px 0 0;
        }

    .g-nav-links img {
        width: 18px;
        opacity: .8;
        filter: brightness(0) invert(1);
    }

    /* Role accent left borders */
    .g-nav-links .g-nav-sch {
        border-left: 2px solid #a78bfa;
    }

    .g-nav-links .g-nav-bank {
        border-left: 2px solid #67e8f9;
    }

    .g-nav-links .g-nav-sup {
        border-left: 2px solid #fca5a5;
    }


/* ── 7. User chip / avatar / logout ──────────────────────── */
.g-user-chip {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px;
    padding: .3rem .9rem .3rem .4rem;
    text-decoration: none;
    transition: background .18s;
}

    .g-user-chip:hover {
        background: rgba(255,255,255,.18);
    }

.g-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--g-accent);
    color: var(--g-primary);
    font-weight: 700;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.g-user-email {
    font-size: .8rem;
    color: rgba(255,255,255,.9);
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.g-logout-btn {
    background: none;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 8px;
    padding: .35rem .75rem;
    color: rgba(255,255,255,.8);
    font-size: .8rem;
    font-family: var(--g-font);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: background .18s, color .18s;
}

    .g-logout-btn:hover {
        background: rgba(255,255,255,.12);
        color: #fff;
    }


/* ── 8. Env badge ────────────────────────────────────────── */
.g-env-badge {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--g-accent);
    color: var(--g-primary);
    border-radius: 4px;
    padding: .2rem .5rem;
}


/* ── 9. Support button ───────────────────────────────────── */
.g-support-btn {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .9rem;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: normal;
    color: rgba(255,255,255,.82);
    text-decoration: none;
    border: none;
    background: transparent;
    border-left: 2px solid #fca5a5;
    white-space: nowrap;
    transition: background .18s, color .18s;
}

    .g-support-btn:hover {
        background: rgba(255,255,255,.12);
        color: #fff;
        text-decoration: none;
    }

    .g-support-btn.active {
        background: rgba(255,255,255,.12);
        color: #fff;
        border-bottom: 2px solid var(--g-accent);
        border-radius: 8px 8px 0 0;
    }


/* ── 10. Mobile hamburger ────────────────────────────────── */
.g-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
    color: white;
    font-size: 1.4rem;
}


/* ── 11. Mobile drawer ───────────────────────────────────── */
.g-mobile-drawer {
    display: none;
    flex-direction: column;
    background: var(--g-primary);
    padding: 1rem;
    gap: .25rem;
}

    .g-mobile-drawer.open {
        display: flex;
    }

    .g-mobile-drawer a {
        display: flex;
        align-items: center;
        gap: .6rem;
        padding: .65rem .9rem;
        border-radius: 8px;
        color: rgba(255,255,255,.85);
        text-decoration: none;
        font-size: .9rem;
        transition: background .15s;
    }

        .g-mobile-drawer a:hover {
            background: rgba(255,255,255,.1);
            color: #fff;
        }

    .g-mobile-drawer img {
        width: 18px;
        filter: brightness(0) invert(1);
    }

    .g-mobile-drawer .g-drawer-divider {
        height: 1px;
        background: rgba(255,255,255,.12);
        margin: .5rem 0;
    }


/* ── 12. Page header + breadcrumb ────────────────────────── */
.g-breadcrumb {
    font-size: .78rem;
    color: var(--g-text-muted);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

    .g-breadcrumb a {
        color: var(--g-primary);
        text-decoration: none;
    }

        .g-breadcrumb a:hover {
            text-decoration: underline;
        }

.g-bc-sep {
    color: var(--g-text-muted);
}

.g-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* g-page-title / g-page-subtitle used in base template */
.g-page-title {
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--g-primary);
    margin: 0 0 .25rem;
}

.g-page-subtitle {
    font-size: .88rem;
    color: var(--g-text-muted);
    margin: 0;
}

/* g-page-sub alias used in extras templates */
.g-page-sub {
    font-size: .83rem;
    color: var(--g-text-muted);
    margin-top: .2rem;
}


/* ── 13. Cards ───────────────────────────────────────────── */
.g-card {
    background: var(--g-surface);
    border: 1px solid var(--g-border);
    border-radius: var(--g-radius);
    box-shadow: var(--g-shadow);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.g-card-accented {
    border-top: 3px solid var(--g-accent);
}

/* .g-card-title — inner heading with divider */
.g-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--g-primary);
    margin: 0 0 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--g-border);
}

/* .g-card-header — flex header row (extras pattern) */
.g-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1.25rem;
    border-bottom: 1px solid var(--g-border);
}

.g-card-title-text {
    font-size: .93rem;
    font-weight: 600;
    color: var(--g-primary);
}


/* ── 14. Hero banner ─────────────────────────────────────── */
.g-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, #122840 0%, #1a3a5c 60%, #234e7a 100%);
    border-radius: 14px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
}

    .g-hero::after {
        content: '';
        position: absolute;
        right: -60px;
        top: -60px;
        width: 260px;
        height: 260px;
        background: rgba(255,255,255,.03);
        border-radius: 50%;
        pointer-events: none;
    }

.g-hero-logo {
    background: #F8F8FF;
    border-radius: 12px;
    padding: 10px 16px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.g-hero-img {
    height: 64px;
    width: auto;
    display: block;
}

.g-hero-logo-sub {
    font-size: .52rem;
    color: #6b7a8d;
    text-align: center;
    letter-spacing: .03em;
    max-width: 120px;
    line-height: 1.3;
}

.g-hero-div {
    width: 1px;
    height: 70px;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}

.g-hero-text h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .35rem;
}

.g-hero-text p {
    font-size: .84rem;
    color: rgba(255,255,255,.6);
    line-height: 1.5;
}

.g-hero-date {
    margin-left: auto;
    font-size: .74rem;
    color: rgba(255,255,255,.4);
    flex-shrink: 0;
}


/* ── 15. Stat cards ──────────────────────────────────────── */
.g-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .9rem;
    margin-bottom: 1.5rem;
}

.g-stats-5 {
    grid-template-columns: repeat(5, 1fr) !important;
}

.g-stat {
    background: var(--g-surface);
    border: 1px solid var(--g-border);
    border-radius: var(--g-radius);
    padding: 1rem 1.1rem;
    box-shadow: var(--g-shadow);
    position: relative;
    overflow: hidden;
}

    .g-stat::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
    }

.g-stat-blue::before {
    background: #1d4ed8;
}

.g-stat-green::before {
    background: #1a7f5a;
}

.g-stat-amber::before {
    background: var(--g-accent);
}

.g-stat-teal::before {
    background: #0891b2;
}

.g-stat-purple::before {
    background: #7c3aed;
}

.g-stat-icon {
    font-size: 1.5rem;
    margin-bottom: .4rem;
}

.g-stat-label {
    font-size: .7rem;
    font-weight: 600;
    color: var(--g-text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .3rem;
}

.g-stat-val {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--g-primary);
    line-height: 1;
    margin-bottom: .25rem;
}

.g-stat-sub {
    font-size: .72rem;
    color: var(--g-text-muted);
}


/* ── 16. Org cards ───────────────────────────────────────── */
.g-org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.1rem;
    padding: 1.25rem;
}

.g-org-card {
    border: 1px solid var(--g-border);
    border-radius: var(--g-radius);
    padding: 1.1rem;
    background: var(--g-surface);
    position: relative;
    transition: box-shadow .15s, transform .15s;
}

    .g-org-card:hover {
        box-shadow: 0 4px 18px rgba(26,58,92,.13);
        transform: translateY(-1px);
    }

.g-org-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--g-radius) var(--g-radius) 0 0;
}

.g-org-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: .85rem;
}

.g-org-name {
    font-size: .93rem;
    font-weight: 600;
    color: var(--g-primary);
    margin-bottom: .2rem;
}

.g-org-type {
    font-size: .75rem;
    color: var(--g-text-muted);
}

.g-org-country {
    font-size: .75rem;
    color: var(--g-text-muted);
    margin-top: .2rem;
}

.g-org-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: .5rem;
    margin: .85rem 0;
    border-top: 1px solid var(--g-border);
    border-bottom: 1px solid var(--g-border);
    padding: .75rem 0;
}

.g-org-stats-2col {
    grid-template-columns: 1fr 1fr;
}

.g-org-stat {
    text-align: center;
}

.g-org-stat-val {
    font-size: 1rem;
    font-weight: 400;
    color: var(--g-primary);
}

.g-org-stat-label {
    font-size: .65rem;
    color: var(--g-text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.g-org-pending-note {
    font-size: .76rem;
    color: #b45309;
    padding: .4rem 0;
}

.g-org-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: .5rem;
}

.g-icon-link {
    text-decoration: none;
    color: var(--g-primary);
    display: inline-flex;
    align-items: center;
    transition: opacity .15s;
}

    .g-icon-link:hover {
        text-decoration: none;
        font-size: .85rem;
    }

.g-icon-cancel {
    color: #ccc;
    opacity: .3;
}

/* Add-new dashed card */
.g-org-card-new {
    border: 2px dashed var(--g-border);
    border-radius: var(--g-radius);
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    cursor: pointer;
   /* min-height: 200px;*/
    transition: all .15s;
    color: var(--g-text-muted);
    text-decoration: none;
}

    .g-org-card-new:hover {
        border-color: var(--g-primary);
        color: var(--g-primary);
        background: #fafcff;
        text-decoration: none;
    }

.g-org-new-icon {
    font-size: 2rem;
}

.g-org-new-label {
    font-size: .85rem;
    font-weight: 500;
}

.g-org-new-sub {
    font-size: .76rem;
    text-align: center;
}


/* ── 17. Form fields ─────────────────────────────────────── */
.g-form-group {
    margin-bottom: 1.1rem;
}

.g-label {
    display: block;
    font-size: .82rem;
    font-weight: 500;
    color: var(--g-text-muted);
    margin-bottom: .35rem;
    letter-spacing: .02em;
}

    .g-label .g-required {
        color: #e53e3e;
        margin-left: .2rem;
    }

.g-input {
    width: 100%;
    padding: .55rem .85rem;
    border: 1px solid var(--g-border);
    border-radius: 8px;
    font-size: .9rem;
    font-family: var(--g-font);
    color: var(--g-text);
    background: var(--g-surface);
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}

    .g-input:focus {
        border-color: var(--g-primary-light);
        box-shadow: 0 0 0 3px rgba(37,99,168,.12);
    }

    .g-input:disabled,
    .g-input[readonly] {
        background: #f8fafc;
        color: var(--g-text-muted);
        cursor: not-allowed;
    }

/* Attachment drop zone */
.g-attach-area {
    border: 2px dashed var(--g-border);
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
    font-size: .82rem;
    color: var(--g-text-muted);
    cursor: pointer;
    transition: all .15s;
}

    .g-attach-area:hover {
        border-color: var(--g-primary);
        color: var(--g-primary);
    }

.g-attach-sub {
    font-size: .74rem;
    color: var(--g-text-muted);
    margin-top: .3rem;
}


/* ── 18. Buttons ─────────────────────────────────────────── */
.g-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1.25rem;
    border-radius: 8px;
    font-size: .88rem;
    font-family: var(--g-font);
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all .18s;
}

.g-btn-primary {
    background: var(--g-primary);
    color: #fff;
}

    .g-btn-primary:hover:not(:disabled) {
        background: var(--g-primary-light);
        box-shadow: 0 4px 12px rgba(26,74,122,.25);
    }

.g-btn-outline {
    background: transparent;
    border: 1px solid var(--g-border);
    color: var(--g-text);
}

    .g-btn-outline:hover:not(:disabled) {
        background: var(--g-bg);
    }

.g-btn-gold {
    background: var(--g-accent);
    color: #fff;
    border: none;
}

    .g-btn-gold:hover {
        background: #e8b84b;
    }

.g-btn-danger {
    background: #fff1f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

    .g-btn-danger:hover {
        background: #fef2f2;
    }

.g-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}


/* ── 19. Alerts ──────────────────────────────────────────── */
.g-alert {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .75rem 1rem;
    border-radius: 8px;
    font-size: .87rem;
    margin-bottom: 1rem;
}

.g-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.g-alert-success {
    background: #e8f7f1;
    border: 1px solid #a7f3d0;
    color: #1a7f5a;
}

.g-alert-info {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    color: #2c5282;
}


/* ── 20. Status badges ───────────────────────────────────── */
.g-badge {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    padding: .2rem .6rem;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
}

.g-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.g-badge-approved {
    background: #e8f7f1;
    color: #1a7f5a;
}

.g-badge-pending {
    background: #fef3e2;
    color: #b45309;
}

.g-badge-review {
    background: #eff6ff;
    color: #1d4ed8;
}

.g-badge-rejected {
    background: #fef2f2;
    color: #b91c1c;
}

.g-badge-draft {
    background: #f3f4f6;
    color: #6b7280;
}

.g-badge-submitted {
    background: #eff6ff;
    color: #1d4ed8;
}

.g-badge-accepted {
    background: #e8f7f1;
    color: #1a7f5a;
}

.g-badge-returned {
    background: #fef3e2;
    color: #b45309;
}

.g-badge-open {
    background: #f5f3ff;
    color: #7c3aed;
}

.g-badge-resolved {
    background: #e8f7f1;
    color: #1a7f5a;
}


/* ── 21. Table ───────────────────────────────────────────── */
.g-table-wrap {
    overflow-x: auto;
}

.g-table {
    width: 100%;
    border-collapse: collapse;
}

    .g-table thead tr {
        background: #f7f9fb;
    }

    .g-table th {
        padding: .6rem 1.1rem;
        text-align: left;
        font-size: .73rem;
        font-weight: 600;
        color: var(--g-text-muted);
        text-transform: uppercase;
        letter-spacing: .06em;
        border-bottom: 1px solid var(--g-border);
        white-space: nowrap;
    }

    .g-table td {
        padding: .76rem 1.1rem;
        font-size: .85rem;
        border-bottom: 1px solid #f0f3f6;
    }

    .g-table tr:last-child td {
        border-bottom: none;
    }

    .g-table tr:hover td {
        background: #fafcff;
    }

.g-ref {
    color: var(--g-text-muted) !important;
    font-size: .76rem !important;
}

.g-muted {
    color: var(--g-text-muted) !important;
    font-size: .81rem;
}


/* ── 22. Empty state ─────────────────────────────────────── */
.g-empty {
    padding: 2.5rem;
    text-align: center;
}

.g-empty-icon {
    font-size: 2rem;
    opacity: .3;
    margin-bottom: .6rem;
}

.g-empty-title {
    font-size: .92rem;
    font-weight: 600;
    color: var(--g-primary);
    margin-bottom: .3rem;
}

.g-empty-sub {
    font-size: .81rem;
    color: var(--g-text-muted);
}


/* ── 23. KPI ─────────────────────────────────────────────── */
.g-kpi-sec {
    padding: 1.25rem;
    border-bottom: 1px solid var(--g-border);
}

    .g-kpi-sec:last-of-type {
        border-bottom: none;
    }

.g-kpi-sec-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--g-text-muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 1rem;
    padding-bottom: .45rem;
    border-bottom: 1px dashed var(--g-border);
}

.g-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.g-kpi-item {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.g-kpi-label {
    font-size: .75rem;
    font-weight: 500;
    color: var(--g-text-muted);
}

.g-kpi-hint {
    display: block;
    font-size: .68rem;
    color: var(--g-text-muted);
    font-weight: 400;
    margin-top: .15rem;
    line-height: 1.3;
}


/* ── 24. Utilities ───────────────────────────────────────── */
.hidden-logo {
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
}


/* ── 25. Footer ──────────────────────────────────────────── */
.g-footer {
    text-align: center;
    font-size: .75rem;
    color: var(--g-text-muted);
    padding: 1rem 2rem;
    border-top: 1px solid var(--g-border);
}


/* ── 26. Responsive ──────────────────────────────────────── */

/* Large: 5 stat cols → 3 */
@media (max-width: 1100px) {
    .g-stats-5 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet: hide desktop nav, show hamburger; swap logo variant */
@media (max-width: 768px) {
    .g-mobile-logo {
        display: flex;
    }

    .g-top-logo {
        display: none !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .g-nav-links {
        display: none;
    }

    .g-navbar-right {
        display: none;
    }

    .g-hamburger {
        display: block;
    }

    .g-navbar {
        padding: 0 1rem;
    }

    .g-main {
        padding: 1rem;
    }

    .g-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .g-stats-5 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .g-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .g-org-stats {
        grid-template-columns: 1fr 1fr;
    }

    .g-hero {
        flex-wrap: wrap;
    }

    .g-hero-date {
        display: none;
    }

    .g-hero-logo {
        display: none;
    }

    .g-hero-div {
        display: none;
    }
}

/* Enforce desktop drawer visibility */
@media (min-width: 768px) {
    .g-mobile-drawer {
        display: none !important;
    }

    .g-hamburger {
        display: none;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .g-stats-row {
        grid-template-columns: 1fr;
    }

    .g-stats-5 {
        grid-template-columns: 1fr !important;
    }

    .g-kpi-grid {
        grid-template-columns: 1fr;
    }
}
