/* =========================
   Staff Panel Main Hub
========================= */

.staff-panel-page {
    max-width: 1000px;
    margin: 0 auto;
}

.staff-panel-page h1 {
    color: #000000 !important;
    margin-bottom: 6px;
}

.staff-panel-page h2 {
    color: #000000 !important;
    margin-top: 36px;
    margin-bottom: 12px;
}

.staff-panel-intro {
    color: #000000 !important;
    margin-bottom: 20px;
}

.staff-notice-box {
    margin: 20px 0;
    padding: 18px 20px;
    background: #fff8e6;
    border: 1px solid #f1ddb0;
    border-radius: 12px;
    color: #000000;
}

.staff-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 270px);
    gap: 24px;
    justify-content: center;
    align-items: stretch;
    margin-top: 20px;
}

.staff-hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 270px;
    min-height: 260px;
    height: 100%;
    background: linear-gradient(180deg, rgba(25, 29, 36, 0.98), rgba(17, 20, 25, 0.98));
    border: 1px solid rgba(240, 59, 2, 0.7);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none !important;
    box-shadow: 0 0 14px rgba(240, 59, 2, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.staff-hub-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f03b02, #f0a93e);
}

.staff-hub-card:hover {
    transform: translateY(-4px);
    border-color: #ff6a2a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35),
                0 0 18px rgba(240, 59, 2, 0.35);
}

/* =========================
   Staff Dropdown Navigation
========================= */

.gc-staff-dropdown-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 12px 0 18px 0;
    padding-bottom: 10px;
    clear: both;
}

.gc-staff-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f1720;
    color: #ffffff !important;
    border: 1px solid #f03b02;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

.gc-staff-nav-link:hover,
.gc-staff-nav-link.active {
    background: #f03b02;
    color: #ffffff !important;
}

.gc-staff-nav-link.active {
    cursor: default;
}

.gc-staff-dropdown {
    position: relative;
    display: inline-flex;
    justify-content: center;
}

.gc-staff-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 240px;
    background: #0f1720;
    border: 1px solid #f03b02;
    border-radius: 14px;
    padding: 8px;
    z-index: 99999;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
    pointer-events: auto;
}

.gc-staff-dropdown:hover > .gc-staff-dropdown-menu,
.gc-staff-subdropdown:hover > .gc-staff-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gc-staff-dropdown-menu .gc-staff-nav-link {
    width: 100%;
    justify-content: flex-start;
    border-radius: 10px;
    padding: 9px 12px;
    margin: 0;
}

/* 🔥 FINAL FIX — remove ALL vertical spacing */
.gc-staff-dropdown-menu > .gc-staff-nav-link,
.gc-staff-dropdown-menu > .gc-staff-subdropdown {
    margin: 0 !important;
}

.gc-staff-subdropdown {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.gc-staff-subdropdown > .gc-staff-dropdown-toggle {
    margin: 0;
}

.gc-staff-subdropdown > .gc-staff-dropdown-menu {
    top: 0;
    left: calc(100% - 2px);
}

.gc-staff-subdropdown:hover > .gc-staff-dropdown-toggle {
    background: #f03b02;
    color: #ffffff !important;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {
    .gc-staff-dropdown-nav {
        flex-direction: column;
        align-items: center;
    }

    .gc-staff-dropdown,
    .gc-staff-nav-link {
        width: 100%;
    }

    .gc-staff-dropdown-menu,
    .gc-staff-subdropdown > .gc-staff-dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 6px;
        box-shadow: none;
    }
}