/* ==========================================================================
   Career > 인재상 (Figma 1:1285) — page body only
   Hero/stage: sp-common.css + sp-hero.js. This file: core values (1:1347), CTA (1:1426)
   ========================================================================== */

/* ---------- Section heading (eyebrow + title + desc) ---------- */
.tale-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tale-head-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.tale-title {
  font-weight: 600;
  font-size: clamp(30px, 2.917vw, 56px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  color: #111;
  word-break: keep-all;
}
.tale-desc {
  font-weight: 500;
  font-size: clamp(16px, 1.042vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #333;
  word-break: keep-all;
}

/* ---------- Core values (1:1347) ---------- */
.tale-values {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 3.125vw, 60px);
  padding: clamp(64px, 6.25vw, 120px) 0;
  background: #f8f8f8;
}
/* style.css `section:not(.hero)… > *` (0,3,1) caps direct section children at 1440px + 40px gutter,
   which shrinks .sp-container to 1360 and stops the CTA background at 1440. Undo it here. */
.sp-page.talent-page section:not(.hero):not(.hero-slider-container):not(.c-hero) > .sp-container {
  width: min(1600px, 100% - 2 * clamp(16px, 8.333vw, 160px));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
.sp-page.talent-page section:not(.hero):not(.hero-slider-container):not(.c-hero) > .tale-cta-bg {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}
/* sp-common.css applies --sp-stage-img inside its own file, so a page-relative url() in the inline
   style resolved to /assets/assets/… (404). Set the box background (.sp-stage::before) here instead. */
.sp-page.talent-page .sp-stage::before { background-image: url('../../img/career/talent/hero.jpg'); }
.tale-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.083vw, 40px);
  list-style: none;
}
.tale-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(28px, 2.083vw, 40px) clamp(24px, 1.667vw, 32px);
  border: 1px solid #ebedf1;
  border-radius: 20px;
  background: #fff;
}
.tale-card-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tale-card-step {
  font-family: var(--sp-font-en);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--sp-navy);
}
.tale-card-name {
  display: flex;
  flex-direction: column;
}
.tale-card-name h3 {
  font-weight: 600;
  font-size: clamp(22px, 1.458vw, 28px);
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #111;
}
.tale-card-en {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.015em;
  color: #999;
}
.tale-card-desc {
  min-height: 88px;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.015em;
  color: #666;
  word-break: keep-all;
}
.tale-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.tale-tags li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #f8f8f8;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  white-space: nowrap;
}

/* ---------- CTA (1:1426) ---------- */
.tale-cta {
  position: relative;
  padding: 0; /* cancel the global section padding (100px) — the inner box carries the 120/80 */
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.tale-cta-bg {
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: #1a1f2a url('../../img/career/jobs/cta.jpg') center / cover no-repeat;
  filter: blur(21px);
}
.tale-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.tale-cta-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  box-sizing: border-box;
  min-height: clamp(460px, 36.302vw, 697px);
  padding: clamp(64px, 6.25vw, 120px) 0 80px;
}
.tale-cta .tale-title,
.tale-cta .tale-desc { color: #fff; }
.tale-cta-links {
  display: flex;
  align-self: flex-end;
  gap: 20px;
}
.tale-cta-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: clamp(160px, 13.542vw, 260px);
  height: clamp(124px, 8.333vw, 160px);
  padding: 26px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: clamp(16px, 1.042vw, 20px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tale-cta-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.tale-cta-link--primary { background: var(--sp-navy); color: #fff; }
.tale-cta-link--primary:hover { color: #fff; }
.tale-cta-link--light { background: #ebedf1; color: var(--sp-navy); }
.tale-cta-link--light:hover { color: var(--sp-navy); }
.tale-ico {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}
.tale-ico img {
  position: absolute;
  width: auto;
  max-width: none;
}
.tale-ico--hiring .tale-ico-a { inset: 5.15% 1.48% 5.3% 1.36%; width: 97.16%; height: 89.55%; }
.tale-ico--hiring .tale-ico-b { inset: 24.51% 31.58% 32.84% 25.78%; width: 42.64%; height: 42.65%; }
.tale-ico--briefcase .tale-ico-a { inset: 8.33% 0; width: 100%; height: 83.34%; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .tale-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tale-card-desc { min-height: 0; }
}
@media (max-width: 768px) {
  .tale-cta-links { align-self: stretch; }
  .tale-cta-link { flex: 1 1 0; width: auto; }
}
@media (max-width: 600px) {
  .tale-values-grid { grid-template-columns: minmax(0, 1fr); }
  .tale-cta-inner { padding-bottom: 56px; }
  .tale-cta-links { gap: 12px; }
  .tale-cta-link { padding: 20px 12px; }
  .tale-ico { width: 40px; height: 40px; }
}
