@charset "utf-8";

.hc-iv-page {
  --hc-iv-gut: clamp(1.25rem, 3.2vw, 2.875rem);
}
.hc-iv-inner {
  width: 100%;
  max-width: var(--hc-max);
  margin: 0 auto;
  padding: 0 var(--hc-iv-gut);
}

/* =============================================================
   상단 띠
   ============================================================= */
/* 타이틀 위아래 간격(띠 위 → 작은 제목, 큰 제목 → 띠 아래)은 --hc-band-gap 하나로 정한다 (things.css .hc-th-band 와 같은 값).
   띠 위아래 1.25rem 은 설명글이 띠 끝에 붙지 않게 하는 최소 여백이고, 나머지를 제목 칸 위아래에 줘서
   설명글 줄 수 · 제목 크기와 상관없이 간격이 같다. 설명글이 2줄인 20주년 스페셜은 special.css 에서 아카이브 메뉴 띠 값으로 바꾼다 */
.hc-iv-band {
  --hc-band-gap: clamp(2.5rem, 4.45vw, 4rem);
  background: var(--hc-maroon);
  color: #e7e4de;
}
.hc-iv-band__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(2rem, 4.2vw, 3.75rem);
  row-gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.hc-iv-band__head {
  padding: calc(var(--hc-band-gap) - 1.25rem) 0 calc(var(--hc-band-gap) - 1.25rem) clamp(0px, 5.5vw, 4.9375rem);
}
.hc-iv-band__eyebrow {
  font-size: 0.9375rem;
  line-height: 1.4;
}
.hc-iv-band__title {
  margin-top: 0.375rem;
  font-family: var(--hc-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1.1;
}
.hc-iv-band__desc {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  word-break: keep-all;
}

/* =============================================================
   분류 탭
   ============================================================= */
/* 헤더가 sticky 이므로 그 아래에 붙는다. 헤더 높이는 header.php 가 실측해 넘긴다 */
.hc-iv-cats {
  position: sticky;
  top: var(--hc-header-h, 3.875rem);
  z-index: 20;
  background: var(--hc-bg);
  border-bottom: 1px solid var(--hc-line);
}
.hc-iv-cats__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 7vw, 6.25rem);
  height: 4.5rem;
}
.hc-iv-cats__list a {
  display: block;
  padding: 0.375rem 2px;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.4;
  color: rgba(119, 49, 62, 0.45);
  transition: color 0.2s ease;
}
.hc-iv-cats__list a:hover {
  color: var(--hc-maroon);
}
.hc-iv-cats__list a.is-active {
  color: var(--hc-maroon);
  font-weight: 700;
}

/* =============================================================
   그룹 : 왼쪽 제목 / 오른쪽 슬라이더
   ============================================================= */
/* padding 단축을 쓰면 .hc-iv-inner 의 좌우 여백이 사라지므로 상하만 지정한다 */
/* 앵커 이동 시 헤더 + 분류 탭 뒤로 숨지 않게 한다 */
.hc-card__quote {
  font-size: clamp(0.875rem, 2.4vw, 1.375rem);
}
.hc-iv-sec {
  scroll-margin-top: calc(var(--hc-header-h, 3.875rem) + 4.5rem);
}
.hc-iv-sec__grid {
  display: grid;
  grid-template-columns: minmax(0, 25%) minmax(0, 1fr);
  gap: 2rem 0;
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.hc-iv-sec + .hc-iv-sec .hc-iv-sec__grid {
  border-top: 1px solid var(--hc-line);
}

.hc-iv-head {
  padding: clamp(0px, 2.8vw, 2.5rem) 1.5rem 0 clamp(0px, 5.5vw, 4.9375rem);
}
.hc-iv-head__eyebrow {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--hc-mute);
}
.hc-iv-head__title {
  margin-top: 0.5rem;
  font-size: clamp(1.375rem, 1.8vw, 1.875rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--hc-maroon);
  word-break: keep-all;
}

.hc-iv-body {
  min-width: 0;
}

