/* 2026-10 사회공헌 (한국어 전용 페이지 /ko/csr/): 01 빅이슈 후원 · 02 굿윌스토어 물품 기부 */
body .bi-page {
  --bi-ink: #142535;
  --bi-muted: #4c5f72;
  --bi-navy: #071522;
  --bi-cream: #f8f5ee;
  --bi-accent: #e0563b;
  --bi-accent-soft: #ffb59e;
  --bi-line: #e3ded3;
  display: flex;
  flex-direction: column;
  width: 100%;
  color: var(--bi-ink);
  font-family: var(--ybk-font), system-ui, sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body .bi-page *, body .bi-page *::before, body .bi-page *::after { box-sizing: border-box; }
body .bi-wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
body .bi-kicker { margin: 0 0 18px; color: var(--bi-accent); font-size: 13px; font-weight: 750; line-height: 1.4; letter-spacing: 0.14em; }
body .bi-page h2 { margin: 0; color: var(--bi-ink); font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.24; letter-spacing: -0.045em; }
body .bi-page h2 em, body .bi-page h1 em { color: var(--bi-accent); font-style: normal; }
body .bi-page h3 { margin: 0; font-weight: 750; letter-spacing: -0.035em; }
body .bi-page p { margin: 0; }
body .bi-section { width: 100%; padding: 104px 0; background: #fff; scroll-margin-top: 96px; }
body .bi-section:nth-of-type(odd) { background: var(--bi-cream); }

/* ── Hero: 사회공헌 전체 소개 + 두 활동 바로가기 ── */
body .bi-hero { width: 100%; padding: 104px 0 96px; background: var(--bi-navy); color: #fff; }
body .bi-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 56px; align-items: center; }
body .bi-hero .bi-kicker { color: var(--bi-accent-soft); }
body .bi-hero h1 { margin: 0; color: #fff; font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; line-height: 1.28; letter-spacing: -0.045em; }
body .bi-hero h1 em { color: var(--bi-accent-soft); }
body .bi-hero .bi-lead { max-width: 40rem; margin-top: 24px; color: #c9d5e4; font-size: 17px; line-height: 1.9; letter-spacing: -0.02em; }
body .bi-progs { display: grid; gap: 14px; }
body .bi-prog { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 16px; background: var(--bi-cream); color: var(--bi-ink); text-decoration: none; box-shadow: 0 20px 50px #00000040; transition: transform 0.2s ease; }
body .bi-prog:hover, body .bi-prog:focus-visible { transform: translateY(-2px); }
body .bi-prog:focus-visible { outline: 3px solid var(--bi-accent-soft); outline-offset: 4px; }
body .bi-prog-logo { display: grid; place-items: center; height: 76px; padding: 8px; border-radius: 10px; background: #fff; }
body .bi-prog-logo img { display: block; width: auto; height: auto; max-width: 96px; max-height: 60px; }
body .bi-prog-body b { display: block; color: var(--bi-ink); font-size: 19px; font-weight: 800; line-height: 1.35; letter-spacing: -0.03em; }
body .bi-prog-body b small { margin-right: 8px; color: var(--bi-accent); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; }
body .bi-prog-body > span { display: block; margin-top: 6px; color: var(--bi-muted); font-size: 14.5px; line-height: 1.65; }
body .bi-prog-arrow { color: var(--bi-accent); font-size: 20px; font-weight: 800; }

/* ── 01 · 02 활동 소개 (같은 구성) ── */
body .bi-part-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
body .bi-part .bi-part-logo { display: inline-flex; flex: none; margin: 0; padding: 10px 14px; border: 1px solid var(--bi-line); border-radius: 12px; background: #fff; }
body .bi-part-logo--bi img { display: block; width: 120px; height: auto; }
body .bi-part-logo--gw img { display: block; width: 168px; height: auto; }
body .bi-part .bi-part-lead { max-width: 54rem; margin-top: 22px; color: var(--bi-ink); font-size: 18px; font-weight: 600; line-height: 1.85; letter-spacing: -0.025em; }
body .bi-part-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 40px; }
body .bi-part-text h3 { font-size: 20px; line-height: 1.4; }
body .bi-part-text p { margin-top: 12px; color: var(--bi-muted); font-size: 16.5px; line-height: 1.9; letter-spacing: -0.02em; }
body .bi-part-text p + p { margin-top: 14px; }
body .gw-part { border-top: 1px solid var(--bi-line); }
body .bi-photo { margin: 0; }
body .bi-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; background: #e9e4da; }
body .bi-photo--vendor img { object-position: 75% 50%; }
body .bi-photo figcaption { margin-top: 10px; color: var(--bi-muted); font-size: 14px; line-height: 1.5; }
body .bi-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
body .bi-flow li { position: relative; padding: 24px 24px 22px; border: 1px solid var(--bi-line); border-radius: 16px; background: var(--bi-cream); }
body .bi-flow li:last-child { border-color: var(--bi-accent); background: #fff4ef; }
body .bi-flow b { display: block; color: var(--bi-ink); font-size: clamp(30px, 3vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; }
body .bi-flow li:last-child b { color: var(--bi-accent); }
body .bi-flow span { display: block; margin-top: 10px; color: var(--bi-muted); font-size: 15px; line-height: 1.6; }
body .bi-flow li:not(:last-child)::after, body .gw-flow-arrow::after { content: '→'; position: absolute; top: 50%; right: -8px; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bi-accent); color: #fff; font-size: 14px; font-weight: 800; transform: translate(50%, -50%); }
body .bi-part .bi-flow-note { margin-top: 14px; color: var(--bi-ink); font-size: 15px; font-weight: 650; line-height: 1.6; }

/* 기부 숫자 + 대표 인용 */
body .gw-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 40px; }
body .gw-big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
body .gw-big li { padding: 26px 24px; border: 1px solid var(--bi-line); border-radius: 16px; background: var(--bi-cream); }
body .gw-big li:first-child { border-color: var(--bi-accent); background: #fff4ef; }
body .gw-big strong { display: block; color: var(--bi-accent); font-size: clamp(32px, 3.2vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; }
body .gw-big small, body .gw-effects small { margin-left: 3px; font-size: 0.42em; font-weight: 750; letter-spacing: -0.02em; }
body .gw-big span { display: block; margin-top: 10px; color: var(--bi-muted); font-size: 15px; line-height: 1.6; }
body .gw-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; margin: 0; padding: 28px 30px; border-radius: 16px; background: var(--bi-navy); }
body .gw-quote p { color: #fff; font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; line-height: 1.6; letter-spacing: -0.03em; }
body .gw-quote cite { color: #c9d5e4; font-size: 14px; font-style: normal; line-height: 1.5; }

/* ── 숫자 (두 활동 같은 4칸) ── */
body .bi-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
body .bi-period { color: var(--bi-muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
body .bi-num-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 36px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--bi-ink); }
body .bi-num-grid li { padding: 28px 22px 30px 0; border-bottom: 1px solid var(--bi-line); }
body .bi-num-grid li:not(:nth-child(4n+1)) { padding-left: 22px; border-left: 1px solid var(--bi-line); }
body .bi-num-grid strong { display: block; color: var(--bi-ink); font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; }
body .bi-num-grid li:first-child strong { color: var(--bi-accent); }
body .bi-num-grid small { margin-left: 3px; font-size: 0.42em; font-weight: 750; letter-spacing: -0.02em; }
body .bi-page small.gw-approx { margin: 0 4px 0 0; color: var(--bi-muted); font-size: 0.42em; }
body .bi-num-grid span { display: block; margin-top: 10px; color: var(--bi-muted); font-size: 14px; line-height: 1.6; }

/* ── 빅이슈 표지 ── */
body .bi-covers .bi-covers-lead { max-width: 50rem; margin-top: 20px; color: var(--bi-muted); font-size: 17px; line-height: 1.9; letter-spacing: -0.02em; }
body .bi-cover-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 18px; margin: 44px 0 0; padding: 0; list-style: none; }
body .bi-cover-grid figure { margin: 0; }
body .bi-cover-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; background: #e9e4da; box-shadow: 0 14px 30px #14253530; }
body .bi-cover-grid figcaption { margin-top: 12px; }
body .bi-cover-grid figcaption b { display: block; color: var(--bi-ink); font-size: 16px; font-weight: 750; line-height: 1.4; letter-spacing: -0.02em; }
body .bi-cover-grid figcaption span { display: block; margin-top: 2px; color: var(--bi-muted); font-size: 14px; line-height: 1.5; }

/* ── 굿윌스토어 일하는 방식 ── */
body .gw-step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
body .gw-step-list li { overflow: hidden; border: 1px solid var(--bi-line); border-radius: 16px; background: var(--bi-cream); }
body .gw-step-list li:last-child { border-color: var(--bi-accent); background: #fff4ef; }
body .gw-step-list figure { margin: 0; }
body .gw-step-list img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #e9e4da; }
body .gw-step-list b { display: block; margin: 20px 22px 0; color: var(--bi-accent); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; }
body .gw-step-list h3 { margin: 6px 22px 0; font-size: 20px; line-height: 1.4; }
body .gw-step-list p { margin: 10px 22px 24px; color: var(--bi-muted); font-size: 15px; line-height: 1.8; }
body .gw-steps .gw-credit { margin-top: 12px; color: var(--bi-muted); font-size: 14px; }

/* ── 기부가 만든 변화 ── */
body .gw-effects { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
body .gw-effects li { padding: 22px 18px; border: 1px solid var(--bi-line); border-radius: 14px; background: #fff; }
body .gw-effects strong { display: block; color: var(--bi-ink); font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -0.04em; }
body .gw-effects li:first-child strong { color: var(--bi-accent); }
body .gw-effects span { display: block; margin-top: 8px; color: var(--bi-muted); font-size: 14px; line-height: 1.55; }

/* ── YBK가 함께하는 방식 (빅이슈) ── */
body .bi-ybk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
body .bi-ybk-grid article { padding: 30px 26px 32px; border: 1px solid var(--bi-line); border-radius: 16px; background: #fff; }
body .bi-ybk-grid article:last-child { border-color: var(--bi-navy); background: var(--bi-navy); }
body .bi-tag { display: inline-block; padding: 5px 11px; border-radius: 999px; background: #fff0ea; color: var(--bi-accent); font-size: 13px; font-weight: 750; }
body .bi-ybk-grid h3 { margin-top: 16px; font-size: 21px; line-height: 1.4; }
body .bi-ybk-grid p { margin-top: 14px; color: var(--bi-muted); font-size: 15px; line-height: 1.85; }
body .bi-ybk-grid article:last-child h3 { color: #fff; }
body .bi-ybk-grid article:last-child p { color: #c9d5e4; }
body .bi-ybk-grid article:last-child .bi-tag { background: #2a1a17; color: var(--bi-accent-soft); }
body .bi-alliance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
body .bi-alliance figure { margin: 0; overflow: hidden; border: 1px solid var(--bi-line); border-radius: 16px; background: #fff; }
body .bi-alliance img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; }
body .bi-alliance-actors img { object-fit: cover; }
body .bi-alliance figcaption { padding: 14px 20px 16px; border-top: 1px solid var(--bi-line); color: var(--bi-muted); font-size: 14px; line-height: 1.55; }
body .bi-out { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; padding: 15px 24px; border-radius: 999px; background: var(--bi-ink); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
body .bi-out:hover, body .bi-out:focus-visible { background: var(--bi-accent); color: #fff; }
body .gw-effect { padding-bottom: 120px; }

@media (max-width: 1024px) {
  body .bi-hero-grid, body .bi-part-grid, body .gw-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  body .bi-hero-grid { gap: 40px; }
  body .bi-num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .bi-num-grid li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  body .bi-num-grid li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--bi-line); }
  body .bi-cover-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body .bi-ybk-grid { grid-template-columns: minmax(0, 1fr); }
  body .gw-effects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body .bi-wrap { width: calc(100% - 40px); }
  body .bi-hero { padding: 64px 0 60px; }
  body .bi-hero .bi-br-wide { display: none; }
  body .bi-hero .bi-lead { font-size: 16px; }
  body .bi-prog { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 16px; }
  body .bi-prog-logo { height: 60px; padding: 6px; }
  body .bi-prog-logo img { max-width: 72px; max-height: 46px; }
  body .bi-prog-arrow { display: none; }
  body .bi-prog-body b { font-size: 17px; }
  body .bi-prog-body > span { font-size: 14px; }
  body .bi-section { padding: 68px 0; }
  body .bi-part-head, body .bi-head-row { display: block; }
  body .bi-part .bi-part-logo { margin-top: 18px; }
  body .bi-part-logo--bi img { width: 100px; }
  body .bi-part-logo--gw img { width: 140px; }
  body .bi-part .bi-part-lead { font-size: 16.5px; }
  body .bi-part-grid { margin-top: 28px; }
  body .bi-part-text p { font-size: 16px; }
  body .bi-flow { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
  body .bi-flow li:not(:last-child)::after { content: '↓'; top: auto; right: 50%; bottom: -8px; transform: translate(50%, 50%); }
  body .bi-flow b { font-size: 30px; }
  body .bi-head-row .bi-period { margin-top: 12px; white-space: normal; }
  body .bi-num-grid li, body .bi-num-grid li:nth-child(2n) { padding: 22px 12px 24px 0; }
  body .bi-num-grid li:nth-child(2n) { padding-left: 14px; }
  body .bi-covers .bi-covers-lead { font-size: 16px; }
  body .bi-cover-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; margin-top: 32px; }
  body .bi-cover-grid figcaption { margin-top: 9px; }
  body .bi-cover-grid figcaption b { font-size: 14.5px; }
  body .bi-cover-grid figcaption span { font-size: 13px; }
  body .gw-big { gap: 10px; }
  body .gw-big li { padding: 20px 16px; }
  body .gw-big strong { font-size: 32px; }
  body .gw-quote { padding: 24px 20px; }
  body .gw-step-list { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  body .gw-effects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body .gw-effects li { padding: 18px 14px; }
  body .gw-effects li:last-child { grid-column: 1 / -1; }
  body .gw-effects strong { font-size: 26px; }
  body .bi-alliance { grid-template-columns: minmax(0, 1fr); }
  body .gw-effect { padding-bottom: 84px; }
}
