/* =========================================================
   layout.css — 굿네이버스 QnA 컴포넌트 + 페이지 전용 스타일
   (기존 layout.css + style.css 통합본)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.brand img { display: block; }
.gnb { display: flex; gap: 24px; }
.gnb a { padding: 10px 6px; font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; line-height: 1; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .gnb { 
    position: fixed; inset: 64px 0 auto 0; 
    background: #fff; border-top: 1px solid #eee;
    flex-direction: column; gap: 0; padding: 8px 16px; 
    transform: translateY(-120%); transition: transform .25s ease;
  }
  .gnb.is-open { transform: translateY(0); }
  .gnb a { padding: 14px 8px; }
}
.section { position: relative; width: 100%; padding-top: 120px; padding-bottom: 80px; }
.section-inner { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
:root { --gutter: 40px; }
@media (max-width: 860px) { :root { --gutter: 20px; } }
.ptb0{ padding-top: 0; padding-bottom: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; z-index: -1; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.section-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient( to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0) 100% );
  z-index: -1;
}
.section-hero .section-inner {
  position: relative; max-width: 1100px; margin: 0 auto; padding: 110px 0;
  display: flex; align-items: center; min-height: 650px; color: #fff; bottom:-105px;
}
.hero-title { margin: 0; font-size: clamp(36px, 5.4vw, 54px); font-weight: 700; line-height: 1.5; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }
.hero-copy-right { position: absolute; right: 24px; bottom: 40px; writing-mode: sideways-rl; font-size: 11px; opacity: .85; color: #fff; }
@media (max-width: 860px) {
  .section { padding-top: 80px; padding-bottom: 40px; }
  .section-hero .section-inner { padding: 48px 20px 12px; align-items: flex-end; min-height: 540px;  bottom:30px;}
  .section-hero::before { background: linear-gradient( to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.45) 30%, rgba(0, 0, 0, 0.1) 65%, rgba(0, 0, 0, 0) 100% ); }
  .hero-title { line-height: 140%; }
  .hero-copy-right { right: 16px; bottom: 24px; font-size: 10px; }
}
.section-donation-criteria .section-inner { max-width: 1180px; margin: 0 auto; }
.criteria-header { text-align: center; }
.section-title { margin: 0 0 24px; font-size: clamp(24px, 5vw, 40px); font-weight: 700; letter-spacing: -0.03em; color: #333333; }
.criteria-questions { margin: 0 0 24px; font-size: clamp(14px, 2.4vw, 20px); line-height: 1.8; color: #828282; }
.criteria-intro { letter-spacing: -0.5px; margin: 0; font-size: clamp(14px, 2.4vw, 20px); line-height: 1.9; color: #333333; font-weight: 500; }
.criteria-subtitle { margin: 0 0 24px; font-size: clamp(20px, 3vw, 32px); font-weight: 700; color: #333; }
.criteria-list { list-style: none; margin: 0; padding: 0; }
.criteria-item { display: flex; align-items: flex-start; gap: 24px; padding: 32px 0; padding-top: 40px; }
.criteria-number { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: #556A1F; color: #fff; font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; margin-top: 4px; }
.criteria-content { flex: 1; }
.criteria-heading { margin: 0 0 8px; font-size: clamp(14px, 2.4vw, 20px); font-weight: 700; color: #333; }
.criteria-desc { letter-spacing: -0.5px; font-size: clamp(14px, 2.4vw, 20px); line-height: 1.8; color: #333; font-weight: 500; }
.criteria-org-box { margin-bottom: 8px; padding: 24px 28px; background: #E9EADE; border-radius: 18px; font-size: 14px; line-height: 1.9; }
.criteria-org-title { margin: 0 0 10px; font-size: clamp(14px, 2.4vw, 20px); font-weight: 700; color: #333; }
.font18{ font-size: clamp(12px, 2vw, 18px); color: #333; }
.criteria-cta { display: flex; justify-content: center; width: fit-content; margin-top: 18px; padding: 11px 22px; font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 999px; background: #556A1F; color: #fff; white-space: nowrap; }
.criteria-cta:hover, .criteria-cta:focus { opacity: 0.9; }
.criteria-footnote { margin-top: 14px; font-size: 14px; line-height: 1.7; color: #556A1F; }
.criteria-bottom-visual { position: relative; margin-top: 120px; border-radius: 26px; overflow: hidden; }
.criteria-img { display: block; width: 100%; height: 100%; }
.criteria-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.criteria-img-copy-right { position: absolute; right: -80px; bottom: 116px; margin: 0; font-size: 17px; color: rgba(255, 255, 255, 0.9); text-orientation: mixed; display: inline-block; transform: rotate(90deg); white-space: nowrap; }
.criteria-img-copy-right-gn { position: absolute; right: -55px; bottom: 116px; margin: 0; font-size: 17px; color: rgba(255, 255, 255, 0.9); text-orientation: mixed; display: inline-block; transform: rotate(90deg); white-space: nowrap; }
@media (max-width: 860px) {
  .section-donation-criteria .section-inner { padding: 0 20px; }
  .criteria-footnote { font-size: 12px; }
  .criteria-item { flex-direction: column; gap: 12px; padding: 24px 0; padding-top: 30px; }
  .criteria-number { width: 24px; height: 24px; flex: 0 0 24px; font-size: 16px; }
  .criteria-org-box { padding: 18px 18px; border-radius: 14px; font-size: 13px; }
  .criteria-bottom-visual { margin-top: 80px; border-radius: 20px; }
  .criteria-img-copy-right { right: -47px; bottom: 62px; font-size: 10px; }
  .criteria-img-copy-right-gn { right: -30px; bottom: 50px; font-size: 10px; }
}
.section-video .section-inner { margin: 0 auto; }
.video-wrapper { position: relative; width: 100%; padding-top: 56.25%; background: #f3f3f3; border-radius: 26px; overflow: hidden; margin-bottom: 120px; display: flex; align-items: center; justify-content: center; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .section-video .section-inner { max-width: 100%; }
  .video-wrapper { margin-bottom: 80px; border-radius: 18px; }
}
.business-table-wrap { width: 100%; overflow-x: auto; }
.business-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: clamp(14px, 2vw, 18px); line-height: 1.7; color: #444; }
.business-table thead th { padding: 14px 18px; background: #E9EADE; font-weight: 700; text-align: center; border: 1px solid #e2e4d7; }
.business-table thead th:first-child { border-top-left-radius: 12px; }
.business-table thead th:last-child { border-top-right-radius: 12px; }
.business-table tbody th, .business-table tbody td { padding: 16px 18px; border: 1px solid #E9EADE; background: #ffffff; vertical-align: top; letter-spacing: -0.5px; }
.business-table tbody th { width: 18%; background: #fff; font-weight: 700; text-align: center; vertical-align: middle; }
.business-table tbody td:nth-child(2) { width: 42%; }
.business-table tbody td:nth-child(3) { width: 40%; }
.business-table tbody tr:last-child th { border-bottom-left-radius: 12px; }
.business-table tbody tr:last-child td:last-child { border-bottom-right-radius: 12px; }
.business-table-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: #89A230; text-decoration: none; }
.business-table-link:hover, .business-table-link:focus { text-decoration: underline; }
@media (max-width: 860px) {
  .business-table { line-height: 1.6; }
  .business-table thead th { padding: 10px 8px; }
  .business-table tbody th, .business-table tbody td { padding: 10px 8px; }
  .business-table-link { font-size: 12px; }
}
.donation-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.donation-card { display: flex; flex-direction: column; justify-content: space-between; padding: 28px 28px 24px; border-radius: 26px; text-decoration: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.015); transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease; }
.donation-card--gray { background: #f2f2e9; color: #333; }
.donation-card--green { background: #8cb63b; color: #ffffff; }
.donation-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.donation-card-title { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.donation-card-arrow { width: 18px; height: 18px; flex-shrink: 0; }
.donation-card-body { margin: 0 0 24px; font-size: clamp(14px, 2vw, 20px); line-height: 1.8; text-align: left; }
.donation-card-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.donation-card-caption { text-align: left; margin: 0; font-size: 14px; line-height: 1.6; }
.donation-card-icon { width: 40px; height: 40px; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) { .donation-card:hover { transform: translateY(-4px); box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08); } }
@media (max-width: 860px) {
  .donation-card-header { margin-bottom: 8px; }
  .donation-card { border-radius: 20px; padding: 16px 22px 16px; min-height: 320px }
  .donation-card-title { font-size: 18px; }
  .donation-card-body { text-align: left; margin-bottom: 8px; }
  .donation-card-caption { font-size: 12px; text-align: left; }
  .donation-card-icon { width: 32px; height: 32px; }
}
@media (max-width: 420px) {
  .donation-card-grid { grid-template-columns: 1fr; gap: 16px; }
  .donation-card { min-height: 100px }
}
.donation-steps { display: flex; flex-direction: column; gap: 12px; }
.donation-step { display: flex; align-items: center; gap: 15px; padding: 22px 40px; background: #ecefdf; border-radius: 24px; }
.donation-step-number { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%; background: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: #555; }
.donation-step-text { display: flex; align-items: center; gap: 28px; width: 100%; }
.donation-step-title { margin: 0; font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; color: #333; }
.donation-step-desc { flex: 1; margin: 0; font-size: clamp(14px, 2vw, 20px); line-height: 1.8; color: #333; }
.donation-step-arrow { text-align: center; padding: 4px 0 8px; display: flex; justify-content: center; }
.donation-step-arrow img { width: 16px; height: auto; }
.donation-step-cta { display: inline-flex; align-items: center; justify-content: center; margin: 60px auto 0; padding: 14px 40px; border-radius: 999px; background: #556A1F; color: #ffffff; font-size: clamp(14px, 2vw, 18px); font-weight: 600; text-decoration: none; max-width: fit-content; }
.cta{ display: flex; justify-content: center; }
.donation-step-cta:hover, .donation-step-cta:focus { opacity: 0.9; }
@media (max-width: 860px) {
  .donation-step { padding: 18px 20px; border-radius: 20px; align-items: flex-start; gap: 16px; }
  .donation-step-number { flex: 0 0 52px; width: 52px; height: 52px; font-size: 16px; }
  .donation-step-text { flex-direction: column; align-items: flex-start; gap: 6px; }
  .donation-step-arrow { padding: 6px 0 10px; }
  .donation-step-cta { margin-top: 20px; padding: 13px 28px; }
}
.business-table--tax { font-size: 18px; }
.business-table--tax tbody th { width: 14%; text-align: center; white-space: nowrap; }
.business-table--tax tbody td:nth-child(2) { width: 16%; white-space: nowrap; }
.business-table--tax tbody td:nth-child(3) { width: 18%; }
.business-table--tax tbody td:nth-child(4) { width: 52%; }
.business-table--tax .tax-group-divider th, .business-table--tax .tax-group-divider td { border-top-width: 2px; }
@media (max-width: 860px) {
  .business-table--tax { font-size: 14px; }
  .business-table--tax tbody th, .business-table--tax tbody td { padding: 10px 8px; }
}
.mobile-br { display: none; }
@media (max-width: 860px) { .mobile-br { display: block; } }
.tax-note { display: flex; align-items: center; gap: 32px; margin-bottom: 20px; padding: 24px 40px; background: #ecefdf; border-radius: 24px; }
.tax-note-text { font-size: clamp(14px, 2vw, 20px); }
.tax-note-label { flex: 0 0 240px; font-size: clamp(14px, 2vw, 20px); white-space: nowrap; font-weight: 700; color: #333; line-height: 1.5; }
.tax-note-body { flex: 1; font-size: 14px; line-height: 1.8; color: #333; }
.tax-note-list { margin: 0 0 10px; padding-left: 18px; list-style: disc; font-size: clamp(14px, 2vw, 20px); }
.tax-note-list li + li { margin-top: 4px; font-weight: 500; }
.tax-note-caution { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: #556A1F; }
.tax-note-text { margin: 0; }
@media (max-width: 860px) {
  .tax-note { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding: 20px 22px; border-radius: 20px; }
  .tax-note-label { flex: none; }
  .tax-note-caution { font-size: 12px; }
}
.bulleted { position: relative; padding-left: 1.2em; font-size: clamp(12px, 2vw, 18px); font-weight: 500; }
.bulleted::before { content: "•"; position: absolute; left: 0; top: 0; }
.gn-info-banner { background: #89A230; border-radius: 14px; padding: 36px 48px; max-width: 1100px; margin: 0 auto; color: #fff; }
.gn-info-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.gn-info-text { font-size: 20px; font-weight: 700; line-height: 1.6; letter-spacing: -0.7px; }
.gn-info-btn { display: inline-block; padding: 10px 24px; border: 1px solid #fff; border-radius: 30px; font-size: 16px; color: #fff; white-space: nowrap; transition: 0.25s ease; width: fit-content; }
.gn-info-btn:hover { background: rgba(255,255,255,0.18); }
.btnalign{ width: 100%; display: flex; justify-content: flex-end; }
@media (max-width: 860px) {
  .gn-info-banner { padding: 28px 24px; }
  .gn-info-inner { flex-direction: column; align-items: flex-start; }
  .gn-info-text { font-size: 17px; }
  .gn-info-btn { margin-top: 10px; align-self: flex-start; font-size: 14px; }
  .mo { display: block; }
}
@media (min-width: 860px) { .mo { display: none; } }
.section-testimonials-title { margin: 0 0 28px; text-align: center; font-size: clamp(14px, 2.4vw, 20px); font-weight: 700; color: #333; }
.testimonial-list { display: flex; flex-direction: column; gap: 18px; }
.testimonial-card { position: relative; padding: 34px 80px 28px; background: #f5f6ef; border-radius: 20px; text-align: center; }
.testimonial-quote { position: absolute; top: 50%; transform: translateY(-50%); font-size: 28px; color: #b3b5ad; }
.testimonial-quote--left { left: 80px; }
.testimonial-quote--right { right: 80px; }
.testimonial-text { margin: 0 0 14px; font-size: clamp(14px, 1.8vw, 18px); line-height: 1.8; color: #828282; font-weight: 500; }
.testimonial-author { margin: 0; font-size: clamp(12px, 1.4vw, 16px); color: #828282; }
@media (max-width: 860px) {
  .section-testimonials-title { margin-bottom: 22px; }
  .testimonial-card { padding: 26px 36px 22px; border-radius: 18px; }
  .testimonial-quote { font-size: 22px; }
  .testimonial-quote--left { left: 20px; }
  .testimonial-quote--right { right: 20px; }
  .testimonial-author { font-size: 12px; }
}
.faq-list { display: flex; flex-direction: column; gap: 24px; }
.faq-item-header { width: 100%; padding: 16px 0; border: none; background: transparent; display: flex; align-items: center; gap: 12px; cursor: pointer; letter-spacing: -0.5px; }
.faq-badge { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; font-weight: 700; min-width: 24px; }
.faq-badge-q { background: #93c03b; color: #fff; }
.faq-badge-a { background: #333; color: #fff; }
.faq-question { flex: 1; text-align: left; font-size: clamp(16px, 3vw, 28px); font-weight: 700; color: #89A230; }
.faq-arrow { flex-shrink: 0; }
.faq-arrow img { display: block; width: 24px; height: 24px; transform-origin: center; transition: transform 0.18s ease; }
.faq-item-body { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer-row { display: flex; gap: 16px; }
.faq-answer { text-align: justify; line-height: 160%; margin: 0; font-size: clamp(14px, 2.4vw, 20px); color: #333; }
.faq-item.is-open .faq-item-body { max-height: 500px; }
.faq-item.is-open .faq-arrow img { transform: rotate(180deg); }
@media (max-width: 860px) {
  .faq-list { gap: 20px; }
  .faq-item-header { align-items: flex-start; }
  .faq-answer-row { flex-direction: row; align-items: flex-start; }
}
.gn-floating-btn { position: fixed; right: 24px; bottom: 24px; z-index: 9999; display: inline-flex; align-items: center; padding: 10px 10px 10px 20px; border-radius: 120px; background: linear-gradient(90deg, #89A230 0%, #556A1F 100%); color: #ffffff; font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); cursor: pointer; transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, opacity 0.15s ease-out; width: fit-content; }
.gn-floating-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); opacity: 0.95; }
.gn-floating-text { white-space: nowrap; }
.gn-floating-icon { margin-left: 16px; width: 30px; height: 30px; border-radius: 50%; background: #ffffff; position: relative; flex-shrink: 0; }
.gn-floating-icon::before { content: ""; position: absolute; left: 11px; top: 7px; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 11px solid #4f7020; }
@media (max-width: 480px) {
  .gn-floating-btn { right: 16px; bottom: 16px; padding: 8px 8px 8px 16px; font-size: 13px; }
  .gn-floating-icon { width: 26px; height: 26px; }
  .gn-floating-icon::before { left: 9px; top: 6px; border-top-width: 7px; border-bottom-width: 7px; border-left-width: 9px; }
}
/* =========================================================
   굿네이버스 정기후원 페이지 - 전용 보강 스타일
   (global.css / layout.css 에 없는 부분만 최소한으로 추가)
   ========================================================= */

