/* Board Page Specific Styles */

.page-header {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 80px 0 40px;
    text-align: center;
    margin-top: 186px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Board Section */
.board-section {
    padding: 100px 0;
    background: var(--white);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.board-card {
    background: var(--bg-cream);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}


.board-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.board-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Individual board member photo adjustments - object-position for face framing */
.board-card:nth-child(1) .board-image img { /* Bradley Fulner */
    object-position: center center;
}

.board-card:nth-child(2) .board-image img { /* Todd Godfrey */
    object-position: center 25%;
}

.board-card:nth-child(3) .board-image img { /* Troy Edwards - face positioned down */
    object-position: center 10%;
}

.board-card:nth-child(4) .board-image img { /* Zach Sperry */
    object-position: center center;
}

.board-card:nth-child(5) .board-image img { /* Teresa Tomlin */
    object-position: center center;
}

.board-card:nth-child(6) .board-image img { /* Nicholas Jones III */
    object-position: center center;
}

.board-card:nth-child(7) .board-image img { /* Alexxis Tolbert */
    object-position: center center;
}

.board-card:nth-child(8) .board-image img { /* Kara Bell Fiske */
    object-position: center 20%;
}

.board-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.board-content h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.board-role {
    display: block;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.board-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.board-social {
    display: flex;
    gap: 12px;
}

.board-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: all 0.3s;
}

.board-social a:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* Board social with story link */
.board-social-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.board-social-with-link .social-icons {
    display: flex;
    gap: 12px;
}

.board-social-with-link .btn-story {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-green);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px !important;
    border-radius: 4px;
    transition: background-color 0.3s;
    white-space: nowrap;
    width: auto;
    height: auto;
}

.btn-story:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
}

.btn-story:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
}

.btn-story i {
    font-size: 0.75rem;
}

/* Consultants Section */
.consultants-section {
    padding: 100px 0;
    background: var(--bg-cream);
}

.consultants-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.consultant-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.consultant-image {
    height: 250px;
    overflow: hidden;
}

.consultant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Individual consultant photo adjustments */
.consultants-grid .consultant-card:nth-child(1) .consultant-image img { /* Brian McGuire */
    object-position: center 55%;
}

.consultants-grid .consultant-card:nth-child(3) .consultant-image img { /* Joe Lombardi */
    object-position: center 55%;
}

.consultants-grid .consultant-card:nth-child(4) .consultant-image img { /* Jake Huggins */
    object-position: center 25%;
}

.consultants-grid .consultant-card:nth-child(7) .consultant-image img { /* Ramon Peralta */
    object-position: center 20%;
}

.consultant-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.consultant-content h4 {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.consultant-role {
    display: block;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.consultant-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Centered single card in 2-column grid (Alisa) */
.consultant-card-centered {
    grid-column: 1 / -1;
    max-width: calc(50% - 20px);
    margin: 0 auto;
}

/* Single-card grid (Liam / Youth Advisory) */
.consultants-grid-single {
    grid-template-columns: 1fr;
    max-width: calc(50% - 20px);
    margin: 0 auto;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 992px) {
    .board-grid {
        grid-template-columns: 1fr;
    }

    .consultants-grid {
        grid-template-columns: 1fr;
    }

    .consultant-card-centered {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }

    .consultants-grid-single {
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 116px;
        padding: 50px 0 30px;
        min-height: 130px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .board-section,
    .consultants-section {
        padding: 60px 0;
    }

    .board-image {
        height: 240px;
    }

    .board-content {
        padding: 24px;
    }

    .board-content h3 {
        font-size: 1.3rem;
    }

    .consultant-image {
        height: 200px;
    }

    .consultant-content {
        padding: 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .board-social a {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-top: 100px;
        padding: 40px 0 24px;
        min-height: auto;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .board-image {
        height: 200px;
    }

    .board-content {
        padding: 20px;
    }
}
