/* ── FONTS ── */
@font-face {
  font-family: 'HeirofLight';
  src: url('fonts/HeirofLightOTFRegular.otf') format('opentype'),
       url('fonts/HeirofLightRegular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HeirofLight';
  src: url('fonts/HeirofLightOTFBold.otf') format('opentype'),
       url('fonts/HeirofLightBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── TWEMOJI ── */
img.emoji {
  height: 1em;
  width: 1em;
  vertical-align: -0.1em;
  display: inline;
}

/* ── UTILITIES ── */
.br-pc { display: block; }
@media (max-width: 1000px) { .br-pc { display: none; } }
.br-mo { display: none; }
@media (max-width: 1000px) { .br-mo { display: block; } }

.small {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.03em;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }

/* ── BASE ── */
body {
  font-family: 'Noto Sans KR', sans-serif;
  background: #FFF9F0;
  color: #322004;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.hero-bg,
.content-area,
.faq-bg,
.footer-bg {
  overflow: hidden;
}

/* ── 최대 너비 래퍼: 1440px 센터 정렬 ── */
/* ─────────────────────────────────────
   HERO  (KV.png 기반, 1440×1280 원본)
   모든 자식 요소는 원본 비율 기준 % 배치
───────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  /* aspect-ratio: 자체 너비 기준으로 1440×1280 비율 유지 */
  aspect-ratio: 1440 / 1280;
  background: url('images/header/KV.png') center top / 100% 100% no-repeat;
  overflow: hidden;
}

/* 로고: 원본 기준 left≈119px(8.26%), top≈70px(5.47%) */
.hero-logo {
  position: absolute;
  width: 11.74%;   /* 169/1440 */
  left: 9.7%;
  top: 5.47%;
}

/* 언어 토글: 원본 기준 right≈85px(5.9%), top≈64px(5.0%) */
.hero-lan {
  position: absolute;
  width: 11.11%;   /* 160/1440 */
  right: 9.7%;
  top: 5.0%;
  cursor: pointer;
}

/* 타이틀: picture 래퍼에 절대 배치, img는 100% 채움 */
.hero picture {
  position: absolute;
  display: block;
  width: 36.81%;   /* 530/1440 */
  left: 50%;
  top: 6.88%;
  transform: translateX(-50%);
}
.hero-title-img {
  width: 100%;
  display: block;
}

/* ─────────────────────────────────────
   CONTENT AREA
───────────────────────────────────── */
.content-area { background: #FFF9F0; }

/* FAQ / CTA wrap */
.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }

/* ── YouTube Embed ── */
.yt-embed-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 20px 0;
}
.yt-embed-inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
}
.yt-embed-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Content Section ── */
.cs-outer {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  padding: 80px 0px;
  overflow: visible;
}

/* 타이틀 */
.cs-title {
  font-family: 'HeirofLight', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  text-align: center;
  color:#322004;

  padding: 0px 0px 80px;
  word-break: keep-all;
}

/* ─────────────────────────────────────
   INFO SECTION (contents 퍼블리싱)
───────────────────────────────────── */
.info-section {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
}

.info-divider {
  border: none;
  border-top: 1px solid #F0D1A7;
  width: 100%;
  margin: 0;
}
.info-divider.subtle { border-top-color: #DEC3A0; }

.info-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
}

.info-label {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #322004;
  width: 164px;
  flex-shrink: 0;
  text-align: right;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.info-subtitle {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #A05028;
}

.info-body {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #322004;
  word-break: keep-all;
}

.info-body-lead {
  font-weight: 700;
  font-size: 20px;
}

.info-link {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 500;
  
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #322004;
  text-decoration: underline;
}

.info-list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-list li {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #322004;
  word-break: keep-all;
}

.info-list.small { list-style-type: "- "; }
.info-list.small li { font-size: 14px; }

.info-sub-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── 모집 인원 카드 ── */
.recruit-cards {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: stretch;
}

.recruit-card {
  display: flex;
  flex-direction: column;
  padding: 20px 30px;
  gap: 10px;
  border-radius: 20px;
  flex: 1;
}

.recruit-card.domestic { background: #F0F5D2; }
.recruit-card.global   { background: #FFEED8; }

.recruit-card-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.recruit-card-name,
.recruit-card-count {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #322004;
}

.recruit-card-section-title {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #322004;
}

/* ── 상금 행 ── */
.prize-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #322004;
  max-width: 300px;
  width: 100%;
}
.prize-row strong {
  font-weight: 700;
  flex: 1;
  text-align: center;
}
.prize-row span {
  font-weight: 500;
  flex: 1;
  text-align: center;
}

/* ── 선발 절차 카드 ── */
.process-cards {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: stretch;
}

.process-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #FFEFE9;
  border-radius: 20px;
  overflow: hidden;
}

.process-card-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 8px;
  background: #FFE5E5;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  text-align: center;
  color: #A05028;
  min-height: 76px;
}

.process-card-body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  flex: 1;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  text-align: center;
  color: #322004;
  word-break: keep-all;
}

