/* Recruit — CAREERS / 채용공고 (Figma 1256:5232)
   fullPage: 원프레임 → 스크롤 → 푸터 (기업소식과 동일) */

/* 문서 스크롤바 숨김 (휠/fullPage 스크롤은 유지) */
html.recruit-page-html {
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.recruit-page-html::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.recruit-page-body {
  margin: 0;
  background: #fff;
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.recruit-page-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

#fullpage > .section.recruit-section {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: #fff;
}

.recruit-page {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.recruit-stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 0 90px;
}

.recruit-page-body .footer-section .main-footer,
#fullpage .main-footer {
  position: relative;
  bottom: auto;
  left: auto;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  height: 350px;
  background: #0a1c31;
  color: #fff;
}

.recruit-stage__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  pointer-events: none;
}

.recruit-stage__dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.recruit-hero,
.recruit-main {
  position: relative;
  z-index: 2;
}

.recruit-hero {
  position: relative;
  box-sizing: border-box;
  padding: 125px 60px 40px;
}

.recruit-hero__inner {
  max-width: 1520px;
}

.recruit-hero .page-breadcrumb {
  margin: 0 0 20px;
}

.recruit-hero .page-breadcrumb a,
.recruit-hero .page-breadcrumb span {
  color: #fff;
}

.recruit-hero__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.recruit-hero .page-hero__title {
  margin: 0;
}

.recruit-hero .page-hero__en,
.recruit-hero .page-hero__ko,
.recruit-hero .page-hero__divider {
  color: #fff;
}

.recruit-hero .page-hero__emblem {
  top: 141px;
  right: 60px;
}

/* Download — live site: asialand.docx */
.recruit-download {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.recruit-download__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-width: 253px;
  height: 50px;
  padding: 0 22px;
  border-radius: 30px;
  background: #0077d9;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.5px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.recruit-download__btn:hover {
  background: #0066bb;
}

.recruit-download__btn img {
  display: block;
  width: 19px;
  height: 22px;
  flex: 0 0 auto;
}

.recruit-download__note {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.4px;
}

/* Cards grid */
.recruit-main {
  box-sizing: border-box;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 20px 215px 0;
}

.recruit-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 470px);
  gap: 40px 55px;
  justify-content: center;
}

