/*
|--------------------------------------------------------------------------
| ALHOMIS Corporate Trust, Leadership and Staff Portal
|--------------------------------------------------------------------------
*/

.main-navigation .navigation-divider {
    width: 1px;
    height: 28px;
    margin: 0 0.35rem;
    background: rgba(199, 163, 74, 0.36);
    flex: 0 0 auto;
}

.main-navigation .staff-portal-link {
    font-family: "Manrope", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.72;
}

.main-navigation .staff-portal-link:hover,
.main-navigation .staff-portal-link:focus {
    opacity: 1;
}

/*
|--------------------------------------------------------------------------
| Leadership Page
|--------------------------------------------------------------------------
*/

.leadership-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(
            100deg,
            rgba(1, 24, 15, 0.96),
            rgba(2, 44, 29, 0.72)
        ),
        url("../images/about.jpg") center/cover no-repeat;
}

.leadership-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(1, 20, 13, 0.92),
            transparent 70%
        );
}

.leadership-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 11rem;
    padding-bottom: 6rem;
}

.leadership-hero .eyebrow {
    display: block;
    margin-bottom: 1.3rem;
    color: #d5b458;
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.leadership-hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.7rem, 9vw, 7.5rem);
    font-weight: 600;
    line-height: 0.88;
}

.leadership-hero h1 em {
    color: #d5b458;
    font-weight: 500;
}

.leadership-hero p {
    max-width: 650px;
    margin: 2rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.9;
}

.leadership-introduction {
    padding: 7rem 0 4rem;
    background: #f7f4ec;
}

.leadership-introduction-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 6rem;
    align-items: start;
}

.leadership-introduction h2,
.leadership-team-heading h2,
.credentials-heading h2 {
    margin: 0;
    color: #062a1c;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    font-weight: 600;
    line-height: 1;
}

.leadership-introduction-copy p {
    margin: 0 0 1.4rem;
    color: #536158;
    font-size: 1rem;
    line-height: 1.9;
}

.leadership-team-section {
    padding: 4rem 0 8rem;
    background: #f7f4ec;
}

.leadership-team-heading {
    max-width: 760px;
    margin-bottom: 3.5rem;
}

.leadership-team-heading p {
    max-width: 650px;
    margin: 1.4rem 0 0;
    color: #667169;
    line-height: 1.8;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.leadership-card {
    overflow: hidden;
    border: 1px solid rgba(5, 44, 29, 0.1);
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(7, 41, 28, 0.07);
}

.leadership-portrait {
    min-height: 320px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            145deg,
            #092f21,
            #031b12
        );
}

.leadership-initials {
    width: 116px;
    height: 116px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(213, 180, 88, 0.6);
    border-radius: 50%;
    color: #d5b458;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.1rem;
    font-weight: 600;
}

.leadership-card-body {
    padding: 2rem;
}

.leadership-role {
    display: block;
    margin-bottom: 0.75rem;
    color: #ad8a31;
    font-family: "Manrope", sans-serif;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.leadership-card h3 {
    margin: 0;
    color: #08271b;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600;
}

.leadership-card p {
    margin: 1rem 0 0;
    color: #68736c;
    font-size: 0.9rem;
    line-height: 1.75;
}

.profile-pending {
    display: inline-flex;
    margin-top: 1.4rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(173, 138, 49, 0.25);
    color: #886c25;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/*
|--------------------------------------------------------------------------
| Credentials Section
|--------------------------------------------------------------------------
*/

.credentials-section {
    padding: 8rem 0;
    background: #06281b;
    color: #ffffff;
}

.credentials-heading {
    max-width: 830px;
    margin-bottom: 3.5rem;
}

.credentials-heading h2 {
    color: #ffffff;
}

.credentials-heading p {
    max-width: 680px;
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.85;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.credential-card {
    position: relative;
    min-height: 230px;
    padding: 2.2rem;
    border: 1px solid rgba(213, 180, 88, 0.25);
    background: rgba(255, 255, 255, 0.035);
}

.credential-number {
    display: block;
    margin-bottom: 2.5rem;
    color: #d5b458;
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.credential-card h3 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600;
}

.credential-card p {
    max-width: 500px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    line-height: 1.75;
}

.credential-status {
    display: inline-flex;
    margin-top: 1.5rem;
    color: #d5b458;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.credentials-security-note {
    margin-top: 2rem;
    padding: 1.4rem 1.6rem;
    border-left: 3px solid #d5b458;
    background: rgba(255, 255, 255, 0.045);
}

.credentials-security-note strong {
    color: #d5b458;
}

.credentials-security-note p {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .leadership-introduction-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .main-navigation .navigation-divider {
        width: 100%;
        height: 1px;
        margin: 1.15rem 0 0.5rem;
    }

    .main-navigation .staff-portal-link {
        font-family: "Manrope", sans-serif !important;
        font-size: 0.82rem !important;
        letter-spacing: 0.16em;
        color: #d5b458 !important;
    }
}

@media (max-width: 680px) {
    .leadership-hero {
        min-height: 620px;
    }

    .leadership-hero-content {
        padding-top: 9rem;
        padding-bottom: 4rem;
    }

    .leadership-introduction,
    .credentials-section {
        padding: 5rem 0;
    }

    .leadership-team-section {
        padding: 2rem 0 5rem;
    }

    .leadership-grid,
    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .leadership-portrait {
        min-height: 280px;
    }
}