/* ── 주요 활동 카드 ── */
.activity-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.activity-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: stretch;
}

.activity-card {
  display: flex;
  flex-direction: column;
  padding: 20px 30px;
  gap: 10px;
  background: #F7EAE5;
  border-radius: 20px;
  flex: 1;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.activity-card:hover { opacity: 0.85; }

.activity-card-title {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #A05028;
}

.activity-card-desc {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #322004;
  word-break: keep-all;
}

.activity-thumbnail {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.activity-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  /*background: rgba(0, 0, 0, 0.4);*/
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 0 20px 34px;
  border-color: transparent transparent transparent #ffffff;
}

/* 장식 이미지 */
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
/* youtube: 우상단 / notbook: 좌 중간 / headphone: 우하단
   수직: cs-outer height 기준 / 수평: content-area 끝에 밀착 */
.deco-youtube   { right: clamp(-200px, calc((1040px - 100vw) / 2), 0px); top: 180px;  width: auto; }
.deco-notbook   { left:  clamp(-200px, calc((1040px - 100vw) / 2), 0px); top: 60%; transform: translateY(-50%); width: auto; }
.deco-headphone { right: clamp(-200px, calc((1040px - 100vw) / 2), 0px); bottom: 0px; width: auto; }

/* ─────────────────────────────────────
   WEKO CTA 섹션 (bg.png 배경)
───────────────────────────────────── */
.weko-cta {
  background: url('images/contents/bg.png') center center / cover no-repeat;
  padding: 90px 20px 80px;
  text-align: center;
}

.weko-cta-inner {
  max-width: 960px;
  margin: 0 auto;
}

.weko-cta-title {
  font-family: 'HeirofLight', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: #322004;
  margin-bottom: 36px;
  word-break: keep-all;
}

.weko-cta-body {
  font-family: 'HeirofLight', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: #322004;
  margin-bottom: 48px;
  word-break: keep-all;
}

.weko-cta-body p { margin-bottom: 1em; }
.weko-cta-body p:last-child { margin-bottom: 0; }

.weko-cta-btn {
  display: inline-block;
  cursor: pointer;
}
.weko-cta-btn img {
  height: 64px;
  width: auto;
  display: block;
}

.weko-cta-note {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  text-align: center;
  color: #000000;
  max-width: 790px;
  margin: 0 auto;
  word-break: keep-all;
  margin-top: 10px;
}

/* ─────────────────────────────────────
   FAQ v2
───────────────────────────────────── */
.faq-v2 {
  background: transparent;
  padding: 80px 20px;
}

.faq-v2-inner {
  max-width: 960px;
  margin: 0 auto;
}

.faq-v2-title {
  font-family: 'HeirofLight', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  text-align: center;
  color: #322004;
  margin-bottom: 40px;
}

.faq-v2-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.faq-close-all-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
}
.faq-close-all-btn img {
  
  width: auto;
  display: block;
}
.faq-close-all-btn:hover { opacity: 0.75; }

