/*
 * GeoHubNG Theme — assets/css/main.css
 *
 * Dark-mode-first design system for a geospatial professional network.
 * Deep navy palette inspired by satellite imagery at night.
 * Coordinate grid overlay on heroes — the signature GIS reference.
 *
 * Token naming: --ghng-{category}-{variant}
 * BEM class naming: .ghng-{block}__{element}--{modifier}
 */

/* ================================================================
   0. Google Fonts
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ================================================================
   1. Design Tokens
   ================================================================ */

:root {
    /* Brand colours — dark navy foundation */
    --ghng-deep:        #0A1628;
    --ghng-deep-mid:    #0D1B30;
    --ghng-surface:     #111E35;
    --ghng-surface-elev:#162440;
    --ghng-border:      #1E2E48;
    --ghng-border-mid:  #2A3D5C;

    /* Accents */
    --ghng-teal:        #00C2A8;
    --ghng-teal-d:      #00A891;
    --ghng-teal-glow:   rgba(0, 194, 168, 0.15);
    --ghng-gold:        #C9963A;
    --ghng-gold-d:      #B8862E;
    --ghng-gold-glow:   rgba(201, 150, 58, 0.12);

    /* Text */
    --ghng-white:       #FFFFFF;
    --ghng-text:        #E8EDF4;
    --ghng-text-mid:    #A8B8CC;
    --ghng-muted:       #7A8FA6;
    --ghng-muted-d:     #5A7088;

    /* Semantic */
    --ghng-success:     #34D399;
    --ghng-success-bg:  rgba(52, 211, 153, 0.10);
    --ghng-danger:      #F87171;
    --ghng-danger-bg:   rgba(248, 113, 113, 0.10);
    --ghng-warning:     #FBBF24;
    --ghng-warning-bg:  rgba(251, 191, 36, 0.10);

    /* Info / coordinate grid */
    --ghng-grid:        rgba(122, 143, 166, 0.04);
    --ghng-grid-line:   rgba(122, 143, 166, 0.06);

    /* Typography */
    --ghng-font-display: 'Space Grotesk', system-ui, sans-serif;
    --ghng-font-body:    'Inter', system-ui, sans-serif;
    --ghng-font-mono:    'JetBrains Mono', 'Fira Code', monospace;

    --ghng-text-xs:     0.75rem;
    --ghng-text-sm:     0.875rem;
    --ghng-text-base:   1rem;
    --ghng-text-lg:     1.125rem;
    --ghng-text-xl:     1.25rem;
    --ghng-text-2xl:    1.5rem;
    --ghng-text-3xl:    1.875rem;
    --ghng-text-4xl:    2.25rem;

    --ghng-weight-normal:   400;
    --ghng-weight-medium:   500;
    --ghng-weight-semibold: 600;
    --ghng-weight-bold:     700;

    --ghng-leading-tight:   1.25;
    --ghng-leading-snug:    1.375;
    --ghng-leading-normal:  1.5;
    --ghng-leading-relaxed: 1.625;

    /* Spacing */
    --ghng-space-1:  0.25rem;
    --ghng-space-2:  0.5rem;
    --ghng-space-3:  0.75rem;
    --ghng-space-4:  1rem;
    --ghng-space-5:  1.25rem;
    --ghng-space-6:  1.5rem;
    --ghng-space-8:  2rem;
    --ghng-space-10: 2.5rem;
    --ghng-space-12: 3rem;
    --ghng-space-14: 3.5rem;
    --ghng-space-16: 4rem;
    --ghng-space-20: 5rem;

    /* Layout */
    --ghng-container-max: 1280px;
    --ghng-sidebar-width: 280px;
    --ghng-gap:           1.5rem;

    /* Borders */
    --ghng-radius-sm:  4px;
    --ghng-radius:     8px;
    --ghng-radius-lg:  12px;
    --ghng-radius-xl:  16px;
    --ghng-radius-full:9999px;

    /* Shadows — subtle glows for dark mode */
    --ghng-shadow-sm:  0 1px 2px rgba(0,0,0,0.3);
    --ghng-shadow:     0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
    --ghng-shadow-md:  0 4px 6px rgba(0,0,0,0.4), 0 2px 4px rgba(0,0,0,0.3);
    --ghng-shadow-lg:  0 10px 15px rgba(0,0,0,0.5), 0 4px 6px rgba(0,0,0,0.4);
    --ghng-shadow-glow-teal:  0 0 20px rgba(0,194,168,0.08);
    --ghng-shadow-glow-gold:  0 0 20px rgba(201,150,58,0.06);

    /* Transitions */
    --ghng-transition:    150ms ease;
    --ghng-transition-md: 250ms ease;

    /* Header */
    --ghng-header-h: 64px;
}

/* ================================================================
   2. Base Reset & Global
   ================================================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.ghng-body {
    font-family: var(--ghng-font-body);
    font-size: var(--ghng-text-base);
    color: var(--ghng-text);
    background: var(--ghng-deep);
    line-height: var(--ghng-leading-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }

a {
    color: var(--ghng-teal);
    text-decoration: none;
    transition: color var(--ghng-transition);
}
a:hover { color: var(--ghng-teal-d); }

ul, ol { list-style: none; }

::selection {
    background: var(--ghng-teal-glow);
    color: var(--ghng-white);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ghng-deep); }
::-webkit-scrollbar-thumb { background: var(--ghng-border); border-radius: var(--ghng-radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--ghng-border-mid); }

.ghng-sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ================================================================
   3. Layout
   ================================================================ */

.ghng-container {
    width: 100%;
    max-width: var(--ghng-container-max);
    margin-inline: auto;
    padding-inline: var(--ghng-space-6);
}

.ghng-main {
    min-height: calc(100vh - var(--ghng-header-h) - 200px);
    padding-bottom: var(--ghng-space-16);
}

.ghng-members-page,
.ghng-directory-page,
.ghng-jobs-page,
.ghng-resources-page {
    display: grid;
    grid-template-columns: var(--ghng-sidebar-width) 1fr;
    gap: var(--ghng-space-8);
    padding-top: var(--ghng-space-8);
    align-items: start;
}

.ghng-forum-page {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--ghng-space-8);
    padding-top: var(--ghng-space-8);
    align-items: start;
}

.ghng-thread-layout,
.ghng-listing-layout,
.ghng-job-layout,
.ghng-resource-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--ghng-space-8);
    padding-top: var(--ghng-space-8);
    align-items: start;
}

.ghng-profile-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--ghng-space-8);
    margin-top: var(--ghng-space-8);
    align-items: start;
}

@media (max-width: 1024px) {
    .ghng-members-page,
    .ghng-directory-page,
    .ghng-jobs-page,
    .ghng-resources-page,
    .ghng-forum-page,
    .ghng-thread-layout,
    .ghng-listing-layout,
    .ghng-job-layout,
    .ghng-resource-layout,
    .ghng-profile-layout {
        grid-template-columns: 1fr;
    }
    .ghng-filter-sidebar { order: -1; }
    .ghng-forum-sidebar,
    .ghng-thread-sidebar,
    .ghng-listing-sidebar,
    .ghng-job-sidebar,
    .ghng-resource-sidebar,
    .ghng-profile-sidebar { order: 2; }
}

@media (max-width: 640px) {
    .ghng-container { padding-inline: var(--ghng-space-4); }
}

/* ================================================================
   4. Header
   ================================================================ */

.ghng-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--ghng-header-h);
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ghng-border);
    box-shadow: var(--ghng-shadow-md);
}

.ghng-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ghng-space-6);
}

.ghng-header__brand {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-2);
    color: var(--ghng-white);
    font-family: var(--ghng-font-display);
    font-weight: var(--ghng-weight-bold);
    font-size: var(--ghng-text-xl);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.02em;
}
.ghng-header__brand:hover { color: var(--ghng-teal); }

.ghng-header__logo-mark {
    font-size: 1.5rem;
    color: var(--ghng-teal);
    line-height: 1;
}

.ghng-header__brand-name { color: var(--ghng-white); }

.ghng-nav__menu {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-1);
}

.ghng-nav__link {
    display: block;
    padding: var(--ghng-space-2) var(--ghng-space-3);
    color: var(--ghng-muted);
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-medium);
    border-radius: var(--ghng-radius);
    transition: color var(--ghng-transition), background var(--ghng-transition);
}
.ghng-nav__link:hover,
.ghng-nav__link--active {
    color: var(--ghng-white);
    background: rgba(255,255,255,0.05);
}

.ghng-nav__toggle { display: none; }

.ghng-header__account {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-3);
}

.ghng-header__search-btn,
.ghng-header__bell {
    color: var(--ghng-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--ghng-space-1);
    border-radius: var(--ghng-radius);
    transition: color var(--ghng-transition);
}
.ghng-header__search-btn:hover,
.ghng-header__bell:hover { color: var(--ghng-white); }

.ghng-header__avatar {
    display: block;
    border-radius: var(--ghng-radius-full);
    overflow: hidden;
    border: 2px solid var(--ghng-border);
    transition: border-color var(--ghng-transition);
}
.ghng-header__avatar:hover { border-color: var(--ghng-teal); }
.ghng-header__avatar-img { width: 36px; height: 36px; object-fit: cover; }

.ghng-bell-btn { position: relative; }
.ghng-bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--ghng-danger);
    color: var(--ghng-white);
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: var(--ghng-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

.ghng-notifications-dropdown {
    position: absolute;
    top: calc(var(--ghng-header-h) + 4px);
    right: var(--ghng-space-6);
    width: 360px;
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    box-shadow: var(--ghng-shadow-lg);
    z-index: 200;
}
.ghng-notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ghng-space-4);
    border-bottom: 1px solid var(--ghng-border);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-text);
}
.ghng-notifications-mark-all {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-teal);
    background: none;
    border: none;
    cursor: pointer;
}
.ghng-notifications-list { max-height: 400px; overflow-y: auto; }
.ghng-notifications-loading { padding: var(--ghng-space-4); color: var(--ghng-muted); font-size: var(--ghng-text-sm); }

@media (max-width: 768px) {
    .ghng-nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: var(--ghng-space-2);
        position: relative;
        z-index: 1;
    }
    .ghng-nav__toggle-bar {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--ghng-muted);
        border-radius: 2px;
        transition: transform var(--ghng-transition-md), opacity var(--ghng-transition-md);
    }
    /* Hamburger → X, keyed off the aria-expanded state main.js already
       sets — no JS change needed for this part. Offsets (7px) match this
       bar's own height (2px) + the toggle's gap (5px). */
    .ghng-nav__toggle[aria-expanded="true"] .ghng-nav__toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .ghng-nav__toggle[aria-expanded="true"] .ghng-nav__toggle-bar:nth-child(2) {
        opacity: 0;
    }
    .ghng-nav__toggle[aria-expanded="true"] .ghng-nav__toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* PREMIUM DRAWER: display:none/flex can't be animated (it's a discrete
       property), so the open/closed states below are driven by
       transform + opacity instead, with visibility/pointer-events swapped
       in via a transition-delay so the closed drawer is still fully
       non-interactive and out of the tab order — same practical result as
       display:none, but transitionable. Stays position:absolute (not
       fixed): .ghng-header uses backdrop-filter, which — like transform or
       filter — creates a new containing block for fixed-position
       descendants, so a `position:fixed` menu nested in here would anchor
       to the 64px-tall header box instead of the viewport. absolute avoids
       that; .ghng-header has no overflow:hidden, so the panel still
       extends past the header's own height exactly as it does today. */
    .ghng-nav__menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--ghng-header-h);
        left: 0;
        right: 0;
        background: var(--ghng-deep);
        padding: var(--ghng-space-4);
        gap: var(--ghng-space-1);
        border-bottom: 1px solid var(--ghng-border);
        box-shadow: var(--ghng-shadow-lg);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 200ms ease,
                    visibility 0s linear 240ms;
    }
    .ghng-nav__menu.ghng-nav__menu--open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 220ms ease,
                    visibility 0s linear 0s;
    }

    /* Dimmed backdrop behind the drawer, dims the rest of the page while
       it's open. Sits at z-index 90 — deliberately BELOW .ghng-header's
       z-index:100 (see section 4), so the header (and the drawer nested
       inside it) reliably paints above the backdrop without needing its
       own z-index arms race: .ghng-header establishes its own stacking
       context, so everything nested inside it composites as one unit
       against this sibling element. */
    .ghng-nav__backdrop {
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(5, 10, 20, 0.6);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 280ms ease, visibility 0s linear 280ms;
    }
    .ghng-nav__backdrop.ghng-nav__backdrop--visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 280ms ease, visibility 0s linear 0s;
    }

    body.ghng-nav-locked { overflow: hidden; }
}

/* Respect reduced-motion preferences for the drawer/backdrop/hamburger
   animation added above — collapses each transition to effectively
   instant instead of removing the functionality. */
@media (prefers-reduced-motion: reduce) {
    .ghng-nav__toggle-bar,
    .ghng-nav__menu,
    .ghng-nav__backdrop {
        transition-duration: 0.01ms;
    }
}

/* ================================================================
   5. Footer
   ================================================================ */

.ghng-footer {
    background: var(--ghng-deep);
    border-top: 1px solid var(--ghng-border);
    color: var(--ghng-muted);
    padding: var(--ghng-space-12) 0 var(--ghng-space-8);
    margin-top: var(--ghng-space-16);
}

.ghng-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--ghng-space-8);
    align-items: start;
}

.ghng-footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-2);
}
.ghng-footer__logo-mark { font-size: 1.5rem; color: var(--ghng-teal); }
.ghng-footer__brand strong {
    color: var(--ghng-white);
    font-size: var(--ghng-text-lg);
    font-family: var(--ghng-font-display);
}
.ghng-footer__brand p { font-size: var(--ghng-text-sm); color: var(--ghng-muted); }

.ghng-footer__menu {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ghng-space-2) var(--ghng-space-6);
}
.ghng-footer__menu a {
    color: var(--ghng-muted);
    font-size: var(--ghng-text-sm);
    transition: color var(--ghng-transition);
}
.ghng-footer__menu a:hover { color: var(--ghng-white); }

.ghng-footer__copy {
    grid-column: 1 / -1;
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted-d);
    padding-top: var(--ghng-space-6);
    border-top: 1px solid var(--ghng-border);
}

/* ================================================================
   6. Buttons
   ================================================================ */

.ghng-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ghng-space-2);
    padding: var(--ghng-space-3) var(--ghng-space-5);
    font-family: var(--ghng-font-body);
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-semibold);
    line-height: 1;
    border-radius: var(--ghng-radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--ghng-transition), color var(--ghng-transition), border-color var(--ghng-transition), box-shadow var(--ghng-transition);
    white-space: nowrap;
}
.ghng-btn:disabled { opacity: .5; cursor: not-allowed; }

