/* ============================================
   BOARD MEMBERS PAGE STYLES
   Minimal Modern Edition
   ============================================ */

.section {
    padding: 60px 0;
    background: #f8fafc;
}

/* Grid - 4 columns for more compact layout */
.row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

@media (min-width: 992px) {
    .row.g-4>.col-lg-4 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Board Member Card - Minimal Style */
.board-member-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid #50abc7;
}

.board-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(80, 171, 199, 0.25);
    border-color: #3d9ab8;
}

/* Member Photo - Smaller */
.member-photo {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #04133f 0%, #5107a4 100%);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.board-member-card:hover .member-photo img {
    transform: scale(1.05);
}

/* Photo Placeholder - Smaller with initials style */
.member-photo-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #04133f 0%, #5107a4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.member-photo-placeholder i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.25);
}

/* Subtle pattern */
.member-photo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 15px 15px;
}

/* Member Info - Compact */
.member-info {
    padding: 20px 18px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
    line-height: 1.3;
}

.member-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5107a4;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    background: rgba(81, 7, 164, 0.08);
    border-radius: 20px;
}

.member-bio {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Contact Buttons - Smaller */
.member-contact-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.member-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    color: #5107a4;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
}

.member-contact-btn:hover {
    background: #5107a4;
    color: #ffffff;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1200px) {
    .row.g-4>.col-lg-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 992px) {
    .row.g-4>.col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {

    .row.g-4>.col-lg-4,
    .row.g-4>.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .member-photo,
    .member-photo-placeholder {
        height: 140px;
    }

    .member-info {
        padding: 16px 14px;
    }

    .member-name {
        font-size: 0.95rem;
    }

    .board-member-card {
        border-radius: 12px;
    }
}