.faq-v2-item { margin-bottom: 20px; }

.faq-v2-q-btn {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid #ddd;
  text-align: left;
  padding: 22px 0 20px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.faq-v2-q-label {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #7a5c1e;
  flex-shrink: 0;
  line-height: 1.6;
  letter-spacing: -0.03em;
}

.faq-v2-q-text {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #1a1a1a;
  line-height: 1.6;
  letter-spacing: -0.03em;
  flex: 1;
  word-break: keep-all;
}

.faq-v2-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-v2-item.open .faq-v2-answer { max-height: 600px; }

.faq-v2-a-inner {
  padding: 16px 0 28px 20px;
}

.faq-v2-a-label {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #1a1a1a;
  line-height: 1.6;
  letter-spacing: 0;
  display: inline;
}

.faq-v2-a-text {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #1a1a1a;
  line-height: 1.6;
  letter-spacing: 0;
  word-break: keep-all;
  display: inline;
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.hero-bg {
  background: url('images/contents/bg.png') center top / auto repeat;
}

.faq-bg {
  background: #F2F2F2;
}

.footer-bg {
  background: #232323;
}

.footer {
  background: transparent;
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo img {
  height: 28px;
  width: auto;
  display: block;
}
.footer-copy {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: right;
  color: #888;
}

@media (max-width: 1000px) {
  .footer {
    flex-direction: row;
    align-items: center;
    padding: 20px 24px;
  }
  .footer-logo img {
    height: 15px;
  }
  .footer-copy {
    font-size: 0.5rem;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: right;
    white-space: nowrap;
  }
}

/* ─────────────────────────────────────
   RESPONSIVE  ·  모바일: 1000px 이하
───────────────────────────────────── */
@media (max-width: 1000px) {

  .yt-embed-wrap { padding: 0; }

  /* ── 장식 이미지: 우측에 반투명 배치 ── */
  .deco { opacity: 0.1; }
  .deco-youtube   { right: -60px; }
  .deco-notbook   { left: auto; right: -48px; }
  .deco-headphone { right: -71px; }

  /* ── Hero (KV_mo.png 720×1520, 비율 211.11%) ── */
  .hero {
    /* KV_mo.png 비율: 1520/720 = 211.11% */
    padding-bottom: 249%;
    background: url('images/header/KV_mo.png') center top / 100% 100% no-repeat;
  }
  .hero-logo { width: 24%;  left: 5%; top: 3%; }
  .hero-lan  { width: 22%; right: 4%; top: 3%; }
  /* 타이틀: title_mo.png 656×1116, 모바일 히어로 기준 */
  .hero picture {
    width: 91.11%;  /* 656/720 */
    top: 10%;
  }

  /* ── 컨텐츠 타이틀 ── */
  .cs-outer { padding: 40px 20px; }
  .cs-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding-bottom: 40px;
  }
  .cs-title-bracket { font-size: 32px; flex-shrink: 0; line-height: 1; }
  .cs-title-text    { font-size: 18px; line-height: 1.5; text-align: center; }

  /* ── Info Section ── */
  .info-section { gap: 30px; }
  .info-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border-bottom: 1px solid #F0D1A7;
    padding-bottom: 30px;
  }
  .info-label { width: auto; font-size: 20px; text-align: left; }
  .info-subtitle { font-size: 16px; }
  .info-body { font-size: 12px; }
  .info-body-lead { font-size: 14px; }
  .info-list.small li { font-size: 12px; }
  .info-list li { font-size: 12px; }
  .small { font-size: 12px; }
  .info-link { /*font-size: 12px;*/ }

  .recruit-cards { flex-direction: column; }
  .recruit-card { padding: 20px 15px; border-radius: 15px; }
  .recruit-card-name,
  .recruit-card-count { font-size: 16px; }

  .process-cards { flex-direction: column; flex-wrap: nowrap; }
  .process-card { min-width: unset; flex: none; width: 100%; }
  .process-card-header { font-size: 16px; min-height: 42px; }
  .process-card-body { font-size: 14px; min-height: 88px; }

  .activity-row { flex-direction: column; }
  .activity-card { padding: 20px 15px; }
  .activity-card-title { font-size: 14px; }
  .activity-card-desc { font-size: 12px; }
  .activity-thumbnail img { height: 164px; }

  /* ── WeKO CTA ── */
  .weko-cta { padding: 60px 24px 52px; }
  .weko-cta-title { font-size: 26px; margin-bottom: 24px; }
  .weko-cta-body  { font-size: 18px; margin-bottom: 36px; }
  .weko-cta-btn img { height: 52px; }
  .weko-cta-note { font-size: 12px; }

  /* ── FAQ ── */
  .faq-v2 { padding: 52px 20px 64px; }
  .faq-v2-inner { max-width: 100%; }
  .faq-v2-title { font-size: 28px; margin-bottom: 28px; }
  .faq-v2-q-btn { padding: 18px 0 16px; }
  .faq-v2-q-label,
  .faq-v2-q-text { font-size: 18px; }
  .faq-v2-a-label,
  .faq-v2-a-text  { font-size: 16px; }
  .faq-v2-a-inner { padding: 14px 0 22px 12px; }
  .faq-close-all-btn img { width: 85px; }
}

/* ── EN 페이지 전용 ── */

/* EN 타이틀 이미지: 725/1440 = 50.35% */
.en-page .hero picture {
  width: 50.35%;
}

/* info-row: 라벨 위 + 콘텐츠 아래 세로 배치 */
.en-page .info-row {
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.en-page .info-label {
  width: auto;
  text-align: left;
}

.en-page .process-card-body {
  min-height: 120px;
}

.en-page .info-body-lead {
  color: #A05028;
}


/* EN subtitle: 피그마 line-height 기준 */
.en-page .info-subtitle {
  line-height: 1.2;
}

/* EN recruit-card 폰트 조정 */
.en-page .recruit-card-count .small { font-size: 18px; }

/* EN recruit-card: align-items center + 내부 요소 stretch */
.en-page .recruit-card {
  align-items: center;
}
.en-page .recruit-card .recruit-card-header,
.en-page .recruit-card .info-list,
.en-page .recruit-card .recruit-card-section-title {
  align-self: stretch;
}

/* EN info-section: 섹션 간 간격 (divider 포함) */
.en-page .info-section {
  gap: 60px;
}

@media (max-width: 1000px) {
  /* EN 모바일 hero title: 데스크탑 50.35%를 덮어쓰기 */
  .en-page .hero picture {
    width: 91.11%;
    top: 10%;
  }
  /* EN 모바일 info-row: border-bottom 제거 (info-divider hr이 구분선 역할) */
  .en-page .info-row {
    gap: 10px;
    padding-bottom: 0;
    align-items: stretch;
    border-bottom: none;
  }
  .en-page .info-section {
    gap: 30px;
  }
  .en-page .recruit-card-count .small { font-size: 12px; }
}

.en-page .cs-title {
  font-family: 'HeirofLight', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  word-break: normal;
  width: max-content;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1200px) {
  .en-page .cs-title {
    white-space: normal;
    word-break: normal;
    width: auto;
    max-width: 100%;
    position: static;
    left: auto;
    transform: none;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ── 소형 모바일: 480px 이하 ── */
@media (max-width: 480px) {
  /* 비율은 동일, 위치만 미세 조정 */
  .hero-logo { width: 38%; }
  .hero-lan  { width: 30%; }

  .cs-title { font-size: 18px; }

  .weko-cta-title { font-size: 22px; }
  .weko-cta-body  { font-size: 14px; }

  .faq-v2-title { font-size: 24px; }
  .faq-v2-q-label,
  .faq-v2-q-text { font-size: 15px; }
  .faq-v2-a-label,
  .faq-v2-a-text  { font-size: 14px; }
}