.ghng-btn--primary {
    background: var(--ghng-teal);
    color: var(--ghng-deep);
    border-color: var(--ghng-teal);
}
.ghng-btn--primary:hover:not(:disabled) {
    background: var(--ghng-teal-d);
    border-color: var(--ghng-teal-d);
    color: var(--ghng-deep);
    box-shadow: var(--ghng-shadow-glow-teal);
}

.ghng-btn--ghost {
    background: transparent;
    color: var(--ghng-text);
    border-color: var(--ghng-border);
}
.ghng-btn--ghost:hover:not(:disabled) {
    background: rgba(255,255,255,0.03);
    color: var(--ghng-white);
    border-color: var(--ghng-border-mid);
}

.ghng-btn--accent {
    background: var(--ghng-gold);
    color: var(--ghng-deep);
    border-color: var(--ghng-gold);
}
.ghng-btn--accent:hover:not(:disabled) {
    background: var(--ghng-gold-d);
    border-color: var(--ghng-gold-d);
    color: var(--ghng-deep);
    box-shadow: var(--ghng-shadow-glow-gold);
}

.ghng-btn--sm { padding: var(--ghng-space-2) var(--ghng-space-3); font-size: var(--ghng-text-xs); }
.ghng-btn--full { width: 100%; }
.ghng-btn--icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--ghng-space-1);
    display: inline-flex;
    align-items: center;
    gap: var(--ghng-space-1);
    color: var(--ghng-muted);
    transition: color var(--ghng-transition);
}
.ghng-btn--icon:hover { color: var(--ghng-white); }

.ghng-btn-link {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ghng-teal);
    font-size: var(--ghng-text-sm);
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ghng-btn-link--danger { color: var(--ghng-danger); }

/* ================================================================
   7. Form Elements
   ================================================================ */

.ghng-input,
.ghng-select,
.ghng-textarea {
    width: 100%;
    padding: var(--ghng-space-3) var(--ghng-space-4);
    font-family: var(--ghng-font-body);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-text);
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius);
    outline: none;
    transition: border-color var(--ghng-transition), box-shadow var(--ghng-transition);
}
.ghng-input:focus,
.ghng-select:focus,
.ghng-textarea:focus {
    border-color: var(--ghng-teal);
    box-shadow: 0 0 0 3px var(--ghng-teal-glow);
}
.ghng-input::placeholder,
.ghng-textarea::placeholder { color: var(--ghng-muted-d); }

.ghng-textarea { resize: vertical; min-height: 120px; }

.ghng-label {
    display: block;
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-text-mid);
    margin-bottom: var(--ghng-space-2);
}

.ghng-form-group { margin-bottom: var(--ghng-space-5); }

.ghng-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--ghng-space-2);
    font-size: var(--ghng-text-sm);
    cursor: pointer;
    line-height: 1.4;
    margin-bottom: var(--ghng-space-2);
    color: var(--ghng-text-mid);
}

.ghng-spec-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ghng-space-2);
    max-height: 240px;
    overflow-y: auto;
    padding: var(--ghng-space-2);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius);
    background: var(--ghng-surface);
}

/* ================================================================
   8. Filter Sidebar
   ================================================================ */

.ghng-filter-sidebar {
    position: sticky;
    top: calc(var(--ghng-header-h) + var(--ghng-space-4));
}

/* BUG FIX [filter sidebar stuck on mobile]: the sticky rule above has no
   media-query guard by itself, so on the single-column mobile/tablet layout
   (.ghng-members-page, .ghng-directory-page, .ghng-jobs-page,
   .ghng-resources-page all collapse to grid-template-columns: 1fr at
   max-width:1024px — see section 3) the filter form, which runs taller
   than one phone screen (Search + Type/Profession + State + Service +
   checkboxes + Sort by), stuck near the top of the viewport and never
   fully released. The page appeared to "stack" on the widget and would
   not scroll past it. This override is placed AFTER the base rule
   on purpose: both selectors share identical specificity (.ghng-filter-sidebar),
   so with a tie the later rule in source order wins regardless of the
   media query — placing this first (e.g. inside the earlier
   @media(max-width:1024px) block in section 3) would have been silently
   beaten by the unconditional rule above it. Sticky remains intact for
   the desktop two-column layout; mobile reverts to normal document flow. */
@media (max-width: 1024px) {
    .ghng-filter-sidebar {
        position: static;
        top: auto;
    }
}

.ghng-filter-form {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-6);
    box-shadow: var(--ghng-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-4);
}

.ghng-filter-group { display: flex; flex-direction: column; }
.ghng-filter-group--inline { flex-direction: row; align-items: center; }

.ghng-filter-label {
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-text-mid);
    margin-bottom: var(--ghng-space-2);
}
.ghng-filter-label--check {
    font-weight: var(--ghng-weight-normal);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: var(--ghng-space-2);
    cursor: pointer;
    color: var(--ghng-text-mid);
}

.ghng-filter-sidebar__cta {
    margin-top: var(--ghng-space-4);
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5);
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-3);
}
.ghng-filter-sidebar__cta p { font-size: var(--ghng-text-sm); color: var(--ghng-muted); }

/* ================================================================
   9. Badges & Tags
   ================================================================ */

.ghng-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--ghng-space-1);
    padding: 2px var(--ghng-space-3);
    border-radius: var(--ghng-radius-full);
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-semibold);
    letter-spacing: .02em;
    white-space: nowrap;
}

.ghng-badge--active,
.ghng-badge--verified  { background: var(--ghng-success-bg); color: var(--ghng-success); }
.ghng-badge--available { background: rgba(52,211,153,0.08); color: #34D399; }
.ghng-badge--featured  { background: var(--ghng-gold-glow); color: var(--ghng-gold); }
.ghng-badge--pinned    { background: rgba(139, 92, 246, 0.10); color: #A78BFA; }
.ghng-badge--locked    { background: rgba(255,255,255,0.04); color: var(--ghng-muted); }
.ghng-badge--closed    { background: rgba(255,255,255,0.04); color: var(--ghng-muted-d); }

.ghng-tag {
    display: inline-block;
    padding: var(--ghng-space-1) var(--ghng-space-3);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-full);
    font-size: var(--ghng-text-xs);
    color: var(--ghng-text-mid);
    white-space: nowrap;
}
.ghng-tag--spec    { background: rgba(0,194,168,0.08); border-color: rgba(0,194,168,0.25); color: var(--ghng-teal); }
.ghng-tag--skill   { background: rgba(139,92,246,0.08); border-color: rgba(139,92,246,0.25); color: #A78BFA; }
.ghng-tag--license { background: rgba(52,211,153,0.08); border-color: rgba(52,211,153,0.25); color: #34D399; }
.ghng-tag--format  { background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.25); color: var(--ghng-gold); }
.ghng-tag--service { background: rgba(167,139,250,0.08); border-color: rgba(167,139,250,0.25); color: #C4B5FD; }

/* ================================================================
   10. Page Hero — with coordinate grid overlay
   ================================================================ */

.ghng-page-hero {
    position: relative;
    color: var(--ghng-white);
    padding: 96px 0 80px;
    min-height: 400px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--ghng-border);
    overflow: hidden;
}

.ghng-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--ghng-grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--ghng-grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.ghng-page-hero > * { position: relative; z-index: 1; }

.ghng-page-hero--members    { background: linear-gradient(135deg, var(--ghng-deep) 0%, #0D2035 100%); }
.ghng-page-hero--directory  { background: linear-gradient(135deg, var(--ghng-deep) 0%, #0D1E30 100%); }
.ghng-page-hero--jobs       { background: linear-gradient(135deg, var(--ghng-deep) 0%, #0D2818 100%); }
.ghng-page-hero--resources  { background: linear-gradient(135deg, var(--ghng-deep) 0%, #1A0D28 100%); }
.ghng-page-hero--forum      { background: linear-gradient(135deg, var(--ghng-deep) 0%, #280D15 100%); }

/* ROOT CAUSE FIX: this was previously scoped as
   ".ghng-submit-listing-page .ghng-page-hero", which only ever worked on
   the submit-listing page. Every other page reusing the --compact
   modifier (e.g. resume-builder.js's paywall/builder hero) fell through
   to the base .ghng-page-hero rules above instead — 400px min-height +
   flex centering + no gradient — rendering as a large, mostly-empty box
   showing only the raw coordinate-grid background. Promoted to a real,
   unscoped BEM modifier so --compact works consistently anywhere it's
   used. No visual change for submit-listing (still carries this class),
   fixes it everywhere else.
   */
.ghng-page-hero--compact {
    padding: 60px 0 40px;
    min-height: auto;
    display: block;
}

.ghng-page-hero__title {
    font-family: var(--ghng-font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: var(--ghng-weight-bold);
    line-height: var(--ghng-leading-tight);
    margin-bottom: var(--ghng-space-3);
    letter-spacing: -0.02em;
    max-width: 680px;
}
.ghng-page-hero__sub {
    font-size: var(--ghng-text-lg);
    color: var(--ghng-muted);
    max-width: 600px;
}
.ghng-page-hero__sub strong { color: var(--ghng-teal); }

/* ================================================================
   11. Browse Results
   ================================================================ */

.ghng-browse-results { min-width: 0; }

.ghng-browse-results__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--ghng-space-5);
    margin-bottom: var(--ghng-space-6);
}

.ghng-browse-results__list {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-4);
    margin-bottom: var(--ghng-space-6);
}

/* ================================================================
   12. Member Card
   ================================================================ */

.ghng-member-card {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5);
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-4);
    box-shadow: var(--ghng-shadow-sm);
    transition: box-shadow var(--ghng-transition), border-color var(--ghng-transition), transform var(--ghng-transition);
}
.ghng-member-card:hover {
    box-shadow: var(--ghng-shadow-md);
    border-color: var(--ghng-border-mid);
    transform: translateY(-2px);
}

.ghng-member-card__link img {
    border-radius: var(--ghng-radius-full);
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: 0 auto;
    border: 2px solid var(--ghng-border);
}
.ghng-member-card__name {
    font-size: var(--ghng-text-base);
    font-weight: var(--ghng-weight-semibold);
    text-align: center;
    color: var(--ghng-white);
}
.ghng-member-card__name a { color: var(--ghng-white); }
.ghng-member-card__name a:hover { color: var(--ghng-teal); }
.ghng-member-card__profession {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-teal);
    text-align: center;
    font-weight: var(--ghng-weight-medium);
}
.ghng-member-card__meta {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    text-align: center;
}
.ghng-member-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ghng-space-1);
    justify-content: center;
}
.ghng-member-card__actions {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-2);
    align-items: center;
    margin-top: auto;
}

/* ================================================================
   13. Job Card
   ================================================================ */

.ghng-job-card {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5) var(--ghng-space-6);
    position: relative;
    box-shadow: var(--ghng-shadow-sm);
    transition: box-shadow var(--ghng-transition), border-color var(--ghng-transition);
}
.ghng-job-card:hover {
    box-shadow: var(--ghng-shadow-md);
    border-color: var(--ghng-border-mid);
}
.ghng-job-card--featured { border-left: 3px solid var(--ghng-gold); }

.ghng-job-card__featured-badge { position: absolute; top: var(--ghng-space-4); right: var(--ghng-space-4); }
.ghng-job-card__title {
    font-size: var(--ghng-text-lg);
    font-weight: var(--ghng-weight-semibold);
    margin-bottom: var(--ghng-space-1);
    color: var(--ghng-white);
}
.ghng-job-card__title a { color: var(--ghng-white); }
.ghng-job-card__title a:hover { color: var(--ghng-teal); }
.ghng-job-card__company {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-teal);
    font-weight: var(--ghng-weight-medium);
    margin-bottom: var(--ghng-space-3);
}
.ghng-job-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ghng-space-3);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
}
.ghng-job-card__deadline { font-size: var(--ghng-text-xs); color: var(--ghng-muted); margin-top: var(--ghng-space-3); }

/* ================================================================
   14. Resource Card
   ================================================================ */

.ghng-resource-card {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5);
    display: flex;
    gap: var(--ghng-space-4);
    align-items: flex-start;
    box-shadow: var(--ghng-shadow-sm);
    transition: box-shadow var(--ghng-transition), border-color var(--ghng-transition);
}
.ghng-resource-card:hover {
    box-shadow: var(--ghng-shadow-md);
    border-color: var(--ghng-border-mid);
}

/* ================================================================
   14b. Directory Card — base container only
   ================================================================
   .ghng-directory-card had NO CSS anywhere in this file before this —
   confirmed by search, not assumption. Adding only the base container
   (matching .ghng-resource-card's pattern above) because the save
   button just added to this card needs a sane visual context to sit
   in. This does NOT address the inner elements (badges, meta row,
   services, actions) — those have their own pre-existing styling gap,
   separate from this task, not fixed here. */
.ghng-directory-card {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5);
    box-shadow: var(--ghng-shadow-sm);
    transition: box-shadow var(--ghng-transition), border-color var(--ghng-transition);
}
.ghng-directory-card:hover {
    box-shadow: var(--ghng-shadow-md);
    border-color: var(--ghng-border-mid);
}
.ghng-directory-actions {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-2);
    margin-top: var(--ghng-space-4);
}

.ghng-saved-section {
    margin-bottom: var(--ghng-space-10);
}
.ghng-saved-section:last-child {
    margin-bottom: 0;
}

.ghng-resource-card__type-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--ghng-radius);
    background: rgba(0,194,168,0.08);
    color: var(--ghng-teal);
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .05em;
    border: 1px solid rgba(0,194,168,0.15);
}
.ghng-resource-card__title {
    font-size: var(--ghng-text-base);
    font-weight: var(--ghng-weight-semibold);
    margin-bottom: var(--ghng-space-2);
    color: var(--ghng-white);
}
.ghng-resource-card__title a { color: var(--ghng-white); }
.ghng-resource-card__title a:hover { color: var(--ghng-teal); }
.ghng-resource-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ghng-space-2);
    align-items: center;
    color: var(--ghng-muted);
}
.ghng-resource-card__downloads { font-size: var(--ghng-text-xs); color: var(--ghng-muted-d); }

/* ================================================================
   15. Directory Card
   ================================================================ */

