/* 실제 매장 사진으로 하나씩 소개하는 월드스키의 장점. */
.test-9 .strengths9 {
  --strengths-inset: max(24px, calc((100vw - 1200px) / 2));
  --strengths-card-width: clamp(300px, 28vw, 380px);
  padding: 56px 0 48px;
  background: var(--strengths-color, #087f96);
  transition: background-color 450ms ease;
  color: #fff;
  overflow: hidden;
}
.test-9 .strengths9-head {
  width: min(1200px, calc(100% - 48px));
}
.test-9 .strengths9-eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
}
.test-9 .strengths9 h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.4;
  letter-spacing: -0.045em;
}
.test-9 .strengths9-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 24px;
}
.test-9 .strengths9-controls[hidden] {
  display: none;
}
.test-9 .strengths9-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.test-9 .strengths9-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}
.test-9 .strengths9-controls span {
  margin-left: 8px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.test-9 .strengths9-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px var(--strengths-inset) 4px;
  scroll-padding-inline: var(--strengths-inset);
  padding-right: max(var(--strengths-inset), calc(100% - var(--strengths-inset) - var(--strengths-card-width)));
}
.test-9 .strengths9-track::-webkit-scrollbar {
  display: none;
}
.test-9 .strengths9-story {
  flex: 0 0 var(--strengths-card-width);
  min-width: 0;
  scroll-snap-align: start;
}
.test-9 .strengths9-story img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 8px;
}
.test-9 .strengths9-story h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.04em;
}
.test-9 .strengths9-story p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #fff;
  word-break: keep-all;
}
.test-9 .strengths9-track:focus-visible,
.test-9 .strengths9-controls button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}
@media (max-width: 760px) {
  .test-9 .strengths9 {
    --strengths-card-width: calc(100vw - 64px);
    padding-block: 36px 32px;
  }
  .test-9 .strengths9-controls {
    margin-block: 16px 20px;
  }
  .test-9 .strengths9-track {
    gap: 20px;
  }
  .test-9 .strengths9-story {
    flex-basis: var(--strengths-card-width);
  }
  .test-9 .strengths9-story h3 {
    font-size: 22px;
    margin-top: 16px;
  }
}

/* 사진 전환에 맞춰 제목, 설명이 순서대로 올라온다. */
.test-9 .strengths9-story.is-current h3 {
  animation: strengths9-text-in 550ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.test-9 .strengths9-story.is-current p {
  animation: strengths9-text-in 550ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
}
@keyframes strengths9-text-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .test-9 .strengths9 {
    transition: none;
  }
  .test-9 .strengths9-story.is-current h3,
  .test-9 .strengths9-story.is-current p {
    animation: none;
  }
}

/* 순환(복제본 이어 붙임) — 마지막 뒤 빈 여백 대신 1번이 바로 이어진다(2026-10-17) */
.test-9 .strengths9-loop .strengths9-track {
  padding-right: var(--strengths-inset);
}

/* 「월드스키에서, 더 편한 겨울.」 두 번째 모양 — toptk.co.kr 「TK Program」 느낌(대표 2026-10-17)
   왼쪽: 영문 세리프 머리말 · 큰 세리프 제목 · 설명 · 파란 알약 「자세히 보기」 · 1 / 5 와 동그란 화살표
   오른쪽: 큰 사진 카드 하나 + 오른쪽에 작게 다음 카드. 카드는 한 칸에 겹쳐 두고 순서(현재·다음·이전·나머지)에 따라 자리만 바꾼다 — 5번 다음은 1번(끊김 없이) */
