/* =========================================================
   분과위원장
========================================================= */

.committee-section {
    padding: 88px 0 120px;
}


/* =========================================================
   섹션 헤더
========================================================= */

.committee-section .section-head {
    align-items: flex-end;
}

.committee-section .section-desc {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    text-align: right;
    word-break: keep-all;
}


/* =========================================================
   분과위원장 외곽 보드
========================================================= */

.committee-board {
    position: relative;
    overflow: hidden;
    margin-top: 48px;
    padding: 40px 42px 58px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 84% 10%,
            rgba(11, 76, 140, 0.065),
            transparent 25%
        ),
        radial-gradient(
            circle at 7% 92%,
            rgba(200, 155, 44, 0.055),
            transparent 24%
        ),
        var(--white);
    box-shadow: 0 22px 52px rgba(4, 29, 56, 0.10);
}

.committee-board::before,
.committee-board::after {
    content: "";
    position: absolute;
    top: 0;
    width: 170px;
    height: 54px;
    background: var(--navy);
}

.committee-board::before {
    left: 0;
    clip-path: polygon(
        0 0,
        100% 0,
        78% 100%,
        0 100%
    );
}

.committee-board::after {
    right: 0;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        22% 100%
    );
}


/* =========================================================
   상단 로고
========================================================= */

.committee-board__brand {
    position: relative;
    z-index: 2;
    width: 78px;
    margin: -18px auto 17px;
}

.committee-board__brand img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   보드 제목
========================================================= */

.committee-board__heading {
    position: relative;
    z-index: 2;
    text-align: center;
}

.committee-board__heading span {
    display: block;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.committee-board__heading strong {
    display: inline-block;
    padding: 12px 26px;
    border: 2px solid var(--navy);
    border-radius: 14px;
    color: var(--navy);
    background: var(--white);
    font-size: clamp(27px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.045em;
    word-break: keep-all;
    box-shadow:
        0 0 0 5px var(--white),
        0 0 0 7px rgba(200, 155, 44, 0.70);
}

.committee-board__heading p {
    max-width: 650px;
    margin: 32px auto 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    word-break: keep-all;
}


/* =========================================================
   카드 목록
========================================================= */

.committee-grid {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 980px;
    margin: 55px auto 0;
}


/* =========================================================
   분과위원장 카드
========================================================= */

.committee-card {
    position: relative;
    flex: 0 1 calc((100% - 48px) / 3);
    min-width: 0;
    min-height: 245px;
    overflow: hidden;
    padding: 27px 25px 24px;
    border: 1px solid #dce5ee;
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(248, 251, 254, 1) 100%
        );
    box-shadow: 0 10px 26px rgba(4, 29, 56, 0.065);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.committee-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background:
        linear-gradient(
            90deg,
            var(--navy) 0%,
            var(--blue) 72%,
            var(--gold-muted) 72%,
            var(--gold-muted) 100%
        );
}

.committee-card::after {
    content: "";
    position: absolute;
    right: -53px;
    bottom: -53px;
    width: 132px;
    height: 132px;
    border: 1px solid rgba(11, 76, 140, 0.09);
    border-radius: 50%;
    background: rgba(11, 76, 140, 0.035);
    pointer-events: none;
}

.committee-card:hover {
    z-index: 3;
    border-color: #abc4dc;
    box-shadow: 0 18px 36px rgba(4, 29, 56, 0.13);
    transform: translateY(-6px);
}


/* =========================================================
   카드 상단
========================================================= */

.committee-card__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.committee-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(11, 76, 140, 0.14);
    border-radius: 50%;
    color: var(--blue);
    background: #edf5fc;
    font-size: 14px;
    font-weight: 800;
}

.committee-card__label {
    color: #8794a1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
}


/* =========================================================
   위원회 이름
========================================================= */

.committee-card__title {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 70px;
    margin: 22px 0 0;
    padding-right: 6px;
    color: var(--navy);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.42;
    letter-spacing: -0.045em;
    word-break: keep-all;
}


/* =========================================================
   위원장 정보
========================================================= */

.committee-card__member {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 23px;
    padding-top: 20px;
    border-top: 1px solid #dde5ed;
}

.committee-card__person {
    min-width: 0;
}

.committee-card__position {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.committee-card__name {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.035em;
    word-break: keep-all;
}

.committee-card__name span {
    margin-left: 2px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   소속 클럽
========================================================= */

.committee-card__club {
    flex-shrink: 0;
    max-width: 118px;
    margin: 0;
    padding: 7px 11px;
    border: 1px solid #dce4ec;
    border-radius: 999px;
    color: #596979;
    background: var(--white);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    word-break: keep-all;
}


/* =========================================================
   태블릿
========================================================= */

@media (max-width: 1024px) {
    .committee-board {
        padding: 36px 28px 50px;
    }

    .committee-grid {
        gap: 22px;
        max-width: 760px;
    }

    .committee-card {
        flex-basis: calc((100% - 22px) / 2);
    }
}


/* =========================================================
   모바일
========================================================= */

@media (max-width: 768px) {
    .committee-section {
        padding: 72px 0 80px;
    }

    .committee-section .section-head {
        align-items: flex-start;
    }

    .committee-section .section-desc {
        margin-top: 18px;
        font-size: 14px;
        text-align: left;
    }

    .committee-board {
        margin-top: 35px;
        padding: 30px 18px 40px;
        border-radius: 24px;
    }

    .committee-board::before,
    .committee-board::after {
        width: 96px;
        height: 42px;
    }

    .committee-board__brand {
        width: 66px;
        margin-top: -14px;
    }

    .committee-board__heading span {
        font-size: 10px;
    }

    .committee-board__heading strong {
        padding: 11px 16px;
        font-size: 26px;
    }

    .committee-board__heading p {
        margin-top: 27px;
        font-size: 14px;
    }

    .committee-grid {
        gap: 17px;
        margin-top: 40px;
    }

    .committee-card {
        flex-basis: 100%;
        min-height: 0;
        padding: 25px 22px 22px;
    }

    .committee-card__title {
        min-height: 0;
        margin-top: 19px;
        padding-right: 0;
        font-size: 20px;
    }

    .committee-card__member {
        margin-top: 20px;
        padding-top: 18px;
    }

    .committee-card__name {
        font-size: 19px;
    }
}


/* =========================================================
   작은 모바일
========================================================= */

@media (max-width: 520px) {
    .committee-board {
        padding-inline: 14px;
    }

    .committee-board__heading strong {
        padding: 10px 13px;
        font-size: 22px;
    }

    .committee-card {
        padding: 23px 19px 20px;
        border-radius: 18px;
    }

    .committee-card__number {
        width: 39px;
        height: 39px;
        font-size: 13px;
    }

    .committee-card__title {
        font-size: 18px;
    }

    .committee-card__member {
        align-items: center;
    }

    .committee-card__club {
        max-width: 102px;
        padding: 6px 9px;
        font-size: 11px;
    }
}