.ghng-dir-card {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    overflow: hidden;
    box-shadow: var(--ghng-shadow-sm);
    transition: box-shadow var(--ghng-transition), border-color var(--ghng-transition), transform var(--ghng-transition);
}
.ghng-dir-card:hover {
    box-shadow: var(--ghng-shadow-md);
    border-color: var(--ghng-border-mid);
    transform: translateY(-2px);
}
.ghng-dir-card--featured { border-top: 3px solid var(--ghng-gold); }

.ghng-dir-card__thumb { width: 100%; height: 140px; object-fit: cover; }
.ghng-dir-card__body { padding: var(--ghng-space-5); }
.ghng-dir-card__header {
    display: flex;
    align-items: flex-start;
    gap: var(--ghng-space-2);
    margin-bottom: var(--ghng-space-2);
}
.ghng-dir-card__name {
    font-size: var(--ghng-text-base);
    font-weight: var(--ghng-weight-semibold);
    flex: 1;
    color: var(--ghng-white);
}
.ghng-dir-card__name a { color: var(--ghng-white); }
.ghng-dir-card__name a:hover { color: var(--ghng-teal); }
.ghng-dir-card__tagline { font-size: var(--ghng-text-sm); color: var(--ghng-muted); margin-bottom: var(--ghng-space-3); }
.ghng-dir-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ghng-space-2);
    align-items: center;
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
}

/* ================================================================
   16. Browse Controls & Pagination
   ================================================================ */

.ghng-browse-controls {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-4);
    align-items: center;
    padding-top: var(--ghng-space-4);
    border-top: 1px solid var(--ghng-border);
}
.ghng-browse-controls__count { font-size: var(--ghng-text-sm); color: var(--ghng-muted); }
.ghng-browse-controls__count strong { color: var(--ghng-text); }

.ghng-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ghng-space-2);
    justify-content: center;
}
.ghng-pagination__btn {
    min-width: 36px;
    height: 36px;
    padding: 0 var(--ghng-space-2);
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-text-mid);
    cursor: pointer;
    transition: all var(--ghng-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ghng-pagination__btn:hover {
    border-color: var(--ghng-teal);
    color: var(--ghng-teal);
    background: var(--ghng-surface-elev);
}
.ghng-pagination__btn--active {
    background: var(--ghng-teal);
    border-color: var(--ghng-teal);
    color: var(--ghng-deep);
    font-weight: var(--ghng-weight-semibold);
}

/* ================================================================
   17. Breadcrumb
   ================================================================ */

.ghng-breadcrumb { margin-bottom: var(--ghng-space-6); }
.ghng-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ghng-space-2);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
}
.ghng-breadcrumb__list li + li::before { content: '>'; color: var(--ghng-border-mid); }
.ghng-breadcrumb__list a { color: var(--ghng-muted); }
.ghng-breadcrumb__list a:hover { color: var(--ghng-teal); }
.ghng-breadcrumb__list [aria-current="page"] { color: var(--ghng-text); font-weight: var(--ghng-weight-medium); }

/* ================================================================
   18. Sidebar Cards
   ================================================================ */

.ghng-thread-sidebar__card,
.ghng-listing-sidebar__card,
.ghng-job-sidebar__card,
.ghng-resource-sidebar__card,
.ghng-profile-sidebar__card,
.ghng-forum-sidebar__card {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5);
    margin-bottom: var(--ghng-space-4);
    box-shadow: var(--ghng-shadow-sm);
}

.ghng-thread-sidebar__heading,
.ghng-listing-sidebar__heading,
.ghng-job-sidebar__heading,
.ghng-resource-sidebar__heading,
.ghng-profile-sidebar__heading,
.ghng-forum-sidebar__heading {
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-semibold);
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ghng-muted);
    margin-bottom: var(--ghng-space-4);
}

/* ================================================================
   19. Forum
   ================================================================ */

.ghng-forum-page__topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: var(--ghng-space-4) 0;
    border-bottom: 1px solid var(--ghng-border);
    margin-bottom: var(--ghng-space-6);
}
.ghng-forum-page__join-prompt { font-size: var(--ghng-text-sm); color: var(--ghng-muted); }

.ghng-forum-list { display: flex; flex-direction: column; gap: var(--ghng-space-3); }

.ghng-forum-category {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5) var(--ghng-space-6);
    display: grid;
    grid-template-columns: 48px 1fr auto auto;
    gap: var(--ghng-space-4);
    align-items: center;
    box-shadow: var(--ghng-shadow-sm);
    transition: box-shadow var(--ghng-transition), border-color var(--ghng-transition);
}
.ghng-forum-category:hover {
    box-shadow: var(--ghng-shadow-md);
    border-color: var(--ghng-border-mid);
}

.ghng-forum-category__icon {
    width: 48px;
    height: 48px;
    background: rgba(0,194,168,0.08);
    border: 1px solid rgba(0,194,168,0.15);
    border-radius: var(--ghng-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ghng-teal);
    font-size: 1.25rem;
    flex-shrink: 0;
}
.ghng-forum-category__name {
    font-size: var(--ghng-text-lg);
    font-weight: var(--ghng-weight-semibold);
    margin-bottom: var(--ghng-space-1);
    color: var(--ghng-white);
}
.ghng-forum-category__name a { color: var(--ghng-white); }
.ghng-forum-category__name a:hover { color: var(--ghng-teal); }
.ghng-forum-category__desc { font-size: var(--ghng-text-sm); color: var(--ghng-muted); margin-bottom: var(--ghng-space-2); }
.ghng-forum-category__last { font-size: var(--ghng-text-xs); color: var(--ghng-muted); }
.ghng-forum-category__time { color: var(--ghng-muted); }

.ghng-forum-category__stats { display: flex; gap: var(--ghng-space-6); }
.ghng-forum-category__stat { text-align: center; }
.ghng-forum-category__stat strong {
    display: block;
    font-size: var(--ghng-text-xl);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
}
.ghng-forum-category__stat span { font-size: var(--ghng-text-xs); color: var(--ghng-muted); }

.ghng-forum-stats-list { display: flex; flex-direction: column; gap: var(--ghng-space-3); }
.ghng-forum-stats-list li { display: flex; justify-content: space-between; font-size: var(--ghng-text-sm); }
.ghng-forum-stats-list li span { color: var(--ghng-muted); }

.ghng-forum-recent-list { display: flex; flex-direction: column; gap: var(--ghng-space-4); }
.ghng-forum-recent-list__item {
    border-bottom: 1px solid var(--ghng-border);
    padding-bottom: var(--ghng-space-3);
}
.ghng-forum-recent-list__item:last-child { border-bottom: none; padding-bottom: 0; }
.ghng-forum-recent-list__title {
    display: block;
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-text);
    margin-bottom: var(--ghng-space-1);
}
.ghng-forum-recent-list__title:hover { color: var(--ghng-teal); }
.ghng-forum-recent-list__meta { font-size: var(--ghng-text-xs); color: var(--ghng-muted); }

.ghng-forum-sidebar__card--cta {
    background: rgba(0,194,168,0.05);
    border-color: rgba(0,194,168,0.15);
}

@media (max-width: 768px) {
    .ghng-forum-category { grid-template-columns: 1fr; }
    .ghng-forum-category__icon { display: none; }
    .ghng-forum-category__stats { justify-content: flex-start; }
    .ghng-forum-category__action { justify-self: flex-start; }
}

/* ================================================================
   20. Thread
   ================================================================ */

.ghng-thread-header {
    margin-bottom: var(--ghng-space-6);
    padding-bottom: var(--ghng-space-6);
    border-bottom: 1px solid var(--ghng-border);
}
.ghng-thread-header__badges { display: flex; gap: var(--ghng-space-2); margin-bottom: var(--ghng-space-3); }
.ghng-thread-header__title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-3xl);
    line-height: var(--ghng-leading-tight);
    color: var(--ghng-white);
    margin-bottom: var(--ghng-space-4);
    letter-spacing: -0.02em;
}
.ghng-thread-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ghng-space-3);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
}
.ghng-thread-header__author {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-2);
    color: var(--ghng-text-mid);
    font-weight: var(--ghng-weight-medium);
}
.ghng-thread-header__avatar { width: 24px; height: 24px; border-radius: var(--ghng-radius-full); object-fit: cover; }
.ghng-thread-header__sep { color: var(--ghng-border-mid); }

.ghng-thread-body { margin-bottom: var(--ghng-space-8); }

.ghng-replies__heading {
    font-size: var(--ghng-text-xl);
    font-weight: var(--ghng-weight-semibold);
    margin-bottom: var(--ghng-space-6);
    padding-bottom: var(--ghng-space-4);
    border-bottom: 1px solid var(--ghng-border);
    color: var(--ghng-white);
}
.ghng-replies__list { display: flex; flex-direction: column; gap: 0; }

.ghng-reply {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: var(--ghng-space-4);
    padding: var(--ghng-space-5) 0;
    border-bottom: 1px solid var(--ghng-border);
}
.ghng-reply:last-child { border-bottom: none; }
.ghng-reply__avatar-img { width: 40px; height: 40px; border-radius: var(--ghng-radius-full); object-fit: cover; }
.ghng-reply__header {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-3);
    margin-bottom: var(--ghng-space-3);
}
.ghng-reply__author {
    font-weight: var(--ghng-weight-semibold);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-white);
}
.ghng-reply__author:hover { color: var(--ghng-teal); }
.ghng-reply__date { font-size: var(--ghng-text-xs); color: var(--ghng-muted); }
.ghng-reply__body { margin-bottom: var(--ghng-space-3); color: var(--ghng-text-mid); }
.ghng-reply__footer { display: flex; align-items: center; gap: var(--ghng-space-4); }
.ghng-reply-like-btn {
    background: none;
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-full);
    padding: var(--ghng-space-1) var(--ghng-space-3);
    cursor: pointer;
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    transition: all var(--ghng-transition);
}
.ghng-reply-like-btn:hover,
.ghng-reply-like-btn--liked {
    background: rgba(251,191,36,0.10);
    border-color: rgba(251,191,36,0.3);
    color: var(--ghng-gold);
}

.ghng-reply-form {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-6);
    margin-top: var(--ghng-space-8);
    box-shadow: var(--ghng-shadow-sm);
}
.ghng-reply-form__heading {
    font-size: var(--ghng-text-lg);
    font-weight: var(--ghng-weight-semibold);
    margin-bottom: var(--ghng-space-4);
    color: var(--ghng-white);
}
.ghng-reply-form__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--ghng-space-3);
}
.ghng-reply-form__char-count { font-size: var(--ghng-text-xs); color: var(--ghng-muted); }

.ghng-reply-form--locked,
.ghng-reply-form--guest,
.ghng-reply-form--unverified {
    background: var(--ghng-surface-elev);
    text-align: center;
    color: var(--ghng-muted);
    font-size: var(--ghng-text-sm);
}
.ghng-reply-pagination { display: flex; gap: var(--ghng-space-2); justify-content: center; margin-top: var(--ghng-space-6); }

.ghng-thread-sidebar__author {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-3);
    margin-bottom: var(--ghng-space-4);
}
.ghng-thread-sidebar__author-avatar { width: 48px; height: 48px; border-radius: var(--ghng-radius-full); object-fit: cover; }
.ghng-thread-sidebar__author-name {
    font-weight: var(--ghng-weight-semibold);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-white);
    display: block;
    margin-bottom: var(--ghng-space-1);
}
.ghng-thread-sidebar__author-role { font-size: var(--ghng-text-xs); color: var(--ghng-muted); margin: 0; }

/* ================================================================
   21. Profile
   ================================================================ */

.ghng-profile-header {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-xl);
    padding: var(--ghng-space-8);
    margin-top: var(--ghng-space-6);
    display: flex;
    gap: var(--ghng-space-8);
    align-items: flex-start;
    box-shadow: var(--ghng-shadow-sm);
}

.ghng-profile-header__avatar-wrap { position: relative; flex-shrink: 0; }
.ghng-profile-header__avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--ghng-radius-full);
    object-fit: cover;
    border: 3px solid var(--ghng-border);
}
.ghng-profile-header__avatar-change {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--ghng-teal);
    color: var(--ghng-deep);
    border: none;
    border-radius: var(--ghng-radius-full);
    padding: var(--ghng-space-1) var(--ghng-space-2);
    font-size: var(--ghng-text-xs);
    cursor: pointer;
    font-weight: var(--ghng-weight-semibold);
}

.ghng-profile-header__name-row {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-3);
    flex-wrap: wrap;
    margin-bottom: var(--ghng-space-2);
}
.ghng-profile-header__name {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-3xl);
    line-height: var(--ghng-leading-tight);
    color: var(--ghng-white);
    letter-spacing: -0.02em;
}
.ghng-profile-header__profession {
    color: var(--ghng-teal);
    font-size: var(--ghng-text-lg);
    font-weight: var(--ghng-weight-medium);
    margin-bottom: var(--ghng-space-3);
}
.ghng-profile-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ghng-space-4);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    margin-bottom: var(--ghng-space-4);
}
.ghng-profile-header__stats {
    display: flex;
    gap: var(--ghng-space-5);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    margin-bottom: var(--ghng-space-5);
    padding-bottom: var(--ghng-space-4);
    border-bottom: 1px solid var(--ghng-border);
}
.ghng-profile-header__actions { display: flex; flex-wrap: wrap; gap: var(--ghng-space-3); }

.ghng-profile-section {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-6);
    margin-bottom: var(--ghng-space-5);
    box-shadow: var(--ghng-shadow-sm);
}
.ghng-profile-section__heading {
    font-size: var(--ghng-text-xs);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-muted);
    margin-bottom: var(--ghng-space-4);
}
.ghng-profile-tags { display: flex; flex-wrap: wrap; gap: var(--ghng-space-2); }

.ghng-profile-sidebar__completion-pct {
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-teal);
    margin-top: var(--ghng-space-2);
}
.ghng-profile-sidebar__missing { font-size: var(--ghng-text-xs); color: var(--ghng-muted); margin-top: var(--ghng-space-1); }
.ghng-profile-sidebar__links { display: flex; flex-direction: column; gap: var(--ghng-space-3); font-size: var(--ghng-text-sm); }

.ghng-activity-feed { display: flex; flex-direction: column; gap: 0; }
.ghng-activity-feed__item {
    display: flex;
    gap: var(--ghng-space-4);
    padding: var(--ghng-space-4) 0;
    border-bottom: 1px solid var(--ghng-border);
    position: relative;
}
.ghng-activity-feed__item:last-child { border-bottom: none; }
.ghng-activity-feed__dot {
    width: 8px;
    height: 8px;
    background: var(--ghng-teal);
    border-radius: var(--ghng-radius-full);
    flex-shrink: 0;
    margin-top: 6px;
    box-shadow: 0 0 8px rgba(0,194,168,0.3);
}
.ghng-activity-feed__text { font-size: var(--ghng-text-sm); color: var(--ghng-text-mid); margin-bottom: var(--ghng-space-1); }
.ghng-activity-feed__time { font-size: var(--ghng-text-xs); color: var(--ghng-muted); }

