/* --- Managing Board Pro Styles (Reconstructed) --- */

:root {
    --pro-blue: #063b90;
    --pro-dark: #111827;
    --pro-gold: #f1c50e;
    --pro-grey: #f8fafc;
    --pro-text: #64748b;
    --pro-radius: 4px;
    --pro-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

#page-managing-board {
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
}

/* Page Header */
.page-header {
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(6, 59, 144, 0.9), rgba(0, 0, 0, 0.4));
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Intro */
.board-intro {
    padding: 80px 0;
    text-align: center;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-content span {
    color: var(--pro-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    display: block;
    margin-bottom: 15px;
}

.intro-content h2 {
    font-size: 36px;
    color: var(--pro-blue);
    margin-bottom: 20px;
}

.intro-content p {
    color: var(--pro-text);
    line-height: 1.9;
    font-size: 15px;
}

/* Leadership Features (Spotlight) */
.leadership-spotlight {
    padding: 0 0 80px;
}


/* Leadership Features - Simplified for Stability */
.leadership-spotlight {
    padding: 0 0 60px;
}

.leader-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 5%;
}

.leader-row:last-child {
    margin-bottom: 0;
}

.leader-image-col {
    flex: 0 0 45%;
    max-width: 45%;
}

.leader-info-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.leader-frame {
    border-radius: var(--pro-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: 260px;
    max-width: 260px;
    margin: 0 auto;
    /* Center the image in the column */
    background: #f8fafc;
    /* Consistent background */
}

.leader-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* Reverse layout for desktop */
.leader-row.reverse {
    flex-direction: row-reverse;
}

/* Hard Mobile Breakpoint Override */
@media (max-width: 991px) {

    .leader-row,
    .leader-row.reverse {
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
    }

    .leader-image-col,
    .leader-info-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .leader-image-col {
        max-width: 400px;
        /* Constrain image on mobile */
        margin: 0 auto;
    }

    .leader-socials {
        justify-content: center;
    }
}

.leader-info-col h3 {
    font-size: 32px;
    color: var(--pro-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.leader-role {
    color: var(--pro-blue);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    display: block;
}

.leader-bio {
    color: var(--pro-text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.leader-signature {
    margin-top: 20px;
    max-width: 150px;
    opacity: 0.8;
}

.leader-socials {
    display: flex;
    gap: 15px;
}

.leader-socials a {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--pro-dark);
    transition: all 0.3s;
}

.leader-socials a:hover {
    background: var(--pro-blue);
    color: #fff;
    transform: translateY(-3px);
}

/* Executive Grid (Compact) */
.executive-section {
    padding: 80px 0;
    background: var(--pro-grey);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--pro-dark);
    margin-bottom: 15px;
}

.exec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.exec-card {
    background: #fff;
    border-radius: var(--pro-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.exec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
}

.exec-img-box {
    height: 260px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.exec-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

.exec-info {
    padding: 20px;
}

.exec-info h4 {
    font-size: 18px;
    color: var(--pro-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.exec-info p {
    font-size: 13px;
    color: var(--pro-blue);
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

/* Responsiveness */
@media (max-width: 992px) {
    .leader-row {
        flex-direction: column !important;
        /* Stack columns */
        text-align: center;
        gap: 30px;
    }

    .leader-socials {
        justify-content: center;
    }

    .exec-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .exec-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header h1 {
        font-size: 36px;
    }

    .intro-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .exec-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
}