
:root {
    --header-height: 90px;
}

.leadership-profile {
    padding-top: var(--header-height);
}
/* =========================
   LEADERSHIP PAGE WRAPPER
========================= */
.leadership-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 40px;
}

.g-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* =========================
   HERO SECTION
========================= */
.leadership-hero {
    background: #fff;
    padding: 60px 20px 40px;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.leadership-hero h1 {
    font-size: 34px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #1a1a1a;
}

.leadership-hero p {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}

/* =========================
   FILTER BAR
========================= */
/* =========================
   FILTER BAR
========================= */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

/* ALL button - Your requested color */
.filter-btn.all {
    background: #457b9d;     /* ← Your custom color */
    color: #fff;
}

/* Active state for all buttons */
.filter-btn.active {
    background: #457b9d !important;   /* Keeps your color when active */
    color: #fff !important;
}

/* Executive - Yellow (same as card) */
.filter-btn.executive {
    background: #ffcc00;
    color: #000;
}

/* Board Member - Blue (same as card) */
.filter-btn.board-member,
.filter-btn.board {
    background: #0b5ed7;
    color: #fff;
}

/* inputs */
.filter-bar select,
.filter-bar input.search {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff;
}

.filter-bar input.search {
    flex: 1;
    min-width: 260px;
}

/* =========================
   GRID
========================= */
.g-grid.home-leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .g-grid.home-leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .g-grid.home-leadership-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   LEADER CARD
========================= */
.g-card.home-leader-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s;
}

.g-card.home-leader-card:hover {
    transform: translateY(-4px);
}

/* IMAGE - slightly to the left */
.leader-img-wrap {
    position: relative;
    padding: 24px 30px 0 20px;   /* left padding smaller = image shifts left */
    display: flex;
    justify-content: flex-start;   /* changed from center to left-ish */
    background: #fff;
}

.leader-img-wrap img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.13);
}

/* Country flag */
.country-flag {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.95);
    padding: 2px 8px 2px 4px;
    border-radius: 20px;
    font-size: 11px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.country-flag img {
    width: 22px !important;
    height: 16px !important;
    border-radius: 2px;
}

.country-name {
    font-size: 11px;
    font-weight: 600;
    color: #333;
}

/* CARD BODY */
.card-body {
    padding: 20px 20px 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.leader-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.role {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
    font-weight: 500;
}

/* =========================
   ROLE TYPE BADGE ON CARD
========================= */
.role-type-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Executive - Yellow */
.role-type-badge.executive {
    background: #ffcc00;
    color: #000;
}

/* Board Member - Blue (this was missing) */
.role-type-badge.board-member {
    background: #0b5ed7;
    color: #fff;
}

/* Bio */
.bio {
    text-align: center;
    margin: 0 auto 24px;
    max-width: 260px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-btn {
    margin-top: auto;
    display: block;
    background: #111;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.profile-btn:hover {
    background: #333;
}

.leadership-profile {
    background: #f8f9fa;
    min-height: 100vh;
}

/* HERO */
.profile-hero {
    background: #fff;
    padding: 50px 20px;
    border-bottom: 1px solid #eee;
}

.profile-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.profile-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.profile-header h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.profile-header .role {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.role-type {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.role-type.executive {
    background: #ffcc00;
    color: #000;
}

.role-type.board-member {
    background: #0b5ed7;
    color: #fff;
}

.country {
    font-size: 14px;
    color: #666;
}

/* CONTENT */
.profile-content {
    padding: 40px 20px;
}

.content-container {
    max-width: 900px;
    margin: auto;
}

.profile-block {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.profile-block h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.profile-block p {
    line-height: 1.7;
    color: #444;
}
.contact-info {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #333;   /* 👈 IMPORTANT FIX */
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}
.profile-back-row {
    max-width: 1100px;
    margin: 10px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}