.ghng-completion-banner {
    background: rgba(0,194,168,0.06);
    border-bottom: 1px solid rgba(0,194,168,0.12);
    padding: var(--ghng-space-4) 0;
}
.ghng-completion-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ghng-space-6);
}
.ghng-completion-banner__bar-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-2);
    flex: 1;
    min-width: 200px;
}
.ghng-completion-banner__bar-wrap span {
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-teal);
}
.ghng-completion-banner__hint { font-size: var(--ghng-text-sm); color: var(--ghng-text-mid); }

.ghng-progress {
    height: 6px;
    background: rgba(0,194,168,0.15);
    border-radius: var(--ghng-radius-full);
    overflow: hidden;
}
.ghng-progress__fill {
    height: 100%;
    background: var(--ghng-teal);
    border-radius: var(--ghng-radius-full);
    transition: width var(--ghng-transition-md);
    box-shadow: 0 0 8px rgba(0,194,168,0.3);
}

@media (max-width: 768px) {
    .ghng-profile-header { flex-direction: column; align-items: center; text-align: center; }
    .ghng-profile-header__meta,
    .ghng-profile-header__stats,
    .ghng-profile-header__actions { justify-content: center; }
}

/* ================================================================
   22. Listing / Job / Resource Singles
   ================================================================ */

.ghng-listing-header,
.ghng-job-header,
.ghng-resource-header {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-xl);
    padding: var(--ghng-space-8);
    margin-bottom: var(--ghng-space-6);
    box-shadow: var(--ghng-shadow-sm);
}
.ghng-listing-header { display: flex; gap: var(--ghng-space-6); align-items: flex-start; }
.ghng-listing-header__logo { flex-shrink: 0; }
.ghng-listing-header__logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius);
    background: var(--ghng-deep);
}
.ghng-listing-header__title-row,
.ghng-job-header__badges,
.ghng-resource-header__title-row {
    display: flex;
    align-items: flex-start;
    gap: var(--ghng-space-3);
    flex-wrap: wrap;
    margin-bottom: var(--ghng-space-3);
}
.ghng-listing-header__title,
.ghng-job-header__title,
.ghng-resource-header__title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-2xl);
    line-height: var(--ghng-leading-tight);
    color: var(--ghng-white);
    letter-spacing: -0.02em;
}
.ghng-listing-header__tagline { color: var(--ghng-muted); font-size: var(--ghng-text-base); margin-bottom: var(--ghng-space-4); }
.ghng-listing-header__meta,
.ghng-job-header__meta,
.ghng-resource-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ghng-space-3);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
}
.ghng-listing-header__owner-actions,
.ghng-job-header__owner-actions,
.ghng-resource-header__owner-actions { margin-top: var(--ghng-space-4); }
.ghng-job-header__company {
    font-size: var(--ghng-text-xl);
    color: var(--ghng-teal);
    font-weight: var(--ghng-weight-semibold);
    margin-bottom: var(--ghng-space-3);
}
.ghng-job-header__deadline--past { color: var(--ghng-danger); }
.ghng-resource-header { display: flex; gap: var(--ghng-space-5); align-items: flex-start; }
.ghng-resource-header__type-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--ghng-radius-lg);
    background: rgba(0,194,168,0.08);
    color: var(--ghng-teal);
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .05em;
    border: 1px solid rgba(0,194,168,0.15);
}
.ghng-resource-header__downloads { color: var(--ghng-muted); }

.ghng-listing-section,
.ghng-job-section,
.ghng-resource-section {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-6);
    margin-bottom: var(--ghng-space-5);
    box-shadow: var(--ghng-shadow-sm);
}
.ghng-listing-section__heading,
.ghng-job-section__heading,
.ghng-resource-section__heading {
    font-size: var(--ghng-text-xs);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-muted);
    margin-bottom: var(--ghng-space-4);
}

.ghng-listing-services,
.ghng-job-skills { display: flex; flex-wrap: wrap; gap: var(--ghng-space-2); }

.ghng-resource-details-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--ghng-text-sm);
}
.ghng-resource-details-table th {
    width: 40%;
    text-align: left;
    color: var(--ghng-muted);
    font-weight: var(--ghng-weight-medium);
    padding: var(--ghng-space-3) var(--ghng-space-4) var(--ghng-space-3) 0;
    border-bottom: 1px solid var(--ghng-border);
}
.ghng-resource-details-table td {
    padding: var(--ghng-space-3) 0;
    border-bottom: 1px solid var(--ghng-border);
    color: var(--ghng-text-mid);
}

.ghng-listing-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-3);
    margin-bottom: var(--ghng-space-5);
    font-size: var(--ghng-text-sm);
}
.ghng-listing-contact-list li { display: flex; align-items: flex-start; gap: var(--ghng-space-3); }
.ghng-listing-contact-list__icon { flex-shrink: 0; width: 20px; text-align: center; color: var(--ghng-muted); }

.ghng-job-summary-list {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-3);
    margin-bottom: var(--ghng-space-5);
}
.ghng-job-summary-list li { display: flex; justify-content: space-between; font-size: var(--ghng-text-sm); gap: var(--ghng-space-4); }
.ghng-job-summary-list__label { color: var(--ghng-muted); flex-shrink: 0; }

.ghng-apply-card { display: flex; flex-direction: column; gap: var(--ghng-space-4); }
.ghng-apply-card__heading { font-size: var(--ghng-text-base); font-weight: var(--ghng-weight-semibold); color: var(--ghng-white); }
.ghng-apply-card__applied { display: flex; flex-direction: column; gap: var(--ghng-space-2); align-items: flex-start; }
.ghng-apply-card__applied p { font-size: var(--ghng-text-sm); color: var(--ghng-muted); }
.ghng-apply-card__closed { font-size: var(--ghng-text-sm); color: var(--ghng-muted); }
.ghng-apply-card__external-note { font-size: var(--ghng-text-xs); color: var(--ghng-muted); }

.ghng-download-card { display: flex; flex-direction: column; gap: var(--ghng-space-4); }
.ghng-download-card__unavailable,
.ghng-download-card__external-note { font-size: var(--ghng-text-sm); color: var(--ghng-muted); }
.ghng-download-card__count { font-size: var(--ghng-text-xs); color: var(--ghng-muted); text-align: center; }
.ghng-download-btn__size { font-size: var(--ghng-text-xs); opacity: .8; }

.ghng-resource-sidebar__submitter { display: flex; gap: var(--ghng-space-3); align-items: center; }
.ghng-resource-sidebar__submitter-avatar { border-radius: var(--ghng-radius-full); object-fit: cover; }
.ghng-resource-sidebar__submitter-name {
    font-weight: var(--ghng-weight-semibold);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-white);
    display: block;
}
.ghng-resource-sidebar__submitter-role { font-size: var(--ghng-text-xs); color: var(--ghng-muted); margin: 0; }

.ghng-share-buttons { display: flex; flex-wrap: wrap; gap: var(--ghng-space-2); }

/* ================================================================
   23. Prose (rich text content)
   ================================================================ */

.ghng-prose {
    font-size: var(--ghng-text-base);
    line-height: var(--ghng-leading-relaxed);
    color: var(--ghng-text-mid);
}
.ghng-prose h2, .ghng-prose h3, .ghng-prose h4 {
    color: var(--ghng-white);
    font-family: var(--ghng-font-display);
    margin-top: var(--ghng-space-6);
    margin-bottom: var(--ghng-space-3);
    letter-spacing: -0.01em;
}
.ghng-prose h2 { font-size: var(--ghng-text-2xl); }
.ghng-prose h3 { font-size: var(--ghng-text-xl); }
.ghng-prose p { margin-bottom: var(--ghng-space-4); }
.ghng-prose ul, .ghng-prose ol {
    margin-bottom: var(--ghng-space-4);
    padding-left: var(--ghng-space-6);
}
.ghng-prose ul { list-style-type: disc; }
.ghng-prose ol { list-style-type: decimal; }
.ghng-prose li { margin-bottom: var(--ghng-space-2); }
.ghng-prose a { color: var(--ghng-teal); text-decoration: underline; text-underline-offset: 2px; }
.ghng-prose a:hover { color: var(--ghng-teal-d); }
.ghng-prose strong { font-weight: var(--ghng-weight-semibold); color: var(--ghng-text); }
.ghng-prose code {
    font-family: var(--ghng-font-mono);
    font-size: .875em;
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-sm);
    padding: .1em .3em;
    color: var(--ghng-teal);
}
.ghng-prose pre {
    background: var(--ghng-deep);
    color: var(--ghng-text);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius);
    padding: var(--ghng-space-5);
    overflow-x: auto;
    margin-bottom: var(--ghng-space-4);
    font-family: var(--ghng-font-mono);
    font-size: var(--ghng-text-sm);
}
.ghng-prose pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}
.ghng-prose blockquote {
    border-left: 3px solid var(--ghng-teal);
    padding-left: var(--ghng-space-5);
    color: var(--ghng-muted);
    margin-bottom: var(--ghng-space-4);
    font-style: italic;
}

/* ================================================================
   24. Modal
   ================================================================ */

.ghng-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: var(--ghng-space-16);
}
.ghng-modal[hidden] { display: none; }
.ghng-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}
.ghng-modal__panel {
    position: relative;
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-xl);
    width: 100%;
    max-width: 640px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--ghng-shadow-lg);
    margin-inline: var(--ghng-space-4);
}
.ghng-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ghng-space-6);
    border-bottom: 1px solid var(--ghng-border);
    position: sticky;
    top: 0;
    background: var(--ghng-surface);
    z-index: 1;
}
.ghng-modal__header h2 {
    font-size: var(--ghng-text-xl);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-white);
    font-family: var(--ghng-font-display);
}
.ghng-modal__close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--ghng-muted);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ghng-radius);
    transition: background var(--ghng-transition), color var(--ghng-transition);
}
.ghng-modal__close:hover { background: var(--ghng-surface-elev); color: var(--ghng-white); }
.ghng-modal__body { padding: var(--ghng-space-6); }
.ghng-modal__footer {
    padding: var(--ghng-space-5) var(--ghng-space-6);
    border-top: 1px solid var(--ghng-border);
    display: flex;
    align-items: center;
    gap: var(--ghng-space-3);
}

/* ================================================================
   25. Empty States
   ================================================================ */

.ghng-empty-state {
    text-align: center;
    padding: var(--ghng-space-16) var(--ghng-space-8);
    color: var(--ghng-muted);
}
.ghng-empty-state--full { grid-column: 1 / -1; }
.ghng-empty-state p { margin-top: var(--ghng-space-4); font-size: var(--ghng-text-base); }

/* ROOT CAUSE FIX: .ghng-empty-icon / __title / __text only ever existed
   in dashboard.css, scoped to Dashboard + Profile Edit. But this exact
   icon/title/text markup is also used on the Jobs archive, Resources
   archive, and Saved Items pages — none of which load dashboard.css —
   so those empty states have been rendering with zero icon/heading/body
   styling this whole time. Added here (main.css loads everywhere) as
   the shared base; dashboard.css's own copy of these rules still wins
   on Dashboard/Profile-Edit (it loads after main.css), so nothing
   changes there. .ghng-empty-state-large is the size variant used by
   the archive pages and Saved Items. */
.ghng-empty-state-large {
    padding: var(--ghng-space-16) var(--ghng-space-8);
}

.ghng-empty-icon {
    color: var(--ghng-border);
    margin-bottom: var(--ghng-space-4);
}

.ghng-empty-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ghng-text);
    margin: 0 0 var(--ghng-space-2);
}

.ghng-empty-text {
    font-size: 0.9375rem;
    color: var(--ghng-muted);
    margin: 0 0 var(--ghng-space-6);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================================
   26. Utility
   ================================================================ */

.ghng-link { color: var(--ghng-teal); text-decoration: underline; text-underline-offset: 2px; }
.ghng-link:hover { color: var(--ghng-teal-d); }
.ghng-text--danger { color: var(--ghng-danger); }
.ghng-text--success { color: var(--ghng-success); }
.ghng-text--muted { color: var(--ghng-muted); }
.ghng-text--gold { color: var(--ghng-gold); }
.ghng-text--white { color: var(--ghng-white); }

/* ================================================================
   27. Dashboard-specific overrides (for page-dashboard.php)
   ================================================================ */

.ghng-dashboard-body {
    background: var(--ghng-deep);
    color: var(--ghng-text);
}

.ghng-dashboard-card {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-6);
    box-shadow: var(--ghng-shadow-sm);
}

.ghng-dashboard-card__heading {
    font-size: var(--ghng-text-xs);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-muted);
    margin-bottom: var(--ghng-space-4);
}

.ghng-stat-value {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-3xl);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    letter-spacing: -0.02em;
}

.ghng-stat-label {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
}

/* ================================================================
   28. Animation keyframes
   ================================================================ */

@keyframes ghng-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ghng-pulse-teal {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,194,168,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(0,194,168,0); }
}

.ghng-animate-fade {
    animation: ghng-fade-in 0.4s ease-out;
}

/* Coordinate grid pulse on hero hover */
.ghng-page-hero:hover::before {
    opacity: 1.5;
    transition: opacity 0.6s ease;
}

/* ============================================================
   HOMEPAGE LAYOUT — v1.1.1
   Complete layout system for home.php and front-page.php.
   All tokens reference defined --ghng-* custom properties.
   ============================================================ */

/* ── Stats bar ── */
.ghng-stats-bar {
    background: var(--ghng-surface);
    border-top: 1px solid var(--ghng-border);
    border-bottom: 1px solid var(--ghng-border);
    padding: var(--ghng-space-6) 0;
}

.ghng-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.ghng-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--ghng-space-2) var(--ghng-space-6);
    border-right: 1px solid var(--ghng-border);
}

.ghng-stat-item:last-child { border-right: none; }

/* ── Homepage section wrapper ── */
.ghng-section {
    padding: 56px 0;
}

.ghng-section-jobs      { background: var(--ghng-deep); }
.ghng-section-directory { background: var(--ghng-surface); }
.ghng-section-forum     { background: var(--ghng-deep); }
.ghng-section-resources { background: var(--ghng-surface); }

.ghng-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: var(--ghng-space-4);
}

.ghng-section-title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-2xl);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-white);
    line-height: 1.2;
    margin: 0;
}