/* 화살표는 슬라이더 오른쪽 위. 모양은 메인의 20 THINGS 화살표와 같다 */
.hc-iv-pager {
  display: flex;
  justify-content: flex-end;
  gap: 0.375rem;
  margin-bottom: 0.875rem;
}
.hc-iv-pager .hc-arrow,
.hc-ivv-pager .hc-arrow {
  padding: 0.625rem;
  background: var(--hc-tile);
}
.hc-iv-pager .hc-arrow svg,
.hc-ivv-pager .hc-arrow svg {
  width: clamp(0.375rem, 3vw, 0.625rem);
  height: auto;
}
.hc-iv-slider {
  width: 100%;
}
/* 카드 문구 크기는 카드(슬라이드) 폭을 기준으로 정한다 (cqi = 슬라이드 폭의 1%).
   한 화면에 보이는 장수(모바일 2.2 / 태블릿 2 / PC 3)와 화면 폭에 따라 카드 폭이 달라지므로
   장수가 많을수록 작아지고 적을수록 커진다. 14px ~ 24px 사이로 묶는다.
   컨테이너 단위를 모르는 브라우저는 위 .hc-card__quote 의 크기를 그대로 쓴다 */
.hc-iv-slider .swiper-slide {
  height: auto;
  container-type: inline-size;
}
.hc-iv-slider .hc-card__quote {
  font-size: clamp(0.875rem, 6cqi, 1.5rem);
}

/* =============================================================
   responsive
   ============================================================= */

/* =============================================================
   상세 페이지
   ============================================================= */
/* =============================================================
   상단 띠 : 제목만 가운데
   ============================================================= */
.hc-ivv-band {
  background: var(--hc-maroon);
  color: #e7e4de;
}
.hc-ivv-band__title {
  padding: 0.375em 0;
  font-family: var(--hc-serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 2.125rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: center;
}

/* =============================================================
   본문 : 왼쪽 영상 / 오른쪽 다른 인터뷰
   ============================================================= */
/* 영상 ↔ 오른쪽 목록 간격 3.75rem(60px) : 수정 시안 기준으로 넓힘 (이전 2.125rem). 좌우 바깥 여백은 .hc-iv-inner 그대로라 대칭 */
.hc-ivv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 28.5%);
  gap: 3.75rem;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  align-items: start;
}
.hc-ivv-col {
  min-width: 0;
}

/* ---------- 영상 : 구글 드라이브 미리보기 ----------
   플레이어 UI(재생·속도·자막·전체화면)는 구글 쪽 iframe 안에 있다.
   16:9 로 맞춰야 위아래 검은 여백이 생기지 않는다. */
.hc-ivv-player {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a1512;
}
.hc-ivv-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* 재생 전 썸네일 + 재생 버튼. 재생이 시작되면 스크립트가 걷어 낸다 */
.hc-ivv-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #1a1512;
  cursor: pointer;
}
.hc-ivv-poster.is-loading {
  cursor: progress;
}
.hc-ivv-poster__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 가운데 ▶ : 반투명 흰색, 밝은 썸네일에서도 보이도록 옅은 그림자 */
.hc-ivv-poster__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  width: clamp(3.25rem, 6.5vw, 5rem);
  height: clamp(3.25rem, 6.5vw, 5rem);
  color: rgba(255, 255, 255, 0.7);
  filter: drop-shadow(0 2px 0.5rem rgba(0, 0, 0, 0.35));
  transform: translate(-50%, -50%);
  transition: color 0.2s ease;
}
.hc-ivv-poster:hover .hc-ivv-poster__play,
.hc-ivv-poster:focus-visible .hc-ivv-poster__play {
  color: rgba(255, 255, 255, 0.95);
}
.hc-ivv-poster__play svg {
  width: 100%;
  height: 100%;
}

/* ---------- 좋아요 · 공유 · FULL VERSION ---------- */
/* 영상 → 제목 간격을 줄인다 : 이 줄 위 여백 1rem → 0.75rem, 아래 제목은 .hc-ivv-info 에서 0.375rem 끌어올린다 */
.hc-ivv-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 1rem);
  margin-top: 0.75rem;
}
.hc-ivv-full {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 1.875rem;
  padding: 0 0.875rem;
  border: 1px solid var(--hc-maroon-lt);
  border-radius: 999px;
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--hc-maroon);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.hc-ivv-full:hover {
  background: var(--hc-maroon);
  color: #fff;
}
.hc-ivv-full__mark {
  display: flex;
  width: 1.125rem;
  height: 0.8125rem;
  color: var(--hc-maroon);
}
.hc-ivv-full:hover .hc-ivv-full__mark {
  color: #e8342a;
}
.hc-ivv-full__mark svg {
  width: 100%;
  height: 100%;
}