.tk9 {
  position: relative;
  overflow: hidden;
  padding: var(--sec-y, 72px) 0;
  background: radial-gradient(ellipse 60% 70% at 12% 8%, #ffffff 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(115deg, #f2f5f8 0%, #ffffff 42%, #edf3f9 100%);
  color: #14181d;
}
.tk9-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 48px;
  align-items: center;
}
.tk9-eyebrow {
  margin: 0 0 22px;
  color: #1667ad;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  letter-spacing: 0.005em;
}
.tk9 h2 {
  margin: 0;
  font-family: "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", Batang, "바탕", serif;
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.tk9-lead {
  margin: 36px 0 0;
  color: #59636e;
  font-size: 18px;
  line-height: 1.8;
}
.tk9-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  height: 64px;
  margin-top: 52px;
  padding: 0 32px;
  border-radius: 999px;
  background: #1a6fbd;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}
.tk9-more:hover {
  background: #135d9f;
}
.tk9-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}
.tk9-count {
  min-width: 66px;
  color: #6b7480;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.tk9-count b {
  color: #14181d;
}
.tk9-nav button {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  min-height: 0;
  padding: 0;
  border: 1px solid #3a4046;
  border-radius: 50%;
  background: transparent;
  color: #14181d;
  cursor: pointer;
}
.tk9-nav button:hover {
  background: #14181d;
  color: #fff;
}
.tk9-stage {
  position: relative;
  touch-action: pan-y;
}
.tk9-track {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* 모든 카드가 같은 칸 — 폭은 무대의 80%, 다음 카드는 오른쪽 끝에 작게 */
.tk9-card {
  grid-area: 1 / 1;
  width: 80%;
  transform-origin: left 38%;
  transform: translateX(150%) scale(0.6);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.5s ease,
    visibility 0s linear 0.7s;
}
.tk9-card.is-active {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition:
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.5s ease,
    visibility 0s;
}
.tk9-card.is-next {
  transform: translateX(110%) scale(0.72);
  opacity: 0.55;
  visibility: visible;
  cursor: pointer;
  transition:
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.5s ease,
    visibility 0s;
}
.tk9-card.is-prev {
  transform: translateX(-40%) scale(0.9);
}
.tk9-photo {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 26px;
  background: #e6edf3;
}
.tk9-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tk9-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 14px 0;
}
.tk9-tag {
  padding: 7px 16px;
  border: 1.5px solid #1a6fbd;
  border-radius: 8px;
  background: #fff;
  color: #1a6fbd;
  font-size: 16px;
  font-weight: 700;
}
.tk9-cap {
  margin: 16px 14px 0;
  color: #59636e;
  font-size: 16px;
  line-height: 1.65;
}
.tk9-cap b {
  display: block;
  margin-bottom: 4px;
  color: #14181d;
  font-size: 19px;
}
@media (max-width: 900px) {
  .tk9-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .tk9-eyebrow {
    margin-bottom: 14px;
    font-size: 22px;
  }
  .tk9 h2 {
    font-size: clamp(28px, 7.4vw, 40px);
  }
  .tk9-lead {
    margin-top: 20px;
    font-size: 16px;
  }
  .tk9-lead br {
    display: none;
  }
  .tk9-more {
    min-width: 150px;
    height: 52px;
    margin-top: 28px;
    font-size: 16px;
  }
  .tk9-nav {
    margin-top: 24px;
  }
  .tk9-nav button {
    width: 52px;
    height: 52px;
  }
  .tk9-card {
    width: 84%;
  }
  .tk9-card.is-next {
    transform: translateX(106%) scale(0.8);
  }
  .tk9-photo {
    border-radius: 18px;
  }
  .tk9-meta {
    margin: 16px 4px 0;
  }
  .tk9-tag {
    padding: 5px 12px;
    font-size: 14px;
  }
  .tk9-cap {
    margin: 12px 4px 0;
    font-size: 15px;
  }
  .tk9-cap b {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tk9-card,
  .tk9-card.is-active,
  .tk9-card.is-next {
    transition: none;
  }
}

/* 두 모양 합침(대표 2026-10-17 「이 폰트·자동 스크롤·배경색 바뀌는 게 맘에 들고, 사진 가독성이랑 넘어가는 효과가 맘에 들어 — 두 개 합쳐서」)
   .tk9 배치·카드 자리 바꿈은 그대로, 배경은 장마다 바뀌는 색(--tk9-color), 글자는 흰색·청록 구간의 굵은 고딕 제목, 화살표는 청록 구간처럼 동그라미 없이 */
.tk9.tk9-merged {
  background: var(--tk9-color, #087f96);
  color: #fff;
  transition: background-color 0.6s ease;
}
.tk9-merged .tk9-eyebrow {
  margin: 0 0 14px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}
.tk9-merged h2 {
  font-family: inherit;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.045em;
}
.tk9-merged .tk9-nav {
  gap: 8px;
  margin-top: 28px;
}
.tk9-merged .tk9-nav button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 34px;
  line-height: 1;
}
.tk9-merged .tk9-nav button:hover {
  background: transparent;
  color: #fff;
  opacity: 0.75;
}
.tk9-merged .tk9-count {
  min-width: 0;
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}
.tk9-merged .tk9-count b {
  color: #fff;
}
.tk9-merged .tk9-photo {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.tk9-merged .tk9-tag {
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
}
.tk9-merged .tk9-title {
  margin: 18px 14px 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.04em;
}
.tk9-merged .tk9-cap {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.9);
}
/* 넘어오면 제목·설명이 차례로 올라온다(청록 구간과 같은 움직임) */
.tk9-merged .tk9-card.is-active .tk9-title {
  animation: strengths9-text-in 550ms cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.tk9-merged .tk9-card.is-active .tk9-cap {
  animation: strengths9-text-in 550ms cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
@media (max-width: 900px) {
  .tk9-merged h2 {
    font-size: clamp(30px, 8vw, 40px);
  }
  .tk9-merged .tk9-nav {
    margin-top: 16px;
  }
  .tk9-merged .tk9-title {
    margin: 14px 4px 6px;
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tk9.tk9-merged {
    transition: none;
  }
  .tk9-merged .tk9-card.is-active .tk9-title,
  .tk9-merged .tk9-card.is-active .tk9-cap {
    animation: none;
  }
}
/* 제목 끝말 바꾸기 — 한 줄 높이 창 안에서 말 목록이 위로 한 칸씩 올라간다(대표 2026-10-17 「위로 올라가는 느낌」) */
.tk9-roll {
  display: inline-block;
  height: 1.3em;
  overflow: hidden;
  vertical-align: top;
}
.tk9-roll-list {
  --k: 0;
  display: block;
  transform: translateY(calc(var(--k) * -1.3em));
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.tk9-roll-list.no-anim {
  transition: none;
}
.tk9-roll-list > span {
  display: block;
  height: 1.3em;
  line-height: 1.3;
  white-space: nowrap;
}
/* 기아(worldwide.kia.com) 처럼 구간을 둥근 판으로 — 화면 양옆에서 띄우고 큰 둥근 모서리로 앞뒤 구간과 구분(대표 2026-10-17 「저기 영역을 기아처럼, 섹션에 라운드를 줘서 구분」).
   다음 카드가 판의 둥근 끝에서 잘려 보인다(판 밖으로 안 나감) */
.tk9.tk9-merged {
  margin: 16px 24px;
  border-radius: 32px;
}
@media (max-width: 760px) {
  .tk9.tk9-merged {
    margin: 10px 10px;
    border-radius: 22px;
  }
}