.ghng-section-link {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-teal);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.ghng-section-link:hover { opacity: 0.8; text-decoration: underline; }

/* ── Cards grid — 3 column responsive ── */
.ghng-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ghng-space-4);
    min-height: 120px;
}

.ghng-cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ghng-cards-grid .ghng-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--ghng-space-12) var(--ghng-space-6);
    color: var(--ghng-muted);
}

/* ── Forum preview panel ── */
.ghng-forum-preview {
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    overflow: hidden;
}

.ghng-thread-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* ── Footer CTA ── */
.ghng-footer-cta {
    padding: 80px 0;
    text-align: center;
    background: var(--ghng-deep);
    border-top: 1px solid var(--ghng-border);
}

.ghng-footer-cta-content {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 var(--ghng-space-4);
}

.ghng-footer-cta-title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-3xl);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    margin: 0 0 var(--ghng-space-3);
    line-height: 1.2;
}

.ghng-footer-cta-text {
    font-size: var(--ghng-text-lg);
    color: var(--ghng-muted);
    line-height: var(--ghng-leading-relaxed);
    margin: 0 0 var(--ghng-space-8);
}

/* ── Page hero extensions ── */
.ghng-page-hero__content {
    position: relative;
    z-index: 1;
}

.ghng-page-hero__ctas {
    display: flex;
    gap: var(--ghng-space-3);
    margin-top: var(--ghng-space-6);
    flex-wrap: wrap;
}

/* Grid overlay (coordinate grid — GeoHubNG signature) */
.ghng-page-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--ghng-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--ghng-grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ghng-cards-grid,
    .ghng-cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ghng-section { padding: 40px 0; }
    .ghng-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ghng-stat-item {
        border-right: none;
        border-bottom: 1px solid var(--ghng-border);
        padding: var(--ghng-space-4) 0;
    }
    .ghng-stat-item:last-child { border-bottom: none; }
    .ghng-footer-cta { padding: 56px 0; }
    .ghng-footer-cta-title { font-size: var(--ghng-text-2xl); }
}

@media (max-width: 640px) {
    .ghng-cards-grid,
    .ghng-cards-grid-3 { grid-template-columns: 1fr; }
    .ghng-section-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   LOGIN / LOGOUT PAGE — v1.1.2
   All classes used by page-login.php
   ============================================================ */

.ghng-login {
    min-height: calc(100vh - var(--ghng-header-height, 64px));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ghng-space-12) var(--ghng-space-4);
    background: var(--ghng-deep);
    position: relative;
}

/* Coordinate grid background */
.ghng-login::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--ghng-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--ghng-grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.ghng-login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 0 var(--ghng-space-4);
}

.ghng-login-panel {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-xl);
    padding: var(--ghng-space-10);
    width: 100%;
}

.ghng-login-header {
    margin-bottom: var(--ghng-space-7);
    text-align: left;
}

.ghng-login-title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-2xl);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    margin: 0 0 var(--ghng-space-2);
    line-height: 1.25;
}

.ghng-login-subtitle {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    margin: 0;
}

/* ── Alerts ── */
.ghng-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--ghng-space-3);
    padding: var(--ghng-space-3) var(--ghng-space-4);
    border-radius: var(--ghng-radius);
    font-size: var(--ghng-text-sm);
    line-height: 1.5;
    margin-bottom: var(--ghng-space-5);
}

.ghng-alert-success {
    background: rgba(52,211,153,0.10);
    border: 1px solid rgba(52,211,153,0.25);
    color: #34D399;
}

.ghng-alert-error {
    background: rgba(224,84,84,0.10);
    border: 1px solid rgba(224,84,84,0.25);
    color: #E05454;
}

/* ── Form elements ── */
.ghng-form-group {
    margin-bottom: var(--ghng-space-5);
}

.ghng-form-label {
    display: block;
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-text-mid);
    margin-bottom: var(--ghng-space-2);
    letter-spacing: 0.02em;
}

.ghng-form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--ghng-space-2);
}

.ghng-form-label-link {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-teal);
    text-decoration: none;
}

.ghng-form-label-link:hover { text-decoration: underline; }

.ghng-form-input {
    width: 100%;
    padding: var(--ghng-space-3) var(--ghng-space-4);
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius);
    font-size: var(--ghng-text-base);
    color: var(--ghng-text);
    font-family: var(--ghng-font-body);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
}

.ghng-form-input::placeholder { color: var(--ghng-muted); }

.ghng-form-input:focus {
    border-color: var(--ghng-teal);
    box-shadow: 0 0 0 3px rgba(0,194,168,0.15);
}

/* ── Password toggle ── */
.ghng-password-wrap {
    position: relative;
}

.ghng-password-wrap .ghng-form-input {
    padding-right: 48px;
}

.ghng-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ghng-muted);
    display: flex;
    align-items: center;
    padding: 4px;
    transition: color 0.15s;
}

.ghng-password-toggle:hover { color: var(--ghng-text-mid); }

.ghng-password-toggle[aria-pressed="true"] { color: var(--ghng-teal); }

/* ── Password strength ── */
.ghng-password-strength {
    margin-top: var(--ghng-space-2);
    display: flex;
    align-items: center;
    gap: var(--ghng-space-3);
}

.ghng-strength-meter {
    flex: 1;
    height: 3px;
    background: var(--ghng-border);
    border-radius: 2px;
    overflow: hidden;
}

.ghng-strength-fill {
    display: block;
    height: 100%;
    border-radius: 2px;
    width: 0;
    background: var(--ghng-muted);
    transition: width 0.3s, background 0.3s;
}

.ghng-strength-text {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    white-space: nowrap;
}

/* ── Checkbox ── */
.ghng-form-checkbox { margin-top: var(--ghng-space-1); }

.ghng-checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-2);
    cursor: pointer;
    user-select: none;
}

.ghng-checkbox-input {
    width: 16px;
    height: 16px;
    accent-color: var(--ghng-teal);
    cursor: pointer;
    flex-shrink: 0;
}

.ghng-checkbox-text {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-text-mid);
}

/* ── Form actions ── */
.ghng-form-actions { margin-top: var(--ghng-space-6); }

/* Login button variants */
.ghng-btn-primary  { background: var(--ghng-teal); color: var(--ghng-deep); border: none; }
.ghng-btn-primary:hover { background: var(--ghng-teal-dark, #009E8A); }
.ghng-btn-ghost    { background: transparent; color: var(--ghng-text-mid); border: 1px solid var(--ghng-border-mid); }
.ghng-btn-ghost:hover  { border-color: var(--ghng-muted); color: var(--ghng-text); }
.ghng-btn-large    { padding: 13px var(--ghng-space-6); font-size: var(--ghng-text-base); }
.ghng-btn-full     { width: 100%; justify-content: center; }

/* Icon-only button (currently just the job-card save button) — square,
   no text padding. Was completely unstyled before: the button rendered
   at full text-button width with a tiny 14px icon floating in it. */
.ghng-btn-icon {
    padding: var(--ghng-space-2);
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
}
.ghng-btn-icon svg { display: block; }

/* Save-job button states. .ghng-job-saved is toggled by initJobSaves()
   in main.js on a successful save/unsave response — this class existed
   in the JS before today but had no styling anywhere, since the AJAX
   call behind it never worked (see class-saved-items.php).

   .ghng-item-saved is the same treatment for the generic save button
   used on Resource and Directory cards (initSavedItems() in main.js,
   .ghng-btn-save-item) — same visual language as jobs, different class
   since it's a different button contract (data-object-type/-id rather
   than data-job-id). */
.ghng-btn-save-job svg,
.ghng-btn-save-item svg {
    transition: fill var(--ghng-transition), stroke var(--ghng-transition);
}
.ghng-job-saved,
.ghng-item-saved {
    background: rgba(0,194,168,0.10);
    border-color: rgba(0,194,168,0.30);
}
.ghng-job-saved svg,
.ghng-item-saved svg {
    fill: var(--ghng-teal);
    stroke: var(--ghng-teal);
}

.ghng-btn-text     { position: relative; z-index: 1; }
.ghng-btn-spinner  { display: none; }

/* ── Login footer ── */
.ghng-login-footer {
    margin-top: var(--ghng-space-6);
    text-align: center;
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    border-top: 1px solid var(--ghng-border);
    padding-top: var(--ghng-space-5);
}

.ghng-login-footer a {
    color: var(--ghng-teal);
    text-decoration: none;
    font-weight: var(--ghng-weight-medium);
}

.ghng-login-footer a:hover { text-decoration: underline; }

.ghng-link-button {
    display: inline-flex;
    align-items: center;
    color: var(--ghng-teal);
    font-size: var(--ghng-text-sm);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--ghng-font-body);
}

.ghng-link-button:hover { text-decoration: underline; }

/* ── Honeypot ── */
.ghng-honeypot {
    position: absolute;
    left: -9999px;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 480px) {
    .ghng-login-panel { padding: var(--ghng-space-6); }
    .ghng-login-title { font-size: var(--ghng-text-xl); }
}


/* ============================================================
   FORUM PAGE — v1.1.2
   All classes used by page-forum.php
   ============================================================ */

.ghng-forum-page {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: auto 1fr;
    gap: var(--ghng-space-6);
    padding: var(--ghng-space-8) 0;
    align-items: start;
}

.ghng-forum-page__topbar {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: var(--ghng-space-4);
    border-bottom: 1px solid var(--ghng-border);
}

.ghng-forum-page__join-prompt {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    margin: 0;
}

.ghng-forum-page__join-prompt a {
    color: var(--ghng-teal);
    text-decoration: none;
    font-weight: var(--ghng-weight-medium);
}

/* ── Forum category list ── */
.ghng-forum-list {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-3);
}

.ghng-forum-category {
    display: grid;
    grid-template-columns: 48px 1fr auto auto;
    align-items: center;
    gap: var(--ghng-space-4);
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5) var(--ghng-space-5);
    transition: border-color 0.15s, background 0.15s;
}

.ghng-forum-category:hover {
    border-color: var(--ghng-border-mid);
    background: var(--ghng-surface-elev);
}

.ghng-forum-category__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--ghng-radius);
    background: rgba(0,194,168,0.10);
    border: 1px solid rgba(0,194,168,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ghng-teal);
    font-size: 20px;
    flex-shrink: 0;
}

.ghng-forum-category__body { min-width: 0; }

.ghng-forum-category__name {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-base);
    font-weight: var(--ghng-weight-semibold);
    margin: 0 0 var(--ghng-space-1);
    line-height: 1.3;
}

.ghng-forum-category__name a {
    color: var(--ghng-white);
    text-decoration: none;
}

.ghng-forum-category__name a:hover { color: var(--ghng-teal); }

.ghng-forum-category__desc {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    margin: 0 0 var(--ghng-space-2);
    line-height: 1.5;
}

.ghng-forum-category__last {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    margin: 0;
}

.ghng-forum-category__last .ghng-link { color: var(--ghng-teal); text-decoration: none; }
.ghng-forum-category__last .ghng-link:hover { text-decoration: underline; }

.ghng-forum-category__time { color: var(--ghng-muted); }

.ghng-forum-category__stats {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-2);
    text-align: center;
    min-width: 70px;
}

.ghng-forum-category__stat {
    display: flex;
    flex-direction: column;
}

.ghng-forum-category__stat strong {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-lg);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    line-height: 1;
}

.ghng-forum-category__stat span {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ghng-forum-category__action { flex-shrink: 0; }

/* ── Forum sidebar ── */
.ghng-forum-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-4);
    position: sticky;
    top: calc(var(--ghng-header-height, 64px) + var(--ghng-space-4));
}

.ghng-forum-sidebar__card {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5);
}

.ghng-forum-sidebar__card--cta {
    background: linear-gradient(135deg, rgba(0,194,168,0.08), rgba(0,194,168,0.03));
    border-color: rgba(0,194,168,0.20);
}

.ghng-forum-sidebar__card--cta p {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    margin: 0 0 var(--ghng-space-4);
    line-height: 1.6;
}

.ghng-forum-sidebar__heading {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-text-mid);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 var(--ghng-space-4);
}

/* ── Forum stats list ── */
.ghng-forum-stats-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-3);
}

.ghng-forum-stats-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--ghng-text-sm);
}

.ghng-forum-stats-list li span { color: var(--ghng-muted); }
.ghng-forum-stats-list li strong { color: var(--ghng-white); font-weight: var(--ghng-weight-semibold); }

/* ── Recent discussions list ── */
.ghng-forum-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ghng-forum-recent-list__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--ghng-space-3) 0;
    border-bottom: 1px solid var(--ghng-border);
}

.ghng-forum-recent-list__item:last-child { border-bottom: none; }

.ghng-forum-recent-list__title {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-text);
    text-decoration: none;
    font-weight: var(--ghng-weight-medium);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ghng-forum-recent-list__title:hover { color: var(--ghng-teal); }

.ghng-forum-recent-list__meta {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
}

/* ── Forum responsive ── */
@media (max-width: 900px) {
    .ghng-forum-page {
        grid-template-columns: 1fr;
    }

    .ghng-forum-sidebar {
        position: static;
    }

    .ghng-forum-category {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
    }

    .ghng-forum-category__stats { display: none; }
    .ghng-forum-category__action { grid-column: 2; }
}

@media (max-width: 600px) {
    .ghng-forum-category {
        grid-template-columns: 1fr;
    }

    .ghng-forum-category__icon { display: none; }
}

/* ============================================================
   REGISTRATION PAGE — v1.1.3
   All 4 steps: Account, Verify, Profile, Welcome
   ============================================================ */

/* ── Page layout ── */
.ghng-register {
    min-height: calc(100vh - var(--ghng-header-height, 64px));
    background: var(--ghng-deep);
    padding: var(--ghng-space-8) 0 var(--ghng-space-16);
    position: relative;
}

.ghng-register::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--ghng-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--ghng-grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.ghng-register-container {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

/* ── Progress steps ── */
.ghng-register-progress {
    margin-bottom: var(--ghng-space-8);
}

.ghng-progress-steps {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    counter-reset: none;
}

.ghng-progress-step {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-2);
    flex: 1;
    position: relative;
}

/* Connector line between steps */
.ghng-progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: calc(24px + var(--ghng-space-2));
    right: 0;
    top: 12px;
    height: 2px;
    background: var(--ghng-border);
    z-index: 0;
}

.ghng-progress-step-complete:not(:last-child)::after {
    background: var(--ghng-teal);
}

.ghng-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ghng-surface-elev);
    border: 2px solid var(--ghng-border);
    color: var(--ghng-muted);
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-bold);
    font-family: var(--ghng-font-display);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: all 0.2s;
}