.hc-ivv-stats {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.hc-ivv-like {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hc-maroon);
}
.hc-ivv-like__count {
  font-size: 1rem;
  line-height: 1;
}
.hc-ivv-like svg {
  width: 2rem;
  height: 1.75rem;
}
.hc-ivv-like[aria-pressed="true"] svg {
  fill: currentColor;
}
.hc-ivv-sharewrap {
  position: relative;
}
.hc-ivv-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--hc-maroon);
}
.hc-ivv-share svg {
  width: 100%;
  height: 100%;
}

/* 공유 목록 */
.hc-ivv-sheet {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 30;
  display: grid;
  gap: 0.875em;
  padding: 1em 0;
  min-width: 7.875rem;
  border: 1px solid var(--hc-line);
  border-radius: 0.5rem;
  background: var(--hc-bg);
  box-shadow: 0 0.375rem 1.125rem rgba(34, 24, 21, 0.16);
}
.hc-ivv-sheet[hidden] {
  display: none;
}
.hc-ivv-sheet button {
  display: block;
  width: 100%;
  padding: 0 1em;
  font-size: clamp(0.875rem, 2.4vw, 1rem);
  line-height: 1;
  text-align: left;
  color: var(--hc-maroon);
}
/* 문자는 모바일에서만 동작한다 */
.hc-ivv-sheet .hc-ivv-sheet__mo {
  display: none;
}

/* ---------- 제목 ----------
   제목 줄의 위쪽 행간(약 0.375rem)만큼 끌어올려 글자 윗선이 위 좋아요 줄 바로 아래에 오게 한다.
   좋아요 줄은 오른쪽 끝, 제목은 왼쪽이라 서로 겹치지 않는다. 모바일은 아래 768px 규칙의 margin-top 을 쓴다 */
.hc-ivv-info {
  margin-top: -0.25rem;
}
.hc-ivv-title {
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--hc-mute);
  word-break: keep-all;
}
.hc-ivv-meta {
  margin-top: 0.25rem;
  font-size: clamp(0.875rem, 3vw, 1.125rem);
  line-height: 1.6;
  color: var(--hc-mute);
  word-break: keep-all;
}

/* =============================================================
   오른쪽 : 분류 탭 + 다른 인터뷰
   ============================================================= */
.hc-ivv-side {
  min-width: 0;
}
/* PC : 분류 글자 윗선을 영상 윗선에 맞춘다. 줄 높이(2.5)의 위쪽 반 행간 0.75em 만큼 끌어올린다.
   영상과 위아래로 쌓이는 1024px 이하에서는 0 으로 되돌린다 */
.hc-ivv-cats__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: -0.75em;
  margin-bottom: 1em;
  font-size: clamp(1rem, 2vw, 1.25rem);
  border-bottom: 1px solid var(--hc-maroon);
  line-height: 2.5;
  color: var(--hc-maroon);
}
.hc-ivv-cats__list a {
  display: block;
  padding: 0.5em 0;
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  line-height: 1.4;
  color: rgba(119, 49, 62, 0.45);
  transition: color 0.2s ease;
}
.hc-ivv-cats__list .is-active {
  color: var(--hc-maroon);
  font-weight: 700;
}

/* 목록은 패널마다 둘 : PC 는 .hc-ivv-scroll(상하 스크롤), 태블릿 · 모바일은 .hc-ivv-list(가로 swiper) (interview_view.php 스크립트 참고) */
.hc-ivv-panel {
  container-type: inline-size;   /* 아래 .hc-ivv-scroll 높이를 패널 폭(cqw)으로 계산한다 */
}
.hc-ivv-panel .hc-ivv-list {
  display: none;
}
.hc-ivv-list {
  width: 100%;
}
.hc-ivv-list .swiper-slide {
  height: auto;
}
/* PC : 카드를 세로로 쌓고 상하로 스크롤한다. 보이는 높이는 카드(3:2) 2장 + 사이 간격.
   스크롤바 모양 · 오른쪽 여백은 things.css 의 WE LOVE 목록(.hc-th-love__list)과 같다.
   카드 폭 = 패널 폭 - 오른쪽 여백 - 스크롤바 폭(0.375rem) */
