/* HABLUXE COMMUNITY STAFF DIRECTORY V2 */

.staff-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #f3f8fb;
}

.staff-page-hero {
    position: relative;
    min-height: 224px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    border: 1px solid #36566c;
    border-radius: 15px;
    background:
        radial-gradient(
            circle at 84% 34%,
            rgba(64, 164, 211, .2),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            rgba(25, 45, 62, .99),
            rgba(10, 24, 38, .99)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .055),
        0 16px 36px rgba(0, 0, 0, .2);
    isolation: isolate;
}

.staff-page-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .08;
    background: transparent;
}

.staff-page-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #dfb652, #65c8ec, transparent 80%);
}

.staff-page-hero__content {
    align-self: center;
    padding: 28px 32px;
}

.staff-page-hero__eyebrow {
    display: block;
    color: #74c8ed;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.staff-page-hero h1 {
    max-width: 780px;
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: .98;
}

.staff-page-hero__content > p {
    max-width: 700px;
    margin: 11px 0 0;
    color: #9aadb9;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
}

.staff-page-hero__stats {
    max-width: 550px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0 0;
}

.staff-page-hero__stats > div {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #3a5b70;
    border-radius: 9px;
    background: rgba(4, 19, 31, .56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.staff-page-hero__stats dt {
    color: #738b9b;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.staff-page-hero__stats dd {
    margin: 4px 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}

.staff-page-hero__visual {
    position: relative;
    min-height: 224px;
    overflow: hidden;
}

.staff-page-hero__visual::before {
    content: "";
    position: absolute;
    right: 20px;
    bottom: -74px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(102, 199, 237, .18);
    border-radius: 50%;
    background: rgba(55, 151, 197, .07);
}

.staff-page-hero__featured {
    position: absolute;
    inset: 0;
    display: block;
    color: inherit;
    text-decoration: none;
}

.staff-page-hero__featured > img {
    position: absolute;
    right: 68px;
    bottom: -18px;
    height: 218px;
    max-width: none;
    image-rendering: pixelated;
    filter: drop-shadow(0 11px 15px rgba(0, 0, 0, .52));
    transition: transform .18s ease, filter .18s ease;
}

.staff-page-hero__featured:hover > img {
    transform: translateY(-3px);
    filter:
        drop-shadow(0 12px 16px rgba(0, 0, 0, .55))
        drop-shadow(0 0 10px rgba(92, 193, 235, .2));
}

.staff-page-hero__featured-label {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    padding: 6px 8px;
    border: 1px solid rgba(105, 198, 235, .42);
    border-radius: 6px;
    background: rgba(4, 20, 32, .78);
    color: #76c9ed;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.staff-page-hero__featured-copy {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    width: 150px;
    padding: 10px 11px;
    border: 1px solid #3d657d;
    border-radius: 9px;
    background: rgba(4, 19, 31, .88);
    backdrop-filter: blur(8px);
}

.staff-page-hero__featured-copy strong,
.staff-page-hero__featured-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-page-hero__featured-copy strong {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.staff-page-hero__featured-copy small {
    margin-top: 3px;
    color: #8299a8;
    font-size: 9px;
    font-weight: 800;
}

.staff-page-hero__empty-art {
    min-height: 224px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(103, 191, 232, .28);
    font-size: 66px;
}

.staff-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 16px;
}

.staff-departments,
.staff-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.staff-department {
    position: relative;
    overflow: hidden;
    border: 1px solid #304b5e;
    border-left: 3px solid var(--staff-department-color);
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            rgba(24, 43, 59, .99),
            rgba(10, 24, 38, .99)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 10px 26px rgba(0, 0, 0, .16);
}

.staff-department__header {
    min-height: 76px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    border-bottom: 1px solid #304b5e;
    background:
        linear-gradient(
            90deg,
            color-mix(
                in srgb,
                var(--staff-department-color) 11%,
                rgba(5, 21, 34, .5)
            ),
            rgba(5, 21, 34, .32)
        );
}

.staff-department__badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid
        color-mix(
            in srgb,
            var(--staff-department-color) 58%,
            #496274
        );
    border-radius: 9px;
    background:
        color-mix(
            in srgb,
            var(--staff-department-color) 18%,
            rgba(5, 21, 34, .72)
        );
}

.staff-department__badge img {
    max-width: 39px;
    max-height: 39px;
    image-rendering: pixelated;
}

.staff-department__badge span {
    color: #fff;
    font-size: 16px;
}

.staff-department__heading {
    min-width: 0;
}

.staff-department__heading > span {
    display: block;
    color: var(--staff-department-color);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.staff-department__heading h2 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.staff-department__heading p {
    overflow: hidden;
    margin: 4px 0 0;
    color: #7d93a2;
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-department__count {
    min-width: 70px;
    padding: 8px 10px;
    border: 1px solid #38576b;
    border-radius: 8px;
    background: rgba(4, 19, 31, .46);
    text-align: center;
}

.staff-department__count strong,
.staff-department__count span {
    display: block;
}

.staff-department__count strong {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.staff-department__count span {
    margin-top: 2px;
    color: #748a99;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.staff-department__body {
    padding: 12px;
}

.staff-department__grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(min(100%, 330px), 1fr)
        );
    gap: 12px;
}

.staff-department__empty {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px dashed
        color-mix(
            in srgb,
            var(--staff-department-color) 28%,
            transparent
        );
    border-radius: 10px;
    background:
        radial-gradient(
            circle at 50% 0,
            color-mix(
                in srgb,
                var(--staff-department-color) 8%,
                transparent
            ),
            transparent 65%
        );
    text-align: center;
}

.staff-department__empty > div {
    color: color-mix(
        in srgb,
        var(--staff-department-color) 72%,
        #7fa0b4
    );
    font-size: 19px;
}

.staff-department__empty h3 {
    margin: 7px 0 0;
    color: #e3ecf1;
    font-size: 11px;
    font-weight: 900;
}

.staff-department__empty p {
    max-width: 430px;
    margin: 5px 0 0;
    color: #748b9a;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
}

.staff-sidebar-card {
    overflow: hidden;
    border: 1px solid #304b5e;
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            rgba(24, 43, 59, .99),
            rgba(10, 24, 38, .99)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 10px 26px rgba(0, 0, 0, .16);
}

.staff-sidebar-card__header {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-bottom: 1px solid #304b5e;
    background: rgba(5, 21, 34, .4);
}

.staff-sidebar-card__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3d718c;
    border-radius: 8px;
    background: rgba(56, 154, 201, .1);
    color: #74c7eb;
    font-size: 11px;
    font-weight: 900;
}

.staff-sidebar-card__header > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.staff-sidebar-card__header span {
    display: block;
    color: #718999;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.staff-sidebar-card__header h2 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.staff-sidebar-card__header > strong {
    min-width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3d7c53;
    border-radius: 999px;
    background: rgba(48, 148, 70, .11);
    color: #82e295;
    font-size: 9px;
    font-weight: 900;
}

.staff-online-list {
    padding: 8px;
}

.staff-online-member {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease;
}

.staff-online-member:hover {
    border-color: #36576c;
    background: rgba(54, 153, 198, .075);
}

.staff-online-member:focus-visible,
.staff-newest-member:focus-visible,
.staff-page-hero__featured:focus-visible {
    outline: 2px solid rgba(255, 220, 115, .92);
    outline-offset: 3px;
}

.staff-online-member__avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid #3b5d72;
    border-radius: 8px;
    background: rgba(4, 19, 31, .58);
}