.ghng-progress-step-complete .ghng-step-number {
    background: var(--ghng-teal);
    border-color: var(--ghng-teal);
    color: var(--ghng-deep);
}

.ghng-progress-step[aria-current="step"] .ghng-step-number {
    border-color: var(--ghng-teal);
    color: var(--ghng-teal);
}

.ghng-step-label {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    font-weight: var(--ghng-weight-medium);
    white-space: nowrap;
}

.ghng-progress-step-complete .ghng-step-label,
.ghng-progress-step[aria-current="step"] .ghng-step-label {
    color: var(--ghng-text);
}

/* ── Step content panel ── */
.ghng-register-step {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-xl);
    padding: var(--ghng-space-10);
}

.ghng-register-header {
    margin-bottom: var(--ghng-space-8);
    text-align: left;
}

.ghng-register-title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-3xl);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    margin: 0 0 var(--ghng-space-2);
    line-height: 1.2;
}

.ghng-register-subtitle {
    font-size: var(--ghng-text-base);
    color: var(--ghng-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Fieldset / legend ── */
.ghng-form-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 var(--ghng-space-6);
}

.ghng-form-legend {
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-text-mid);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--ghng-space-3);
    display: block;
}

/* ── Account type cards ── */
.ghng-account-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ghng-space-3);
}

.ghng-account-type-option {
    cursor: pointer;
    display: block;
}

.ghng-account-type-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ghng-account-type-card {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-2);
    padding: var(--ghng-space-5);
    background: var(--ghng-surface-elev);
    border: 2px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    transition: all 0.15s;
    cursor: pointer;
    height: 100%;
}

.ghng-account-type-card:hover {
    border-color: var(--ghng-border-mid);
    background: var(--ghng-surface);
}

.ghng-account-type-input:checked + .ghng-account-type-card {
    border-color: var(--ghng-teal);
    background: rgba(0,194,168,0.06);
    box-shadow: 0 0 0 3px rgba(0,194,168,0.12);
}

.ghng-account-type-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--ghng-radius);
    background: rgba(0,194,168,0.10);
    color: var(--ghng-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ghng-account-type-title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-base);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-white);
    display: block;
}

.ghng-account-type-desc {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    display: block;
    line-height: 1.4;
}

/* ── Extra form elements ── */
.ghng-form-help {
    display: block;
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    margin-top: var(--ghng-space-1);
    line-height: 1.5;
}

.ghng-form-label-optional {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    font-weight: var(--ghng-weight-normal);
    margin-left: var(--ghng-space-1);
}

.ghng-form-select {
    width: 100%;
    padding: var(--ghng-space-3) var(--ghng-space-4);
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius);
    font-size: var(--ghng-text-base);
    color: var(--ghng-text);
    font-family: var(--ghng-font-body);
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237A8FA6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    transition: border-color 0.15s;
}

.ghng-form-select:focus {
    border-color: var(--ghng-teal);
    box-shadow: 0 0 0 3px rgba(0,194,168,0.15);
}

.ghng-form-select option {
    background: var(--ghng-surface);
    color: var(--ghng-text);
}

.ghng-form-textarea {
    width: 100%;
    padding: var(--ghng-space-3) var(--ghng-space-4);
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius);
    font-size: var(--ghng-text-base);
    color: var(--ghng-text);
    font-family: var(--ghng-font-body);
    outline: none;
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
    transition: border-color 0.15s;
}

.ghng-form-textarea::placeholder { color: var(--ghng-muted); }

.ghng-form-textarea:focus {
    border-color: var(--ghng-teal);
    box-shadow: 0 0 0 3px rgba(0,194,168,0.15);
}

.ghng-char-count { text-align: right; }

/* ── Specialisation tags (step 3) ── */
.ghng-tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ghng-space-2);
    margin-top: var(--ghng-space-3);
}

.ghng-tag-option { display: inline-block; }

.ghng-tag-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ghng-tag-label {
    display: inline-flex;
    align-items: center;
    padding: 5px var(--ghng-space-3);
    border-radius: 999px;
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-text-mid);
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}

.ghng-tag-label:hover {
    border-color: var(--ghng-teal);
    color: var(--ghng-teal);
}

.ghng-tag-input:checked + .ghng-tag-label {
    background: rgba(0,194,168,0.12);
    border-color: var(--ghng-teal);
    color: var(--ghng-teal);
}

/* ── Form messages ── */
.ghng-form-messages {
    margin-top: var(--ghng-space-4);
    min-height: 0;
}

.ghng-form-messages:not(:empty) {
    padding: var(--ghng-space-3) var(--ghng-space-4);
    border-radius: var(--ghng-radius);
    background: rgba(224,84,84,0.10);
    border: 1px solid rgba(224,84,84,0.25);
    color: #E05454;
    font-size: var(--ghng-text-sm);
    line-height: 1.5;
}

/* ── Register footer ── */
.ghng-register-footer {
    margin-top: var(--ghng-space-6);
    padding-top: var(--ghng-space-5);
    border-top: 1px solid var(--ghng-border);
    text-align: center;
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
}

.ghng-register-footer a {
    color: var(--ghng-teal);
    text-decoration: none;
    font-weight: var(--ghng-weight-medium);
}

.ghng-register-footer a:hover { text-decoration: underline; }

/* ── Step 2: Email verification ── */
.ghng-verify-icon,
.ghng-welcome-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0,194,168,0.10);
    border: 2px solid rgba(0,194,168,0.25);
    color: var(--ghng-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--ghng-space-5);
}

.ghng-verify-actions {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-4);
}

.ghng-resend-form { margin: 0; }

.ghng-resend-text {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--ghng-space-2);
    flex-wrap: wrap;
}

.ghng-resend-timer {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    font-variant-numeric: tabular-nums;
}

.ghng-verify-help {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    margin: 0;
}

.ghng-verify-help a {
    color: var(--ghng-teal);
    text-decoration: none;
}

.ghng-verify-help a:hover { text-decoration: underline; }

/* ── Step 4: Welcome preview ── */
.ghng-profile-preview {
    margin-bottom: var(--ghng-space-8);
}

.ghng-profile-preview-card {
    display: flex;
    align-items: flex-start;
    gap: var(--ghng-space-5);
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-6);
}

.ghng-preview-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--ghng-border-mid);
}

.ghng-preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ghng-preview-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-2);
}

.ghng-preview-name {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-xl);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    margin: 0;
    line-height: 1.2;
}

.ghng-preview-profession {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-teal);
    font-weight: var(--ghng-weight-medium);
    display: block;
}

.ghng-preview-location {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    display: block;
}

.ghng-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ghng-space-2);
    margin-top: var(--ghng-space-1);
}

.ghng-preview-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px var(--ghng-space-3);
    border-radius: 999px;
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-medium);
    background: rgba(0,194,168,0.10);
    border: 1px solid rgba(0,194,168,0.20);
    color: var(--ghng-teal);
}

.ghng-preview-tag-more {
    background: var(--ghng-surface);
    border-color: var(--ghng-border);
    color: var(--ghng-muted);
}

.ghng-preview-bio {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    margin: 0;
    line-height: 1.6;
}

.ghng-welcome-actions {
    display: flex;
    gap: var(--ghng-space-3);
    flex-wrap: wrap;
    margin-bottom: var(--ghng-space-8);
}

.ghng-welcome-tips {
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-6);
}

.ghng-tips-title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-base);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-white);
    margin: 0 0 var(--ghng-space-4);
}

.ghng-tips-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-3);
}

.ghng-tips-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--ghng-space-3);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-text-mid);
    line-height: 1.5;
}

.ghng-tips-list li::before {
    content: '◈';
    color: var(--ghng-teal);
    flex-shrink: 0;
    font-size: 10px;
    margin-top: 4px;
}

/* ── Responsive ── */
@media (max-width: 720px) {
    .ghng-register-step { padding: var(--ghng-space-6); }
    .ghng-register-title { font-size: var(--ghng-text-2xl); }
    .ghng-account-type-grid { grid-template-columns: 1fr; }
    .ghng-profile-preview-card { flex-direction: column; align-items: center; text-align: center; }
    .ghng-preview-tags { justify-content: center; }
    .ghng-welcome-actions { flex-direction: column; }
    .ghng-welcome-actions .ghng-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .ghng-step-label { display: none; }
    .ghng-register-container { padding: 0 var(--ghng-space-4); }
}

/* ============================================================
   JOB CARD + BROWSE CONTROLS — v1.1.4
   Missing classes from ghng_render_job_card() and
   ghng_render_browse_controls()
   ============================================================ */

/* ── Job card internals ── */
.ghng-job-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-2);
}

.ghng-job-card__location {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ghng-job-card__salary {
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-gold, #C9963A);
}

/* ── Pagination ── */
.ghng-browse-controls__pagination {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-1);
}

.ghng-pagination {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.ghng-pagination__item {
    display: flex;
}

.ghng-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--ghng-space-2);
    border-radius: var(--ghng-radius);
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-text-mid);
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    text-decoration: none;
    transition: all 0.15s;
}

.ghng-pagination__link:hover {
    border-color: var(--ghng-teal);
    color: var(--ghng-teal);
}

.ghng-pagination__link--active {
    background: var(--ghng-teal);
    border-color: var(--ghng-teal);
    color: var(--ghng-deep);
    pointer-events: none;
}

.ghng-pagination__link--dots {
    background: transparent;
    border-color: transparent;
    cursor: default;
    color: var(--ghng-muted);
}

.ghng-pagination__link--dots:hover {
    border-color: transparent;
    color: var(--ghng-muted);
}

/* ============================================================
   RESOURCE CARD + RESOURCES PAGE — v1.1.4
   Missing internal card classes from ghng_render_resource_card()
   ============================================================ */

.ghng-resources-page {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--ghng-space-8);
    padding: var(--ghng-space-8) 0;
    align-items: start;
}

.ghng-resource-card {
    display: flex;
    gap: var(--ghng-space-4);
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5);
    transition: border-color 0.15s;
    position: relative;
}

.ghng-resource-card:hover {
    border-color: var(--ghng-border-mid);
}

.ghng-resource-card--verified {
    border-color: rgba(0,194,168,0.25);
}

.ghng-resource-card__type-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--ghng-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: var(--ghng-weight-bold);
    font-family: var(--ghng-font-display);
    letter-spacing: 0.04em;
    flex-shrink: 0;
    background: rgba(0,194,168,0.10);
    color: var(--ghng-teal);
    border: 1px solid rgba(0,194,168,0.20);
}

/* Type colour variants */
.ghng-resource-card__type-icon--dataset   { background: rgba(0,194,168,0.10); color: var(--ghng-teal); border-color: rgba(0,194,168,0.20); }
.ghng-resource-card__type-icon--shapefile { background: rgba(52,211,153,0.10); color: #34D399; border-color: rgba(52,211,153,0.20); }
.ghng-resource-card__type-icon--raster    { background: rgba(201,150,58,0.10); color: var(--ghng-gold,#C9963A); border-color: rgba(201,150,58,0.20); }
.ghng-resource-card__type-icon--script    { background: rgba(139,92,246,0.10); color: #8B5CF6; border-color: rgba(139,92,246,0.20); }
.ghng-resource-card__type-icon--report    { background: rgba(59,130,246,0.10); color: #3B82F6; border-color: rgba(59,130,246,0.20); }
.ghng-resource-card__type-icon--tutorial  { background: rgba(245,158,11,0.10); color: #F59E0B; border-color: rgba(245,158,11,0.20); }

.ghng-resource-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-2);
}

.ghng-resource-card__title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-base);
    font-weight: var(--ghng-weight-semibold);
    line-height: 1.35;
    margin: 0;
}

.ghng-resource-card__title a {
    color: var(--ghng-white);
    text-decoration: none;
}

.ghng-resource-card__title a:hover { color: var(--ghng-teal); }

.ghng-resource-card__desc {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ghng-resource-card__meta {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-2);
    flex-wrap: wrap;
}

.ghng-resource-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--ghng-space-3);
    margin-top: var(--ghng-space-1);
    border-top: 1px solid var(--ghng-border);
    gap: var(--ghng-space-3);
}

.ghng-resource-card__downloads {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ghng-resource-card__license {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    padding: 2px var(--ghng-space-2);
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: 999px;
}

.ghng-resource-card__verified-badge {
    position: absolute;
    top: var(--ghng-space-3);
    right: var(--ghng-space-3);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-teal);
    background: rgba(0,194,168,0.10);
    border: 1px solid rgba(0,194,168,0.20);
    border-radius: 999px;
    padding: 2px 8px;
}

@media (max-width: 900px) {
    .ghng-resources-page {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ghng-resource-card {
        flex-direction: column;
    }
}





/* ============================================================
   CONTACT PAGE — v1.1.6
   Professional geospatial contact page — full layout system
   ============================================================ */

/* ── Page wrapper ── */
.ghng-contact-page {
    background: var(--ghng-deep);
}

/* ── Hero ── */
.ghng-page-hero--contact {
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
    background: var(--ghng-deep);
}

.ghng-contact-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--ghng-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--ghng-grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.ghng-contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.ghng-contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--ghng-space-2);
    background: rgba(0,194,168,0.08);
    border: 1px solid rgba(0,194,168,0.20);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-teal);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--ghng-space-5);
}

.ghng-contact-hero-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ghng-teal);
    flex-shrink: 0;
    animation: ghng-pulse 2s ease-in-out infinite;
}

@keyframes ghng-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.85); }
}

.ghng-contact-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    letter-spacing: -0.02em;
    margin-bottom: var(--ghng-space-4);
}

/* Coordinate readout */
.ghng-contact-coords {
    display: inline-flex;
    align-items: center;
    gap: var(--ghng-space-2);
    margin-top: var(--ghng-space-5);
    font-family: var(--ghng-font-mono);
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius);
    padding: 5px 12px;
}

.ghng-contact-coords__label {
    color: var(--ghng-teal);
    font-weight: var(--ghng-weight-bold);
    letter-spacing: 0.06em;
}

.ghng-contact-coords__sep { color: var(--ghng-border-mid); }

/* ── Two-column layout ── */
.ghng-contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--ghng-space-10);
    padding: var(--ghng-space-10) 0 var(--ghng-space-16);
    align-items: start;
}

/* ── Form section ── */
.ghng-contact-form-section {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-xl);
    padding: var(--ghng-space-10);
}

.ghng-contact-form-header {
    margin-bottom: var(--ghng-space-8);
    padding-bottom: var(--ghng-space-6);
    border-bottom: 1px solid var(--ghng-border);
}

