@charset "utf-8";
/* ============================================================
  WORK TO WORKOUT — Vol.01 / 5월 프로모션 전용 스타일
  - 운영 CSS(reset / style / ps-new) 충돌 방지를 위해 .w2w 하위로 스코프
  - 클래스 prefix: w2w- (work to workout)
  - PC 1920 기준 콘텐츠 영역 720px / 하단 와이드 / 모바일 미디어쿼리
============================================================ */

.w2w,
.w2w *,
.w2w *::before,
.w2w *::after {
  box-sizing: border-box;
}

.w2w__brand,
.w2w__date,
.w2w__title {
  width: 720px;
  margin: 0 auto;
  display: block;
  box-sizing: border-box;
}


.category-chip {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  color: #777;
  background: #fff;
  margin-bottom: 8px;
  margin-top: 40px;
}


.w2w-bottom-swiper .swiper-wrapper {
  padding-left: 450.5px; /* 또는 w2w__inner와 동일한 margin 값 */
}


.w2w {
  width: 100%;
  background: #fff;
  color: #1d1d1d;
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden; /* 마퀴 가로 스크롤 방지 */
}
.w2w img {
  display: block;
  max-width: 100%;
  height: auto;
}
.w2w a {
  color: inherit;
  text-decoration: none;
}
.w2w ul {
  list-style: none;
  padding-top: 16px;
  margin: 0;
}

/* 콘텐츠 영역: 1920기준 720px 중앙 */
.w2w__inner {
  width: 720px;
  margin: 0 auto;
}

/* ─────────── 헤더 ─────────── */
.w2w__header {
  padding: 100px 0 0px;
}
.w2w__brand {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
}
.w2w__brand span {
  display: inline-block;
}
.w2w__brand sup {
  margin-left: 2px;
  color: #1d1d1d;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
}

sup {
  top: -0.2em !important;
}

.w2w__bar {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: #1d1d1d;
  vertical-align: middle;
}

.w2w__date {
  margin: 0 auto;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  color: #777;
  letter-spacing: 1.2px;
}
.w2w__title {
  margin: 0 auto;
  padding-top:10px;
  font-size: 32px;
  font-weight: 400;
  line-height: 48px;
  color: #1d1d1d;
  letter-spacing: 0;
}

/* ─────────── 비주얼 / 캡션 ─────────── */
.w2w__visual {
  margin: 40px auto 0;
  padding: 0;
}
.w2w__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}


.ps-detail-content img {max-width: 720px !important; width: 100%!important; margin:0 auto;}

.w2w__caption {
  margin-top: 28px;
}
.w2w__caption-title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  color: #1d1d1d;
}
.w2w__caption-title em {
  font-style: normal;
  font-weight: 100;
  color: #1d1d1d;
  padding: 0 4px;
}
.w2w__caption-text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: #1d1d1d;
}
.w2w__caption + .w2w__visual {
  margin-top: 60px;
}
.w2w__visual + .w2w__caption {
  margin-top: 28px;
}

.w2w__credits {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.w2w__credits li {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  line-height: 15px;
  color: #555;
}
.w2w__credits li strong {
  font-weight: 600;
}
.w2w__credits li span {
  font-weight: 400;
}

/* ─────────── 갤러리 (스와이퍼) ─────────── */
.w2w__gallery {
  margin-top: 60px;
}
.w2w__gallery .w2w-swiper {
  width: 100%;
  overflow: hidden;
}
.w2w__gallery .swiper-slide {
  width: calc((100% - 12px) / 2); /* 2장 노출 + 간격 */
}
.w2w__gallery .swiper-slide img {
  width: 100%;
  aspect-ratio: 4 / 6;
  object-fit: cover;
}

.w2w__gallery-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 0;
}
.w2w__gallery-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.w2w__gallery-btn:disabled,
.w2w__gallery-btn.is-disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
.w2w__gallery-btn svg {
  width: 13px;
  height: 18px;
  display: block;
}