.hc-ivv-scroll {
  --hc-ivv-scroll-gap: 0.875rem;
  --hc-ivv-scroll-pad: clamp(0.75rem, 1.4vw, 1.25rem);
  display: flex;
  flex-direction: column;
  gap: var(--hc-ivv-scroll-gap);
  max-height: calc((100cqw - var(--hc-ivv-scroll-pad) - 0.375rem) / 1.5 * 2 + var(--hc-ivv-scroll-gap));
  overflow-y: auto;
  padding-right: var(--hc-ivv-scroll-pad);
}
/* 스크롤바 : 화살표 없는 각진 막대. 진한 자주색 손잡이가 옅은 자주색 길을 꽉 채운다.
 * 크롬은 scrollbar-width · scrollbar-color 가 있으면 아래 ::-webkit-scrollbar 를 무시하므로,
 * 그 두 속성은 ::-webkit-scrollbar 를 모르는 브라우저(파이어폭스)에만 준다 */
.hc-ivv-scroll::-webkit-scrollbar {
  width: 0.35rem;
  height: 0.35rem;
}
.hc-ivv-scroll::-webkit-scrollbar-button {
  display: none;
}
.hc-ivv-scroll::-webkit-scrollbar-track {
  background: rgba(119, 49, 62, 0.2);
}
.hc-ivv-scroll::-webkit-scrollbar-thumb {
  background: var(--hc-maroon);
  border-radius: 0;
}
@supports not selector(::-webkit-scrollbar) {
  .hc-ivv-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--hc-maroon) rgba(119, 49, 62, 0.2);
  }
}
.hc-ivv-scroll > li {
  flex: none;
}
.hc-ivv-list .hc-card.is-current,
.hc-ivv-scroll .hc-card.is-current {
  outline: 2px solid var(--hc-maroon);
  outline-offset: -2px;
}

/* 화살표는 태블릿(769~1024px)의 가로 목록에만 쓴다. PC 는 스크롤, 모바일은 손가락으로 넘긴다.
   버튼 모양은 위 .hc-iv-pager 규칙에서 함께 지정한다 */
