﻿/* Board of Directors Page Styles - Inspiration Design */
.board-of-directors-page {
    background-color: var(--stfm-light-gray);
}

/* Page Introduction - Subtitle styling as part of header block */
.page-intro {
    margin-top: 0.75rem; /* Tighter spacing to feel connected to header */
    margin-bottom: 3rem;
}

.intro-text {
    font-family: var(--stfm-body-font);
    font-size: 1.17rem; /* Reduced by 10% (1.3 * 0.9 = 1.17) */
    font-weight: 300; /* Lighter weight than header for hierarchy */
    color: #708090; /* Muted slate gray - sophisticated subtitle color */
    line-height: 1.6; /* Clean, readable line-height */
    margin: 0;
    padding-left: 25px; /* Align with section title (accounting for accent bar) */
    text-align: left; /* Left-align to match header */
    font-style: normal; /* Remove italic for cleaner subtitle feel */
}

/* Board Members Grid */
.board-members-grid {
    margin-top: 0; /* No extra margin needed since page-intro provides spacing */
}

/* Board Member Card - Inspiration Style */
.board-member-card {
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

    .board-member-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    }

/* Photo Section - Portrait aspect ratio for headshots */
.member-photo-section {
    position: relative;
    width: 100%;
    height: 400px; /* Increased height for portrait aspect ratio */
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow to separate from white background */
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Bias crop toward top 20% to keep faces in frame */
    display: block;
}

.photo-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    background-color: var(--stfm-light-gray);
    align-items: center;
    justify-content: center;
    color: var(--stfm-primary);
    font-size: 4rem;
}

/* Text Section - 30% of card */
.member-text-section {
    padding: 2rem 1.5rem; /* Increased top/bottom padding for better spacing */
    text-align: left;
}

/* Member Name - Bold, ALL CAPS, largest text */
.member-name {
    font-family: var(--stfm-heading-font);
    font-size: 1.1rem; /* Slightly smaller */
    font-weight: 700; /* Heavy weight */
    color: var(--stfm-primary);
    text-transform: uppercase;
    letter-spacing: 1px; /* Extra letter spacing for emphasis */
    margin-bottom: 0.5rem; /* Slightly more spacing below */
    line-height: 1.2; /* Tight line-height */
}

/* Member Title - Small caps, medium weight */
.member-title {
    font-family: var(--stfm-body-font);
    font-size: 0.95rem; /* 0.95x body text */
    font-weight: 500; /* Medium weight */
    color: var(--stfm-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem; /* More spacing below */
    line-height: 1.2; /* Tight line-height */
}

/* Member Organization - Normal sentence case, lighter weight */
.member-organization {
    font-family: var(--stfm-body-font);
    font-size: 1rem; /* Standard body size */
    font-weight: 300; /* Lighter weight to distinguish from name/role */
    color: var(--stfm-text);
    line-height: 1.5; /* Generous line-height for readability */
    margin-bottom: .3rem; /* More spacing below */
    text-transform: none; /* Normal sentence case */
}

/* Member Bio - Standard paragraph formatting */
.member-bio {
    font-family: var(--stfm-body-font);
    font-size: 1rem; /* Standard body size */
    font-weight: 400; /* Regular weight */
    color: #666;
    line-height: 1.6; /* Generous line-height for readability */
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--stfm-border-gray);
    text-transform: none; /* Normal sentence case */
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .member-photo-section {
        height: 350px; /* Maintain portrait aspect ratio */
    }

    .member-name {
        font-size: 1.05rem; /* Maintain hierarchy */
        letter-spacing: 0.8px;
    }

    .member-title {
        font-size: 0.9rem; /* Maintain proportion */
    }

    .member-organization {
        font-size: 0.95rem;
    }

    .member-bio {
        font-size: 0.95rem;
    }
}

@media (max-width: 991.98px) {
    .member-photo-section {
        height: 300px; /* Maintain portrait aspect ratio */
    }

    .member-text-section {
        padding: 1.75rem 1.25rem; /* Maintain better vertical spacing on medium screens */
    }

    .photo-placeholder {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    .intro-text {
        font-size: 1.04rem; /* Reduced by 10% (1.15 * 0.9 = 1.035, rounded to 1.04) */
        max-width: 100%;
        padding-left: 25px; /* Maintain alignment with header on mobile */
        padding-right: 1rem; /* Add right padding for mobile readability */
    }
}

.member-photo-section {
    height: 280px; /* Maintain portrait aspect ratio */
}

.member-text-section {
    padding: 1.5rem 1rem; /* Better vertical spacing on smaller screens */
}

.member-name {
    font-size: 1rem; /* Still largest text */
    letter-spacing: 0.6px;
}

.member-title {
    font-size: 0.85rem; /* Maintain medium weight look */
}

.member-organization {
    font-size: 0.9rem; /* Standard body */
}

.member-bio {
    font-size: 0.9rem; /* Standard body */
}

.photo-placeholder {
    font-size: 2.5rem;
}

}

@media (max-width: 575.98px) {
    .board-of-directors-page {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .member-photo-section {
        height: 250px; /* Maintain portrait aspect ratio */
    }

    .member-name {
        font-size: 0.95rem; /* Largest text on mobile */
        letter-spacing: 0.5px;
    }

    .member-title {
        font-size: 0.8rem; /* Medium size */
    }

    .member-organization {
        font-size: 0.85rem; /* Standard body on mobile */
    }

    .member-bio {
        font-size: 0.85rem; /* Standard body on mobile */
    }
}
