/* ============================================
   BOARD MEMBER CARDS
============================================ */

.board-member-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
    background: rgba(255,255,255,0.22);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

..board-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.board-photo.placeholder {
    background: #eee;
    width: 120px;
    height: 120px;
    border-radius: 6px;
    margin-bottom: 10px;
}


.board-info h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
}

.board-role {
    margin: 0.25rem 0 0.6rem;
    font-weight: 600;
    color: #444;
}

.board-notes {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #333;
}

/* Board grid layout */
#unit-board-list,
#pbc-board-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Card container */
.board-member-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px 15px 15px; /* increased top padding */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px; /* ensures consistent card height */
}


/* Photo styling */
.board-photo {
    width: 120px;
    height: 160px; /* taller box */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid #bbb;
}


/* Placeholder for missing photos */
.board-photo.placeholder {
    width: 120px;
    height: 120px;
    background: #e6e6e6;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
}

/* Text styling */
.board-info h3 {
    margin: 5px 0 8px;
    font-size: 1.2rem;
}

.board-role {
    font-weight: bold;
    margin-bottom: 8px;
}

.board-info p {
    margin: 4px 0;
}
