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

/* ── 레이아웃 ── */
.challenge2 .ch2_inner { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ── 섹션 헤더 ── */
.challenge2 .ch2_head { margin-bottom: 48px; }

.challenge2 .ch2_eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.challenge2 .ch2_eyebrow .ch2_eyebrow_no { font-size: 13px; font-weight: 600; color: #1f7a52; letter-spacing: 0.04em; font-family: 'Pretendard Mono', 'Pretendard', monospace; line-height: 1; }
.challenge2 .ch2_eyebrow .ch2_eyebrow_bar { width: 26px; height: 1.5px; background: #1f7a52; border-radius: 2px; flex-shrink: 0; }
.challenge2 .ch2_eyebrow .ch2_kicker { font-size: 13px; font-weight: 600; color: #1f7a52; letter-spacing: 0.02em; line-height: 1; }

.challenge2 .ch2_title { font-size: 38px; font-weight: 700; color: #0a0b0d; margin: 0 0 18px; letter-spacing: -0.035em; line-height: 1.25; display: block; word-break: keep-all; }
.challenge2 .ch2_desc { font-size: 17px; color: #5b616e; line-height: 1.7; word-break: keep-all; display: block; }

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

/* ── 카드 per-item 테마 색상 ── */
.challenge2 .ch2_grid .ch2_card:nth-child(1) { --ch2-ink: #1f7a52; --ch2-soft: #eaf5ee; }
.challenge2 .ch2_grid .ch2_card:nth-child(2) { --ch2-ink: #2f6ad1; --ch2-soft: #ecf2fc; }
.challenge2 .ch2_grid .ch2_card:nth-child(3) { --ch2-ink: #6c4fd1; --ch2-soft: #f1edfb; }
.challenge2 .ch2_grid .ch2_card:nth-child(4) { --ch2-ink: #d6457f; --ch2-soft: #fdecf3; }

/* ── 카드 ── */
.challenge2 .ch2_grid .ch2_card { background: #fff; border: 1px solid #dee1e6; border-radius: 24px; padding: 34px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: box-shadow 200ms ease-out, transform 200ms ease-out; }
.challenge2 .ch2_grid .ch2_card:hover { box-shadow: 0 8px 24px rgba(15,23,42,0.08); transform: translateY(-3px); }

/* ── 아이콘 타일 ── */
.challenge2 .ch2_grid .ch2_icon_tile { width: 68px; height: 68px; border-radius: 18px; background: var(--ch2-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.challenge2 .ch2_grid .ch2_icon_tile img { width: 36px; height: 36px; object-fit: contain; }

/* ── 카드 제목 ── */
.challenge2 .ch2_grid .ch2_cardtitle { font-size: 19px; font-weight: 700; color: #0a0b0d; margin: 22px 0 12px; letter-spacing: -0.02em; display: block; word-break: keep-all; }

/* ── 카드 설명 ── */
.challenge2 .ch2_grid .ch2_carddesc { font-size: 14.5px; color: #5b616e; line-height: 1.65; white-space: pre-line; word-break: keep-all; display: block; }

/* ── 반응형 ── */
@media (max-width: 991px) {
    .challenge2 .ch2_inner { padding: 0 20px; }
    .challenge2 .ch2_head { margin-bottom: 24px; }
    .challenge2 .ch2_title { font-size: 26px; margin-bottom: 12px; }
    .challenge2 .ch2_desc { font-size: 15px; }
    .challenge2 .ch2_grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .challenge2 .ch2_grid .ch2_icon_tile { width: 52px; height: 52px; border-radius: 14px; }
    .challenge2 .ch2_grid .ch2_cardtitle { font-size: 16px; margin: 16px 0 8px; }
    .challenge2 .ch2_grid .ch2_carddesc { font-size: 13px; }
}

@media (max-width: 640px) {
    .challenge2 .ch2_grid { grid-template-columns: 1fr; }
}