.w2w__gallery-progress {
  position: relative;
  flex: 1 1 auto;
  height: 1px;
  background: rgba(85, 85, 85, 0.2);
}
.w2w__gallery-progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  background: #555;
  width: 25%;
  transition: width 0.3s ease, left 0.3s ease;
}

/* ─────────── 하단 검정 영역 (와이드) ─────────── */
.w2w__bottom {
  margin-top: 100px;
  padding: 100px 0;
  background: #000;
  color: #fff;
}
.w2w__bottom-inner {
  max-width: 1750px;
  margin: 0 auto;
}

/* 하단 볼륨 카드: Swiper 활성 조건은 JS(768px 미만 슬라이드 2개↑, 이상 4개↑) */
.w2w-bottom-swiper.w2w-bottom-swiper--static {
  overflow: visible;
}
.w2w-bottom-swiper.w2w-bottom-swiper--active {
  overflow: hidden;
}
.w2w-bottom-swiper .btn-wrap {
  display: none;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  margin-left: auto;
}
.w2w-bottom-swiper.w2w-bottom-swiper--active .btn-wrap {
  display: flex;
}
.w2w-bottom-swiper--active .w2w__more.swiper-wrapper {
  justify-content: flex-start;
  gap: 0;
}
.w2w-bottom-swiper--active .w2w__more > li.swiper-slide {
  width: auto;
  max-width: none;
  margin: 0;
  height: auto;
  box-sizing: border-box;
}