.recruit-card {
  position: relative;
  box-sizing: border-box;
  width: 470px;
  min-height: 250px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.recruit-card__link {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  min-height: 250px;
  padding: 30px 40px 28px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Open / 진행 */
.recruit-card.is-ing {
  background: #fff;
}

.recruit-card.is-ing .recruit-card__title,
.recruit-card.is-ing .recruit-card__dept,
.recruit-card.is-ing .recruit-card__date {
  color: #0077d9;
}

.recruit-card.is-ing .recruit-card__views {
  color: rgba(0, 119, 217, 0.5);
}

.recruit-card.is-ing .recruit-card__badge {
  background: #0077d9;
}

/* Closed / 마감 — frosted glass */
.recruit-card.is-finish {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.recruit-card.is-finish .recruit-card__title,
.recruit-card.is-finish .recruit-card__dept,
.recruit-card.is-finish .recruit-card__date {
  color: #fff;
}

.recruit-card.is-finish .recruit-card__views {
  color: rgba(255, 255, 255, 0.5);
}

.recruit-card.is-finish .recruit-card__badge {
  background: rgba(255, 255, 255, 0.1);
}

/* Hover — subtle lift only */
.recruit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.recruit-card.is-finish:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.recruit-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.recruit-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 30px;
  padding: 0 14px;
  border-radius: 30px;
  box-sizing: border-box;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 0;
  letter-spacing: -0.4px;
}

.recruit-card__views {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.5px;
}

.recruit-card__body {
  flex: 1 1 auto;
}

.recruit-card__title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.65px;
  word-break: keep-all;
}

.recruit-card__dept {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.55px;
}

/* 모바일 전용 직무 태그 */
.recruit-card__tags {
  display: none;
}

.recruit-card__foot {
  margin-top: 28px;
}

.recruit-card__date {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.5px;
}

/* Intro motion */
body.recruit-page-body.is-recruit-intro:not(.is-recruit-entered) .recruit-stage__bg,
body.recruit-page-body.is-recruit-intro:not(.is-recruit-entered) .recruit-stage__dim {
  opacity: 0;
  transform: scale(1.04);
}

body.recruit-page-body.is-recruit-intro:not(.is-recruit-entered) .recruit-hero .page-breadcrumb,
body.recruit-page-body.is-recruit-intro:not(.is-recruit-entered) .recruit-hero .page-hero__en,
body.recruit-page-body.is-recruit-intro:not(.is-recruit-entered) .recruit-hero .page-hero__divider,
body.recruit-page-body.is-recruit-intro:not(.is-recruit-entered) .recruit-hero .page-hero__ko,
body.recruit-page-body.is-recruit-intro:not(.is-recruit-entered) .recruit-download,
body.recruit-page-body.is-recruit-intro:not(.is-recruit-entered) .recruit-hero .page-hero__emblem,
body.recruit-page-body.is-recruit-intro:not(.is-recruit-entered) .recruit-card {
  opacity: 0;
  transform: translateY(24px);
}

body.recruit-page-body.is-recruit-intro .recruit-stage__bg,
body.recruit-page-body.is-recruit-intro .recruit-stage__dim,
body.recruit-page-body.is-recruit-intro .recruit-hero .page-breadcrumb,
body.recruit-page-body.is-recruit-intro .recruit-hero .page-hero__en,
body.recruit-page-body.is-recruit-intro .recruit-hero .page-hero__divider,
body.recruit-page-body.is-recruit-intro .recruit-hero .page-hero__ko,
body.recruit-page-body.is-recruit-intro .recruit-download,
body.recruit-page-body.is-recruit-intro .recruit-hero .page-hero__emblem,
body.recruit-page-body.is-recruit-intro .recruit-card {
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-stage__bg,
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-stage__dim,
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-hero .page-breadcrumb,
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-hero .page-hero__en,
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-hero .page-hero__divider,
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-hero .page-hero__ko,
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-download,
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-hero .page-hero__emblem,
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-card {
  opacity: 1;
  transform: none;
}

body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-hero .page-breadcrumb { transition-delay: 0.2s; }
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-hero .page-hero__en { transition-delay: 0.32s; }
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-hero .page-hero__divider { transition-delay: 0.4s; }
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-hero .page-hero__ko { transition-delay: 0.46s; }
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-download { transition-delay: 0.5s; }
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-hero .page-hero__emblem { transition-delay: 0.55s; }
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-card:nth-child(1) { transition-delay: 0.62s; }
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-card:nth-child(2) { transition-delay: 0.68s; }
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-card:nth-child(3) { transition-delay: 0.74s; }
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-card:nth-child(4) { transition-delay: 0.8s; }
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-card:nth-child(5) { transition-delay: 0.86s; }
body.recruit-page-body.is-recruit-intro.is-recruit-entered .recruit-card:nth-child(6) { transition-delay: 0.92s; }

@media (max-width: 1024px) {
  .recruit-main {
    padding: 20px 80px 0;
  }

  .recruit-grid {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 28px 24px;
  }

  .recruit-card {
    width: auto;
  }
}

@media (max-width: 1024px) {
  .recruit-hero {
    padding: 110px 40px 32px;
  }

  .recruit-hero .page-hero__emblem {
    right: 40px;
  }

  .recruit-main {
    padding: 10px 40px 0;
  }

  .recruit-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 900px) {
  .recruit-hero .page-hero__emblem {
    display: none;
  }

  .recruit-download__note {
    width: 100%;
  }

  .recruit-main {
    padding: 10px 24px 0;
  }

  .recruit-grid {
    grid-template-columns: 1fr;
  }

  .recruit-card__title {
    font-size: 22px;
  }

  .recruit-card__dept {
    font-size: 18px;
  }

  .recruit-card__date,
  .recruit-card__views {
    font-size: 16px;
  }
}

/* ===== Mobile (≤768): fullpage 해제 · 필터 + 컴팩트 카드 목록 ===== */
@media (max-width: 768px) {
  html:has(body.is-recruit-mobile),
  body.recruit-page-body.is-recruit-mobile {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .is-recruit-mobile #fullpage {
    height: auto !important;
    transform: none !important;
  }

  .is-recruit-mobile #fullpage > .section.recruit-section,
  .is-recruit-mobile #fullpage > .section.footer-section {
    width: 100% !important;
    height: auto !important;
    overflow: visible;
  }

  .recruit-page,
  .recruit-stage {
    height: auto;
  }

  .recruit-stage {
    padding-bottom: 56px;
  }

  .recruit-stage__bg {
    object-position: center top;
  }

  /* 긴 목록에서도 카드 가독성 유지 */
  .recruit-stage__dim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(10, 28, 49, 0.72) 55%, rgba(10, 28, 49, 0.85) 100%);
  }

  /* Hero */
  .recruit-hero {
    padding: 108px 20px 24px;
  }

  .recruit-hero .page-breadcrumb {
    margin-bottom: 12px;
  }

  .recruit-hero__row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .recruit-download {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .recruit-download__btn {
    width: 100%;
    min-width: 0;
    height: 50px;
    font-size: 16px;
  }

  .recruit-download__note {
    width: auto;
    font-size: 12px;
    text-align: center;
    opacity: 0.85;
  }

  /* Filter */
  .recruit-main {
    padding: 8px 20px 0;
  }

  .recruit-filter {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
  }

  .recruit-filter__btn {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.35px;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .recruit-filter__btn.is-active {
    border-color: #fff;
    background: #fff;
    color: #0a1c31;
  }

  .recruit-filter__count {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.6;
  }

  .recruit-filter__btn.is-active .recruit-filter__count {
    color: #0077d9;
    opacity: 1;
  }

  /* Cards */
  .recruit-grid {
    gap: 12px;
  }

  .recruit-card {
    min-height: 0;
    border-radius: 14px;
  }

  .recruit-card:hover {
    transform: none;
    box-shadow: none;
  }

  .recruit-card__link {
    position: relative;
    min-height: 0;
    padding: 18px 44px 18px 20px;
  }

  .recruit-card__link::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 22px;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
  }

  .recruit-card.is-ing .recruit-card__link::after {
    color: #0077d9;
  }

  .recruit-card.is-finish .recruit-card__link::after {
    color: rgba(255, 255, 255, 0.55);
  }

  .recruit-card__top {
    margin-bottom: 12px;
  }

  .recruit-card__badge {
    min-width: 52px;
    height: 26px;
    padding: 0 12px;
    font-size: 13px;
  }

  .recruit-card__views {
    font-size: 13px;
  }

  .recruit-card__views::before {
    content: '조회 ';
  }

  .recruit-card__title {
    margin-bottom: 10px;
    font-size: 18px;
    letter-spacing: -0.45px;
  }

  .recruit-card__dept {
    display: none;
  }

  .recruit-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .recruit-card__tags li {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.3px;
  }

  .recruit-card.is-ing .recruit-card__tags li {
    background: rgba(0, 119, 217, 0.08);
    color: #0077d9;
  }

  .recruit-card.is-finish .recruit-card__tags li {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  .recruit-card__foot {
    margin-top: 12px;
  }

  .recruit-card__date {
    font-size: 13px;
  }

  .recruit-empty {
    margin: 0;
    padding: 36px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: -0.35px;
    color: #fff;
    word-break: keep-all;
  }

  .recruit-empty[hidden] {
    display: none;
  }

  /* Footer */
  .recruit-page-body .footer-section .main-footer,
  .recruit-page-body #fullpage .main-footer {
    height: auto;
    min-height: 0;
  }

  .recruit-page-body .main-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 20px 44px;
    gap: 24px;
  }

  .recruit-page-body .main-footer__logo {
    width: 220px;
    height: auto;
  }

  .recruit-page-body .main-footer__center {
    max-width: none;
    width: 100%;
    flex: none;
    margin-left: 0;
  }

  .recruit-page-body .main-footer__links {
    gap: 20px;
    flex-wrap: wrap;
  }

  .recruit-page-body .main-footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .recruit-page-body .main-footer__sep {
    display: none;
  }

  .recruit-page-body .main-footer__copy {
    margin-top: 20px;
  }

  .recruit-page-body .main-footer__family {
    width: 100%;
    margin-left: 0;
  }

  .recruit-page-body .main-footer__family-btn,
  .recruit-page-body .main-footer__family-panel {
    width: 100%;
  }
}

