/*
(주)파이브센스_FIVESENSES.Corp.
파이브프로_FIVEPro_웹솔루션.
본 라이브러리(소스코드 및 디자인 포함)는 (주)파이브센스의 자산이며, 저작권법 및 부정경쟁방지법에 의해 보호됩니다.
무단 사용, 외부 유출, 복제, 배포, 변형을 금지합니다.
위반 시 민·형사상 법적 책임 및 손해배상 청구 대상이 됩니다.
작성일: 2025-03-18 | 저작권자: (주)파이브센스(520-86-01244) | All Rights Reserved.
*/

.challenge5 .ch5_inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── 섹션 헤더 ── */
.challenge5 .ch5_head {
    margin-bottom: 52px;
}

.challenge5 .ch5_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.challenge5 .ch5_eyebrow_no {
    font-size: 13px;
    font-weight: 700;
    font-family: 'Pretendard Mono', 'Pretendard', monospace;
    color: #1f7a52;
    letter-spacing: 0.04em;
    line-height: 1;
}

.challenge5 .ch5_eyebrow_bar {
    display: inline-block;
    width: 26px;
    height: 1.5px;
    background: #1f7a52;
    border-radius: 2px;
    flex-shrink: 0;
}

.challenge5 .ch5_kicker {
    font-size: 13px;
    font-weight: 700;
    font-family: 'Pretendard Mono', 'Pretendard', monospace;
    color: #1f7a52;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.challenge5 .ch5_title {
    font-size: 44px;
    font-weight: 700;
    color: #0a0b0d;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin: 0 0 14px;
    word-break: keep-all;
}

.challenge5 .ch5_desc {
    display: block;
    font-size: 16px;
    color: #5b616e;
    line-height: 1.6;
    word-break: keep-all;
}

/* ── 그리드 ── */
.challenge5 .ch5_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── 카드 ── */
.challenge5 .ch5_card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 28px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.challenge5 .ch5_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.08);
}

/* ── nth-child 색상 ── */
.challenge5 .ch5_grid .ch5_card:nth-child(1) { --ch5-ink: #1f7a52; --ch5-soft: #eaf5ee; }
.challenge5 .ch5_grid .ch5_card:nth-child(2) { --ch5-ink: #1a6dff; --ch5-soft: #e8f0ff; }
.challenge5 .ch5_grid .ch5_card:nth-child(3) { --ch5-ink: #7c3aed; --ch5-soft: #f3eeff; }
.challenge5 .ch5_grid .ch5_card:nth-child(4) { --ch5-ink: #d97706; --ch5-soft: #fef3c7; }

/* ── 아이콘 원형 ── */
.challenge5 .ch5_icon_circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--ch5-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.challenge5 .ch5_icon_circle img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* ── 카드 텍스트 ── */
.challenge5 .ch5_cardtitle {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #0a0b0d;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    word-break: keep-all;
}

.challenge5 .ch5_carddesc {
    display: block;
    font-size: 14px;
    color: #5b616e;
    line-height: 1.6;
    white-space: pre-line;
    word-break: keep-all;
}

/* ── 반응형 ── */
@media (max-width: 991px) {
    .challenge5 .ch5_inner {
        padding: 0 20px;
    }

    .challenge5 .ch5_head {
        margin-bottom: 32px;
    }

    .challenge5 .ch5_title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .challenge5 .ch5_desc {
        font-size: 14px;
    }

    .challenge5 .ch5_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .challenge5 .ch5_card {
        padding: 28px 20px 24px;
    }

    .challenge5 .ch5_icon_circle {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .challenge5 .ch5_cardtitle {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .challenge5 .ch5_carddesc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .challenge5 .ch5_grid {
        grid-template-columns: 1fr 1fr;
    }
}
