
/* =========================================================
   CLASSIFIED — TEAM
========================================================= */

.team-page {
    width: min(100%, 1040px);

    margin: 0 auto;

    padding:
        62px
        28px
        100px;
}


/* HERO */

.team-hero {
    max-width: 720px;

    margin: 0 auto 58px;

    text-align: center;
}

.team-eyebrow {
    margin-bottom: 15px;

    color: #d1ad68;

    font-size: 9px;
    font-weight: 750;

    letter-spacing: .25em;
}

.team-hero h1 {
    margin: 0;

    color: #f4f5f7;

    font-size: clamp(38px, 5vw, 58px);
    font-weight: 680;

    letter-spacing: -.04em;
}

.team-hero p {
    max-width: 620px;

    margin:
        17px
        auto
        0;

    color: #7d8b9e;

    font-size: 13px;
    line-height: 1.9;
}


/* SECTION HEADER */

.team-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 18px;
}

.team-section-head span:first-child {
    color: #d1ad68;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .17em;
}

.team-section-head h2 {
    margin:
        5px
        0
        0;

    color: #e8ebef;

    font-size: 20px;
    font-weight: 600;
}

.team-count {
    color: #586676;

    font-size: 10px;
}


/* GRID */

.team-grid {
    display: grid;

    grid-template-columns: 1fr;
}


/* MEMBER CARD */

.team-member-card {
    position: relative;

    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr);

    gap: 32px;

    padding: 28px;

    overflow: hidden;

    border:
        1px solid
        rgba(209,173,104,.18);

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(16,27,45,.97),
            rgba(8,15,26,.98)
        );

    box-shadow:
        0 20px 70px
        rgba(0,0,0,.17);

    transition:
        transform .24s ease,
        border-color .24s ease,
        box-shadow .24s ease;
}


.team-member-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(209,173,104,.34);

    box-shadow:
        0 25px 80px
        rgba(0,0,0,.23);
}


.team-card-glow {
    position: absolute;

    width: 300px;
    height: 300px;

    top: -200px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(209,173,104,.055);

    filter: blur(70px);

    pointer-events: none;
}


/* AVATAR */

.team-member-visual {
    display: flex;

    justify-content: center;
    align-items: center;
}


.team-avatar-shell {
    position: relative;

    width: 175px;
    height: 175px;
}


.team-avatar {
    display: block;

    width: 175px;
    height: 175px;

    object-fit: cover;
    object-position: center;

    border:
        1px solid
        rgba(209,173,104,.42);

    border-radius: 22px;

    background: #0b1320;

    box-shadow:
        0 18px 45px rgba(0,0,0,.25),
        0 0 0 5px rgba(209,173,104,.025);
}


.team-avatar-fallback {
    display: grid;

    place-items: center;

    color: #d1ad68;

    font-size: 48px;
    font-weight: 700;
}


.team-online-dot {
    position: absolute;

    right: -4px;
    bottom: -4px;

    width: 18px;
    height: 18px;

    border: 4px solid #0b1422;

    border-radius: 50%;

    background: #4bd28b;

    box-shadow:
        0 0 14px
        rgba(75,210,139,.30);
}


/* INFO */

.team-member-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;
}


.team-member-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;
}


.team-member-label {
    color: #d1ad68;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .15em;
}


.team-member-info h3 {
    margin:
        7px
        0
        0;

    color: #f1f3f5;

    font-size: 28px;
    font-weight: 650;

    letter-spacing: -.025em;
}


.team-role {
    margin:
        6px
        0
        0;

    color: #c3a86d;

    font-size: 12px;
    font-weight: 550;
}


/* CROWN */

.team-crown {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(209,173,104,.20);

    border-radius: 11px;

    color: #d1ad68;

    background:
        rgba(209,173,104,.055);
}

.team-crown svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* DESCRIPTION */

.team-description {
    max-width: 650px;

    margin:
        22px
        0
        0;

    color: #77869a;

    font-size: 11px;
    line-height: 1.85;
}


/* TAGS */

.team-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 22px;
}


.team-tags > span {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 8px 10px;

    border:
        1px solid
        rgba(255,255,255,.055);

    border-radius: 9px;

    color: #8795a5;

    background:
        rgba(255,255,255,.018);
}


.team-tags svg {
    width: 14px;
    height: 14px;

    fill: none;

    stroke: #b59c67;
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.team-tags b {
    font-size: 8px;
    font-weight: 550;
}


/* NOTE */

.team-note {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-top: 18px;

    padding: 15px 18px;

    border:
        1px solid
        rgba(255,255,255,.045);

    border-radius: 12px;

    background:
        rgba(255,255,255,.012);
}


.team-note-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: grid;
    place-items: center;

    color: #8492a3;
}


.team-note-icon svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.team-note strong {
    color: #a8b2be;

    font-size: 10px;
}


.team-note p {
    margin:
        3px
        0
        0;

    color: #5d6a7a;

    font-size: 8px;
}


/* RTL */

html[dir="rtl"] .team-member-card,
html[dir="rtl"] .team-note {
    text-align: right;
}


/* TABLET */

@media (max-width: 800px) {

    .team-member-card {
        grid-template-columns:
            160px
            minmax(0, 1fr);
    }

    .team-avatar-shell,
    .team-avatar {
        width: 145px;
        height: 145px;
    }

}


/* MOBILE */

@media (max-width: 620px) {

    .team-page {
        padding:
            35px
            14px
            70px;
    }

    .team-member-card {
        grid-template-columns: 1fr;

        padding: 22px 18px;
    }

    .team-member-visual {
        justify-content: flex-start;
    }

    .team-avatar-shell,
    .team-avatar {
        width: 105px;
        height: 105px;
    }

    .team-member-info h3 {
        font-size: 23px;
    }

}


/* VERY SMALL MOBILE */

@media (max-width: 400px) {

    .team-member-top {
        gap: 12px;
    }

    .team-crown {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

}

