@charset "utf-8";
/* 장학금 안내 · 후원 안내 · 개인정보처리방침. 섹션 머리 · 표 · 아코디언은 about.css(ab- · ac-) 를 같이 쓴다 */

/* 주요 일정 — 3칸, 첫 칸(신청 기간)만 주색 */
.pg-dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pg-dates li { display: flex; flex-direction: column; gap: 6px; padding: 28px 28px 24px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
.pg-dates b { font-size: var(--fs-sm); font-weight: 700; color: var(--c-sub); }
.pg-dates strong { font-family: var(--font-title); font-size: 1.75rem; font-weight: 700; line-height: 1.3; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.pg-dates span { font-size: var(--fs-sm); color: var(--c-mute); }
.pg-dates .is-main { border-color: var(--c-main); background: var(--c-main); }
.pg-dates .is-main :is(b, strong) { color: #fff; }
.pg-dates .is-main span { color: rgba(255, 255, 255, .75); }
.pg-act { margin-top: 24px; text-align: right; }

/* 신청 대상 — 체크 목록 */
.pg-check { display: grid; gap: 12px; }
.pg-check li { position: relative; padding: 22px 24px 22px 64px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; font-size: var(--fs-body); line-height: 1.8; text-align: justify; word-break: break-all; }
.pg-check li::before { content: '\F26E'; position: absolute; left: 24px; top: 22px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--t2); color: #fff; font-family: 'bootstrap-icons'; font-size: 1rem; line-height: 1; }
.pg-check b { font-weight: 700; color: var(--c-main); }

/* 일반장학금 표 — 직접 신청 줄 강조 */
.pg-pay th[scope="row"] { font-weight: 700; }
/* 칸 가운데쯤에 글 묶음을 두고, 칸별로 왼쪽 · 오른쪽 · 왼쪽 정렬 */
.pg-pay .pg-v { display: inline-block; text-align: left; }
.pg-pay tbody > tr > :nth-child(1) .pg-v { width: 11em; }
.pg-pay tbody > tr > :nth-child(2) .pg-v { width: 5.5em; text-align: right; }
.pg-pay tbody > tr > :nth-child(3) .pg-v { width: 11em; }
.pg-pay td:nth-child(2) { font-weight: 800; color: var(--c-main); }
.pg-pay .is-self > * { background: color-mix(in oklab, var(--t3) 9%, #fff); }
.pg-key { display: inline-block; width: 14px; height: 14px; margin-right: 6px; border: 1px solid color-mix(in oklab, var(--t3) 40%, #fff); border-radius: 4px; background: color-mix(in oklab, var(--t3) 9%, #fff); vertical-align: -2px; }

/* 두 칸 카드 */
.pg-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.pg-card { padding: 28px 32px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
.pg-card h3 { font-size: var(--fs-card); font-weight: 800; }
.pg-card > p { margin-top: 8px; font-size: var(--fs-body); line-height: 1.8; color: var(--c-sub); text-align: justify; word-break: break-all; }
.pg-bonus { margin-top: 16px; border-top: 1px solid var(--c-line); }
.pg-bonus div { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; border-bottom: 1px solid var(--c-line); font-size: var(--fs-body); }
.pg-bonus dd { font-weight: 800; color: var(--t3); font-variant-numeric: tabular-nums; }
.pg-x { display: grid; gap: 4px; }
.pg-x li { position: relative; padding: 6px 0 6px 32px; font-size: var(--fs-body); line-height: 1.7; }
.pg-x li::before { content: '\F62A'; position: absolute; left: 0; top: 9px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #ef4444; color: #fff; font-family: 'bootstrap-icons'; font-size: .75rem; line-height: 1; }
.pg-warn { display: flex; flex-direction: column; justify-content: flex-start; border-color: color-mix(in oklab, #ef4444 30%, #fff); background: color-mix(in oklab, #ef4444 6%, #fff); }
.pg-warn h3 { display: flex; align-items: center; gap: 12px; }   /* 아이콘과 제목 한 줄 */
.pg-warn-ico { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: #ef4444; color: #fff; font-size: 1.25rem; }

/* 신청 방법 — 6단계 */
.pg-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.pg-steps li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px 24px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; text-align: center; }
.pg-no { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 50%; color: #fff; font-size: var(--fs-card); font-weight: 800; }
.pg-steps li:nth-child(4n+1) .pg-no { background: var(--t1); }
.pg-steps li:nth-child(4n+2) .pg-no { background: var(--t2); }
.pg-steps li:nth-child(4n+3) .pg-no { background: var(--t3); }
.pg-steps li:nth-child(4n+4) .pg-no { background: var(--t4); }
.pg-steps b { font-size: var(--fs-body); font-weight: 800; }
.pg-steps span:last-child { font-size: var(--fs-sm); line-height: 1.6; color: var(--c-sub); }
.pg-where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--c-tint); font-size: var(--fs-body); }
.pg-where b { margin-right: 8px; font-weight: 800; }
.pg-where span { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font-size: var(--fs-sm); font-weight: 600; }

/* 자주 묻는 질문 — 분류 탭 아래 Q · A (게시판 faq) */
.pg-faq-cats { margin-bottom: 24px; }
.pg-faq { border-top: 3px solid var(--c-main); }
.pg-qa { border-bottom: 1px solid #e3e3e3; }
.pg-qa summary { display: flex; align-items: center; gap: 16px; min-height: 69px; padding: 0 15px; font-size: var(--fs-body); font-weight: 700; cursor: pointer; list-style: none; }
.pg-qa summary::-webkit-details-marker { display: none; }
.pg-qa summary span { flex: 1 1 auto; }
.pg-qa summary i { color: var(--c-sub); transition: transform .2s ease; }
.pg-qa[open] summary i { transform: rotate(180deg); }
.pg-q, .pg-a { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; font-size: var(--fs-sm); font-weight: 800; color: #fff; }
.pg-q { background: var(--c-main); }
.pg-a { background: var(--t2); }
.pg-qa p { display: flex; align-items: flex-start; gap: 16px; padding: 4px 15px 24px; font-size: var(--fs-body); line-height: 2; color: var(--c-sub); text-align: justify; word-break: break-all; }
.pg-call { margin-bottom: 120px; }

/* 후원 */
.pg-give { margin-bottom: 48px; }
.pg-receipt { margin-bottom: 96px; }   /* 기부금 영수증 — 문의 배너(bz-cta) */
/* 위 계좌 안내(남색)와 구분되게 밝은 주황 바탕 */
.pg-receipt { border: 1px solid color-mix(in oklab, var(--t3) 30%, #fff); background: color-mix(in oklab, var(--t3) 10%, #fff); color: var(--c-ink); }
.pg-receipt:hover { background: color-mix(in oklab, var(--t3) 16%, #fff); color: var(--c-ink); }
.pg-receipt .bz-cta-ico { background: var(--t3); color: #fff; }
.pg-receipt .bz-cta-txt span { color: var(--c-sub); }
.pg-receipt .bz-cta-go { background: var(--t3); color: #fff; }
.pg-receipt:hover .bz-cta-go { background: color-mix(in oklab, var(--t3) 85%, #000); }
.pg-donors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pg-donors li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
.pg-donor-logo { display: flex; align-items: center; height: 48px; margin: 4px 0 6px; }   /* 기탁 기관 로고 — 높이를 맞춘다 */
.pg-donor-logo img { display: block; width: auto; max-width: 100%; height: 40px; object-fit: contain; }
.pg-donors b { font-size: var(--fs-card); font-weight: 800; }
.pg-donors span:last-child { font-size: var(--fs-body); color: var(--c-sub); }

/* 개인정보처리방침 */
.h-banner--plain + .pg-privacy { padding-top: 64px; }
.pg-intro { margin-bottom: 32px; font-size: var(--fs-body); line-height: 1.85; color: var(--c-sub); text-align: justify; word-break: break-all; }
.pg-privacy .ac { margin-bottom: 120px; }
.pg-privacy .ac-body p + p { margin-top: 4px; }

@media (max-width: 1279.98px) {
  .pg-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023.98px) {
  .pg-dates, .pg-donors { grid-template-columns: 1fr; gap: 12px; }
  .pg-two { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 767.98px) {
  .pg-pay .pg-v { width: auto !important; }
  .pg-dates li { padding: 20px; }
  .pg-dates strong { font-size: 1.375rem; }
  .pg-act { text-align: center; }
  .pg-act .h-btn { width: 100%; }
  .pg-check li { padding: 18px 16px 18px 52px; }
  .pg-check li::before { left: 16px; top: 18px; }
  .pg-card { padding: 20px; }
  .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pg-steps li { padding: 20px 12px; }
  .pg-qa summary { gap: 12px; padding: 12px 8px; }
  .pg-qa p { gap: 12px; padding: 4px 8px 20px; }
  .pg-call { margin-bottom: 64px; }
  .pg-receipt { margin-bottom: 56px; }
  .h-banner--plain + .pg-privacy { padding-top: 32px; }
  .pg-privacy .ac { margin-bottom: 64px; }
}

/* ===== 선발 공고문(HTML) — 항목 | 내용 행 목록, 번호는 내어쓰기 ===== */
.sc-doc { margin-bottom: 48px; border-top: 3px solid var(--c-main); }
.sc-doc-head { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 44px 16px 36px; border-bottom: 1px solid #e3e3e3; text-align: center; }   /* 아이콘과 제목 한 줄 */
.sc-doc-ico { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--t1); color: #fff; font-size: 1.5rem; }
.sc-doc-head h2 { font-family: var(--font-title); font-size: 1.875rem; font-weight: 700; line-height: 2.5rem; letter-spacing: -.02em; }
.sc-rows > li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 24px 16px; border-bottom: 1px solid #e3e3e3; font-size: var(--fs-body); line-height: 1.8; }
.sc-key { font-weight: 800; color: var(--c-main); }
.sc-val { min-width: 0; color: var(--c-ink); text-align: justify; word-break: break-all; }
.sc-val em { font-style: normal; font-weight: 600; color: var(--t1); }
.sc-val strong { font-weight: 800; color: var(--c-main); }
.sc-val p + p, .sc-val p + table, .sc-val table + p { margin-top: 6px; }
.sc-val p.hg { display: flex; }
.sc-val .mk { flex: 0 0 auto; margin-right: .3em; font-variant-numeric: tabular-nums; }
.sc-val .tx { flex: 1 1 auto; min-width: 0; }
.sc-val .lv1 { padding-left: 1.5em; }
.sc-sub { font-size: var(--fs-sm); color: var(--c-mute); }
.sc-tt { font-weight: 800; }
.sc-val .sc-tt:not(:first-child) { margin-top: 16px; }
.sc-alert { background: color-mix(in oklab, #ef4444 5%, #fff); }
.sc-alert .sc-key, .sc-alert .sc-val { color: #dc2626; }
.sc-tbl { width: 100%; border-collapse: collapse; border-style: hidden; text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 1px #e3e3e3; border-radius: var(--r-sm); }
.sc-tbl th, .sc-tbl td { height: 48px; padding: 6px 12px; border: 1px solid #e3e3e3; }
.sc-tbl thead th { background: var(--c-tint); font-weight: 700; }
.sc-tbl tbody th { font-weight: 600; }
.sc-tbl .is-self > * { background: color-mix(in oklab, var(--t3) 9%, #fff); }
.sc-zone { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.sc-zone .sc-tbl + .sc-tbl { margin-top: 0; }
.sc-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sc-flow li { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid #e3e3e3; border-radius: var(--r-md); background: #fff; text-align: left; }
.sc-no { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-main); color: #fff; font-size: var(--fs-sm); font-weight: 800; line-height: 1; }
.sc-flow li:nth-child(4n+1) .sc-no { background: var(--t1); }
.sc-flow li:nth-child(4n+2) .sc-no { background: var(--t2); }
.sc-flow li:nth-child(4n+3) .sc-no { background: var(--t3); }
.sc-flow li:nth-child(4n+4) .sc-no { background: var(--t4); }
@media (max-width: 1023.98px) {
  .sc-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .sc-doc { margin-bottom: 32px; }
  .sc-doc-head { padding: 32px 8px 24px; }
  .sc-doc-head h2 { font-size: 1.375rem; line-height: 1.875rem; }
  .sc-rows > li { grid-template-columns: 1fr; gap: 8px; padding: 20px 8px; }
  .sc-zone, .sc-flow { grid-template-columns: 1fr; }
  .sc-tbl th, .sc-tbl td { padding: 6px 8px; font-size: var(--fs-sm); }
}

/* 선발 공고 — 자세한 내용 바로가기(같은 내용을 두 번 싣지 않는다) */
.sc-go { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 96px; }
.sc-go a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 16px; height: 100%; padding: 24px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; color: var(--c-ink); transition: border-color .15s ease; }
.sc-go a:hover { border-color: var(--c-main); color: var(--c-ink); }
.sc-go-ico { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; font-size: 1.375rem; }
.sc-go li:nth-child(1) .sc-go-ico { background: var(--t1); }
.sc-go li:nth-child(2) .sc-go-ico { background: var(--t2); }
.sc-go li:nth-child(3) .sc-go-ico { background: var(--t3); }
.sc-go b { font-size: var(--fs-card); font-weight: 800; }
.sc-go span:not(.sc-go-ico) { grid-column: 2; font-size: var(--fs-sm); color: var(--c-sub); }
.sc-go a > .bi-chevron-right { grid-column: 3; grid-row: 1 / 3; color: var(--c-mute); }
@media (max-width: 1023.98px) { .sc-go { grid-template-columns: 1fr; gap: 12px; margin-bottom: 56px; } }
