@charset "utf-8";
/* 사업안내 — 소개(그림 | 글) · 주요 내용 · 지급 현황 · 관련 소식. 섹션 머리·표는 about.css(ab-) 를 같이 쓴다 */

.bz-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 64px; padding-bottom: 96px; }
.bz-pic { display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--r-lg); background: var(--c-tint); }
.bz-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }   /* 그림을 상자에 꽉 채운다 */
.bz-txt { display: flex; flex-direction: column; min-width: 0; }   /* 제목 윗선 = 그림 윗선, 숫자 상자 아랫선 = 그림 아랫선 */
.bz-txt h2 { margin-top: -6px; font-family: var(--font-title); font-size: 2.25rem; font-weight: 700; line-height: 3.125rem; letter-spacing: -.02em; }
.bz-txt p { margin-top: 24px; font-size: var(--fs-body); line-height: 1.85; color: var(--c-sub); text-align: justify; word-break: break-all; }
.bz-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: auto; padding-top: 32px; }
.bz-stats div { padding: 20px 24px; border-radius: var(--r-md); background: var(--c-tint); }
.bz-stats dt { font-size: var(--fs-sm); font-weight: 600; color: var(--c-sub); }
.bz-stats dd { margin-top: 4px; font-size: var(--fs-body); font-weight: 800; color: var(--c-main); }
.bz-stats dd b { margin-right: 2px; font-family: var(--font-title); font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 장학생 선발 안내 배너(장학사업) — 소개 바로 아래 */
.bz-intro:has(+ .bz-cta) { padding-bottom: 32px; }
.bz-cta { display: flex; align-items: center; gap: 24px; margin-bottom: 96px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--c-main); color: #fff; transition: background-color .15s ease; }
.bz-cta:hover { background: var(--c-main-dk); color: #fff; }
.bz-cta-ico { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--c-main); font-size: 1.75rem; }
.bz-cta-txt { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
.bz-cta-txt b { font-family: var(--font-title); font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.bz-cta-txt span { font-size: var(--fs-body); color: rgba(255, 255, 255, .8); }
.bz-cta-go { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; height: 52px; padding: 0 24px; border-radius: var(--r-md); background: var(--c-accent); font-size: var(--fs-body); font-weight: 700; }
.bz-cta-go i { transition: transform .15s ease; }
.bz-cta:hover .bz-cta-go i { transform: translateX(4px); }

/* 주요 내용 — 항목 수만큼 같은 너비 */
.bz-points { display: grid; gap: 24px; }
.bz-points--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bz-points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bz-points li { padding: 28px 28px 32px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
.bz-points h3 { display: flex; align-items: center; gap: 12px; font-size: var(--fs-card); font-weight: 800; line-height: 1.4; }
.bz-ico { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--c-soft); color: var(--c-main); font-size: 1.25rem; }
.bz-points p { margin-top: 16px; font-size: var(--fs-body); line-height: 1.8; color: var(--c-sub); text-align: justify; word-break: break-all; }

/* 장학금 지급 현황 */
.bz-sum th[scope="row"] { font-weight: 800; }
.bz-years { display: flex; gap: 8px; margin: 40px 0 16px; }
.bz-years button { flex: 1 1 0; height: 48px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; font-size: var(--fs-body); font-weight: 700; color: var(--c-sub); cursor: pointer; font-variant-numeric: tabular-nums; }
.bz-years button:hover { border-color: var(--c-main); color: var(--c-main); }
.bz-years button[aria-selected="true"] { border-color: var(--c-main); background: var(--c-main); color: #fff; }
.bz-detail { font-size: var(--fs-body); }
.bz-detail th, .bz-detail td { height: 48px; padding: 6px 12px; }
.bz-detail .num { text-align: right; }
.bz-detail .group, .bz-detail .date { font-weight: 700; color: var(--c-ink); }
.bz-detail .group small { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--c-sub); }
.bz-detail .note span { display: block; line-height: 1.6; }
.bz-orig { margin-top: 16px; text-align: right; }   /* 원본 표 이미지 — 밑줄 글자 링크 + ↗ */
.bz-orig a { display: inline-flex; align-items: center; gap: 4px; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-size: var(--fs-body); color: var(--c-sub); }
.bz-orig a:hover { color: var(--c-main); }
.bz-orig i { font-size: .875em; }

/* 관련 소식 — 3장 */
.bz-news { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1023.98px) {
  .bz-intro { grid-template-columns: 1fr; gap: 32px; padding-bottom: 72px; }
  .bz-txt h2 { margin-top: 0; text-align: center; }
  .bz-points--3 { grid-template-columns: 1fr; }
  .bz-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .bz-cta { flex-wrap: wrap; gap: 16px; margin-bottom: 56px; padding: 20px; }
  .bz-cta-ico { width: 52px; height: 52px; font-size: 1.375rem; }
  .bz-cta-txt b { font-size: 1.25rem; }
  .bz-cta-go { flex: 1 1 100%; justify-content: center; }
  .bz-intro { gap: 24px; padding-bottom: 56px; }
  .bz-txt h2 { font-size: 1.5rem; line-height: 2.125rem; }
  .bz-txt p { margin-top: 16px; }
  .bz-stats { gap: 12px; margin-top: 24px; }
  .bz-stats div { padding: 16px; }
  .bz-stats dd b { font-size: 1.625rem; }
  .bz-points--2 { grid-template-columns: 1fr; }
  .bz-points { gap: 12px; }
  .bz-points li { padding: 20px; }
  .bz-years { overflow-x: auto; }
  .bz-years button { flex: 0 0 auto; padding: 0 16px; }
  .bz-detail { white-space: nowrap; }
}

/* 누적 숫자 상자 — 위에서 아래로 하나씩 내려온다 */
@keyframes bz-drop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
.bz-stats div { animation: bz-drop .7s cubic-bezier(.2, .7, .2, 1) both; }
.bz-stats div:nth-child(1) { animation-delay: .3s; }
.bz-stats div:nth-child(2) { animation-delay: .55s; }
.bz-stats div:nth-child(3) { animation-delay: .8s; }
.bz-stats div:nth-child(4) { animation-delay: 1.05s; }
@media (prefers-reduced-motion: reduce) { .bz-stats div { animation: none; } }