/* ---- 브랜드 로고(이미지형) ---- */
.brand{display:flex;align-items:center;width:auto;}
.brand img{display:block;height:36px;width:auto;}

/* ---- 플로팅 버튼 1.2배 확대 ---- */
.gn-floating-btn{
  padding:12px 12px 12px 24px;
  font-size:16.8px;
}
.gn-floating-icon{
  width:36px;
  height:36px;
  margin-left:18px;
}
.gn-floating-icon::before{
  left:13px;top:9px;
  border-top-width:9px;border-bottom-width:9px;border-left-width:13px;
}
@media (max-width:480px){
  .gn-floating-btn{padding:10px 10px 10px 20px;font-size:15.6px;}
  .gn-floating-icon{width:31px;height:31px;margin-left:14px;}
  .gn-floating-icon::before{left:11px;top:7px;border-top-width:8px;border-bottom-width:8px;border-left-width:11px;}
}

/* ---- 히어로 배경 이미지 (PC/모바일 분리) ---- */
.hero-img{background:#000;}  /* 이미지 로딩 전 빈 화면 방지용 */

/* picture 태그 — 이미지를 꽉 채우기 */
.hero-picture{position:absolute;inset:0;display:block;}
.hero-picture img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;}

/* ---- 정기후원 종류 카드: 화살표 아이콘(실제 자산이 없어 inline svg로 대체) ---- */
.donation-card-arrow svg, .faq-arrow svg{display:block;width:18px;height:18px;}
.faq-arrow svg{width:22px;height:22px;transition:transform .18s ease;}
.faq-item.is-open .faq-arrow svg{transform:rotate(180deg);}