.hc-ivv-pager {
  display: none;
  justify-content: flex-end;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

/* =============================================================
   responsive
   ============================================================= */
@media (max-width: 1024px) {
  .hc-iv-sec__grid {
    grid-template-columns: 1fr;
    gap: 1.625rem 0;
  }
  .hc-iv-head {
    padding: 0;
  }
  .hc-iv-cats__list {
    gap: clamp(1.5rem, 5vw, 3.75rem);
    height: 4rem;
  }
  .hc-iv-sec {
    scroll-margin-top: calc(var(--hc-header-h, 3.875rem) + 4rem);
  }

  .hc-ivv-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hc-ivv-cats__list {
    justify-content: flex-start;
    gap: clamp(1.5rem, 5vw, 3.75rem);
    margin-top: 0;
  }
  /* 태블릿 · 모바일은 카드를 한 장씩 넘기는 .hc-ivv-list 를 쓴다 (화살표는 태블릿만, 768px 이하에서 다시 감춘다) */
  .hc-ivv-panel {
    container-type: normal;
  }
  .hc-ivv-panel .hc-ivv-scroll {
    display: none;
  }
  .hc-ivv-panel .hc-ivv-list {
    display: block;
  }
  .hc-ivv-pager {
    display: flex;
  }
}

@media (max-width: 768px) {
  /* 분류 탭은 모바일에서 감춘다 — 그룹 제목이 같은 역할을 한다 */
  .hc-iv-cats {
    display: none;
  }
  .hc-iv-sec {
    scroll-margin-top: var(--hc-header-h, 3.875rem);
  }

  /* 상단 띠 좌우 여백 1.25rem — 서브 페이지 띠 모두 같은 값 (moments.css · things.css · archive.css) */
  .hc-iv-band__inner {
    grid-template-columns: 1fr;
    align-items: start;
    row-gap: 1.125rem;
    padding: 2.125rem 1.25rem;
  }
  .hc-iv-band__head {
    padding: 0;
  }
  .hc-iv-band__desc {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .hc-iv-sec__grid {
    gap: 1.375rem 0;
    padding: 2.75rem 0;
  }
  .hc-iv-head {
    text-align: center;
  }
  .hc-iv-head__title {
    margin-top: 0.375rem;
    font-size: 1.25rem;
    line-height: 1.5;
  }

  /* 카드는 화면 끝까지 흘린다 */
  .hc-iv-pager {
    display: none;
  }

  /* ---------- 상세 페이지 : 모바일 시안(360px 기준)에 맞춘 값 ----------
     좌우 여백 16px. 영상과 다른 인터뷰 목록은 화면 끝까지, 나머지는 여백 안쪽 */
  .hc-ivv-page {
    --hc-iv-gut: 1rem;
  }
  .hc-ivv-band__title {
    padding: 0;
    font-size: 1rem;
    line-height: 2rem;
  }

  /* 데스크톱 규칙의 padding 단축(상하만 지정)이 .hc-iv-inner 의 좌우 여백을 지우므로 여기서 다시 준다 */
  .hc-ivv-grid {
    gap: 0;
    padding: 0 var(--hc-iv-gut);
  }
  /* 영상은 화면 끝까지 */
  .hc-ivv-player {
    margin-left: calc(var(--hc-iv-gut) * -1);
    margin-right: calc(var(--hc-iv-gut) * -1);
  }

  .hc-ivv-actions {
    justify-content: space-between;
    margin-top: 0.75rem;
  }
  /* 좋아요 · 공유 묶음은 FULL VERSION 링크가 없어도 오른쪽 끝에 둔다 */
  .hc-ivv-stats {
    margin-left: auto;
  }
  .hc-ivv-full {
    order: 0;
    height: 1.6875rem;
    gap: 0.3125rem;
    padding: 0 0.6875rem;
    font-size: 0.75rem;
  }
  .hc-ivv-full__mark {
    width: 0.9375rem;
    height: 0.6875rem;
  }
  .hc-ivv-like {
    gap: 0.3125rem;
  }
  .hc-ivv-like__count {
    font-size: 0.75rem;
  }
  .hc-ivv-like svg {
    width: 1.4375rem;
    height: 1.3125rem;
  }

  .hc-ivv-info {
    margin-top: 0.875rem;
  }
  .hc-ivv-title {
    font-size: 1.125rem;
  }
  .hc-ivv-meta {
    margin-top: 0.1875rem;
    font-size: 0.8125rem;
  }
  .hc-ivv-meta__sep {
    margin: 0 0.25em;
  }

  .hc-ivv-sheet .hc-ivv-sheet__mo {
    display: block;
  }

  /* 분류 탭 : 위에 구분선, 네 칸을 양끝까지 벌린다. 고르지 않은 탭은 옅게 */
  .hc-ivv-side {
    margin-top: 3.4375rem;
  }
  .hc-ivv-cats__list {
    justify-content: space-between;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
    padding: 0.25rem 0.4375rem 0 0.40625rem;
    font-size: 0.8125rem;
    border-top: 1px solid var(--hc-line);
    border-bottom: none;
  }
  .hc-ivv-cats__list button {
    color: rgba(119, 49, 62, 0.45);
  }
  .hc-ivv-cats__list .is-active {
    color: var(--hc-maroon);
  }

  /* 목록은 화면 끝까지 흘린다. 한 화면 2.2장(정사각 카드)은 interview_view.php 의 Swiper 설정 */
  .hc-ivv-list {
    width: auto;
    margin-left: calc(var(--hc-iv-gut) * -1);
    margin-right: calc(var(--hc-iv-gut) * -1);
  }
  .hc-ivv-list .hc-card__tag {
    top: 0.625rem;
    left: 0.6875rem;
    font-size: 0.6875rem;
  }
  /* 문구는 시안처럼 오른쪽 끝 가까이까지 쓴다 (360px 카드에서 '"끝까지 믿고 기다려주셔서' 가 한 줄에 들어가게) */
  .hc-ivv-list .hc-card__quote {
    left: 0.6875rem;
    right: 0.25rem;
    bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    letter-spacing: -0.02em;
  }
  .hc-ivv-pager {
    display: none;
  }
}

/* 위로 가기(#hcTop) 모바일 자리 : 콘텐츠 아래 80px 에 'TOP' 버튼이 놓인다 (모양은 components/top_button.php 의 .hc-top-slot).
   원래 콘텐츠 아래 여백(interview.php 마지막 분류 섹션 아래 44px / interview_view.php 본문 아래 40px)은 버튼 아래로 옮겨 푸터와의 간격을 그대로 둔다 */
@media (max-width:768px){
	.hc-iv-sec:last-of-type .hc-iv-sec__grid{padding-bottom:0;}
	.hc-iv-sec ~ .hc-top-slot{padding-bottom:2.75rem;}
	.hc-ivv-page .hc-ivv-grid{padding-bottom:0;}
}