.w2w-bottom-swiper .btn-wrap button {
  width: 24px;
  height: 24px;
  cursor: pointer;
  background: url(https://image.prospecs.com/front/images/common/icon/scrollPre.svg) no-repeat;
  background-size: cover;
  
  /* 추가할 코드: 이미지를 화이트로 변경 */
  filter: brightness(0) invert(1);
}
.w2w-bottom-swiper .btn-wrap .next-btn {
  background: url(https://image.prospecs.com/front/images/common/icon/scrollPre.svg) no-repeat;
  transform: rotate(180deg);
}
.w2w-bottom-swiper .btn-wrap button.is-disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
/* 마퀴 */
.w2w__marquee {
  width: 100%;
  overflow: hidden;
  padding: 8px 0 90px;
}
.w2w__marquee-track {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 64px;
  white-space: nowrap;
  animation: w2w-marquee 28s linear infinite;
  will-change: transform;
}
.w2w__marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0;
}
.w2w__bar--lg {
  width: 96px;
  height: 2px;
  background: #fff;
}
@keyframes w2w-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* 이전/다음 볼륨 카드 (와이드) */
.w2w__more {
  display: flex; /* 가로 정렬 */
  justify-content: center; /* 가로축 중앙 정렬 */
  align-items: flex-start; /* 아이템들 상단 맞춤 */
  gap: 24px; /* 카드 사이 간격 */

  /* 기본 여백 초기화 (중요!) */
  padding: 0;
  margin: 0 auto;
  list-style: none; /* 점 제거 */
  width: 100%; /* 부모 너비 확보 */
}

.w2w__more li {
  width: 320px; /* 이미지에 표시된 320px 너비 유지 */
  flex-shrink: 0; /* 너비가 줄어들지 않도록 고정 */
}

.w2w__more > li {
  max-width: 560px !important;
}
.w2w__more-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: stretch;
  position: relative;
  color: #eee;
}
.w2w__more-thumb {
  width: 320px;
  height: 320px;
  overflow: hidden;
}
.w2w__more-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.w2w__more-info {
  position: relative;
  padding: 28px 0 28px 0;
  margin-left: 19px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.w2w__more-vol {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 1.2px;
}
.w2w__more-name {
  margin: 6px 0 14px;
  font-size: 14px;
  line-height: 21px;
  color: #eee;
}
.w2w__more-name strong {
  font-weight: 600;
}
.w2w__more-desc {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: rgba(238, 238, 238, 0.7);
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.w2w__more-desc {
  /* 말줄임표 생성을 위한 필수 속성 */
  display: -webkit-box;
  flex: 0 0 100%;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  height: 100%;
  overflow: hidden;
  text-overflow: ellipsis;

  /* 디자인에 따른 추가 조정 (선택사항) */
  line-height: 1.5; /* 줄 간격 (6줄의 전체 높이를 결정함) */
  max-height: 9em; /* line-height * 줄 수 (1.5 * 6) */
}

.w2w__more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-end;
  margin-top: 56px;
  font-size: 14px;
  color: #eee;
  position: absolute;
  bottom: 15px;
  right: 0;
}
.w2w__more-link i {
  font-style: normal;
}

/* ============================================================
  반응형 — 1024 / 768 / 480
============================================================ */

/* 태블릿 */
@media (max-width: 1024px) {
  .w2w__header {
    padding: 72px 0 40px;
  }
  .w2w__more {
    width: 100%;
    max-width: calc(100% - 40px);
    gap: 32px;
  }
  .w2w__more-card {
    grid-template-columns: 240px 1fr;
  }
  .w2w__more-thumb {
    width: 240px;
    height: 300px;
  }
  .w2w__more-info {
    height: 300px;
    -webkit-line-clamp: 4;
  }
}

/* 모바일 */
@media (max-width: 768px) {
  .w2w__inner {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .category-chip {
    margin-top:36px;
  }

  .w2w__header {
    padding: 56px 20px 32px;
  }
  .w2w__brand {
    font-size: 14px;
    gap: 6px;
  }
  .w2w__brand sup {
    font-size: 12px;
  }
  .w2w__bar {
    width: 24px;
  }

  .w2w__date {
    margin-top: 10px;
  }
  .w2w__title {
    font-size: 22px;
    line-height: 33px;
    margin-top:8px;
  }
  .w2w__visual {
    margin-top: 28px;
  }
  .w2w__caption {
    margin-top: 20px;
  }
  .w2w__caption + .w2w__visual {
    margin-top: 40px;
  }
  .w2w__caption-title {
    font-size: 18px;
    line-height: 28px;
  }
  .w2w__caption-title em {
    padding: 0 2px;
  }
  .w2w__credits {
    gap: 8px 16px;
  }

  .w2w__gallery {
    margin-top: 48px;
  }
  .w2w__gallery .swiper-slide {
    width: 78%; /* 모바일은 1.x장 보이게 */
  }
  .w2w__gallery-controls {
    margin-top: 18px;
  }

  .w2w__bottom {
    margin-top: 64px;
    padding-bottom: 64px;
  }

  .w2w__marquee {
    padding: 40px 0 32px;
  }
  .w2w__marquee-item {
    font-size: 36px;
    gap: 14px;
  }
  .w2w__bar--lg {
    width: 48px;
    height: 2px;
  }
  .w2w__marquee-track {
    gap: 36px;
  }

  .w2w__more {
    max-width: calc(100% - 40px);
    gap: 0;
  }

  .w2w__more > li {
    /* flex: 1 1 100%; */
    max-width: 100%;
  }
  .w2w__more-info {
    margin-left: 0;
    margin-top: 12px;
  }
  .w2w__more-card {
    grid-template-columns: 1fr;
  }
  .w2w__more-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .w2w__more-info {
    padding: 20px 4px 24px;
  }
  .w2w__more-desc {
    -webkit-line-clamp: 3;
  }
  .w2w__bottom-inner {
    max-width: 100%;
    width: calc(100vw - 40px);
  }
}

/* 소형 모바일 */
@media (max-width: 480px) {
  .w2w__title {
    font-size: 20px;
    line-height: 30px;
  }
  .w2w__caption-title {
    font-size: 17px;
    line-height: 26px;
  }
  .w2w__marquee-item {
    font-size: 28px;
    gap: 10px;
  }
  .w2w__bar--lg {
    width: 36px;
  }
}