/* Closed recruit alert */
html:has(body.recruit-page-body.is-recruit-alert-open),
body.recruit-page-body.is-recruit-alert-open {
  overflow: hidden;
}

.recruit-alert[hidden] {
  display: none !important;
}

.recruit-alert {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.recruit-alert__dim {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 49, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.recruit-alert.is-open .recruit-alert__dim {
  opacity: 1;
}

.recruit-alert__panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(420px, 100%);
  padding: 36px 32px 28px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(10, 28, 49, 0.18);
  text-align: center;
  opacity: 0;
  transition: opacity 0.24s ease;
  -webkit-font-smoothing: antialiased;
}

.recruit-alert.is-open .recruit-alert__panel {
  opacity: 1;
}

.recruit-alert__label {
  margin: 0 0 14px;
  color: #0077d9;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.recruit-alert__msg {
  margin: 0 0 28px;
  color: #0a1c31;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.5px;
  word-break: keep-all;
}

.recruit-alert__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 46px;
  padding: 0 28px;
  border: 0;
  border-radius: 30px;
  background: #0077d9;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.recruit-alert__btn:hover {
  background: #0066bb;
}

.recruit-alert__btn:focus-visible {
  outline: 2px solid #0077d9;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .recruit-alert__panel {
    padding: 32px 24px 24px;
  }

  .recruit-alert__msg {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recruit-alert__dim,
  .recruit-alert__panel {
    transition: none !important;
  }

  .recruit-alert__dim,
  .recruit-alert.is-open .recruit-alert__panel {
    opacity: 1 !important;
  }

  body.recruit-page-body.is-recruit-intro .recruit-stage__bg,
  body.recruit-page-body.is-recruit-intro .recruit-stage__dim,
  body.recruit-page-body.is-recruit-intro .recruit-hero .page-breadcrumb,
  body.recruit-page-body.is-recruit-intro .recruit-hero .page-hero__en,
  body.recruit-page-body.is-recruit-intro .recruit-hero .page-hero__divider,
  body.recruit-page-body.is-recruit-intro .recruit-hero .page-hero__ko,
  body.recruit-page-body.is-recruit-intro .recruit-download,
  body.recruit-page-body.is-recruit-intro .recruit-hero .page-hero__emblem,
  body.recruit-page-body.is-recruit-intro .recruit-card {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .recruit-card {
    transition: none !important;
  }

  .recruit-card:hover {
    transform: none;
  }
}
