/* ============================================================
   STEERING COMMITTEE SECTION
   Append this block to css/style.css
   ============================================================ */

.committee-section {
    background: #ffffff;
    padding: 5rem 0;
}

.committee-subtitle {
    font-size: 1.05rem;
    color: var(--dark-gray);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- Card ---------- */
.committee-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.committee-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.committee-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(204, 54, 52, 0.2);
}

.committee-card:hover::before {
    transform: scaleX(1);
}

/* ---------- Inner layout ---------- */
.committee-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* ---------- Avatar — initials (default) ---------- */
.committee-avatar {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(204, 54, 52, 0.08);
    border: 2px solid rgba(204, 54, 52, 0.2);
    color: var(--primary-red);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Initials circle inverts on card hover */
.committee-card:hover .committee-avatar:not(.committee-avatar--photo) {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
}

/* ---------- Avatar — photo variant ---------- */
.committee-avatar--photo {
    background: #e9ecef;
    border-color: #e9ecef;
    padding: 0;
}

.committee-avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    display: block;
    transition: transform 0.4s ease;
}

/* Slight zoom on photo hover */
.committee-card:hover .committee-avatar--photo img {
    transform: scale(1.08);
}

/* Photo border highlights red on hover */
.committee-card:hover .committee-avatar--photo {
    border-color: rgba(204, 54, 52, 0.35);
}

/* ---------- Text ---------- */
.committee-info {
    flex: 1;
    min-width: 0;
}

.committee-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.committee-name a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.committee-name a:hover {
    color: var(--primary-red);
}

.committee-li-icon {
    font-size: 0.85rem;
    color: var(--light-gray);
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.committee-name a:hover .committee-li-icon {
    color: #0077b5;
}

.committee-name.no-link {
    color: #1a1a1a;
}

.committee-role {
    font-size: 0.82rem;
    color: var(--primary-red);
    font-weight: 600;
    margin: 0 0 0.2rem;
    line-height: 1.4;
}

.committee-org {
    font-size: 0.82rem;
    color: var(--light-gray);
    margin: 0;
    font-style: italic;
}

/* ---------- Responsive ---------- */
@media (max-width: 575.98px) {
    .committee-section { padding: 3.5rem 0; }

    .committee-card { padding: 1.25rem; }

    .committee-avatar {
        width: 48px;
        height: 48px;
        font-size: 0.72rem;
    }

    .committee-name { font-size: 0.92rem; }
}