/* 첫 화면 영상 배너 (2026-11-13, 대표 지시로 개편 전 배너 복구)
   styles.css·rpo-override.css 의 배너 규칙을 그대로 옮기고 앞에 .pkf 를 붙임 — _tools/extract-hero-css.py 로 생성 */
.pkf .hero {
  --ink: #101820;
  --muted: #687382;
  --line: #d9e1ea;
  --surface: #f4f7fb;
  --navy: #061c38;
  --blue: #0a72ce;
  --cyan: #49d7ff;
  --green: #b6ff2e;
  --purple: #5c43d6;
  --orange: #ff8a22;
  --white: #ffffff;
}
.pkf .primary-button,
.pkf .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  text-align: center;
}
.pkf .primary-button {
  color: var(--navy);
  background: var(--green);
}
.pkf .secondary-button {
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.34);
}
.pkf .hero {
  position: relative;
  min-height: calc(100vh - 70px);
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}
.pkf .hero-track,
.pkf .hero-slide {
  position: absolute;
  inset: 0;
}
.pkf .hero-slide {
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}
.pkf .hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.pkf .hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}
.pkf .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,13,28,0.94) 0%, rgba(6,28,56,0.68) 46%, rgba(6,28,56,0.22) 100%);
}
.pkf .motion-media img,
.pkf .motion-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pkf .image-media {
  transform: scale(1.02);
}
.pkf .hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 88px 0 118px;
}
.pkf .hero-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  pointer-events: none;
}
.pkf .hero-arrow,
.pkf .hero-dots button {
  pointer-events: auto;
  cursor: pointer;
}
.pkf .hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
}
.pkf .hero-arrow[data-hero-prev] {
  left: 22px;
}
.pkf .hero-arrow[data-hero-next] {
  right: 22px;
}
.pkf .hero-arrow:hover {
  color: var(--navy);
  background: var(--green);
  border-color: var(--green);
}
.pkf .hero-dots {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 38px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(6,28,56,0.42);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.pkf .hero-dots button {
  width: 34px;
  height: 5px;
  padding: 0;
  background: rgba(255,255,255,0.42);
  border: 0;
  border-radius: 999px;
}
.pkf .hero-dots button.is-active {
  background: var(--green);
}
.pkf .hero-dots .hero-pause {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-left: 4px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background: rgba(7,29,52,0.68);
  color: var(--white);
  font-size: 12px;
  line-height: 1;
}
.pkf .hero-dots .hero-pause:hover,
.pkf .hero-dots .hero-pause:focus-visible {
  width: 28px;
  background: var(--green);
  color: var(--navy);
}
@media (prefers-reduced-motion: reduce) {
  .pkf .motion-media video {
    display: none;
  }
}
.pkf .hero-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: clamp(34px, 6.6vw, 86px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}
.pkf .hero-inner h2 {
  margin-bottom: 18px;
  font-size: clamp(40px, 7.4vw, 96px);
  line-height: 0.92;
  letter-spacing: 0;
}
.pkf .hero-copy {
  max-width: 720px;
  color: rgba(255,255,255,0.88);
  font-size: 20px;
  line-height: 1.72;
  word-break: keep-all;
}
.pkf .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 720px) {
  .pkf .hero {
    min-height: 0;
    padding-top: 640px;
    overflow: visible;
  }
  .pkf .hero-track,
.pkf .hero-slide {
    inset: 0 0 auto;
    height: 640px;
  }
  .pkf .hero-track,
.pkf .hero-slide {
    overflow: hidden;
  }
  .pkf .hero-inner {
    width: calc(100% - 36px);
    padding-top: 94px;
    padding-bottom: 142px;
  }
  .pkf .hero-kicker {
    margin-bottom: 10px;
    font-size: clamp(34px, 10.8vw, 52px);
    line-height: 0.98;
  }
  .pkf .hero-inner h2 {
    margin-bottom: 16px;
    font-size: clamp(38px, 11.6vw, 58px);
    line-height: 0.94;
  }
  .pkf .hero-copy {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.45;
  }
  .pkf .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }
  .pkf .hero-actions .primary-button,
.pkf .hero-actions .secondary-button {
    min-height: 50px;
    padding: 0 16px;
    font-size: 15px;
  }
  .pkf .hero-controls {
    z-index: 6;
  }
  .pkf .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 30px;
    top: 52%;
  }
  .pkf .hero-arrow[data-hero-prev] {
    left: 18px;
  }
  .pkf .hero-arrow[data-hero-next] {
    right: 18px;
  }
  .pkf .hero-dots button {
    width: 22px;
  }
  .pkf .hero-dots {
    bottom: 30px;
  }
}
.pkf .motion-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pkf .image-media.rpo-original {
  transform: none;
  background-color: #061c38;
}
.pkf .rpo-original::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
  linear-gradient(90deg,
  #061c38 0%,
  #061c38 28%,
  rgba(6,28,56,0.98) 36%,
  rgba(6,28,56,0.82) 43%,
  rgba(6,28,56,0.46) 51%,
  rgba(6,28,56,0.16) 60%,
  rgba(6,28,56,0) 70%);
}
.pkf .rpo-original::after {
  z-index: 2;
  background: linear-gradient(90deg, rgba(3,13,28,0.90) 0%, rgba(6,28,56,0.44) 42%, rgba(6,28,56,0.08) 100%);
}
@media (max-width: 720px) {
  .pkf .image-media.rpo-original {
    background-position: center center !important;
    background-size: contain !important;
  }
  .pkf .rpo-original::before {
    display: none;
  }
  .pkf .rpo-original::after {
    background: rgba(3,13,28,0.32);
  }
}

/* 새 틀 공통 규칙이 배너 모양을 바꾸지 않게 되돌림(개편 전과 같은 글꼴·줄 간격·글자색·밑줄 없음) */
.pkf .hero { font-family: Arial, "Noto Sans KR", sans-serif; line-height: normal; word-break: normal; }
.pkf .hero a { text-decoration: none; }
.pkf .hero h2 { color: inherit; }
.pkf .hero p { margin-top: 0; }