.staff-online-member__avatar img {
    width: 46px;
    max-width: none;
    margin-top: -2px;
    image-rendering: pixelated;
}

.staff-online-member__identity {
    min-width: 0;
    flex: 1;
}

.staff-online-member__identity strong,
.staff-online-member__identity small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-online-member__identity strong {
    color: #edf4f7;
    font-size: 10px;
    font-weight: 900;
}

.staff-online-member__identity small {
    margin-top: 3px;
    color: #748b9a;
    font-size: 8px;
    font-weight: 800;
}

.staff-online-member__indicator {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #66dc7d;
    box-shadow: 0 0 9px rgba(102, 220, 125, .72);
}

.staff-sidebar-card__empty {
    min-height: 126px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
}

.staff-sidebar-card__empty > span {
    color: #557b92;
    font-size: 17px;
}

.staff-sidebar-card__empty strong {
    margin-top: 6px;
    color: #e1eaf0;
    font-size: 10px;
    font-weight: 900;
}

.staff-sidebar-card__empty p {
    margin: 5px 0 0;
    color: #748a99;
    font-size: 8px;
    font-weight: 700;
}

.staff-newest-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: inherit;
    text-decoration: none;
    transition: background .16s ease;
}

.staff-newest-member:hover {
    background: rgba(54, 153, 198, .075);
}