/* ---- 후기 카드: 인용부호를 텍스트에 붙이면서 좌우 여백(원래 80px은 별도 부호 자리용)을 일반 텍스트 폭에 맞게 축소 ---- */
.testimonial-card{padding:32px 40px;}
@media (max-width:860px){
  .testimonial-card{padding:24px 28px;}
}

/* ---- 신청경로 표: 실제 CSS는 3컬럼(구분/내용/링크) 기준 폭이라 2컬럼용 보정 ---- */
.business-table--2col tbody td:nth-child(2){width:82%;}
.business-table--2col tbody th{white-space:nowrap;}

/* ---- FAQ 펼침 영역: JS로 max-height를 동적으로 줘야 자연스럽게 열림 ---- */
.faq-item .faq-item-body{max-height:0;}
.faq-item.is-open .faq-item-body{max-height:none;}

/* ---- 사이즈 보정: 시안(PNG) 실측 비율에 맞춤 ----
   실제 layout.css의 .section-inner는 max-width:1200px이지만,
   제공된 시안 PNG를 직접 픽셀 단위로 측정한 결과 콘텐츠 폭은
   약 1020~1040px(히어로 섹션이 이미 쓰고 있는 1100px과 동일선상)로
   나타남. 이 폭으로 맞춰야 2단 카드/박스 비율이 시안과 일치함. */
