@charset "utf-8";

/* 섬기는이들 전용 스킨 */
.staff-page,
.staff-page * {
    box-sizing: border-box;
}

.staff-page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 0 90px;
    color: #121b2d;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    word-break: keep-all;
}

.staff-head {
    margin-bottom: 28px;
}

.staff-head__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 13px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.staff-head__title {
    margin: 15px 0 0;
    color: #282828;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.07em;
}

.staff-head__desc {
    margin: 15px 0 0;
    color: #333;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -0.04em;
}

.staff-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 28px;
}

.staff-tab {
    min-height: 82px;
    padding: 14px 18px;
    border: 1px solid #d3dce8;
    border-radius: 17px;
    background: #fff;
    color: #111827;
    cursor: pointer;
    font-family: inherit;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.05em;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.staff-tab:hover {
    border-color: #17365f;
    transform: translateY(-1px);
}

.staff-tab.is-active {
    border-color: #17365f;
    background: #17365f;
    color: #fff;
}

.staff-panel[hidden] {
    display: none !important;
}

.staff-card {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(34px, 6vw, 78px);
    min-height: 350px;
    padding: 32px 34px;
    border-top: 1px solid #d8dee6;
    background: linear-gradient(112deg, #f1f3f5 0%, #f8f9fa 56%, #fff 100%);
}

.staff-card:first-child {
    border-top: 0;
}

.staff-card__photo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: #fff;
}

.staff-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.staff-card__body {
    min-width: 0;
    padding: 12px 0;
}

.staff-card__role {
    margin: 0;
    color: #365783;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.05em;
}

.staff-card__name {
    margin: 9px 0 0;
    color: #111827;
    font-size: clamp(32px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.08em;
}

.staff-card__content {
    max-width: 680px;
    margin-top: 20px;
    color: #596579;
    font-size: 16px;
    line-height: 1.85;
    letter-spacing: -0.04em;
}

.staff-card__empty {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: #f8fafc;
}

.staff-card__empty::before,
.staff-card__empty::after {
    position: absolute;
    left: 50%;
    content: "";
    transform: translateX(-50%);
    background: #d9e0e8;
}

.staff-card__empty::before {
    top: 66px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
}

.staff-card__empty::after {
    bottom: 0;
    width: 164px;
    height: 126px;
    border-radius: 90px 90px 0 0;
}

.staff-empty {
    padding: 85px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f8fafc;
    color: #6b7280;
    text-align: center;
    font-size: 16px;
}

@media (max-width: 1320px) {
    .staff-page {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 767px) {
    .staff-page {
        padding: 18px 15px 60px;
    }

    .staff-head {
        margin-bottom: 20px;
    }

    .staff-head__badge {
        min-height: 27px;
        padding: 4px 11px;
        font-size: 12px;
    }

    .staff-head__title {
        margin-top: 12px;
        font-size: 27px;
    }

    .staff-head__desc {
        margin-top: 11px;
        font-size: 14px;
        line-height: 1.65;
    }

    .staff-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 15px;
    }

    .staff-tab {
        min-height: 56px;
        padding: 10px 6px;
        border-radius: 11px;
        font-size: 15px;
    }

    .staff-card {
        display: block;
        min-height: 0;
        padding: 17px;
    }

    .staff-card__photo {
        height: 265px;
        border-radius: 16px 16px 0 0;
    }

    .staff-card__body {
        padding: 20px 5px 13px;
    }

    .staff-card__role {
        font-size: 15px;
    }

    .staff-card__name {
        margin-top: 6px;
        font-size: 29px;
    }

    .staff-card__content {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.75;
    }
}

@media (max-width: 430px) {
    .staff-tabs {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .staff-tabs::-webkit-scrollbar {
        display: none;
    }

    .staff-tab {
        flex: 0 0 calc((100% - 12px) / 3);
        min-width: 92px;
    }
}