.staff-newest-member__avatar {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid #3b5d72;
    border-radius: 9px;
    background: rgba(4, 19, 31, .58);
}

.staff-newest-member__avatar img {
    width: 51px;
    max-width: none;
    margin-top: -2px;
    image-rendering: pixelated;
}

.staff-newest-member > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.staff-newest-member strong,
.staff-newest-member small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-newest-member strong {
    color: #edf4f7;
    font-size: 10px;
    font-weight: 900;
}

.staff-newest-member small {
    margin-top: 3px;
    color: #748b9a;
    font-size: 8px;
    font-weight: 800;
}

.staff-newest-member > span:last-child {
    color: #73c7eb;
    font-size: 13px;
}

.staff-sidebar__discord {
    color-scheme: dark;
}

.staff-sidebar__discord > div {
    overflow: hidden;
    border: 1px solid #304b5e !important;
    border-radius: 12px !important;
    background:
        linear-gradient(
            145deg,
            rgba(24, 43, 59, .99),
            rgba(10, 24, 38, .99)
        ) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 10px 26px rgba(0, 0, 0, .16);
}

.staff-page-empty {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 1px solid #304b5e;
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            rgba(24, 43, 59, .99),
            rgba(10, 24, 38, .99)
        );
    text-align: center;
}

.staff-page-empty > div {
    color: #69bee5;
    font-size: 27px;
}

.staff-page-empty h2 {
    margin: 10px 0 0;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.staff-page-empty p {
    max-width: 500px;
    margin: 8px 0 0;
    color: #768d9c;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.55;
}

@media (min-width: 1280px) {
    .staff-page {
        position: relative;
        left: 50%;
        width: calc(100vw - 40px);
        max-width: 1500px;
        transform: translateX(-50%);
    }
}

@media (min-width: 1800px) {
    .staff-page {
        max-width: 1560px;
    }
}

@media (max-width: 1040px) {
    .staff-page-hero {
        grid-template-columns: minmax(0, 1fr) 245px;
    }

    .staff-page-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .staff-page-hero__featured > img {
        right: 48px;
    }
}

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

    .staff-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .staff-sidebar__discord {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .staff-page-hero {
        grid-template-columns: 1fr;
    }

    .staff-page-hero__visual {
        min-height: 190px;
    }

    .staff-page-hero__featured > img {
        right: 50%;
        bottom: -22px;
        height: 190px;
        transform: translateX(50%);
    }

    .staff-page-hero__featured:hover > img {
        transform: translateX(50%) translateY(-3px);
    }

    .staff-page-hero__content {
        padding: 24px 22px;
    }

    .staff-sidebar {
        grid-template-columns: 1fr;
    }

    .staff-sidebar__discord {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .staff-page-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .staff-page-hero__stats > div {
        padding: 9px;
    }

    .staff-department__header {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .staff-department__badge {
        width: 44px;
        height: 44px;
    }

    .staff-department__count {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .staff-department__heading p {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .staff-page-hero__featured > img,
    .staff-online-member,
    .staff-newest-member {
        transition: none;
    }

    .staff-page-hero__featured:hover > img {
        transform: none;
    }

    @media (max-width: 720px) {
        .staff-page-hero__featured:hover > img {
            transform: translateX(50%);
        }
    }
}