/* 369 엔터테인먼트 모집 슬라이더 (계열사 바 바로 밑) */
.recruit { position: relative; max-width: 1180px; margin: 8px auto 0; padding: 0 20px; }
.recruit-viewport { overflow: hidden; border-radius: 16px; box-shadow: 0 6px 24px rgba(0,0,0,.28); }
.recruit-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.recruit-slide {
  flex: 0 0 100%; box-sizing: border-box; display: flex; align-items: center; gap: 15px;
  padding: 13px 20px; text-decoration: none; color: #fff;
  background: linear-gradient(120deg, var(--g1, #ec4899), var(--g2, #8b5cf6));
}
.recruit-logo { flex: 0 0 auto; display: grid; place-items: center; }
.recruit-mid { flex: 1 1 auto; min-width: 0; }
.recruit-eyebrow {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  background: rgba(255,255,255,.2); padding: 2px 9px; border-radius: 999px;
}
.recruit-name { display: block; font-size: 15px; font-weight: 800; margin-top: 5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recruit-desc { display: block; font-size: 12.5px; opacity: .93; margin-top: 3px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recruit-cta { flex: 0 0 auto; font-size: 13px; font-weight: 800; background: #fff; color: #17181d; padding: 9px 15px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.recruit-slide:hover .recruit-cta { transform: translateY(-1px); }

.recruit-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,.32); color: #fff; font-size: 19px; line-height: 1; display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: background .15s;
}
.recruit-arrow:hover { background: rgba(0,0,0,.5); }
.recruit-arrow.prev { left: 26px; }
.recruit-arrow.next { right: 26px; }
.recruit-dots { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.recruit-dot { width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,.28); transition: .2s; }
.recruit-dot.active { background: var(--primary-2, #8b5cf6); width: 20px; border-radius: 4px; }

@media (max-width: 640px) {
  .recruit { padding: 0 12px; }
  .recruit-slide { gap: 11px; padding: 11px 14px; }
  .recruit-desc { display: none; }
  .recruit-name { white-space: normal; font-size: 13.5px; }
  .recruit-cta { padding: 8px 12px; font-size: 12px; }
  .recruit-arrow { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   2026-08-16 클릭·터치 타깃 24px 확보 (WCAG 2.5.8 AA) — 모집 슬라이더 점
   ⚠️ 왜 style.css 가 아니라 이 파일인가: index.html 에서 recruit.css 가 style.css
      **뒤**에 로드된다(37→38행). `.recruit-dot` 의 width/height 는 이 파일에 있으므로
      style.css 에 같은 명시도로 써도 여기 값에 덮여 무효가 된다.
   ⚠️ 왜 미디어쿼리 없이 전 뷰포트에 적용하는가 (`.promo-dot` 쪽 style.css 블록은
      @media(min-width:769px) 로 감쌌는데 여기는 감싸지 않은 이유):
      style.css 의 @media(max-width:768px) 는 `.promo-dot, .recruit-dot` 에
      border:10px 투명 + background-clip:padding-box 로 27px 히트박스를 만들려 했지만,
      `.recruit-dot` 에는 **원래부터 먹지 않았다**. 이 파일이 style.css 뒤에 로드되고
      `.recruit-dot { border: none }` 이 같은 명시도(0,1,0)로 그 border 를 덮기 때문이다.
      2026-08-16 라이브 375px 실측에서 실제로 7×7px 로 남아 있는 것을 확인했다.
      이 파일이 나중에 로드되므로 여기 규칙은 box-sizing/background-clip/border 전부
      style.css 의 모바일 블록을 이기고, 두 기법이 겹칠 일이 없다 → 전 뷰포트 공통.
   ═══════════════════════════════════════════════════════════════════ */
@media all {
  /* 보이는 점 크기(7px)는 그대로, 클릭 상자만 24px. padding 영역은
     background-clip:content-box 로 투명 → 시각 변화 없음.
     gap:0 인 이유: 24px 상자끼리 겹치면 WCAG 간격 예외조차 성립하지 않는다. */
  /* margin 보정 이유: 점 상자가 7px→24px 로 17px 커지면 그만큼 아래 콘텐츠가 밀린다.
     원래 margin-top:8px + 높이 7px = 15px 점유, 보이는 점 중심은 상단에서 11.5px.
     margin-top:-0.5px + margin-bottom:-8.5px 로 두면 -0.5+24-8.5 = 15px 점유,
     중심 -0.5+12 = 11.5px → 총 높이와 보이는 점 위치가 픽셀 단위로 동일해진다. */
  .recruit-dots { gap: 0; margin-top: -0.5px; margin-bottom: -8.5px; }
  .recruit-dot { box-sizing: border-box; width: 24px; height: 24px; padding: 8.5px; background-clip: content-box; }
  /* ⚠️ 활성 점에 background-clip 을 다시 선언하는 이유 (지우면 점이 크게 번진다):
     .recruit-dot.active 는 `background: var(--primary-2,#8b5cf6)` 단축 속성으로 색을
     깐다. background 단축은 background-clip 을 border-box 로 초기화하고 명시도(0,2,0)가
     .recruit-dot(0,1,0)보다 높아 content-box 가 무효화된다 → padding 까지 색이 칠해져
     37×24 알약처럼 번진다. */
  /* ⚠️ border-radius 를 4px→12.5px 로 올린 이유 (내리면 활성 점이 각진 사각형이 된다):
     background-clip:content-box 로 칠할 때 실제 모서리 반경은 (지정값 − padding) 이다.
     원래 .recruit-dot.active 는 20×7 에 radius 4px 였는데 padding 8.5px 를 주면
     4−8.5 <0 → 0 이 되어 각진 직사각형이 된다. 12.5px 면 12.5−8.5=4px 로 원래 복원. */
  .recruit-dot.active { width: 37px; border-radius: 12.5px; background-clip: content-box; }  /* 보이는 폭 20px + padding 17px */
}
