/**
 * Leadership Page Styles
 *
 * Sections:
 * 1. Hero Section - Dark blue background with illustration
 * 2. Team Grid Section - Leadership team and Board of Directors
 *
 * @package WorkJam
 */

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.leadership-hero {
    background-color: #2B388F;
    padding: 120px 120px 64px 120px;
}

.leadership-hero__container {
    max-width: 1272px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 36px;
}

.leadership-hero__illustration {
    flex: 0 0 330px;
    width: 330px;
}

.leadership-hero__illustration img {
    width: 100%;
    height: auto;
    display: block;
}

.leadership-hero__content {
    flex: 1;
    padding: 10px;
}

.leadership-hero__title {
    font-family: 'Avenir Next', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 0.88;
    color: #FFFFFF;
    margin: 0 0 46px 0;
    max-width: 592px;
}

.leadership-hero__subtitle {
    font-family: 'Avenir Next', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    color: #FFFFFF;
    margin: 0 0 46px 0;
    max-width: 702px;
}

.leadership-hero__statement {
    font-family: 'Avenir Next', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    color: #FFFFFF;
    margin: 0;
    max-width: 702px;
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .leadership-hero {
        padding: 60px 45px;
    }

    .leadership-hero__container {
        flex-direction: column;
        text-align: center;
    }

    .leadership-hero__illustration {
        flex: none;
        width: 250px;
    }

    .leadership-hero__title {
        font-size: 48px;
    }

    .leadership-hero__subtitle,
    .leadership-hero__statement {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .leadership-hero {
        padding: 40px 20px;
    }

    .leadership-hero__title {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .leadership-hero__subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .leadership-hero__statement {
        font-size: 16px;
    }
}

/* ==========================================================================
   2. TEAM GRID SECTION
   ========================================================================== */

.leadership-team {
    background-color: #E9EBF3;
    padding: 72px 149px;
}

.leadership-team__container {
    max-width: 1214px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
}

.leadership-team__header {
    flex: 0 0 366px;
    width: 366px;
}

.leadership-team__title {
    font-family: 'Avenir Next', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: normal;
    color: #121C66;
    margin: 0;
}

.leadership-team__grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 32px;
}

/* ==========================================================================
   3. PERSON CARD
   ========================================================================== */

.leadership-team__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.leadership-team__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 7px;
    background-color: #E9EBF3;
}

.leadership-team__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Placeholder when no image */
.leadership-team__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2B388F 0%, #121C66 100%);
}

.leadership-team__photo--placeholder svg {
    width: 50px;
    height: 50px;
    fill: rgba(255, 255, 255, 0.5);
}

.leadership-team__name {
    font-family: 'Avenir Next', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #2B388F;
    margin: 0 0 7px 0;
}

.leadership-team__job-title {
    font-family: 'Avenir Next', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #2B388F;
    margin: 0 0 7px 0;
}

.leadership-team__linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #2B388F;
    transition: color 0.2s ease, transform 0.2s ease;
}

.leadership-team__linkedin:hover {
    color: #0077B5;
    transform: scale(1.1);
}

.leadership-team__linkedin svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ==========================================================================
   4. BOARD SECTION (no job titles, different spacing)
   ========================================================================== */

.leadership-team--board {
    padding-top: 64px;
}

.leadership-team--board .leadership-team__card {
    /* Board members don't have job titles, adjust spacing */
}

/* ==========================================================================
   5. RESPONSIVE GRID
   ========================================================================== */

@media (max-width: 1200px) {
    .leadership-team {
        padding: 60px 45px;
    }

    .leadership-team__container {
        flex-direction: column;
    }

    .leadership-team__header {
        flex: none;
        width: 100%;
        margin-bottom: 32px;
    }

    .leadership-team__title {
        font-size: 36px;
    }

    .leadership-team__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .leadership-team__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .leadership-team {
        padding: 40px 20px;
    }

    .leadership-team__title {
        font-size: 28px;
        text-align: center;
    }

    .leadership-team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .leadership-team__photo {
        width: 80px;
        height: 80px;
    }

    .leadership-team__name {
        font-size: 14px;
    }

    .leadership-team__job-title {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .leadership-team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .leadership-team__photo {
        width: 70px;
        height: 70px;
    }
}