.ghng-contact-form-title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-2xl);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    margin: 0 0 var(--ghng-space-2);
}

.ghng-contact-form-sub {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    margin: 0;
}

/* ── Alert ── */
.ghng-contact-alert {
    border-radius: var(--ghng-radius);
    padding: var(--ghng-space-4) var(--ghng-space-5);
    font-size: var(--ghng-text-sm);
    line-height: 1.5;
    margin-bottom: var(--ghng-space-6);
    display: flex;
    align-items: flex-start;
    gap: var(--ghng-space-3);
}

.ghng-contact-alert--success {
    background: var(--ghng-success-bg);
    border: 1px solid rgba(52,211,153,0.25);
    color: var(--ghng-success);
}

.ghng-contact-alert--error {
    background: var(--ghng-danger-bg);
    border: 1px solid rgba(248,113,113,0.25);
    color: var(--ghng-danger);
}

/* ── Form rows ── */
.ghng-contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ghng-space-4);
}

/* ── Enquiry type grid ── */
.ghng-contact-enquiry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ghng-space-2);
    margin-top: var(--ghng-space-2);
}

.ghng-contact-enquiry-option {
    cursor: pointer;
    display: block;
}

.ghng-contact-enquiry-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ghng-contact-enquiry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--ghng-space-1);
    padding: var(--ghng-space-3) var(--ghng-space-2);
    background: var(--ghng-surface-elev);
    border: 1.5px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    min-height: 72px;
}

.ghng-contact-enquiry-card:hover {
    border-color: var(--ghng-border-mid);
    background: var(--ghng-surface);
}

.ghng-contact-enquiry-card.is-selected,
.ghng-contact-enquiry-input:checked + .ghng-contact-enquiry-card {
    border-color: var(--ghng-teal);
    background: rgba(0,194,168,0.07);
    box-shadow: 0 0 0 3px rgba(0,194,168,0.10);
}

.ghng-contact-enquiry-icon {
    font-size: 20px;
    line-height: 1;
    display: block;
}

.ghng-contact-enquiry-label {
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-text-mid);
    line-height: 1.3;
    display: block;
}

.ghng-contact-enquiry-card.is-selected .ghng-contact-enquiry-label,
.ghng-contact-enquiry-input:checked + .ghng-contact-enquiry-card .ghng-contact-enquiry-label {
    color: var(--ghng-teal);
}

/* ── Textarea ── */
.ghng-contact-textarea {
    min-height: 140px;
    resize: vertical;
}

/* ── Required marker ── */
.ghng-form-required {
    color: var(--ghng-teal);
    margin-left: 2px;
}

/* ── Form actions ── */
.ghng-contact-form-actions {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-5);
    margin-top: var(--ghng-space-6);
    flex-wrap: wrap;
}

.ghng-contact-submit {
    display: inline-flex;
    align-items: center;
    gap: var(--ghng-space-2);
    padding: 13px var(--ghng-space-8);
    font-size: var(--ghng-text-base);
    font-weight: var(--ghng-weight-semibold);
    white-space: nowrap;
    position: relative;
    transition: all 0.2s;
}

.ghng-contact-submit__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(10,22,40,0.3);
    border-top-color: var(--ghng-deep);
    border-radius: 50%;
    animation: ghng-spin 0.7s linear infinite;
}

.ghng-contact-submit.is-loading .ghng-contact-submit__icon  { display: none; }
.ghng-contact-submit.is-loading .ghng-contact-submit__spinner { display: block; }

@keyframes ghng-spin {
    to { transform: rotate(360deg); }
}

.ghng-contact-form-note {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    margin: 0;
    line-height: 1.5;
    max-width: 260px;
}

/* ── Sidebar ── */
.ghng-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-4);
    position: sticky;
    top: calc(var(--ghng-header-height, 64px) + var(--ghng-space-6));
}

/* Info cards */
.ghng-contact-info-card {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-6);
}

.ghng-contact-info-card--hours {
    background: var(--ghng-surface-elev);
}

.ghng-contact-info-card--links {
    background: var(--ghng-deep-mid);
    border-color: var(--ghng-border);
}

.ghng-contact-info-card__title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-text-mid);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 var(--ghng-space-4);
}

/* Contact info list */
.ghng-contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-4);
}

.ghng-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--ghng-space-3);
}

.ghng-contact-info-item__icon {
    width: 34px;
    height: 34px;
    border-radius: var(--ghng-radius);
    background: rgba(0,194,168,0.08);
    border: 1px solid rgba(0,194,168,0.15);
    color: var(--ghng-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ghng-contact-info-item--coords .ghng-contact-info-item__icon {
    background: rgba(201,150,58,0.08);
    border-color: rgba(201,150,58,0.15);
    font-size: 16px;
}

.ghng-contact-info-item__label {
    display: block;
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.ghng-contact-info-item__value {
    display: block;
    font-size: var(--ghng-text-sm);
    color: var(--ghng-text);
    text-decoration: none;
    font-weight: var(--ghng-weight-medium);
    transition: color 0.15s;
}

a.ghng-contact-info-item__value:hover { color: var(--ghng-teal); }

.ghng-contact-info-item__value--mono {
    font-family: var(--ghng-font-mono);
    font-size: var(--ghng-text-xs);
    letter-spacing: 0.03em;
    color: var(--ghng-teal);
}

/* Hours / response time list */
.ghng-contact-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-3);
}

.ghng-contact-hours-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    gap: var(--ghng-space-2);
}

.ghng-contact-hours-list__value {
    color: var(--ghng-text);
    font-weight: var(--ghng-weight-medium);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Quick links */
.ghng-contact-quick-links {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-1);
}

.ghng-contact-quick-link {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-3);
    padding: var(--ghng-space-3) var(--ghng-space-3);
    border-radius: var(--ghng-radius);
    text-decoration: none;
    transition: background 0.15s;
    border: 1px solid transparent;
}

.ghng-contact-quick-link:hover {
    background: rgba(0,194,168,0.06);
    border-color: rgba(0,194,168,0.12);
}

.ghng-contact-quick-link__icon {
    font-size: 18px;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
    color: var(--ghng-teal);
}

.ghng-contact-quick-link div {
    flex: 1;
    min-width: 0;
}

.ghng-contact-quick-link__title {
    display: block;
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-text);
    line-height: 1.3;
}

.ghng-contact-quick-link__sub {
    display: block;
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    margin-top: 1px;
}

.ghng-contact-quick-link__arrow {
    color: var(--ghng-muted);
    font-size: var(--ghng-text-sm);
    flex-shrink: 0;
    transition: color 0.15s, transform 0.15s;
}

.ghng-contact-quick-link:hover .ghng-contact-quick-link__arrow {
    color: var(--ghng-teal);
    transform: translateX(3px);
}

/* Coverage badge */
.ghng-contact-coverage {
    background: linear-gradient(135deg, rgba(0,194,168,0.07), rgba(0,194,168,0.02));
    border: 1px solid rgba(0,194,168,0.18);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5);
}

.ghng-contact-coverage__inner {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-3);
    margin-bottom: var(--ghng-space-4);
    padding-bottom: var(--ghng-space-4);
    border-bottom: 1px solid rgba(0,194,168,0.12);
}

.ghng-contact-coverage__icon {
    font-size: 28px;
    flex-shrink: 0;
}

.ghng-contact-coverage__title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-white);
    margin-bottom: 2px;
}

.ghng-contact-coverage__sub {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
}

.ghng-contact-coverage__stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ghng-space-2);
    text-align: center;
}

.ghng-contact-coverage__stat strong {
    display: block;
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-xl);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-teal);
    line-height: 1;
    margin-bottom: 3px;
}

.ghng-contact-coverage__stat span {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ghng-contact-layout {
        grid-template-columns: 1fr 320px;
        gap: var(--ghng-space-6);
    }

    .ghng-contact-enquiry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .ghng-contact-layout {
        grid-template-columns: 1fr;
    }

    .ghng-contact-sidebar {
        position: static;
    }

    .ghng-contact-quick-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--ghng-space-2);
    }
}

@media (max-width: 640px) {
    .ghng-contact-form-section { padding: var(--ghng-space-6); }
    .ghng-contact-form-row { grid-template-columns: 1fr; }
    .ghng-contact-enquiry-grid { grid-template-columns: repeat(2, 1fr); }
    .ghng-contact-form-actions { flex-direction: column; align-items: flex-start; }
    .ghng-contact-submit { width: 100%; justify-content: center; }
    .ghng-contact-quick-links { grid-template-columns: 1fr; }
    .ghng-page-hero--contact { padding: 56px 0 48px; }
}



/* ============================================================
   ABOUT PAGE — v1.1.7
   Mission + Story + What We Offer + CTA
   ============================================================ */

.ghng-about-page {
    background: var(--ghng-deep);
}

/* ── Hero ── */
.ghng-about-hero {
    position: relative;
    padding: 88px 0 0;
    overflow: hidden;
    background: var(--ghng-deep);
}

.ghng-about-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--ghng-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--ghng-grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.ghng-about-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding-bottom: var(--ghng-space-12);
}

.ghng-about-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--ghng-space-2);
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--ghng-space-5);
}

.ghng-about-hero__diamond {
    font-size: 14px;
    opacity: 0.8;
}

.ghng-about-hero__title {
    font-family: var(--ghng-font-display);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 var(--ghng-space-5);
}

.ghng-about-hero__title-accent {
    color: var(--ghng-teal);
}

.ghng-about-hero__sub {
    font-size: var(--ghng-text-lg);
    color: var(--ghng-text-mid);
    line-height: 1.7;
    margin: 0;
    max-width: 620px;
}

/* ── Hero stats bar ── */
.ghng-about-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ghng-border);
    margin-top: var(--ghng-space-10);
    background: rgba(17,30,53,0.6);
    backdrop-filter: blur(8px);
}

.ghng-about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--ghng-space-6) var(--ghng-space-4);
    border-right: 1px solid var(--ghng-border);
}

.ghng-about-stat:last-child { border-right: none; }

.ghng-about-stat__value {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-4xl);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-teal);
    line-height: 1;
    display: block;
    margin-bottom: var(--ghng-space-1);
}

.ghng-about-stat__label {
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-white);
    display: block;
    margin-bottom: 2px;
}

.ghng-about-stat__sub {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    display: block;
}

/* ── Section shared styles ── */
.ghng-about-section {
    padding: 80px 0;
}

.ghng-about-section--story {
    background: var(--ghng-surface);
}

.ghng-about-section--offer {
    background: var(--ghng-deep);
}

.ghng-about-section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--ghng-space-2);
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--ghng-space-4);
}

.ghng-about-section-tag--center {
    display: flex;
    justify-content: center;
}

.ghng-about-section-title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-3xl);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 var(--ghng-space-6);
    max-width: 600px;
}

.ghng-about-section-title--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ── Mission two-column ── */
.ghng-about-two-col {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--ghng-space-16);
    align-items: center;
}

.ghng-about-section-body {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-4);
}

.ghng-about-section-body p {
    font-size: var(--ghng-text-base);
    color: var(--ghng-text-mid);
    line-height: 1.75;
    margin: 0;
}

.ghng-about-section-body p:first-child {
    font-size: var(--ghng-text-lg);
    color: var(--ghng-text);
}

/* ── Mission globe card ── */
.ghng-about-mission-card {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-xl);
    padding: var(--ghng-space-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ghng-space-5);
    position: relative;
    overflow: hidden;
}

.ghng-about-mission-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(0,194,168,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.ghng-about-mission-card__globe {
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 1;
    animation: ghng-globe-rotate 20s linear infinite;
}

@keyframes ghng-globe-rotate {
    0%   { transform: rotate(0deg) scale(1);    }
    50%  { transform: rotate(1deg) scale(1.01); }
    100% { transform: rotate(0deg) scale(1);    }
}

.ghng-about-mission-card__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.ghng-about-mission-card__coords {
    font-family: var(--ghng-font-mono);
    font-size: var(--ghng-text-xs);
    color: var(--ghng-teal);
    letter-spacing: 0.05em;
}

.ghng-about-mission-card__place {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
}

/* ── Story timeline ── */
.ghng-about-story-timeline {
    max-width: 720px;
    margin: var(--ghng-space-10) auto 0;
    display: flex;
    flex-direction: column;
}

.ghng-about-story-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: var(--ghng-space-6);
    padding-bottom: var(--ghng-space-10);
}

.ghng-about-story-item--last {
    padding-bottom: 0;
}

.ghng-about-story-item__marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4px;
}

.ghng-about-story-item__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ghng-surface-elev);
    border: 2px solid var(--ghng-border-mid);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.2s;
}

.ghng-about-story-item__dot--active {
    background: var(--ghng-teal);
    border-color: var(--ghng-teal);
    box-shadow: 0 0 0 4px rgba(0,194,168,0.15);
}

.ghng-about-story-item__line {
    width: 2px;
    flex: 1;
    background: var(--ghng-border);
    margin-top: var(--ghng-space-2);
    min-height: 40px;
}

.ghng-about-story-item__year {
    font-family: var(--ghng-font-mono);
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--ghng-space-2);
}

.ghng-about-story-item__title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-xl);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-white);
    margin: 0 0 var(--ghng-space-3);
    line-height: 1.3;
}

.ghng-about-story-item__text {
    font-size: var(--ghng-text-base);
    color: var(--ghng-text-mid);
    line-height: 1.75;
    margin: 0;
}

/* ── What we offer ── */
.ghng-about-offer-intro {
    font-size: var(--ghng-text-lg);
    color: var(--ghng-muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto var(--ghng-space-12);
    line-height: 1.6;
}

.ghng-about-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ghng-space-4);
}

.ghng-about-offer-card {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-7);
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-3);
    transition: border-color 0.15s, transform 0.15s;
}

.ghng-about-offer-card:hover {
    border-color: rgba(0,194,168,0.25);
    transform: translateY(-2px);
}

.ghng-about-offer-card--geosight {
    background: linear-gradient(135deg, rgba(0,194,168,0.06), rgba(0,194,168,0.02));
    border-color: rgba(0,194,168,0.20);
}

.ghng-about-offer-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--ghng-radius-lg);
    background: rgba(0,194,168,0.08);
    border: 1px solid rgba(0,194,168,0.15);
    color: var(--ghng-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ghng-about-offer-card__icon--accent {
    background: rgba(0,194,168,0.12);
    border-color: rgba(0,194,168,0.25);
}

.ghng-about-offer-card__title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-lg);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-white);
    margin: 0;
    line-height: 1.3;
}

