/* ==========================================================
   COOPARMY2 V2.9.7 - COMMITTEE / BOARD PAGE
   Add to /css/committee.css
   ========================================================== */

.cooparmy2-committee-page {
    background: #f7f7f7;
    color: #222;
    --ca2-blue: #ed5b12;
    --ca2-gold: #c76d18;
    --ca2-text: #333;
    --ca2-muted: #777;
    --ca2-border: #e8e8e8;
}

.ca2-committee-heading {
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 20px 42px;
    text-align: center;
    background: #fff;
}

.ca2-committee-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    color: var(--ca2-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ca2-committee-label i {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--ca2-blue);
    position: relative;
}

.ca2-committee-label i:first-child::after,
.ca2-committee-label i:last-child::after {
    content: "";
    position: absolute;
    top: -4px;
    width: 1px;
    height: 9px;
    background: var(--ca2-blue);
}

.ca2-committee-label i:first-child::after {
    right: 0;
}

.ca2-committee-label i:last-child::after {
    left: 0;
}

.ca2-committee-heading h1 {
    margin: 0;
    color: #111;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.25;
    font-weight: 800;
}

.ca2-committee-heading p {
    margin: 2px 0 0;
    color: #111;
    font-size: clamp(20px, 2.4vw, 29px);
    line-height: 1.25;
    font-weight: 800;
}

.ca2-chairman-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 25px;
    background: #fff;
}

.ca2-chairman-card {
    width: min(440px, 100%);
    margin: 0 auto;
    padding: 28px 20px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 12px 35px rgba(0,0,0,.055);
}

.ca2-person-image {
    overflow: hidden;
    background: #fff;
}

.ca2-chairman-image {
    width: 245px;
    height: 315px;
    margin: 0 auto 10px;
    padding: 4px;
    border: 3px double var(--ca2-gold);
}

.ca2-chairman-image img,
.ca2-member-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ca2-chairman-name {
    margin-top: 5px;
    color: #777;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 800;
}

.ca2-chairman-position {
    color: #777;
    font-size: 17px;
    line-height: 1.5;
}

.ca2-committee-members {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 80px;
    background: #fff;
}

.ca2-members-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.ca2-member-card {
    min-width: 0;
    padding: 27px 20px 25px;
    text-align: center;
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,.045);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ca2-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(0,0,0,.09);
}

.ca2-member-photo {
    width: 160px;
    height: 205px;
    margin: 0 auto 12px;
    padding: 4px;
    border: 1px solid #e7dacf;
    background: #fff;
}

.ca2-member-name {
    min-height: 25px;
    color: #777;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 800;
}

.ca2-member-position,
.ca2-member-group {
    color: #777;
    font-size: 13px;
    line-height: 1.55;
}

.ca2-member-group {
    margin-top: 1px;
}

.ca2-no-image {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #aaa;
    background: #f6f2f0;
    font-size: 12px;
}

.ca2-empty-members {
    grid-column: 1 / -1;
    padding: 70px 20px;
    text-align: center;
    color: #777;
    border: 1px dashed #d8dedb;
}

.ca2-empty-members strong {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-size: 18px;
}

.ca2-empty-members p {
    margin: 0;
}

@media (max-width: 1000px) {
    .ca2-members-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ca2-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .ca2-member-card {
        padding: 18px 12px 20px;
    }

    .ca2-member-photo {
        width: 145px;
        height: 185px;
    }

    .ca2-chairman-image {
        width: 220px;
        height: 285px;
    }

    .ca2-chairman-name {
        font-size: 17px;
    }

    .ca2-chairman-position {
        font-size: 15px;
    }
}

@media (max-width: 430px) {
    .ca2-committee-heading {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .ca2-committee-heading h1 {
        font-size: 22px;
    }

    .ca2-committee-heading p {
        font-size: 18px;
    }

    .ca2-members-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ca2-member-photo {
        width: 115px;
        height: 150px;
    }

    .ca2-member-name {
        font-size: 13px;
    }

    .ca2-member-position,
    .ca2-member-group {
        font-size: 11px;
    }
}
