@charset "utf-8";

/* -------------------------------------------------------------
   SCENES OF DAEGU
   상단 띠 · 영상 · 좋아요/공유/FULL VERSION · 제목·캡션은
   interview.css 의 .hc-iv-band / .hc-ivv-* 를 그대로 쓴다.
   이 파일에는 계절 카드 목록과 계절 이동만 둔다.
   ------------------------------------------------------------- */

/* =============================================================
   배치 : 영상과 계절 목록을 같은 줄에 둔다
   ============================================================= */
/* 목록을 영상과 같은 줄(stage side)에 두면 목록 높이가 영상 높이와 같아진다.
   좋아요·제목(meta)은 그 아래 줄이라 목록 높이에 영향을 주지 않는다. */
.hc-sc-grid{
	display:grid;
	grid-template-columns:minmax(0,1fr) minmax(0,28.5%);
	grid-template-areas:
		"nav   nav"
		"stage side"
		"meta  .";
	column-gap:clamp(1.125rem,2.6vw,2.125rem);
	row-gap:0;
	align-content:start;
	padding-top:clamp(1.75rem,3.2vw,2.875rem);
	padding-bottom:clamp(2.5rem,5vw,4.5rem);
}
.hc-sc-nav{grid-area:nav;}
.hc-sc-stage{grid-area:stage;min-width:0;}
.hc-sc-side{grid-area:side;min-width:0;}
.hc-sc-meta{grid-area:meta;min-width:0;}

/* 계절을 바꿀 때 한 번 교차 페이드시킨다 */
.hc-sc-grid > *{transition:opacity .28s ease;}
.hc-sc-grid.is-changing > *{opacity:0;}

/* mp4 를 직접 재생할 때 (드라이브 iframe 은 .hc-ivv-frame 을 쓴다) */
.hc-sc-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#1a1512;}
/* 영상이 아직 등록되지 않은 계절 */
.hc-sc-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:1rem;color:rgba(255,255,255,.55);font-size:clamp(0.875rem,1.1vw,1rem);text-align:center;word-break:keep-all;}

/* 제목은 계절 이름이라 밴드 제목과 같은 서체로 맞춘다 */
.hc-sc-title{font-family:var(--hc-serif);font-weight:400;letter-spacing:.02em;color:var(--hc-maroon);}

/* FULL VERSION 은 display:inline-flex 라 hidden 속성만으로는 감춰지지 않는다.
   유튜브 주소가 없는 계절에서 버튼을 숨기기 위해 필요하다. */
.hc-ivv-full[hidden]{display:none;}

/* =============================================================
   계절 카드 목록
   ============================================================= */
/* 카드는 flex 로 영상 높이를 나눠 갖는다. 높이를 직접 주지 않아야
   목록이 영상 높이를 늘리지 않는다(그래서 카드는 absolute). */
.hc-sc-list{display:flex;flex-direction:column;gap:clamp(0.5rem,1.1vw,0.875rem);height:100%;}
.hc-sc-item{position:relative;flex:1 1 0;min-height:0;}
/* PC : 재생 중인 계절은 목록에서 빼고 나머지 계절이 영상 높이를 채운다 */
.hc-sc-item.is-current{display:none;}

.hc-sc-card{position:absolute;inset:0;display:block;overflow:hidden;border-radius:0.25rem;background:var(--hc-tile);}
.hc-sc-card > img{width:100%;height:100%;object-fit:cover;}

/* 오버레이와 계절 이름(또는 Coming Soon 이미지)은 처음부터 보이고,
   마우스를 올리면 둘이 함께 사라진다 */
.hc-sc-card__over{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;padding:0.625rem;background:rgba(34,24,21,.45);color:#fff;text-align:center;opacity:1;transition:opacity .4s ease;}
.hc-sc-card:not(.is-soon):hover .hc-sc-card__over,
.hc-sc-card:focus-visible .hc-sc-card__over{opacity:0;}
.hc-sc-card__label{font-family:var(--hc-serif);font-size:clamp(1rem,2.5vw,1.5rem);letter-spacing:.06em;line-height:1.2;}
.hc-sc-card__badge{width:clamp(5.625rem,20vw,11.5625rem);height:auto;}

/* =============================================================
   계절 이동 (모바일 전용)
   ============================================================= */
.hc-sc-nav{display:none;}
.hc-sc-nav__now{font-family:var(--hc-serif);font-size:1.25rem;letter-spacing:.04em;line-height:1.2;color:var(--hc-maroon);}
.hc-sc-nav .hc-arrow{width:2.125rem;height:2.125rem;}
.hc-sc-nav .hc-arrow svg{width:0.5rem;height:0.9375rem;}

/* =============================================================
   responsive
   ============================================================= */
@media (max-width:1024px){
	.hc-sc-grid{grid-template-columns:minmax(0,1fr) minmax(0,32%);}
}

@media (max-width:768px){
	/* 계절 이동 → 영상 → 좋아요·캡션 → 계절 목록 순으로 쌓는다 */
	.hc-sc-grid{
		grid-template-columns:1fr;
		grid-template-areas:"nav" "stage" "meta" "side";
		padding-top:0;
		padding-bottom:2.75rem;
	}

	.hc-sc-nav{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;padding:0.875rem 0;}

	/* 영상과 목록은 화면 끝까지 */
	.hc-sc-side{margin:1.625rem calc(var(--hc-iv-gut) * -1) 0;}
	.hc-sc-list{flex-direction:row;gap:2px;height:auto;}
	.hc-sc-item{aspect-ratio:6 / 5;}
	/* 모바일은 재생 중인 계절도 목록에 함께 보여준다 (오버레이만 없음) */
	.hc-sc-item.is-current{display:block;}
	.hc-sc-card{border-radius:0;}

	/* 계절 이름은 위 이동줄에 있으므로 아래 제목은 감춘다 */
	.hc-sc-title{display:none;}
}

/* 위로 가기(#hcTop) 모바일 자리 : 콘텐츠 아래 80px 에 'TOP' 버튼이 놓인다 (모양은 components/top_button.php 의 .hc-top-slot).
   원래 콘텐츠 아래 여백(본문 아래 44px)은 버튼 아래로 옮겨 푸터와의 간격을 그대로 둔다 */
@media (max-width:768px){
	.hc-sc-page .hc-sc-grid{padding-bottom:0;}
	.hc-sc-page .hc-top-slot{padding-bottom:2.75rem;}
}