.ghng-about-offer-card__text {
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.ghng-about-offer-card__link {
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: var(--ghng-space-1);
    transition: gap 0.15s;
}

.ghng-about-offer-card__link:hover { gap: 8px; }

/* ── CTA ── */
.ghng-about-cta {
    position: relative;
    padding: 96px 0;
    background: var(--ghng-surface);
    border-top: 1px solid var(--ghng-border);
    overflow: hidden;
    text-align: center;
}

.ghng-about-cta__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--ghng-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--ghng-grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    pointer-events: none;
}

.ghng-about-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ghng-space-4);
}

.ghng-about-cta__diamond {
    font-size: 32px;
    color: var(--ghng-teal);
    opacity: 0.7;
    line-height: 1;
}

.ghng-about-cta__title {
    font-family: var(--ghng-font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
}

.ghng-about-cta__text {
    font-size: var(--ghng-text-lg);
    color: var(--ghng-muted);
    line-height: 1.65;
    margin: 0;
}

.ghng-about-cta__actions {
    display: flex;
    gap: var(--ghng-space-3);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--ghng-space-2);
}

.ghng-about-cta__note {
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ghng-about-two-col { grid-template-columns: 1fr 300px; gap: var(--ghng-space-10); }
    .ghng-about-offer-grid { grid-template-columns: repeat(2, 1fr); }
    .ghng-about-stats { grid-template-columns: repeat(2, 1fr); }
    .ghng-about-stat:nth-child(2) { border-right: none; }
    .ghng-about-stat:nth-child(3) { border-top: 1px solid var(--ghng-border); }
    .ghng-about-stat:nth-child(4) { border-top: 1px solid var(--ghng-border); border-right: none; }
}

@media (max-width: 768px) {
    .ghng-about-hero { padding: 64px 0 0; }
    .ghng-about-section { padding: 56px 0; }
    .ghng-about-two-col { grid-template-columns: 1fr; gap: var(--ghng-space-8); }
    .ghng-about-mission-card { padding: var(--ghng-space-6); }
    .ghng-about-mission-card__globe { width: 160px; height: 160px; }
    .ghng-about-cta { padding: 64px 0; }
}

@media (max-width: 640px) {
    .ghng-about-offer-grid { grid-template-columns: 1fr; }
    .ghng-about-stats { grid-template-columns: repeat(2, 1fr); }
    .ghng-about-story-timeline { margin-top: var(--ghng-space-6); }
    .ghng-about-cta__actions { flex-direction: column; width: 100%; }
    .ghng-about-cta__actions .ghng-btn { width: 100%; justify-content: center; }
}

/* About page — 3 missing structural classes */
.ghng-about-two-col__text  { min-width: 0; }
.ghng-about-two-col__visual { display: flex; align-items: center; justify-content: center; }
.ghng-about-story-item__content { min-width: 0; padding-top: 2px; }




/* ============================================================
   LEGAL PAGES (Terms, Privacy Policy) — v1.1.8
   Shared layout system for all legal documents
   ============================================================ */

.ghng-legal-page {
    background: var(--ghng-deep);
}

/* ── Hero ── */
.ghng-legal-hero {
    background: var(--ghng-surface);
    border-bottom: 1px solid var(--ghng-border);
    padding: var(--ghng-space-12) 0 var(--ghng-space-8);
}

.ghng-legal-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--ghng-space-2);
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--ghng-space-4);
}

.ghng-legal-hero__title {
    font-family: var(--ghng-font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    margin: 0 0 var(--ghng-space-4);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.ghng-legal-hero__meta {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-3);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-muted);
}

.ghng-legal-hero__meta-sep { color: var(--ghng-border-mid); }

/* ── Two-column layout ── */
.ghng-legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--ghng-space-12);
    padding: var(--ghng-space-10) 0 var(--ghng-space-16);
    align-items: start;
}

/* ── Sidebar TOC ── */
.ghng-legal-toc {
    position: sticky;
    top: calc(var(--ghng-header-height, 64px) + var(--ghng-space-6));
}

.ghng-legal-toc__inner {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5);
}

.ghng-legal-toc__title {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-text-mid);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--ghng-space-4);
    padding-bottom: var(--ghng-space-3);
    border-bottom: 1px solid var(--ghng-border);
}

.ghng-legal-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    counter-reset: none;
}

.ghng-legal-toc__list li { margin: 0; }

.ghng-legal-toc__list a {
    display: block;
    font-size: var(--ghng-text-xs);
    color: var(--ghng-muted);
    text-decoration: none;
    padding: 5px var(--ghng-space-2);
    border-radius: var(--ghng-radius);
    line-height: 1.4;
    transition: all 0.15s;
}

.ghng-legal-toc__list a:hover {
    color: var(--ghng-teal);
    background: rgba(0,194,168,0.06);
    padding-left: var(--ghng-space-3);
}

/* ── Legal notice box ── */
.ghng-legal-notice {
    background: rgba(0,194,168,0.06);
    border: 1px solid rgba(0,194,168,0.18);
    border-left: 3px solid var(--ghng-teal);
    border-radius: var(--ghng-radius);
    padding: var(--ghng-space-4) var(--ghng-space-5);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-text-mid);
    line-height: 1.65;
    margin-bottom: var(--ghng-space-8);
}

/* ── Legal sections ── */
.ghng-legal-section {
    padding: var(--ghng-space-8) 0;
    border-bottom: 1px solid var(--ghng-border);
}

.ghng-legal-section:last-of-type { border-bottom: none; }

.ghng-legal-section__title {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-3);
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-xl);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-white);
    margin: 0 0 var(--ghng-space-5);
    line-height: 1.3;
    scroll-margin-top: calc(var(--ghng-header-height, 64px) + var(--ghng-space-4));
}

.ghng-legal-section__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0,194,168,0.10);
    border: 1px solid rgba(0,194,168,0.20);
    color: var(--ghng-teal);
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-bold);
    font-family: var(--ghng-font-mono);
    flex-shrink: 0;
}

.ghng-legal-section__body {
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-4);
}

.ghng-legal-section__body p {
    font-size: var(--ghng-text-base);
    color: var(--ghng-text-mid);
    line-height: 1.75;
    margin: 0;
}

.ghng-legal-section__body ul,
.ghng-legal-section__body ol {
    margin: 0;
    padding-left: var(--ghng-space-6);
    display: flex;
    flex-direction: column;
    gap: var(--ghng-space-2);
}

.ghng-legal-section__body li {
    font-size: var(--ghng-text-base);
    color: var(--ghng-text-mid);
    line-height: 1.65;
}

.ghng-legal-section__body li::marker { color: var(--ghng-teal); }

.ghng-legal-section__body a {
    color: var(--ghng-teal);
    text-decoration: none;
}

.ghng-legal-section__body a:hover { text-decoration: underline; }

/* ── Contact box ── */
.ghng-legal-contact-box {
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-5) var(--ghng-space-6);
    font-size: var(--ghng-text-sm);
    color: var(--ghng-text-mid);
    line-height: 2;
}

.ghng-legal-contact-box strong {
    color: var(--ghng-white);
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-base);
    display: block;
    margin-bottom: var(--ghng-space-1);
}

.ghng-legal-contact-box a {
    color: var(--ghng-teal);
    text-decoration: none;
}

.ghng-legal-contact-box a:hover { text-decoration: underline; }

/* ── Footer nav ── */
.ghng-legal-footer-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--ghng-space-8);
    margin-top: var(--ghng-space-4);
    border-top: 1px solid var(--ghng-border);
    gap: var(--ghng-space-4);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .ghng-legal-layout {
        grid-template-columns: 1fr;
    }

    .ghng-legal-toc {
        position: static;
    }

    .ghng-legal-toc__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }
}

@media (max-width: 560px) {
    .ghng-legal-toc__list { grid-template-columns: 1fr; }
    .ghng-legal-hero { padding: var(--ghng-space-8) 0 var(--ghng-space-6); }
    .ghng-legal-section__title { font-size: var(--ghng-text-lg); }
    .ghng-legal-footer-nav { flex-direction: column; align-items: stretch; }
    .ghng-legal-footer-nav .ghng-btn { text-align: center; justify-content: center; }
}









/* ============================================================
SUBMIT LISTING PAGE — Complete Styling Fix
============================================================ */

/* Hero sizing (padding/min-height/display) now lives in the global
   .ghng-page-hero--compact modifier near the base hero rules — see
   note there. This page still carries that class, so nothing here
   changes visually; only __content/__title/__subtitle (this page's
   own nonstandard inner-wrapper markup) stay scoped below. */
.ghng-submit-listing-page .ghng-page-hero__content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--ghng-space-6);
}

.ghng-submit-listing-page .ghng-page-hero__title {
    font-family: var(--ghng-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--ghng-weight-bold);
    color: var(--ghng-white);
    line-height: 1.2;
    margin: 0 0 var(--ghng-space-3);
    letter-spacing: -0.02em;
}

.ghng-submit-listing-page .ghng-page-hero__subtitle {
    font-size: var(--ghng-text-lg);
    color: var(--ghng-text-mid);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

/* Form container */
.ghng-submit-listing-layout {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--ghng-space-8) var(--ghng-space-6);
}

/* Form sections */
.ghng-form-section {
    background: var(--ghng-surface);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius-lg);
    padding: var(--ghng-space-8);
    margin-bottom: var(--ghng-space-6);
}

.ghng-form-section__heading {
    font-family: var(--ghng-font-display);
    font-size: var(--ghng-text-xl);
    font-weight: var(--ghng-weight-semibold);
    color: var(--ghng-white);
    margin: 0 0 var(--ghng-space-6);
    padding-bottom: var(--ghng-space-4);
    border-bottom: 1px solid var(--ghng-border);
}

/* Form groups */
.ghng-filter-group {
    margin-bottom: var(--ghng-space-5);
}

.ghng-filter-group:last-child {
    margin-bottom: 0;
}

.ghng-filter-label {
    display: block;
    font-size: var(--ghng-text-sm);
    font-weight: var(--ghng-weight-medium);
    color: var(--ghng-text-mid);
    margin-bottom: var(--ghng-space-2);
}

.ghng-required {
    color: var(--ghng-teal);
    margin-left: 2px;
}

/* Form inputs */
.ghng-input,
.ghng-select,
.ghng-textarea {
    width: 100%;
    padding: var(--ghng-space-3) var(--ghng-space-4);
    font-family: var(--ghng-font-body);
    font-size: var(--ghng-text-base);
    color: var(--ghng-text);
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius);
    outline: none;
    transition: border-color var(--ghng-transition), box-shadow var(--ghng-transition);
}

.ghng-input:focus,
.ghng-select:focus,
.ghng-textarea:focus {
    border-color: var(--ghng-teal);
    box-shadow: 0 0 0 3px var(--ghng-teal-glow);
}

.ghng-input::placeholder,
.ghng-textarea::placeholder {
    color: var(--ghng-muted-d);
}

.ghng-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.ghng-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237A8FA6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* ── Tag editor (resume builder — skills / tools / languages) ── */
/* NOTE: intentionally namespaced apart from .ghng-tag-input /
   .ghng-tag-grid (the checkbox-based specialisations widget in
   page-register.php / page-profile-edit.php). Do not reuse that
   class family here — see resume-builder.js tagFieldSection(). */
.ghng-tag-editor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ghng-space-2);
    padding: var(--ghng-space-3);
    background: var(--ghng-surface-elev);
    border: 1px solid var(--ghng-border);
    border-radius: var(--ghng-radius);
    transition: border-color var(--ghng-transition), box-shadow var(--ghng-transition);
}

.ghng-tag-editor:focus-within {
    border-color: var(--ghng-teal);
    box-shadow: 0 0 0 3px var(--ghng-teal-glow);
}

.ghng-tag-editor__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ghng-space-2);
}

.ghng-tag-editor__field {
    flex: 1 1 160px;
    min-width: 160px;
    width: auto;
    border: none;
    background: transparent;
    padding: var(--ghng-space-1) 0;
}

.ghng-tag-editor__field:focus {
    box-shadow: none;
}

.ghng-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--ghng-space-1);
    padding: 3px var(--ghng-space-3);
    border-radius: 999px;
    font-size: var(--ghng-text-xs);
    font-weight: var(--ghng-weight-medium);
    background: rgba(0,194,168,0.10);
    border: 1px solid rgba(0,194,168,0.20);
    color: var(--ghng-teal);
    white-space: nowrap;
}

.ghng-tag-pill__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.ghng-tag-pill__remove:hover {
    opacity: 1;
}

/* Checkbox grid */
.ghng-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--ghng-space-3);
}

.ghng-filter-label--check {
    display: flex;
    align-items: center;
    gap: var(--ghng-space-2);
    cursor: pointer;
    font-weight: var(--ghng-weight-normal);
    margin-bottom: 0;
}

.ghng-filter-label--check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--ghng-teal);
    cursor: pointer;
}

/* Submit button */
#ghng-submit-listing-btn {
    margin-top: var(--ghng-space-6);
    padding: var(--ghng-space-4) var(--ghng-space-6);
    font-size: var(--ghng-text-base);
}

/* Feedback messages */
.ghng-form-feedback {
    padding: var(--ghng-space-4);
    border-radius: var(--ghng-radius);
    margin-bottom: var(--ghng-space-6);
    font-size: var(--ghng-text-sm);
    line-height: 1.5;
}

.ghng-form-feedback--success {
    background: var(--ghng-success-bg);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: var(--ghng-success);
}

.ghng-form-feedback--error {
    background: var(--ghng-danger-bg);
    border: 1px solid rgba(248, 113, 113, 0.25);
    color: var(--ghng-danger);
}

/* Responsive */
@media (max-width: 768px) {
    .ghng-submit-listing-page .ghng-page-hero {
        padding: 40px 0 30px;
    }
    
    .ghng-page-hero__content {
        padding: 0 var(--ghng-space-4);
    }
    
    .ghng-submit-listing-layout {
        padding: var(--ghng-space-6) var(--ghng-space-4);
    }
    
    .ghng-form-section {
        padding: var(--ghng-space-6);
    }
    
    .ghng-checkbox-grid {
        grid-template-columns: 1fr;
    }
}



/* Profession tags on directory cards */
.ghng-directory-card__professions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ghng-space-1);
	margin-bottom: var(--ghng-space-2);
}

.ghng-tag--profession {
	background: rgba(139, 92, 246, 0.10);
	border-color: rgba(139, 92, 246, 0.25);
	color: #A78BFA;
	font-size: var(--ghng-text-xs);
	padding: var(--ghng-space-1) var(--ghng-space-2);
}

.ghng-tag--more {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--ghng-border);
	color: var(--ghng-muted);
}