.section-inner{max-width:1100px;}

/* 카드 타이틀: 실제 CSS는 고정 24px이지만 시안 실측 결과 약 27px */
.donation-card-title{font-size:27px;}

/* 폰트 로드 실패 시에도 너무 작아 보이지 않도록 한글 시스템 폰트 보강 */
:root{
  --font-family:'Pretendard Variable','Pretendard','Apple SD Gothic Neo','Malgun Gothic',sans-serif;
}

/* ---- 한글 타이포그래피 보강: 제목이 어절 중간에서 끊기지 않도록 ---- */
.hero-title, .section-title, .criteria-subtitle,
.donation-card-title, .donation-step-title, .gn-info-text,
.faq-question, .testimonial-text{
  word-break:keep-all;
  overflow-wrap:break-word;
}

/* =========================================================
   스토리 섹션
   ========================================================= */
.story-grid{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:24px;
  align-items:start;
}
.story-main{
  display:flex;flex-direction:column;
  border-radius:20px;overflow:hidden;
  background:#f5f6ef;text-decoration:none;color:inherit;
  transition:transform .2s ease,box-shadow .2s ease;
}
.story-main:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(0,0,0,.1);}
.story-main-img{width:100%;aspect-ratio:16/9;overflow:hidden;}
.story-main-img img{width:100%;height:100%;object-fit:cover;display:block;}
.story-main-body{padding:28px 32px 32px;}
.story-main-title{
  font-size:clamp(20px,2.4vw,26px);font-weight:700;
  line-height:1.45;margin:12px 0 14px;color:#2b2b2b;
  word-break:keep-all;
}
.story-main-desc{font-size:15px;line-height:1.8;color:#666;margin-bottom:20px;}
.story-link{font-size:14px;font-weight:700;color:#89A230;}

.story-sub-list{display:flex;flex-direction:column;gap:16px;}
.story-sub{
  display:grid;grid-template-columns:110px 1fr;gap:14px;align-items:start;
  background:#f5f6ef;border-radius:16px;overflow:hidden;
  text-decoration:none;color:inherit;
  transition:transform .2s ease,box-shadow .2s ease;
}
.story-sub:hover{transform:translateY(-2px);box-shadow:0 8px 16px rgba(0,0,0,.08);}
.story-sub-img{width:110px;aspect-ratio:1/1;overflow:hidden;flex-shrink:0;}
.story-sub-img img{width:100%;height:100%;object-fit:cover;display:block;}
.story-sub-body{padding:14px 16px 14px 0;}
.story-sub-title{font-size:15px;font-weight:700;line-height:1.4;margin:6px 0 6px;color:#2b2b2b;word-break:keep-all;}
.story-sub-desc{font-size:13px;line-height:1.65;color:#777;}

.story-tag{
  display:inline-block;padding:3px 10px;border-radius:30px;
  background:#89A230;color:#fff;font-size:12px;font-weight:600;
}

@media(max-width:860px){
  .story-grid{grid-template-columns:1fr;}
  .story-main-body{padding:20px 20px 24px;}
  .story-sub{grid-template-columns:90px 1fr;}
  .story-sub-img{width:90px;}
}

/* =========================================================
   수상내역 섹션
   ========================================================= */
.award-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:40px;
}
.award-card{
  background:#f5f6ef;border-radius:20px;
  padding:36px 20px 32px;
  text-align:center;
}
.award-img-wrap{
  width:100px;height:100px;
  margin:0 auto 20px;
  display:flex;align-items:center;justify-content:center;
}
.award-img{width:100%;height:100%;object-fit:contain;display:block;}
.award-img-fallback{
  display:none;
  font-size:52px;line-height:1;
  width:100%;height:100%;
  align-items:center;justify-content:center;
}
.award-title{
  font-size:clamp(15px,1.6vw,18px);font-weight:700;
  color:#2b2b2b;margin-bottom:10px;word-break:keep-all;
}
.award-desc{
  font-size:13.5px;line-height:1.75;color:#666;word-break:keep-all;
}

/* 수상내역 / 후원자이야기 하단 버튼 행 */
.award-btn-row,
.testimonial-btn-row{
  display:flex;justify-content:center;gap:16px;
  margin-top:40px;flex-wrap:wrap;
}
.award-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:14px 32px;border-radius:999px;
  font-size:15px;font-weight:700;
  text-decoration:none;transition:opacity .18s ease,transform .18s ease;
  white-space:nowrap;
}
.award-btn:hover{opacity:.85;transform:translateY(-1px);}
.award-btn--outline{
  border:2px solid #89A230;color:#89A230;background:#fff;
}
.award-btn--fill{
  background:#89A230;color:#fff;border:2px solid #89A230;
}

@media(max-width:860px){
  .award-grid{grid-template-columns:repeat(2,1fr);}
  .award-card{padding:28px 16px 24px;}
  .award-img-wrap{width:80px;height:80px;}
  .award-btn{padding:12px 22px;font-size:14px;}
}
@media(max-width:420px){
  .award-grid{grid-template-columns:1fr;}
  .award-btn-row,.testimonial-btn-row{flex-direction:column;align-items:center;}
  .award-btn{width:100%;max-width:320px;}
}

/* =========================================================
   일시후원 페이지 전용 컴포넌트
   ========================================================= */

/* ── 이유 3컬럼 카드 ─────────────────────────────────────── */
.reason-3col{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.reason-card{
  background:#f5f6ef;
  border-radius:20px;
  padding:32px 28px;
  display:flex;flex-direction:column;
  align-items:center;text-align:center;
}
.reason-num{
  width:42px;height:42px;border-radius:50%;
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:700;color:#556A1F;
  margin-bottom:18px;flex-shrink:0;
}
.reason-title{
  font-size:clamp(16px,1.8vw,20px);font-weight:700;
  color:#2b2b2b;margin-bottom:12px;word-break:keep-all;
}
.reason-desc{
  font-size:clamp(13.5px,1.4vw,15px);line-height:1.8;color:#666;
  word-break:keep-all;
}
@media(max-width:860px){
  .reason-3col{grid-template-columns:1fr;}
  .reason-card{flex-direction:column;align-items:center;text-align:center;padding:28px 24px;gap:0;}
  .reason-num{margin-bottom:14px;}
  .reason-title{margin-bottom:10px;}
}

/* ── 일시후원 스토리 (2컬럼 사진+인용) ─────────────────────── */
.onetime-story-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:40px;
}
.onetime-story-card{
  border-radius:20px;overflow:hidden;
  background:#f5f6ef;
  display:flex;flex-direction:column;
}
.onetime-story-img{
  width:100%;
  position:relative;
  padding-top:75%;   /* 4:3 비율 */
  overflow:hidden;
  background:#dde0d5;
}
.onetime-story-img img{
  position:absolute;inset:0;
  width:100%;height:100%;object-fit:cover;object-position:center;display:block;
}
/* src가 비어 있으면 img 숨김 → 회색 배경만 노출 */
.onetime-story-img img[src=""],.onetime-story-img img:not([src]){display:none;}
/* fallback div 완전 제거 */
.onetime-story-img-fallback{display:none !important;}
.onetime-story-body{
  padding:28px 32px 32px;
  flex:1;display:flex;flex-direction:column;justify-content:space-between;
}
.onetime-story-text{
  font-size:clamp(14px,1.5vw,16px);line-height:1.85;
  color:#444;word-break:keep-all;margin-bottom:18px;
  text-align:center;
}
.onetime-story-author{
  font-size:14px;color:#888;text-align:center;
}
@media(max-width:860px){
  .onetime-story-grid{grid-template-columns:1fr;}
  .onetime-story-body{padding:22px 22px 26px;}
}
.pc-br   { display: block; }
@media (max-width: 860px) { .pc-br { display: none; } }
