/* ============================================================
 * K-Stipend 캠페인 인쇄 전용 스타일
 * ------------------------------------------------------------
 * 적용 대상: .k-stipend-wrap 래퍼로 감싸진 section04 콘텐츠
 * 목적: 웹 화면은 다크 테마이지만 인쇄 시 잉크 절약 + 가독성
 *       을 위해 라이트 테마로 자동 전환
 * ============================================================ */

@media print {

  /* A4 기본 설정 */
  @page {
    size: A4;
    margin: 15mm;
  }

  /* 배경색 출력 */
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* fundraising-page만 출력 */
  body * {
    visibility: hidden;
  }

  .fundraising-page,
  .fundraising-page * {
    visibility: visible;
  }

  .fundraising-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  body {
    margin: 0;
  }

  /* 메인 배너 영역 */
  .section01 {
    position: relative;
    width: 180mm;
    margin: 0 auto;
    padding: 40px;
    box-sizing: border-box;

    background: #4b2bbf !important;
    color: #fff;

    border-radius: 30px;
    overflow: hidden;
  }

  /* 텍스트 영역 */
  .section01 .text {
    width: 70%;
    padding-right: 180px;
    box-sizing: border-box;
  }
 .section01 h3 {
    word-break: keep-all;
  }

  .section01 p {
    white-space: normal;
  }

  /* 핵심: 이미지 위치 고정 */
  .section01 img {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%); /* 세로 가운데 정렬 */

    width: 160px;
  }
  
  .btn-wrap{
  	display: none !important;
  }
    

/* K-Stipend 동행캠페인 */
  /* 색상 강제 출력 (브라우저 잉크 절약 모드에도 무시되지 않도록) */
  .k-stipend-wrap,
  .k-stipend-wrap * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  /* 래퍼 / 포스터 - 다크 배경 제거 */
  .k-stipend-wrap,
  .k-stipend-wrap .poster {
    background: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .k-stipend-wrap .inner {
    padding: 20px !important;
  }

  /* 장식용 블러/글로우 배경 모두 숨김 */
  .k-stipend-wrap .poster::before,
  .k-stipend-wrap .poster::after,
  .k-stipend-wrap .hero::before,
  .k-stipend-wrap .hero::after {
    display: none !important;
  }

  /* 전역: 그림자, 블러, 백드롭 필터 제거 */
  .k-stipend-wrap * {
    box-shadow: none !important;
    filter: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* 히어로 영역 기본 패딩 조정 */
  .k-stipend-wrap .hero {
    padding: 0 !important;
    overflow: visible !important;
  }

  /* 배지 */
  .k-stipend-wrap .badge {
    display: inline-block !important;
    padding: 6px 12px !important;
    border: 1px solid #333 !important;
    background: #ffffff !important;
    color: #8a5a00 !important;
    font-size: 12px !important;
    margin-bottom: 14px !important;
  }

  /* 헤드라인 - 큰 제목 */
  .k-stipend-wrap .headline {
    color: #111111 !important;
    font-size: 36pt !important;
    line-height: 1.15 !important;
    margin: 0 0 16px 0 !important;
  }

  /* 그라데이션 텍스트 "대한민국 첫 노벨상의 기적" - 단색 금색으로 */
  .k-stipend-wrap .accent {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #8a5a00 !important;
    color: #8a5a00 !important;
  }

  /* 서브카피 */
  .k-stipend-wrap .subcopy {
    color: #333333 !important;
    font-size: 12pt !important;
    line-height: 1.7 !important;
    margin: 14px 0 !important;
  }

  /* 인용구 박스 */
  .k-stipend-wrap .quote {
    background: #f7f7f7 !important;
    border: 1px solid #cccccc !important;
    color: #111111 !important;
    padding: 14px 18px !important;
    margin: 18px 0 !important;
    font-size: 14pt !important;
    page-break-inside: avoid;
  }

  /* 통계 그리드 / 인포 그리드 레이아웃 - 인쇄용 단순 정렬 */
  .k-stipend-wrap .stats,
  .k-stipend-wrap .info-grid {
    display: block !important;
    margin: 16px 0 !important;
    page-break-inside: avoid;
  }

  /* 통계 카드 / 인포 카드 - 테두리로 구분 */
  .k-stipend-wrap .stat,
  .k-stipend-wrap .info {
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    padding: 14px 18px !important;
    margin-bottom: 10px !important;
    border-radius: 4px !important;
    page-break-inside: avoid;
  }

  .k-stipend-wrap .stat strong,
  .k-stipend-wrap .info h2 {
    color: #111111 !important;
    font-size: 13pt !important;
    margin: 0 0 6px 0 !important;
    display: block !important;
  }

  .k-stipend-wrap .stat span,
  .k-stipend-wrap .info p,
  .k-stipend-wrap .info li {
    color: #333333 !important;
    font-size: 11pt !important;
    line-height: 1.55 !important;
  }

  /* CTA 하단 블록 */
  .k-stipend-wrap .cta {
    background: #f7f7f7 !important;
    border-top: 2px solid #333333 !important;
    padding: 18px !important;
    margin-top: 18px !important;
    page-break-inside: avoid;
  }

  .k-stipend-wrap .cta h3 {
    color: #111111 !important;
    font-size: 18pt !important;
    margin: 0 0 10px 0 !important;
  }

  .k-stipend-wrap .cta p {
    color: #333333 !important;
    font-size: 11pt !important;
    line-height: 1.6 !important;
  }

  /* 참여 버튼 - 흑백 아웃라인 */
  .k-stipend-wrap .button {
    background: #ffffff !important;
    color: #111111 !important;
    border: 2px solid #111111 !important;
    padding: 8px 22px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  /* 버튼 뒤에 URL 자동 표시 */
  .k-stipend-wrap .button::after {
    content: " (" attr(href) ")" !important;
    font-size: 9pt !important;
    color: #666666 !important;
    font-weight: normal !important;
  }

  /* 푸터 노트 */
  .k-stipend-wrap .footer-note {
    color: #666666 !important;
    font-size: 9pt !important;
    margin-top: 8px !important;
  }
}
