@charset "utf-8";

/* ============================================================
   서브페이지 공통(Figma sub-header 2111:128) — breadcrumb + 대타이틀 + 인쇄
   모든 서브페이지(소개/분류별 기록/큐레이션/HISTORY)가 재사용하는 단일소스.
   <body class="arc-page arc-page--subpage"> 로 라이트 헤더(header.css)와 함께 사용.
   ============================================================ */

body.arc-page--subpage #arc-main {
  padding-block-start: var(--arc-gnb-h);   /* 라이트 헤더는 오버레이가 아니라 일반 상단바 — 본문을 그만큼 밀어냄 */
}

.arc-subhead {
  background: var(--ds-color-background-white);
}
.arc-subhead__inner {
  display: flex;
  flex-direction: column;             /* 모바일: 큰 타이틀 위 / 드롭다운 아래 세로 스택 */
  align-items: stretch;
  gap: var(--ds-number-8);
  padding-block: var(--ds-number-20);
}
/* 콘텐츠 폭 1600 (Figma SubHeader = px160 / inner 1600).
   ⚠ .arc-subhead 는 전 서브페이지 공용이라 무조건 바꾸면 history 가 같이 움직인다
      (history 는 픽셀 무변경이 요구사항) → 별도 modifier 로 분리해 새 목록 페이지에만 적용.
      intro/history 도 같은 정렬로 맞추려면 사용자 확인 후 이 규칙을 .arc-subhead__inner 로 올린다. */
.arc-subhead--frame .arc-subhead__inner { max-inline-size: var(--archive-frame); }
.arc-subhead__title {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-display-medium-mobile);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
}
.arc-subhead__nav {
  display: flex;
  align-items: center;
  gap: var(--ds-number-12);
}
.arc-subhead__home {
  display: none;                      /* 모바일 숨김(768+ 노출) */
  align-items: center;
  justify-content: center;
}
.arc-subhead__home img { display: block; }

/* ---- location 드롭다운 (홈 + 현재 섹션 드롭다운 + 인쇄) ----
   라이브 GGAC `.location` 패턴: 현재 섹션 버튼 클릭 시 형제 섹션 목록 패널 오픈.
   모든 서브페이지 공통(마크업 구조 동일 · 현재 페이지만 aria-current 다름). 동작=js/subpage.js. */
.arc-subhead__loc {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;                     /* 모바일: 드롭다운 전체 폭 */
}
.arc-subhead__loc::before {                 /* 홈↔드롭다운 세로 구분선 (Figma gray/300 h14) */
  content: "";
  display: none;                      /* 모바일 숨김(홈 숨김이라 구분선 불필요, 768+ 노출) */
  inline-size: var(--ds-border-width-thin);
  block-size: var(--ds-number-7);
  margin-inline-end: var(--ds-number-6);
  background: var(--ds-color-gray-300);
}
.arc-subhead__loc-btn {
  display: none;                      /* 모바일 숨김 (홈·인쇄와 동일, 768+ 노출) */
  align-items: center;
  justify-content: space-between;        /* 텍스트 왼쪽 · 화살표 오른쪽 끝(Figma between) */
  gap: var(--ds-number-8);
  inline-size: 100%;                     /* 모바일: 전체 폭(768+ 17rem 고정) */
  padding: var(--ds-number-4) var(--ds-number-7);
  font-size: var(--ds-font-size-16);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-850);
  background: var(--ds-color-gray-50);   /* 모바일: 셀렉트 박스에만 회색(768+ 없음) */
  border: var(--ds-border-width-thin) dashed transparent;   /* 열림 시 점선 포커스 박스 노출 */
  border-radius: var(--ds-radius-small);
  cursor: pointer;
  white-space: nowrap;
}
.arc-subhead__loc-arrow {
  inline-size: var(--ds-number-8);
  block-size: var(--ds-number-8);
  background-color: currentColor;
  -webkit-mask: url("../assets/icon-chevron-down.svg") no-repeat center / contain;
  mask: url("../assets/icon-chevron-down.svg") no-repeat center / contain;
  transition: transform 0.2s ease;
}
.arc-subhead__loc-btn[aria-expanded="true"] { border-color: var(--ds-color-gray-400); }
.arc-subhead__loc-btn[aria-expanded="true"] .arc-subhead__loc-arrow { transform: scaleY(-1); }

.arc-subhead__loc-panel {
  position: absolute;
  inset-block-start: calc(100% + 0.4rem);
  inset-inline-start: var(--ds-number-6);
  z-index: 20;
  min-inline-size: 18rem;
  padding: var(--ds-number-4) var(--ds-number-8);
  background: var(--ds-color-white);
  border: var(--ds-border-width-thin) solid var(--ds-color-gray-250);   /* ≈ 라이브 #dcdcdc */
}
.arc-subhead__loc-panel[hidden] { display: none; }
.arc-subhead__loc-panel ul { margin: 0; padding: 0; list-style: none; }
.arc-subhead__loc-panel a {
  display: block;
  padding-block: var(--ds-number-3);
  font-size: var(--ds-font-size-16);
  line-height: 1.3;
  color: var(--ds-color-gray-900);
  white-space: nowrap;
}
.arc-subhead__loc-panel a:hover,
.arc-subhead__loc-panel a:focus-visible { color: var(--ds-color-brand-500); }
.arc-subhead__loc-panel a[aria-current="page"] {
  color: var(--ds-color-brand-500);
  font-weight: var(--ds-typo-font-weight-bold);
}
.arc-subhead__print {
  display: none;                      /* 모바일: 인쇄 버튼 숨김(공간 절약, 768+ 에서 다시 노출) */
  align-items: center;
  justify-content: center;
  inline-size: var(--ds-number-24);
  block-size: var(--ds-number-24);
  padding: 0;
  border: 1px solid var(--ds-color-gray-300);
  border-radius: 50%;
  background: transparent;
  color: var(--ds-color-gray-700);
  cursor: pointer;
}
.arc-subhead__print:hover,
.arc-subhead__print:focus-visible { border-color: var(--ds-color-brand-500); color: var(--ds-color-brand-500); }
.arc-subhead__print-icon {
  display: block;
  inline-size: var(--ds-number-12);
  block-size: var(--ds-number-12);
  background-color: currentColor;
  -webkit-mask: url("../assets/icon-print.svg") no-repeat center / contain;
  mask: url("../assets/icon-print.svg") no-repeat center / contain;
}

@media (min-width: 768px) {
  .arc-subhead { background: var(--ds-color-background-white); }   /* 데스크톱: 흰 배경 복원 */
  .arc-subhead__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;   /* 데스크톱: 타이틀 좌 / breadcrumb+인쇄 우 */
    padding-block: 6.3rem;   /* 2026-11-10 8rem(--ds-number-40) → 6.3rem: 제목 영역 높이 15% 축소 230px → 196px, 모든 서브 화면 같은 높이(소개 · HISTORY 포함) */
  }
  .arc-subhead__title { font-size: var(--ds-font-size-display-medium); }
  .arc-subhead__nav { gap: var(--ds-number-20); }
  .arc-subhead__home { display: inline-flex; }
  .arc-subhead__loc { flex: 0 0 auto; }
  .arc-subhead__loc::before { display: block; }
  .arc-subhead__loc-btn { display: inline-flex; inline-size: auto; min-inline-size: 17rem; background: none; border-radius: 0; }
  .arc-subhead__print { display: inline-flex; }
}


/* ============================================================
   [소개] intro 페이지 전용 (구 css/intro.css 통합)
   ============================================================ */
/* ============================================================
   [경기아트센터] 01소개 (Figma 2097:4613) — 페이지 전용
   모바일 우선: 기본값 → @media(min-width) 로 위로 확장(단일 블록)
   ============================================================ */

.arc-intro {
  --intro-gap-lg: 20rem;                /* 페이지 로컬: Figma 2226:2598 이미지-텍스트 갭 200px 그대로(DS 래더엔 없는 1회성 값) */
  --intro-gutter-lg: clamp(6rem, 8.3vw, 16rem);  /* 페이지 로컬: Figma 2226:2598 좌우 여백 160px(1920 기준 8.3vw) — 공용 --archive-gutter(최대 100px)와 별개 */
  background: var(--ds-color-background-white);
}

/* ---- 상단 히어로 이미지 (스크롤 핀 연출) ----
   .arc-intro__hero = 키 큰 래퍼. .arc-intro__hero--scroll(JS가 부여)일 때 높이를 늘려 핀 스크롤 런웨이 확보.
   .arc-intro__hero-pin = sticky 로 뷰포트에 고정 → 그동안 스크롤은 이 영역에 "걸려" 애니메이션만 진행.
   애니메이션 순서: 확대(딤 없음) → 원본 크기로 축소 → (짧은 멈춤) → 딤+텍스트 등장 → 이후 유지. 핀 해제 후 정상 스크롤. */
.arc-intro__hero {
  position: relative;
}
.arc-intro__hero-pin {
  position: relative;
}
.arc-intro__hero--scroll .arc-intro__hero-pin {
  position: sticky;
  /* top(뷰포트 세로 중앙 오프셋)은 JS가 이미지 높이 기준으로 계산해 세팅.
     핀 높이 = 이미지 높이라 스크롤 전엔 서브헤더 바로 아래에 붙음(갭 0), 걸릴 때만 화면 중앙 고정. */
}
.arc-intro__hero-media {
  position: relative;
  inline-size: min(100%, 180rem);        /* Figma 1800px 캡(모바일은 폭 100% 풀블리드) */
  margin-inline: auto;
  block-size: 32rem;
  overflow: hidden;
  border-radius: 0;                      /* 모바일 풀블리드 라운드 삭제(768+ 복원) */
  background: var(--ds-color-gray-900);
}
.arc-intro__hero-img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transform: scale(var(--intro-hero-scale, 1.16));
  filter: brightness(var(--intro-hero-brightness, 1));    /* 시작 = 딤 없음(1) */
  transition: transform 0.08s linear, filter 0.08s linear;
  will-change: transform, filter;
}
.arc-intro__hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding-inline: var(--ds-number-20);
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-heading-xlarge-mobile);
  line-height: 1.4;
  letter-spacing: var(--ds-typo-letter-spacing);
  text-align: center;
  color: var(--ds-color-white);
  opacity: var(--intro-hero-text-opacity, 0);          /* 시작=숨김 */
  transform: translateY(var(--intro-hero-text-y, 2.4rem));
  transition: opacity 0.08s linear, transform 0.08s linear;
  will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  .arc-intro__hero { height: auto !important; }
  .arc-intro__hero--scroll .arc-intro__hero-pin { position: relative; }
  .arc-intro__hero-img { transform: none !important; filter: brightness(0.62) !important; }
  .arc-intro__hero-copy { opacity: 1 !important; transform: none !important; }
}

/* ---- 아카이브 소개 (서고 이미지 + 카피) ---- */
.arc-intro__profile {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-30);
  padding-block: var(--ds-number-40) var(--ds-number-20);
}
.arc-intro__profile-media {
  flex: 0 0 auto;
  inline-size: 100%;
  max-inline-size: 34rem;
  margin-inline: auto;
}
.arc-intro__profile-media img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  border-radius: var(--ds-number-2);
}
.arc-intro__profile-text {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-20);
}
.arc-intro__profile-title {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-heading-xlarge-mobile);
  line-height: 1.4;
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-brand-500);
}
.arc-intro__profile-body {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-16);
}
.arc-intro__profile-body p {
  margin: 0;
  font-size: var(--ds-font-size-15);   /* 모바일 기본 13px 는 너무 작아 15px로 상향 */
  line-height: var(--ds-typo-line-height-body);
  color: var(--ds-color-gray-900);
}

/* ---- 주요 서비스 4카드 ---- */
.arc-intro__services {
  /* Figma Vector 1(2226:2706): 196/1920 ≈ 10.2vw 비율 그대로 vw 연동 → 어느 폭에서도 동일한 기울기.
     최소/최대는 태블릿·모바일 과도 축소·대형 데스크톱 과다 확대만 방지 */
  --intro-wedge-h: clamp(3.2rem, 10vw, 19.6rem);
  position: relative;
  display: flow-root;               /* 타이틀 margin-top이 밖으로 collapse돼 안 먹히던 버그 차단(새 BFC) */
  margin-block-start: var(--ds-number-20);
  padding-block-start: 0;
  padding-block-end: var(--ds-number-40);
  background: var(--ds-color-gray-50);
}
.arc-intro__services::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: var(--intro-wedge-h);
  background: var(--ds-color-background-white);
  clip-path: polygon(0 0, 100% 0, 0 100%);   /* 대각선 쐐기(Figma Vector 1과 동일 형태) */
}
.arc-intro__services-title {
  position: relative;                                        /* 쐐기(::before) 위로 겹치도록 z축 쌓임 보장 */
  z-index: 1;
  margin-inline: 0;
  margin-block: calc(var(--intro-wedge-h) * 0.51) var(--ds-number-20);  /* Figma 타이틀 top(100/196≈0.51) 그대로 — margin collapse 버그 고쳤으니 이제 실제로 적용됨 */
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-heading-xlarge-mobile);
  letter-spacing: var(--ds-typo-letter-spacing);
  text-align: center;
  color: var(--ds-color-gray-900);
}
.arc-intro__services-grid {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.arc-intro__service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ds-number-10);
  padding-block: var(--ds-number-24);
  border-block-start: var(--ds-number-0-5) solid var(--ds-color-gray-900);
  text-align: center;
}
.arc-intro__service:last-child {
  border-block-end: var(--ds-number-0-5) solid var(--ds-color-gray-900);
}
.arc-intro__service-icon {
  display: block;
  block-size: 5.6rem;
  inline-size: auto;
}
.arc-intro__service-text {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-8);
}
.arc-intro__service-title {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-heading-medium-mobile);
  color: var(--ds-color-gray-800);
}
.arc-intro__service-desc {
  margin: 0;
  font-size: var(--ds-font-size-15);   /* 모바일 기본 13px 는 너무 작아 15px로 상향 */
  line-height: var(--ds-typo-line-height-body);
  color: var(--ds-color-gray-800);
}

/* ============================================================
   @media - 단일블록 (태블릿 → 데스크톱)
   ============================================================ */
@media (min-width: 768px) {
  .arc-intro__hero-media { block-size: 44rem; border-radius: var(--ds-number-2); }
  .arc-intro__hero-copy { font-size: var(--ds-font-size-heading-xlarge); }
  .arc-intro__profile { flex-direction: row; align-items: flex-start; gap: var(--ds-number-40); }
  .arc-intro__profile-media { flex: 0 0 30rem; max-inline-size: none; margin-inline: 0; }
  .arc-intro__profile-text { flex: 1 1 auto; min-inline-size: 0; }
  .arc-intro__profile-title { font-size: var(--ds-font-size-32); }   /* 태블릿 단계(모바일 28→태블릿 32→PC 36) */
  .arc-intro__profile-body p { font-size: var(--ds-font-size-16); }  /* 모바일 15→태블릿 16→PC 20 */
  .arc-intro__services-title { font-size: var(--ds-font-size-32); }
  .arc-intro__services-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .arc-intro__service {
    padding-inline: var(--ds-number-20);
  }
  .arc-intro__service:nth-last-child(-n+2) { border-block-end: var(--ds-number-0-5) solid var(--ds-color-gray-900); }
  .arc-intro__service-title { font-size: var(--ds-font-size-22); }   /* 모바일 20→태블릿 22→PC 28 */
  .arc-intro__service-desc { font-size: var(--ds-font-size-16); }    /* 모바일 15→태블릿 16→PC 20 */
}

@media (min-width: 1280px) {
  .arc-intro__hero-media { block-size: 66.5rem; }
  .arc-intro__hero-copy { font-size: var(--ds-font-size-50); line-height: 1.5; }
  .arc-intro__profile { flex-direction: row; gap: var(--intro-gap-lg); padding-block: var(--ds-number-40); padding-inline: var(--intro-gutter-lg); }
  .arc-intro__services > .arc-container { padding-inline: var(--intro-gutter-lg); }  /* Figma상 profile과 동일 160px 인셋 — 두 섹션 좌우 정렬 일치 */
  .arc-intro__profile-media { flex: 0 0 40rem; }
  .arc-intro__profile-title { font-size: var(--ds-font-size-36); }
  .arc-intro__profile-body p { font-size: var(--ds-font-size-20); }
  .arc-intro__services-title { font-size: var(--ds-font-size-44); margin-block-end: var(--ds-number-40); }
  .arc-intro__services-grid { column-gap: var(--ds-number-26); row-gap: 0; }
  .arc-intro__service {
    flex-direction: row;
    align-items: center;
    text-align: start;
    gap: var(--ds-number-20);
    padding-block: var(--ds-number-30);
  }
  .arc-intro__service-icon { block-size: 6.4rem; flex: 0 0 auto; }
  .arc-intro__service-title { font-size: var(--ds-font-size-28); }
  .arc-intro__service-desc { font-size: var(--ds-font-size-20); }
}


/* ============================================================
   [HISTORY] history 페이지 전용 (구 css/history.css 통합)
   ============================================================ */
/* ============================================================
   [경기아트센터] 04 HISTORY (Figma 2226:3981) — 페이지 전용
   검색밴드 + 필터카드 + 연대탭(밑줄탭 24px+Badge) + 년도 타임라인 + 이미지카드
   모바일 우선 → @media(min-width) 확장(단일 블록). 값은 DS 토큰 경유.
   목록·검색·건수 영역.
   ============================================================ */

.arc-hist {
  --hist-desc-size: 2.6rem;   /* 페이지 로컬: Figma 내용 텍스트 26px (DS 폰트 래더 24/28 사이, 1회성) */
  --hist-media-w: 41.5rem;    /* Figma 이미지카드 폭 415px */
  background: var(--ds-color-background-white);
}

/* ---- 타임라인 스크롤 상/하단 흰 그라데이션 페이드(고정 오버레이, js가 노출 토글) ---- */
.arc-hist__fade {
  position: fixed;
  inset-inline: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.arc-hist__fade--top {
  inset-block-start: 0;                 /* 서브페이지 헤더(.arc-gnb)는 absolute라 스크롤 시 사라짐 → 페이드는 뷰포트 최상단 */
  block-size: var(--ds-number-24);
  background: linear-gradient(to bottom, var(--ds-color-white), transparent);
}
.arc-hist__fade--bottom {
  inset-block-end: 0;
  block-size: var(--ds-number-30);
  background: linear-gradient(to top, var(--ds-color-white), transparent);
}
.arc-hist.is-fade-top .arc-hist__fade--top,
.arc-hist.is-fade-bottom .arc-hist__fade--bottom { opacity: 1; }

/* ---- 검색 밴드 (indigo-800 배경 + 밑줄 인풋 + 통합검색 버튼) ---- */
.arc-search {
  position: relative;
  padding-block: var(--ds-number-24) var(--ds-number-40);
  background: var(--ds-color-indigo-800);
}
.arc-search__form {
  display: flex;
  flex-direction: row;                 /* 모바일도 입력필드 + 통합검색 버튼 한 줄(버튼 우측) */
  align-items: flex-end;               /* 입력 밑줄과 버튼 최하단 정렬 */
  gap: var(--ds-number-10);
  max-inline-size: 140rem;             /* Figma 검색행 폭 1400px (밴드 배경은 풀블리드) */
  margin-inline: auto;
}
.arc-search__field {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-inline-size: 0;
  padding-block-end: var(--ds-number-6);
  border-block-end: var(--ds-border-width-thin) solid var(--ds-color-white);
}
.arc-search__input {
  flex: 1 1 auto;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  font-size: var(--ds-font-size-18);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-white);
  background: none;
  border: none;
}
.arc-search__input::placeholder { color: var(--ds-color-gray-450); }
.arc-search__input:focus-visible { outline: none; }
.arc-search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }   /* 네이티브 x 숨김 → DS x 사용 */

.arc-search__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  inline-size: var(--ds-number-12);
  block-size: var(--ds-number-12);
  margin-inline-start: var(--ds-number-4);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.arc-search__clear[hidden] { display: none; }
.arc-search__clear-icon {
  inline-size: var(--ds-number-8);
  block-size: var(--ds-number-8);
  background-color: var(--ds-color-white);
  -webkit-mask: url("../assets/icon-close.svg") no-repeat center / contain;
  mask: url("../assets/icon-close.svg") no-repeat center / contain;
}
.arc-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-number-3);
  flex: 0 0 auto;
  align-self: flex-end;                              /* 모바일: 우측 정렬 자동폭(작게, 768+ 고정) */
  padding: var(--ds-number-4) var(--ds-number-8);    /* 모바일 축소(가로 줄임) */
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-semibold);
  font-size: var(--ds-font-size-16);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-white);
  background: rgba(255, 255, 255, 0.2);   /* Figma: 흰색 20% 반투명(반투명 오버레이라 토큰 없음) */
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.arc-search__btn:hover {   /* hover 시 눈에 띄게: 흰 배경 + 인디고 텍스트로 반전 */
  background: var(--ds-color-white);
  color: var(--ds-color-indigo-800);
}
.arc-search__btn-icon {
  inline-size: var(--ds-number-8);     /* 모바일 축소(768+ 24 복원) */
  block-size: var(--ds-number-8);
  background-color: currentColor;
  -webkit-mask: url("../assets/icon-search-md.svg") no-repeat center / contain;
  mask: url("../assets/icon-search-md.svg") no-repeat center / contain;
}

/* ---- 필터 카드 (검색밴드 하단에 걸쳐 오버랩) ---- */
/* 공용: 필터 카드가 검색 밴드 위로 올라오게만. "얼마나 걸치나"는 카드 높이에 따라 달라져 페이지별로 준다. */
.arc-filter-wrap {
  position: relative;
  z-index: 2;
}
.arc-hist__filter-wrap { margin-block-start: calc(-1 * var(--ds-number-20)); }   /* history: 밴드 하단에 카드 상단이 걸침 */
.arc-filter {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-10);            /* 모바일: 카테고리↔단체 그룹 간격 확대(라벨↔칩보다 크게) */
  max-inline-size: 140rem;             /* Figma 필터카드 폭 1400px */
  margin-inline: auto;
  padding: var(--ds-number-10) var(--ds-number-12);   /* 모바일 패딩 축소(768+ 넓게) */
  background: var(--ds-color-white);
  border: var(--ds-border-width-thin) solid var(--ds-color-gray-250);
  border-radius: var(--ds-radius-large);
  box-shadow: var(--ds-shadow-l);
}
.arc-filter__row {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-3);             /* 모바일: 라벨↔칩 붙이기(768+ row 16px) */
}
.arc-filter__label {
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-14);   /* 모바일 축소(768+ 19) */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
}
.arc-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-number-4);
}
.arc-filter .ds-checkbox-btn {   /* 모바일: 칩 축소(768+ DS 기본 복원) */
  block-size: var(--ds-size-height-3);
  padding-inline: var(--ds-pc-padding-1);
  font-size: var(--ds-font-size-15);
}
/* HISTORY 인디고 테마: 선택 칩 = brand → indigo-600 오버라이드(페이지 스코프) */
.arc-filter .ds-checkbox-btn[aria-pressed="true"],
.arc-filter .ds-checkbox-btn[aria-current="true"] {
  background-color: var(--ds-color-indigo-600);
  border-color: var(--ds-color-indigo-600);
  color: var(--ds-color-white, #fff);   /* 진한 배경 위 글자 = 흰색(2026-11-10 — 회색 글자가 묻혀 안 보였음) */
}
.arc-filter .ds-checkbox-btn:hover {
  border-color: var(--ds-color-indigo-600);
  color: var(--ds-color-indigo-600);
}
.arc-filter .ds-checkbox-btn[aria-pressed="true"]:hover,
.arc-filter .ds-checkbox-btn[aria-current="true"]:hover { color: var(--ds-color-white); }
.arc-filter__reset {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-number-3);
  align-self: flex-end;
  padding: var(--ds-number-2) 0;
  font-size: var(--ds-font-size-13);   /* 모바일 축소(768+ 16) */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-600);   /* gray-500(#888) 은 흰 바탕 3.54:1 이라 600(#666 · 5.74:1)으로 (웹접근성 · 2026-10-07) */
  background: none;
  border: none;
  cursor: pointer;
}
.arc-filter__reset-icon {
  inline-size: var(--ds-number-6);
  block-size: var(--ds-number-6);
  background-color: currentColor;
  -webkit-mask: url("../assets/icon-reset.svg") no-repeat center / contain;
  mask: url("../assets/icon-reset.svg") no-repeat center / contain;
}
.arc-filter__reset:hover { color: var(--ds-color-indigo-600); }

/* ---- 탭 스트립 (공용 .arc-tabstrip) : 밑줄탭 + Badge + 가로스크롤 + 좌우 화살표
        history 연대탭 · 통합검색 기관탭 등 목록 페이지에서 재사용.
        페이지 고유(폰트 크기·정렬)는 각 페이지 블록에서 덮는다. ---- */
.arc-tabstrip {
  position: relative;
  margin-block-start: var(--ds-number-40);
  border-block-end: var(--ds-border-width-thin) solid var(--ds-color-gray-200);
}
/* 탭 넘칠 때 양옆 흰 그라데이션 + 좌우 화살표(js/history.js가 can-prev/can-next 토글) */
.arc-tabstrip::before,
.arc-tabstrip::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  block-size: calc(100% - var(--ds-border-width-thin));
  inline-size: 4rem;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.arc-tabstrip::before { inset-inline-start: 0; background: linear-gradient(to right, var(--ds-color-white), transparent); }
.arc-tabstrip::after { inset-inline-end: 0; background: linear-gradient(to left, var(--ds-color-white), transparent); }
.arc-tabstrip.can-prev::before,
.arc-tabstrip.can-next::after { opacity: 1; }
/* 화살표: 그라데이션 위에 얹히는 chevron(배경 투명 — 페이드는 위 ::before/::after 담당) */
.arc-tabstrip__arrow {
  position: absolute;
  inset-block-start: 0;
  block-size: calc(100% - var(--ds-border-width-thin));
  inline-size: 4rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.arc-tabstrip__arrow--prev { inset-inline-start: 0; justify-content: flex-start; padding-inline-start: var(--ds-number-3); }
.arc-tabstrip__arrow--next { inset-inline-end: 0; justify-content: flex-end; padding-inline-end: var(--ds-number-3); }
.arc-tabstrip__arrow-icon {
  inline-size: var(--ds-number-5);
  block-size: var(--ds-number-5);
  border-block-start: var(--ds-border-width-medium) solid var(--ds-color-gray-500);
  border-inline-end: var(--ds-border-width-medium) solid var(--ds-color-gray-500);
}
.arc-tabstrip__arrow--next .arc-tabstrip__arrow-icon { transform: rotate(45deg); }
.arc-tabstrip__arrow--prev .arc-tabstrip__arrow-icon { transform: rotate(-135deg); }
.arc-tabstrip.can-prev .arc-tabstrip__arrow--prev,
.arc-tabstrip.can-next .arc-tabstrip__arrow--next { opacity: 1; pointer-events: auto; }
.arc-tabstrip .ds-tab__list {
  gap: var(--ds-number-16);
  justify-content: flex-start;
  overflow-x: auto;                    /* 모바일: 탭 가로 스크롤 */
  scrollbar-width: none;
}
.arc-tabstrip .ds-tab__list::-webkit-scrollbar { display: none; }
.arc-tabstrip .ds-tab__btn {
  gap: var(--ds-number-4);
  padding-inline: 0;                    /* 밑줄이 텍스트+Badge 폭만 덮도록(DS 기본 좌우패딩 제거) */
  padding-top: 0;
  font-size: var(--ds-font-size-18);   /* 모바일 18 → 태블릿 20 → PC 24 */
}
.arc-tabstrip .ds-badge { flex: 0 0 auto; }

/* ---- 타임라인 (년도 레일 + 이벤트 + 이미지) ---- */
.arc-hist__timeline {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-30);
  padding-block: var(--ds-number-30) var(--ds-number-40);
}
.arc-hist__years {
  display: none;                       /* 모바일: 년도 레일 숨김(연대탭이 맥락 제공) */
  margin: 0;
  padding: 0;
  list-style: none;
}
.arc-hist__year {
  margin: 0;
  padding: 0;
  font-size: var(--ds-font-size-24);
  font-weight: var(--ds-typo-font-weight-extralight);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-500);
  white-space: nowrap;
  text-align: start;
  font-variant-numeric: tabular-nums;   /* "1"이 좁아 어긋나 보이는 것 방지(등폭 숫자) */
  background: none;
  border: none;
  cursor: pointer;                     /* 클릭 시 해당 연도 첫 이벤트로 스크롤(js/history.js) */
  transition: color 0.2s ease;
}
.arc-hist__year:not(:disabled):hover { color: var(--ds-color-gray-700); }
.arc-hist__year:disabled { cursor: default; opacity: 0.5; }   /* 이벤트 없는 연도 */
.arc-hist__year.is-current {
  font-weight: var(--ds-typo-font-weight-extrabold);
  color: var(--ds-color-gray-900);
}

.arc-hist__events {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-20);
  margin: 0;
  padding: 0;
  padding-inline-start: var(--ds-number-12);
  list-style: none;
}
.arc-hist__events::before {          /* 세로 타임라인 선 (상·하단 모두 첫/마지막 도트 중심에서 시작·끝 — js/history.js) */
  content: "";
  position: absolute;
  inset-block-start: var(--line-top, var(--ds-number-3));
  inset-block-end: var(--line-bottom, var(--ds-number-3));
  inset-inline-start: 0.4rem;
  inline-size: var(--ds-border-width-thin);
  background: var(--ds-color-gray-200);
}
.arc-hist__event {
  position: relative;
  display: grid;
  grid-template-columns: 6.6rem 1fr;    /* 날짜 컬럼 고정 → "02." 처럼 월만 표시돼도 meta/desc 정렬 유지 */
  grid-template-areas:
    "date meta"
    "date desc";                        /* 모바일: date가 2행 span → desc가 meta 바로 밑(키 큰 날짜 아래로 안 밀림) */
  align-items: start;
  column-gap: var(--ds-number-12);
  row-gap: var(--ds-number-4);
  padding-inline-start: var(--ds-number-12);
}
.arc-hist__event[hidden] { display: none; }   /* JS 필터 숨김이 display:grid 이겨야 함 */
.arc-hist__years[hidden],
.arc-hist__events[hidden],
.arc-hist__media[hidden] { display: none; }   /* 비활성 연대 패널 숨김이 display:flex/grid 이겨야 함 */
.arc-hist__event-dot {
  position: absolute;
  inset-block-start: 0.75rem;          /* 날짜 텍스트 세로 중앙에 맞춤(모바일) */
  inset-inline-start: calc(-1 * var(--ds-number-12));   /* 도트 중심 = 세로 라인 중심 */
  inline-size: 0.9rem;
  block-size: 0.9rem;
  border-radius: var(--ds-radius-max);
  border: var(--ds-border-width-medium) solid var(--ds-color-indigo-500);
  background: var(--ds-color-white);
}
.arc-hist__event-date {
  grid-area: date;
  display: flex;
  flex-direction: column;
  gap: 0;                               /* 날짜↔연도 붙이기 */
  white-space: nowrap;
}
.arc-hist__event-mmdd {
  font-size: var(--ds-font-size-20);
  line-height: 1.2;                    /* 날짜/라벨/내용 상단 정렬 위해 leading 축소 */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
  font-variant-numeric: tabular-nums;  /* 숫자 폭 균일 → 다른 행과 정렬 일치 */
}
.arc-hist__event-year {
  font-size: var(--ds-font-size-18);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-500);
}
.arc-hist__nowrap { white-space: nowrap; }   /* <공연제목> 등 → 줄바꿈 시 제목 안 쪼개고 통째로 다음 줄로 */
/* 제목이 한 줄 폭보다 길면(휴대폰 · 「<마에스트로가 사랑한 국악 (Messenger)>」 등) 통째로 다음 줄로 보낸 뒤 그 안에서만 줄바꿈 —
   nowrap 그대로면 화면 밖으로 넘쳐 가로 스크롤이 생김(점검 10행 · 390px 폭에서 6곳 · 10/12) */
@media (max-width: 767px) {
  .arc-hist__nowrap { display: inline-block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
}
.arc-hist__event-meta {
  grid-area: meta;
  display: flex;
  flex-direction: row;                 /* 모바일: 카테고리·단체 한 줄(768+ 세로 스택) */
  flex-wrap: wrap;
  gap: 0 var(--ds-number-4);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-14);
  letter-spacing: var(--ds-typo-letter-spacing);
  line-height: 1.35;
}
.arc-hist__event-cat { color: var(--ds-color-indigo-500); }
.arc-hist__event-org { color: var(--ds-color-indigo-800); }
.arc-hist__event-desc {
  grid-area: desc;
  margin: 0;
  font-size: var(--ds-font-size-17);   /* 모바일 살짝 크게(768+ 20 / PC 26) */
  line-height: var(--ds-typo-line-height-body);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
}
/* ---- 이벤트 hover: 전체 박스 강조(내용 텍스트 포함) + 도트 채움 + 내용 색 ---- */
.arc-hist__event { z-index: 0; }
.arc-hist__event::after {                    /* 행 전체 박스(hover 시 회색 라인 보더 + 드롭쉐도우) */
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: calc(-1 * var(--ds-number-8));        /* 모바일: 호버박스 여백 4방향 균일 16px (event padding-inline-start 24px 보정) */
  inset-inline-start: var(--ds-number-4);            /* +8px → 콘텐츠(좌측 24px 패딩) 기준 좌측 여백 16px */
  inset-inline-end: calc(-1 * var(--ds-number-8));   /* -16px → 우측 여백 16px */
  border-radius: var(--ds-radius-medium);
  border: var(--ds-border-width-thin) solid transparent;
  background: transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.arc-hist__event:hover::after,
.arc-hist__event.is-hover::after {                      /* .is-hover = 이미지 hover 시 JS가 매칭 라인에 부여 */
  background: var(--ds-color-white);
  border-color: var(--ds-color-gray-200);
  box-shadow: var(--ds-shadow-m);
}
.arc-hist__event-dot { transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.arc-hist__event-desc { transition: color 0.2s ease; }
.arc-hist__event:hover .arc-hist__event-dot,
.arc-hist__event.is-hover .arc-hist__event-dot {
  background: var(--ds-color-indigo-500);
  transform: scale(1.3);
}
.arc-hist__event:hover .arc-hist__event-desc,
.arc-hist__event.is-hover .arc-hist__event-desc { color: var(--ds-color-indigo-700); }

/* ---- 이미지 카드 (하단 그라데이션 + 흰 캡션) ---- */
.arc-hist__media {
  display: none;                       /* 모바일·태블릿: 이미지는 js가 대응 이벤트 아래로 이동(빈 aside 숨김). ≥1680서 우측 컬럼으로 복원 */
}
/* 모바일: 이벤트 li 안으로 이동된 이미지 = 타이틀 아래 전폭 배치 */
.arc-hist__event > .arc-hist__media-card {
  grid-column: 1 / -1;
  margin-block-start: var(--ds-number-8);
  inline-size: 100%;
  max-inline-size: 34rem;
}
.arc-hist__media-card {
  position: relative;
  inline-size: 100%;                   /* 모바일: 폭 가득 */
  margin: 0;
  overflow: hidden;                    /* Figma 라운드 없음 */
  transition: opacity 0.25s ease, transform 0.25s ease;
}
/* 사진/이벤트 hover: 선택된 사진만 크게 선명, 나머지는 살짝 작아지며 opacity 20% */
.arc-hist__media.is-dimmed .arc-hist__media-card,
.arc-hist__media:hover .arc-hist__media-card { opacity: 0.2; transform: scale(0.94); }
.arc-hist__media.is-dimmed .arc-hist__media-card.is-active,
.arc-hist__media:hover .arc-hist__media-card:hover { opacity: 1; transform: none; }
.arc-hist__media-card img {
  display: block;
  inline-size: 100%;
  block-size: auto;
}
.arc-hist__media-cap {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: var(--ds-number-10) var(--ds-number-8) var(--ds-number-8);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-14);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-white);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.85));   /* 캡션 가독용 하단 그라데이션(투명→흑 85%) — 그라데이션은 DS 토큰 대상 아님 */
}

/* ---- 검색결과 없음 (empty state) ---- */
.arc-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--ds-number-4);             /* 제목↔서브텍스트 간격 좁게 */
  padding-block: var(--ds-number-40);
  text-align: center;
}
.arc-hist.is-empty .arc-hist__timeline { display: none; }
.is-empty .arc-empty { display: flex; }   /* 페이지 무관 — 루트 블록에 .is-empty 를 걸면 노출 */
.arc-empty__icon {
  inline-size: var(--ds-number-20);    /* 40px (작게) */
  block-size: var(--ds-number-20);
  margin-block-end: var(--ds-number-6);
  background-color: var(--ds-color-gray-400);
  -webkit-mask: url("../assets/icon-alert.svg") no-repeat center / contain;   /* 느낌표 */
  mask: url("../assets/icon-alert.svg") no-repeat center / contain;
}
.arc-empty__title {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-28);   /* 크게 */
  color: var(--ds-color-gray-900);
}
.arc-empty__desc {
  margin: 0;
  font-size: var(--ds-font-size-15);
  line-height: var(--ds-typo-line-height-body);
  color: var(--ds-color-gray-600);
}

/* ============================================================
   @media - 태블릿(768~1679) → 히스토리 데스크톱 3컬럼(1680+)
   (히스토리 3컬럼은 Figma 1920 기준이라 ~1620px 미만에선 안 들어가 1680 진입점 사용)
   ============================================================ */
@media (min-width: 768px) {
  .arc-search { padding-block: var(--ds-number-30) var(--ds-number-40); }
  .arc-search__form { flex-direction: row; align-items: flex-end; gap: var(--ds-number-20); }   /* 입력 밑줄이 통합검색 버튼 최하단과 정렬 */
  .arc-search__input { font-size: var(--ds-font-size-20); }
  .arc-search__btn { inline-size: 15rem; block-size: 5.8rem; padding: 0; gap: var(--ds-number-6); align-self: auto; font-size: var(--ds-font-size-20); }   /* Figma 통합검색 150×58 고정 */
  .arc-search__btn-icon { inline-size: var(--ds-number-12); block-size: var(--ds-number-12); }   /* PC 아이콘 24 복원 */
  .arc-filter { gap: var(--ds-number-10); padding: var(--ds-number-19) var(--ds-number-40); }
  .arc-filter__row { flex-direction: row; align-items: flex-start; gap: var(--ds-number-16); }
  .arc-filter__label { flex: 0 0 8rem; padding-block-start: var(--ds-number-4); font-size: var(--ds-font-size-19); }
  .arc-filter__chips { gap: var(--ds-number-6) var(--ds-number-6); flex: 1 1 auto; }
  .arc-filter .ds-checkbox-btn { block-size: var(--ds-size-height-4); padding-inline: var(--ds-pc-padding-2); font-size: var(--ds-font-size-17); }
  .arc-filter__reset {
    position: absolute;
    inset-block-start: var(--ds-number-16);
    inset-inline-end: var(--ds-number-20);
    gap: var(--ds-number-4);
    align-self: auto;
    font-size: var(--ds-font-size-16);
  }
  .arc-filter__reset-icon { inline-size: var(--ds-number-7); block-size: var(--ds-number-7); }   /* PC 아이콘 원복 */

  .arc-hist__decades .ds-tab__btn { font-size: var(--ds-font-size-20); }

  /* 태블릿·소형데스크톱(768-1679)은 모바일처럼 단일 컬럼 유지 — 이미지는 js가 대응 이벤트 아래로(우측 미디어 컬럼은 1680+). 년도 레일도 숨김. */
  .arc-hist__years { display: none; }
  .arc-hist__events { grid-area: events; }
  .arc-hist__event {
    grid-template-columns: 6rem 17rem 1fr;     /* meta 고정폭 → 내용(desc) 좌측정렬 일치 + 긴 단체명 한 줄 수용 */
    grid-template-areas: "date meta desc";
    column-gap: var(--ds-number-14);           /* 간격 2/3 축소 */
    align-items: start;
  }
  .arc-hist__event-mmdd { font-size: var(--ds-font-size-24); }
  .arc-hist__event-meta { flex-direction: column; gap: 0.2rem; font-size: var(--ds-font-size-15); }
  .arc-hist__event-cat,
  .arc-hist__event-org { white-space: nowrap; }   /* 긴 단체명(경기필하모닉오케스트라 등) 2줄 방지 */
  .arc-hist__event-desc { font-size: var(--ds-font-size-20); }
  .arc-hist__event-dot { inset-block-start: 1rem; }   /* 날짜(24px) 세로 중앙 */
  .arc-hist__event::after { inset-block: calc(-1 * var(--ds-number-10)); inset-inline-start: var(--ds-number-2); inset-inline-end: calc(-1 * var(--ds-number-10)); }   /* 여백 4방향 균일 20px */
}

@media (min-width: 1680px) {   /* 히스토리 데스크톱(3컬럼: 년도레일+이벤트+이미지) — Figma 1920 기준이라 ~1620px 미만에선 안 들어감 → 1680+에서만. 그 이하는 태블릿 단일컬럼 유지 */
  .arc-search__input { font-size: var(--ds-font-size-24); }
  .arc-search__btn { font-size: var(--ds-font-size-22); }
  .arc-search { padding-block: var(--ds-number-40) 16.8rem; }        /* 하단 indigo 확장 → 카드 절반이 밴드에 걸침 */
  .arc-hist__filter-wrap { margin-block-start: -8.8rem; }                  /* 카드 높이(176) 절반만큼 끌어올려 밴드에 ~50% 오버랩 */
  .arc-hist__filter { padding: var(--ds-number-19) 4.9rem; }               /* Figma 카드 높이 176px (py 38) */
  .arc-filter__label { flex-basis: 10rem; }

  .arc-hist__decades { margin-block-start: var(--ds-number-40); }
  .arc-hist__decades .ds-tab__list { gap: var(--ds-number-20); justify-content: center; overflow-x: visible; }
  .arc-hist__decades .ds-tab__btn { font-size: var(--ds-font-size-24); }

  .arc-hist__timeline {
    display: grid;                                          /* 1680+에서만 그리드(그 이하는 기본 flex 단일컬럼) */
    grid-template-columns: 14rem 1fr var(--hist-media-w);   /* 년도 레일 폭 확대(2020년 볼드 안 잘리게) */
    grid-template-areas: "years events media";
    column-gap: var(--ds-number-40);
    align-items: start;
    padding-block-start: var(--ds-number-40);
    padding-inline: clamp(6rem, 8.3vw, 16rem);   /* Figma 좌우 여백 160px(1920 기준) — arc-container 100px 오버라이드 */
  }
  .arc-hist__years {
    display: flex;
    grid-area: years;
    flex-direction: column;
    gap: var(--ds-number-10);                                /* Figma 년도 리스트 gap 20px */
    position: sticky;                                        /* 스크롤 시 년도 레일 고정 */
    inset-block-start: calc(var(--arc-gnb-h) + var(--ds-number-16));   /* fixed 헤더 아래 */
    align-self: start;
  }
  .arc-hist__year { transition: color 0.2s ease, font-weight 0.2s ease; }
  .arc-hist__year { font-size: var(--ds-font-size-32); }
  .arc-hist__event { grid-template-columns: 8rem 18rem 1fr; column-gap: var(--ds-number-26); }   /* 간격 2/3 축소 */
  .arc-hist__event-mmdd { font-size: var(--ds-font-size-28); }
  .arc-hist__event-year { font-size: var(--ds-font-size-20); }
  .arc-hist__event-meta { font-size: var(--ds-font-size-16); }
  .arc-hist__event-desc { font-size: var(--hist-desc-size); }
  .arc-hist__event-dot { inset-block-start: 1.2rem; }   /* 날짜(28px) 세로 중앙 */
  .arc-hist__media {                                    /* 데스크톱(1680+)만 이미지를 우측 컬럼·대응 이벤트 세로 위치에 배치 */
    grid-area: media;
    position: relative;
    display: block;
    align-self: stretch;                                /* 그리드 행 높이 = 이벤트 높이 */
  }
  .arc-hist__media-card {
    position: absolute;                                 /* top = js/history.js 가 대응 이벤트 위치로 */
    inset-inline-end: 0;                                /* 우측 정렬 */
    inline-size: fit-content;
    max-inline-size: 100%;
  }
  .arc-hist__media-card img { inline-size: auto; max-inline-size: 100%; max-block-size: 34rem; }   /* 세로 포스터 과다 세로 방지: 최대 높이 340px → 연혁과 나란히 + 폭 자연 다양 */
}


/* ══════════════════════════════════════════════════════════════════════
   공용 카드 그리드 (.arc-cards / .arc-card)
   ─ 통합검색 결과 · 분류별 기록 등 "썸네일 + 제목 + 라벨/값 메타" 목록 페이지 공용.
   ─ 페이지 고유 여백만 각 페이지 블록에서 덮는다.
   ─ 모바일 퍼스트: 1열 → 2열(768) → 3열(1024) → 4열(1280, Figma 시안)
   ══════════════════════════════════════════════════════════════════════ */
.arc-cards {
  --arc-card-gap-x: var(--ds-number-12);   /* 24px — 모바일/태블릿 열 간격 */
  --arc-card-gap-y: var(--ds-number-20);   /* 40px — 행 간격 */

  /* 카테고리 배지 배경 — Figma CatBadge 는 DS 색을 그대로 쓰되 alpha 0.8 + backdrop-blur 5px 를 얹었다.
     DS 팔레트에 alpha 변형 토큰이 없어 여기서 정의한다(코드베이스의 --cur-line 등과 같은 방식).
     ⚠ color-mix() 는 미지원 브라우저에서 선언 자체가 무효가 되어 배경이 사라지므로 쓰지 않는다. */
  --arc-card-cat-rec: rgba(75, 46, 198, 0.8);    /* brand/500 #4B2EC6 @ 80% — 추천자료 */
  --arc-card-cat-hot: rgba(227, 27, 84, 0.8);    /* rose/500  #E31B54 @ 80% — 인기자료 */
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--arc-card-gap-y) var(--arc-card-gap-x);
  margin: 0;
  padding: 0;
  list-style: none;
}
.arc-card { min-inline-size: 0; }          /* 그리드 아이템 축소 허용(긴 제목 넘침 방지) */
.arc-card__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
/* 썸네일 — Figma 카드 362.5 : 이미지 512 비율 고정(로딩 중 레이아웃 흔들림 방지) */
.arc-card__thumb {
  position: relative;                      /* 카테고리 배지(.arc-card__cat) 기준 박스 */
  display: block;
  aspect-ratio: 362 / 512;
  overflow: hidden;
  border: var(--ds-border-width-thin) solid var(--ds-color-gray-250);
  background-color: var(--ds-color-gray-50);
  /* 대표이미지가 없거나 못 불러오면(img 가 빠짐) 퍼블 기본 그림이 보인다 (2026-10-06 · 시트 73행) */
  background-image: url("../assets/no-image.svg");
  background-position: center;
  background-size: cover;
}


/* 카테고리 배지 (추천자료·인기자료) — Figma CatBadge, 썸네일 좌상단.
   ⚠ 배경색은 DS 토큰 그대로이고 그 위에 "80% 불투명 + 배경흐림 5px"가 얹혀 있다
      (캡처에서 색을 찍으면 뒤 포스터가 비쳐 다른 값으로 보인다 — 근접색을 새로 만들지 말 것).
      추천 = brand/500 #4B2EC6 · 인기 = rose/500 #E31B54, 둘 다 alpha 0.8.
   inset 0 = 테두리 안쪽(패딩박스) 기준이라 Figma 의 1px 인셋과 같다. */
.arc-card__cat {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: inline-flex;
  align-items: center;
  padding: var(--ds-number-3) var(--ds-number-5);   /* 6/10 — 모바일. PC 8/12(Figma) */
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-14);                /* 모바일 14 → 태블릿 15 → PC 17(Figma Bold) */
  line-height: normal;
  color: var(--ds-color-white);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}
.arc-card__cat--rec { background-color: var(--arc-card-cat-rec); }
.arc-card__cat--hot { background-color: var(--arc-card-cat-hot); }
.arc-card__thumb img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.arc-card__link:hover .arc-card__thumb img,
.arc-card__link:focus-visible .arc-card__thumb img { transform: scale(1.04); }

/* 제목 — 아래 보라 점선 구분선 (Figma brand/200 dashed) */
.arc-card__title {
  display: -webkit-box;                    /* 제목 최대 2줄 — 넘치면 말줄임(…) */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: calc(2 * var(--ds-typo-line-height-body) * 1em + var(--ds-number-10) + var(--ds-number-6));   /* 항상 2줄 높이 고정 — 1줄 제목도 2줄 영역 확보(카드 메타 정렬 통일) */
  padding-block: var(--ds-number-10) var(--ds-number-6);   /* 20 / 12 */
  border-block-end: var(--ds-border-width-thin) dashed var(--ds-color-brand-primary-200);
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-17);       /* 모바일 17 → 태블릿 19 → PC 22 */
  line-height: var(--ds-typo-line-height-body);   /* 1.6 — DS엔 1.5가 없음(heading 1.3 / body 1.6). 여러 줄 제목엔 body 가 적합 */
  color: var(--ds-color-gray-900);
  overflow-wrap: anywhere;                 /* 긴 공연명·괄호 제목이 카드를 밀지 않게 */
}
.arc-card__link:hover .arc-card__title,
.arc-card__link:focus-visible .arc-card__title { color: var(--ds-color-brand-primary-500); }

/* 메타 — 라벨(고정폭) + 값 */
.arc-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-2);                 /* 4px */
  padding-block: var(--ds-number-6) var(--ds-number-10);   /* 12 / 20 */
  font-size: var(--ds-font-size-14);       /* 모바일 14 → 태블릿 15 → PC 17 */
  line-height: var(--ds-typo-line-height-body);
}
.arc-card__row { display: flex; align-items: flex-start; }
.arc-card__label {
  flex: 0 0 auto;
  inline-size: var(--ds-number-34);        /* 68px — 모바일. PC 80px */
  color: var(--ds-color-gray-600);
  font-weight: var(--ds-typo-font-weight-medium);
}
.arc-card__value {
  flex: 1 1 auto;
  min-inline-size: 0;
  color: var(--ds-color-gray-900);
  font-weight: var(--ds-typo-font-weight-medium);
  overflow-wrap: anywhere;
}


/* ══════════════════════════════════════════════════════════════════════
   통합검색 결과 (.arc-result)
   검색밴드(.arc-search) · 기관탭(.arc-tabstrip) · 카드그리드(.arc-cards)
   · 빈상태(.arc-empty) · 페이지네이션(.ds-pagination) 조합
   ══════════════════════════════════════════════════════════════════════ */
/* ⭐⭐ 목록 페이지 세로 갭 규칙 (Figma 1920 기준) — 다른 목록 페이지도 이 규칙을 따른다 ⭐⭐
   ┌──────────────────────────────────────────────────────────────────┐
   │  검색 밴드(indigo) 위아래 여백 =  80px  → 밴드 높이 218px          │
   │  밴드  ↔  탭                  = 120px                            │
   │  탭    ↔  카드 영역           =  80px   ← 규칙(고정)              │
   │  결과바(총 N개 + 정렬) ↔ 카드 =  40px                            │
   │  페이지네이션 ↔ 푸터          = 120px   ← 규칙(전 페이지 공통)      │
   └──────────────────────────────────────────────────────────────────┘
   · 위 값은 PC(1280+) 기준. 태블릿·모바일은 위계에 맞춰 축소한다(아래 미디어 블록).
   · 검색 밴드는 history 와 공용(.arc-search)이지만, history 는 밴드 아래 필터 카드가
     50% 겹치도록 하단 패딩을 168px 로 키운다. 검색 페이지엔 필터가 없으므로 여기서 80px 로 덮는다.
     (history 는 절대 건드리지 않는다) */
.arc-result {
  --arc-result-band-pad: var(--ds-number-24);   /* 밴드 위아래 — 48px 모바일 → PC 80px */
  --arc-result-band-gap: var(--ds-number-20);   /* 밴드 ↔ 탭   — 40px 모바일 → PC 120px */
  --arc-result-tab-gap:  var(--ds-number-20);   /* 탭 ↔ 카드영역 — 40px 모바일 → PC 80px ⭐규칙 */
  --arc-result-foot-gap: var(--ds-number-30);   /* 페이지네이션 ↔ 푸터 — 60px 모바일 → PC 120px ⭐규칙 */

  /* 콘텐츠 폭 = 1600 (사용자 확정: "1600px 안쪽에서 놀게"). 정의는 base.css 의 --archive-frame. */
  --arc-result-frame: var(--archive-frame);
}
.arc-result .arc-search { padding-block: var(--arc-result-band-pad); }

.arc-result__body {
  max-inline-size: var(--arc-result-frame);                        /* .arc-container 기본 1920 → 1600 으로 */
  padding-block: var(--arc-result-tab-gap) var(--arc-result-foot-gap);   /* 위=탭↔카드영역 규칙 / 아래=페이지네이션↔푸터 */
}

/* 기관 탭 — 공용 스트립(.arc-tabstrip) 위에 이 페이지 고유값만 */
.arc-result__orgs {
  /* 검색 페이지엔 history 와 달리 밴드 아래 필터 카드가 없다 → 공용 스트립의 80px 대신 규칙값 */
  margin-block-start: var(--arc-result-band-gap);

  /* 페이드·화살표를 "뷰포트 끝"이 아니라 콘텐츠(1600) 안쪽 끝에 붙인다.
     좌우 여백 = (프레임을 넘치는 폭의 절반) + gutter. 스트립 자체는 풀블리드(하단 라인은 화면 끝까지) 유지. */
  --arc-strip-inset: calc(max(0px, (100% - var(--arc-result-frame)) / 2) + var(--archive-gutter));
}
.arc-result__orgs::before,
.arc-result__orgs .arc-tabstrip__arrow--prev { inset-inline-start: var(--arc-strip-inset); }
.arc-result__orgs::after,
.arc-result__orgs .arc-tabstrip__arrow--next { inset-inline-end: var(--arc-strip-inset); }
/* 페이드 폭 — 공용 스트립은 4rem(40px)인데, 화살표를 콘텐츠 안쪽으로 들이면 그 자리에 탭이 있어
   40px 로는 잘린 탭·배지가 화살표 뒤로 비친다. Figma 페이드 그래픽 폭이 200px 이라 그에 맞춘다. */
.arc-result__orgs::before,
.arc-result__orgs::after { inline-size: 6rem; }   /* 60px — 모바일. PC 200px */

/* 탭 목록의 "스크롤 클리핑 경계"를 콘텐츠 끝에 맞춘다.
   .arc-container 는 gutter 를 padding 으로 주는데, 가로 스크롤 컨테이너는 padding 영역까지 내용이 보인다
   → 잘린 탭·배지가 콘텐츠 밖(여백)에 삐져나와 페이드 뒤로 비쳤다.
   패딩 대신 폭+auto 마진으로 같은 콘텐츠 박스를 만들어, 딱 콘텐츠 끝에서 잘리게 한다. */
.arc-result__orgs .ds-tab__list,
.arc-records__kinds .ds-tab__list {
  max-inline-size: calc(min(100%, var(--arc-result-frame)) - var(--archive-gutter) * 2);
  margin-inline: auto;
  padding-inline: 0;
}
.arc-result__orgs .ds-tab__list { gap: var(--ds-number-10); }   /* 20px — 모바일. PC 40px */

/* 결과 요약 + 정렬 바 */
.arc-result__bar {
  display: flex;
  flex-wrap: nowrap;                       /* 총 건수 + 정렬을 항상 한 줄에 (모바일에서도 2줄로 안 쪼개지게) */
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-number-5);                 /* 10px — 총건수 ↔ 정렬 최소 간격 */
  /* 위 여백은 .arc-result__body 가 담당(탭↔카드영역 규칙). 여기선 "결과바 → 카드" 만. */
  padding-block: 0 var(--ds-number-12);   /* 24px — 모바일. PC 40px */
}
.arc-result__count {
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;                     /* 한 줄 유지 */
  font-size: var(--ds-font-size-15);       /* 모바일 15 → PC 20 */
  color: var(--ds-color-gray-900);
}
/* 모바일은 '총 N개' 만 (좁은 폭에서 정렬과 한 줄). 태블릿+ 에서 '의 검색 결과' 를 붙인다. */
.arc-result__count-suffix { display: none; }
.arc-result__count strong { font-weight: var(--ds-typo-font-weight-bold); }

.arc-result__sorts {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--ds-number-7);                 /* 14px — 모바일. PC 28px(Figma 27) */
}
/* 정렬 셀렉트 사이 세로 구분선 (Figma 2298:6338 — gray/250, 1×16) */
.arc-result__sort-divider {
  flex: 0 0 auto;
  inline-size: var(--ds-border-width-thin);
  block-size: var(--ds-number-8);          /* 16px */
  background-color: var(--ds-color-gray-250);
}
/* Figma 정렬 셀렉트 = 테두리·배경 없는 텍스트 + chevron (DS 필드 박스가 아님) */
.arc-result__select.ds-select {
  /* 화살표는 아카이브 공용 아이콘 자산을 쓴다(DS 기본값은 component.css 안에 박힌 data-URI SVG).
     서브헤더 드롭다운 화살표도 같은 assets/icon-chevron-down.svg 를 쓴다.
     ⚠ --ds-select--arrow 토큰에 url() 을 넣으면 안 된다 — 커스텀 프로퍼티 안의 url() 은
        "선언한 파일"이 아니라 "var() 를 쓴 파일"(design-guide/css/component.css) 기준으로 풀려
        design-guide/assets/ 를 찾다 404 난다. background-image 를 여기서 직접 지정한다. */
  background-image: url("../assets/icon-chevron-down.svg");
  --ds-select--arrow-size: var(--ds-number-9);    /* 18px — Figma chevron */
  --ds-select--arrow-right: 0;
  inline-size: auto;
  block-size: auto;
  min-block-size: 0;
  padding-block: 0;
  padding-inline: 0 var(--ds-number-13);          /* 26px — chevron 자리 */
  border: 0;
  border-radius: 0;
  background-color: transparent;
  font-size: var(--ds-font-size-15);              /* 모바일 15 → PC 17 */
  line-height: normal;
  color: var(--ds-color-gray-900);
  cursor: pointer;
}
.arc-result__select.ds-select:focus { box-shadow: none; }
.arc-result__select.ds-select:focus-visible {
  outline: var(--ds-border-width-medium) solid var(--ds-color-brand-primary-500);
  outline-offset: 2px;
}

/* 페이지네이션 — 그리드와의 간격 (DS 기본 margin 을 페이지 값으로) */
.arc-result__pagination.ds-pagination { margin-block: var(--ds-number-20) 0; }   /* 40px — PC 60px */

/* 서버 렌더 페이지네이션 — 처음/이전/다음/마지막을 <a> 로 출력하므로 :disabled 대신 aria-disabled 로 비활성 표현 */
.arc-result__pagination .ds-pagination__btn[aria-disabled="true"] {
  color: var(--ds-color-border-disabled);
  pointer-events: none;
}

/* 빈 상태가 켜지면 목록·페이지네이션 숨김 (공용 .arc-empty 는 .is-empty 로 노출) */
.arc-result.is-empty .arc-cards,
.arc-result.is-empty .arc-result__pagination { display: none; }


/* ── 태블릿 (768+) ─────────────────────────────────────────────── */
@media (min-width: 768px) {
  .arc-cards { grid-template-columns: repeat(2, 1fr); }
  .arc-card__title { font-size: var(--ds-font-size-19); }
  .arc-card__meta  { font-size: var(--ds-font-size-15); }
  .arc-card__label { inline-size: var(--ds-number-38); }   /* 76px */
  .arc-card__cat   { font-size: var(--ds-font-size-15); }  /* 배지 태블릿 */

  /* 갭 규칙 — 태블릿 단계 (PC 80/120/80/120 의 중간) */
  .arc-result {
    --arc-result-band-pad: var(--ds-number-30);   /* 60px */
    --arc-result-band-gap: var(--ds-number-30);   /* 60px */
    --arc-result-tab-gap:  var(--ds-number-30);   /* 60px */
    --arc-result-foot-gap: var(--ds-number-40);   /* 80px */
  }
  .arc-result__orgs .ds-tab__list { gap: var(--ds-number-14); }   /* 28px */
  .arc-result__orgs .ds-tab__btn  { font-size: var(--ds-font-size-20); }   /* 모바일 18 → 태블릿 20 → PC 24 */
  .arc-result__bar { padding-block: 0 var(--ds-number-16); }      /* 32px */
  .arc-result__count { font-size: var(--ds-font-size-17); }
  .arc-result__count-suffix { display: inline; }                  /* 태블릿+: '의 검색 결과' 표시 */
  .arc-result__sorts { gap: var(--ds-number-10); }                /* 20px */
  .arc-result__select.ds-select { font-size: var(--ds-font-size-16); }
}

/* ── 큰 태블릿 / 작은 노트북 (1024+) ───────────────────────────── */
@media (min-width: 1024px) {
  .arc-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ── 데스크톱 (1280+) : Figma 시안 4열 ─────────────────────────── */
@media (min-width: 1280px) {
  .arc-cards {
    /* Figma 열 간격 50px 인데 DS number 스케일은 2px 그리드(짝수)라 50 이 없다 → 48px 사용(2px 차) */
    --arc-card-gap-x: var(--ds-number-24);   /* 48px */
    --arc-card-gap-y: var(--ds-number-30);   /* 60px — Figma 행 간격 */
    grid-template-columns: repeat(4, 1fr);
  }
  .arc-card__title { font-size: var(--ds-font-size-22); }
  .arc-card__meta  { font-size: var(--ds-font-size-17); }
  .arc-card__label { inline-size: var(--ds-number-40); }   /* 80px — Figma */
  .arc-card__cat   { padding: var(--ds-number-4) var(--ds-number-6); font-size: var(--ds-font-size-17); }  /* 배지 PC = Figma 8/12 · 17 */

  /* ⭐ 갭 규칙 — Figma(1920) 확정값. 밴드 80/80(높이 218) · 밴드↔탭 120 · 탭↔카드영역 80 · 페이지네이션↔푸터 120 */
  .arc-result {
    --arc-result-band-pad: var(--ds-number-40);   /* 80px → 밴드 높이 218px */
    --arc-result-band-gap: 12rem;                 /* 120px — DS number 스케일 최대가 80px 이라 여기서 정의 */
    --arc-result-tab-gap:  var(--ds-number-40);   /* 80px ⭐ 탭 ↔ 카드영역 (규칙) */
    --arc-result-foot-gap: 12rem;                 /* 120px ⭐ 페이지네이션 ↔ 푸터 (전 페이지 공통 규칙) */
  }
  /* 세부 분류 탭 — Figma 는 가운데 정렬(Frame 83 이 1920 안에서 중앙). 좁은 화면은 스크롤이라 좌측 유지 */
  .arc-records .arc-result__orgs .ds-tab__list { justify-content: center; }
  .arc-result__orgs::before,
  .arc-result__orgs::after { inline-size: 20rem; }                 /* 200px — Figma 페이드 폭 */
  .arc-result__orgs .ds-tab__list { gap: var(--ds-number-20); }    /* 40px — Figma */
  .arc-result__orgs .ds-tab__btn  { font-size: var(--ds-font-size-24); }
  .arc-result__bar { padding-block: 0 var(--ds-number-20); }       /* 결과바 → 카드 40px */
  .arc-result__count { font-size: var(--ds-font-size-20); }
  .arc-result__sorts { gap: var(--ds-number-14); }                /* 28px */
  .arc-result__select.ds-select { font-size: var(--ds-font-size-17); }
  .arc-result__pagination.ds-pagination { margin-block-start: var(--ds-number-30); }   /* 60px */
}


/* ══════════════════════════════════════════════════════════════════════
   분류별 기록 (.arc-records) — Figma 2298:5277
   공용 .arc-result 골격(밴드·탭스트립·카드그리드·빈상태·페이지네이션) 위에 이 페이지 고유부분만.

   ┌ 1920 세로 리듬 (Figma 실측) ────────────────────────────────────────┐
   │ 분류기준 탭(Menu) → 밴드 상단 = 0 (바로 붙음)                        │
   │ 밴드 콘텐츠 끝    → 필터카드   =  80                                 │
   │ 필터카드 끝       → 세부분류탭 = 120  (공용 --arc-result-band-gap)    │
   │ 세부분류탭 끝     → 결과영역   =  80  (공용 --arc-result-tab-gap ⭐규칙)│
   │ 필터카드가 밴드 아래로 124 걸침 → 밴드 하단패딩 = 80 + 124            │
   └────────────────────────────────────────────────────────────────────┘
   가로: 밴드 콘텐츠 1400 / 필터카드·결과 1600 (--arc-result-frame)
   ══════════════════════════════════════════════════════════════════════ */
.arc-records {
  --arc-records-overlap: var(--ds-number-20);          /* 40px — 필터카드가 밴드에 걸치는 양. PC 124px */
  --arc-records-line: rgba(255, 255, 255, 0.2);        /* 남색 밴드 위 반투명 흰 테두리(반투명 오버레이라 DS 토큰 없음) */
  --arc-records-field-font: var(--ds-font-size-16);    /* 밴드 입력·셀렉트 — 모바일 16 → PC 24 */
}

/* ---- 분류 기준 탭 (장르별/단체별/형태별) — 서브헤더 바로 아래, 배지 없는 밑줄탭 ---- */
/* 공용 .arc-tabstrip 은 상단 마진 80px 이 기본(history 는 밴드와 띄운다).
   이 탭은 Figma 에서 서브헤더 바로 아래 붙어 있다(갭 0) → 마진 제거.
   하단 보더도 제거 — 바로 아래가 남색 밴드라 .ds-tab 의 회색 구분선(#E6E6E6)이 1px 틈처럼 보인다. */
.arc-records__kinds {
  margin-block-start: 0;
  border-block-end: 0;
}
.arc-records__kinds .ds-tab__list { gap: var(--ds-number-9); }        /* 18px — PC 30px(Figma) */
.arc-records__kinds .ds-tab__btn  {
  padding-block-end: var(--ds-number-6);      /* 12px — 모바일. PC 20px(Figma) */
  font-size: var(--ds-font-size-15);          /* 모바일 15 → 태블릿 16 → PC 18(Figma) */
}

/* ---- 검색 밴드 : 걸쳐 오는 필터카드만큼 하단 패딩을 키운다(규칙값 + 겹침량) ---- */
.arc-records .arc-search {
  padding-block: var(--arc-result-band-pad)
                 calc(var(--arc-result-band-pad) + var(--arc-records-overlap));
}
.arc-records__band-inner {
  max-inline-size: 140rem;            /* Figma 밴드 콘텐츠 1400px (배경은 풀블리드) */
  margin-inline: auto;
}

/* 기관명 */
.arc-records__org-name {
  margin: 0 0 var(--ds-number-6);     /* 12px — Figma(탭 y50 - 타이틀 h38) */
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-22);  /* 모바일 22 → PC 32 */
  line-height: var(--ds-typo-line-height-heading);
  color: var(--ds-color-white);
}

/* 기관 pill 탭 — Figma: h40 · px20 · radius/max · gap12
   선택 = 흰 배경 + gray-900 Bold / 미선택 = 반투명 흰 테두리 + 흰 Medium */
.arc-records__orgs {
  display: flex;
  flex-wrap: wrap;                    /* 모바일·태블릿: 줄바꿈 허용. PC(1280+) 는 한 줄 */
  gap: var(--ds-number-6);            /* 12px */
  margin: 0;
  padding: 0;
  list-style: none;
}
.arc-records__org {
  display: inline-flex;
  align-items: center;
  block-size: var(--ds-number-17);    /* 34px — 모바일 축소. PC 40px(Figma) */
  padding-inline: var(--ds-number-7); /* 14px — 모바일 축소. PC 20px(Figma) */
  border: var(--ds-border-width-thin) solid var(--arc-records-line);
  border-radius: var(--ds-radius-max);
  background: none;
  font-family: inherit;
  font-size: var(--ds-font-size-14);  /* 모바일 14 → 태블릿 16 → PC 18(Figma) */
  font-weight: var(--ds-typo-font-weight-medium);
  /* ⚠ button 은 자간이 상속돼도 UA 스타일에 가려지기 쉬워 명시한다.
     이게 빠지면 9개 pill 폭이 합쳐서 ~64px(글자수만큼) 넓어져 1400 밴드에서 두 줄로 넘어간다. */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-white);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.arc-records__org:hover { border-color: var(--ds-color-white); }
.arc-records__org[aria-selected="true"] {
  border-color: var(--ds-color-white);
  background-color: var(--ds-color-white);
  font-weight: var(--ds-typo-font-weight-bold);
  color: var(--ds-color-gray-900);
}

/* ---- 조건 필터 행 (분류 셀렉트 · 생산연도 범위 · 검색어 · 기록검색) ----
   공용 .arc-search__form(flex, align-items:flex-end) 위에 이 페이지 값만. Figma 열 간격 40px. */
.arc-records__form {
  gap: var(--ds-number-10);           /* 20px — 모바일. PC 40px */
  margin-block-start: var(--ds-number-15);   /* 30px — 기관탭 ↔ 필터행. PC 60px */
  flex-wrap: wrap;                    /* 모바일: 셀렉트/연도/검색어 줄바꿈 */
}
/* "기록 검색"은 중간에 공백이 있어 좁아지면 두 줄로 쪼개진다("통합검색"은 붙어 있어 안 그럼) */
.arc-records .arc-search__btn { white-space: nowrap; }
/* 밴드 위 필드 공통 : 밑줄만(박스 아님) */
.arc-records__field {
  display: flex;
  align-items: center;
  gap: var(--ds-number-5);            /* 10px */
  padding-block-end: var(--ds-number-6);   /* 12px */
  border-block-end: var(--ds-border-width-thin) solid var(--ds-color-white);
}
/* 모바일 배치 — history 의 검색밴드와 같은 모양을 만든다:
   1행 분류 셀렉트 / 2행 생산연도 / 3행 [검색어 ─────── 기록검색] (history 는 이 3행만 있는 셈) */
.arc-records__field--select { flex: 1 1 100%; }
.arc-records__field--year   { flex: 1 1 0; min-inline-size: 0; }
.arc-records__field--kw     { flex: 1 1 0; min-inline-size: 0; }   /* 버튼과 같은 줄에서 남은 폭을 먹는다 */

.arc-records__select,
.arc-records__input {
  inline-size: 100%;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: var(--arc-records-field-font);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-white);
}
.arc-records__select {
  appearance: none;
  padding-inline-end: var(--ds-number-12);       /* 24px — chevron 자리 */
  background: none;                              /* chevron 은 래퍼의 ::after 로 그린다(아래) */
  cursor: pointer;
}
/* 셀렉트 chevron — 남색 밴드 위라 흰색이어야 한다.
   assets/icon-chevron-down.svg 는 어두운 색이라 background-image 로 쓰면 검게 나온다(실제 지적사항).
   → DS 아이콘 세트를 mask 로 깔고 색은 CSS 로 준다(달력 아이콘과 같은 방식). */
.arc-records__field--select { position: relative; }
.arc-records__field--select::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  inset-block: 0 var(--ds-number-6);             /* 하단 패딩(12px) 위 = 텍스트 줄에 맞춰 세로 가운데 */
  margin-block: auto;
  inline-size: var(--ds-number-12);              /* 24px — Figma */
  block-size: var(--ds-number-12);
  background-color: var(--ds-color-white);
  -webkit-mask: url("../design-guide/resources/icons/chevron-down.svg") no-repeat center / contain;
          mask: url("../design-guide/resources/icons/chevron-down.svg") no-repeat center / contain;
  pointer-events: none;                          /* 클릭은 셀렉트가 받는다 */
}
.arc-records__select option { color: var(--ds-color-gray-900); }   /* 네이티브 드롭다운은 흰 배경 */
/* 연도 필드는 남색 밴드 위 흰 텍스트 — placeholder("시작 연도"/"종료 연도")도 흰색(Figma).
   검색어 필드(.arc-search__input)의 placeholder 만 gray-450 으로 남겨 둔다. */
.arc-records__input::placeholder { color: var(--ds-color-white); opacity: 1; }
.arc-records__select:focus-visible,
.arc-records__input:focus-visible { outline: none; }
.arc-records__field:focus-within { border-block-end-color: var(--ds-color-brand-primary-200); }
/* type="date" 로 바뀌었을 때 — 네이티브 달력 아이콘은 숨기고(우리 아이콘 버튼을 쓴다) 글자만 흰색으로 */
.arc-records__input[type="date"]::-webkit-calendar-picker-indicator { display: none; }
.arc-records__input[type="date"]::-webkit-datetime-edit { color: var(--ds-color-white); }

/* 캘린더 버튼 (연도 필드) — 누르면 네이티브 달력이 뜬다(js/records.js).
   아이콘은 DS 아이콘 세트(design-guide/resources/icons, Figma 이름과 동일). 단색이라 mask + 색상은 CSS 로.
   아카이브 assets/ 에 아이콘을 새로 만들지 않는다. */
.arc-records__cal {
  flex: 0 0 auto;
  inline-size: var(--ds-number-9);    /* 18px — Figma */
  block-size: var(--ds-number-9);
  padding: 0;
  border: 0;
  cursor: pointer;
  background-color: var(--ds-color-white);
  -webkit-mask: url("../design-guide/resources/icons/calendar-plus-02.svg") no-repeat center / contain;
          mask: url("../design-guide/resources/icons/calendar-plus-02.svg") no-repeat center / contain;
}
.arc-records__cal:focus-visible {
  outline: var(--ds-border-width-medium) solid var(--ds-color-white);
  outline-offset: 2px;
}

/* 시작 ~ 종료 연도 묶음 */
.arc-records__years {
  display: flex;
  align-items: flex-end;
  gap: var(--ds-number-5);            /* 10px — PC 20px */
  flex: 1 1 100%;                     /* 모바일: 한 줄 차지. PC 는 143+143 고정 */
  min-inline-size: 0;
}
.arc-records__years-sep {
  flex: 0 0 auto;
  padding-block-end: var(--ds-number-6);
  font-size: var(--arc-records-field-font);
  color: var(--ds-color-white);
}

/* ---- 필터 카드 : history 는 1400, 이 페이지는 1600 (Figma x=160 w=1600) ---- */
.arc-records__filter-wrap { margin-block-start: calc(-1 * var(--arc-records-overlap)); }
.arc-records__filter {
  max-inline-size: 160rem;    /* 1600 — 부모 .arc-container 안쪽(거터 제외) 기준 */
  margin-inline: auto;
}


/* ── 분류별 기록 : 태블릿 (768+) ──────────────────────────────── */
@media (min-width: 768px) {
  .arc-records {
    --arc-records-overlap: var(--ds-number-30);       /* 60px */
    --arc-records-field-font: var(--ds-font-size-20);
  }
  .arc-records__kinds .ds-tab__list { gap: var(--ds-number-12); }   /* 24px */
  .arc-records__kinds .ds-tab__btn  {
    padding-block-end: var(--ds-number-8);       /* 16px */
    font-size: var(--ds-font-size-16);
  }
  .arc-records__org-name { font-size: var(--ds-font-size-28); }
  .arc-records__org {
    block-size: var(--ds-number-19);        /* 38px */
    padding-inline: var(--ds-number-9);     /* 18px */
    font-size: var(--ds-font-size-16);
  }
  .arc-records__form { gap: var(--ds-number-15); margin-block-start: var(--ds-number-22); }   /* 30 / 44 */
  .arc-records__years { gap: var(--ds-number-8); }   /* 16px */
}

/* ── 분류별 기록 : 데스크톱 (1280+) — Figma 1920 확정값 ───────── */
@media (min-width: 1280px) {
  .arc-records {
    --arc-records-overlap: 12.4rem;                  /* 124px — 필터카드(236)가 밴드에 걸치는 양 */
    --arc-records-field-font: var(--ds-font-size-24);
  }
  .arc-records__kinds .ds-tab__list { gap: var(--ds-number-15); }   /* 30px — Figma */
  .arc-records__kinds .ds-tab__btn  {
    padding-block-end: var(--ds-number-10);      /* 20px — Figma */
    font-size: var(--ds-font-size-18);           /* Figma 18 */
  }
  .arc-records__org-name { font-size: var(--ds-font-size-32); }     /* Figma 32 Bold */
  /* 기관 pill — Figma 는 9개가 1400 안에 한 줄. 자간(-1px)이 걸려야 딱 들어간다.
     혹시라도 넘치면 줄바꿈 대신 가로 스크롤로 흘려서 "한 줄" 을 유지한다. */
  .arc-records__orgs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .arc-records__orgs::-webkit-scrollbar { display: none; }
  .arc-records__org {
    block-size: var(--ds-number-20);        /* 40px — Figma */
    padding-inline: var(--ds-number-10);    /* 20px — Figma */
    font-size: var(--ds-font-size-18);      /* Figma 18 */
  }
  .arc-records__form {
    flex-wrap: nowrap;
    gap: var(--ds-number-20);                        /* 40px — Figma 열 간격 */
    margin-block-start: var(--ds-number-30);         /* 60px — Figma 기관블록 ↔ 필터행 */
  }
  .arc-records__field--select { flex: 0 0 14.3rem; }  /* 143px — Figma */
  /* 연도 필드는 Figma 143px 지만 실제 날짜값(2026-07-15, 24px)이 들어가면 끝자리가 캘린더 아이콘에
     가려져 잘린다 → 180px 로 넓힌다. 검색어(--kw)가 flex:1 이라 그만큼 자동으로 줄어든다. */
  .arc-records__field--year   { flex: 0 0 18rem; }    /* 180px (Figma 143 + 날짜값 여유) */
  .arc-records__years { flex: 0 0 auto; gap: var(--ds-number-10); }   /* 20px — Figma */
  .arc-records__field--kw { flex: 1 1 auto; min-inline-size: 0; }
  /* 기록 검색 버튼 — Figma py16 / px20 (h58, 필드 밑줄과 같은 높이) */
  .arc-records .arc-search__btn { padding: var(--ds-number-8) var(--ds-number-10); }
  .arc-records .arc-search__input { font-size: var(--arc-records-field-font); }
  /* 필터 카드 — Figma padding 38 / 52 */
  .arc-records__filter { padding: var(--ds-number-19) var(--ds-number-26); }
}


/* ============================================================
   분류별 기록 상세 (.arc-record*) — record-view.html
   Figma: tPfMMyt7Jd2pZKycI9RxDY / node 2298:6340 (1920)


   ⚠ 클래스명 주의: 메인(index.html)의 "주요 기록물" 섹션도 .arc-record 를 씁니다
     (css/archive-main.css). 두 파일은 같은 페이지에 함께 로드되지 않아 충돌은 없지만,
     subpage.css 로 합칠 때 헷갈리지 않도록 이 주석을 남깁니다.

   [구성]
   1. 페이지 토큰
   2. 분류 기준 탭
   3. 자료 제목 밴드 (indigo-800) + 공유
   4. 본문 2단 (좌: 이미지 뷰어 / 우: 자료·공연 정보) + 풀블리드 라인
   5. 공연내용 + 공공누리(KOGL)
   6. 목록 버튼
   7. 관련 공연 자료 (공용 .arc-cards / .arc-card 재사용 + 오버레이 카드)
   8. @media 768 / 1024 / 1280 (단일 블록)
   ============================================================ */


/* ══════════════════════════════════════════════════════════════════════
   1. 페이지 토큰
   DS 에 없는 값만 여기서 정의하고 근거를 남긴다(원시값은 이 블록에만).
   ══════════════════════════════════════════════════════════════════════ */
.arc-record {
  /* 좌우 컬럼 사이 간격 160 의 절반. 세로 구분선이 그 한가운데(=x720 @1920)에 온다.
     좌컬럼 padding-inline-end(80) + 그리드 column-gap(80) = 160. */
  --arc-record-gap-half: var(--ds-number-40);      /* 80px */

  --arc-record-poster: 42rem;                      /* 420px — Figma 포스터 폭 (2298:6428) */
  --arc-record-nav: var(--ds-number-22);           /* 44px — 슬라이더 좌우 원형 버튼 (2349:4260) */

  /* 관련 자료 카드 — 이미지 로딩 배경 + 하단 암부.
     Figma 2352:2526 fill #8A4200 / 2352:2522 그라데이션(투명→검정, 높이 220).
     DS 에 "카드 스크림" 토큰이 없어 페이지 토큰으로 둔다. */
  --arc-record-card-bg: #8a4200;
  --arc-record-card-scrim: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--ds-color-black) 100%);
  --arc-record-card-scrim-h: 22rem;                /* 220px */

  /* 관련 자료 카드 hover = 메인(index.html) "주요 기록물" 카드와 동일 동작
     (우상단 라운드 + 이미지 확대 + 보라 stroke 드로우).
     archive-main.js 의 initCardOutline() 이 .arc-card--record 를 찾아 SVG 테두리를 주입한다.
     라운드 값(--record-hover-radius)은 §7 관련자료 섹션에서 메인과 같은 10rem/4rem 로 준다. */
}


/* ══════════════════════════════════════════════════════════════════════
   2. 분류 기준 탭 (Figma "Menu" 2298:6583) — 서브헤더 바로 아래 밑줄탭
   목록 페이지의 .arc-records__kinds 와 같은 Figma 컴포넌트지만, 그 규칙은
   --arc-result-frame(.arc-result 스코프)에 묶여 있어 상세 페이지에선 안 잡힌다.
   → 전역 --archive-frame(base.css) 를 쓰는 같은 규칙을 여기 둔다.
   ══════════════════════════════════════════════════════════════════════ */
.arc-record__kinds.arc-tabstrip {
  margin-block-start: 0;                           /* 서브헤더에 바로 붙는다 (Figma y 340 → 341) */
  border-block-end: 0;                             /* 아래가 남색 제목밴드라 .ds-tab 의 회색 하단 보더가 1px 틈처럼 보인다 → 제거 */
}
/* 하단 회색 라인은 화면 끝까지(풀블리드), 탭 목록만 콘텐츠 1600 안쪽으로 */
.arc-record__kinds .ds-tab__list {
  max-inline-size: calc(min(100%, var(--archive-frame)) - var(--archive-gutter) * 2);
  margin-inline: auto;
  padding-inline: 0;
  gap: var(--ds-number-9);                         /* 18px — PC 30px */
}
/* 탭 글자 크기 — 리스트 페이지 .arc-records__kinds 와 동일한 모바일 위계(15 → 16 → 18).
   ⚠ 클래스가 .arc-record__kinds(단수)라 리스트 규칙이 안 걸린다 → 여기 따로 둔다. */
.arc-record__kinds .ds-tab__btn {
  padding-block-end: var(--ds-number-6);           /* 12px — 모바일. PC 20px */
  font-size: var(--ds-font-size-15);               /* 모바일 15 → 태블릿 16 → PC 18 */
}


/* ══════════════════════════════════════════════════════════════════════
   3. 자료 제목 밴드 (Figma "Header Container" 2298:6592)
   배경 indigo-800 은 풀블리드, 제목·공유 버튼만 콘텐츠 1600.
   ══════════════════════════════════════════════════════════════════════ */
.arc-record__titlebar {
  background-color: var(--ds-color-indigo-800);
}
/* .arc-container(최대 1920) 를 1600 프레임으로 좁힌다 — .arc-subhead--frame 과 같은 패턴 */
.arc-record__titlebar-inner {
  display: flex;
  align-items: center;
  gap: var(--ds-number-20);                        /* 40px */
  max-inline-size: var(--archive-frame);
  padding-block: var(--ds-number-16);              /* 32px — PC 60px */
}
.arc-record__title {
  flex: 1 1 auto;
  min-inline-size: 0;
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-size: var(--ds-font-size-24);               /* 모바일 24 → PC 40 (Figma size/40) */
  font-weight: var(--ds-typo-font-weight-semibold);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-white);
  overflow-wrap: anywhere;                         /* 긴 공연명·괄호 제목이 밴드를 밀지 않게 */
}
/* 공유 버튼 — 클릭 시 현재 주소 복사 (js/record-view.js)
   2026-11-10 아이콘만 있던 것을 «아이콘 + 공유하기» 알약 버튼으로: 남색 띠 위 옅은 흰 테두리 · 반투명 바탕,
   마우스 올림 · 키보드 초점 때 흰 바탕 + 남색 글자로 반전 */
.arc-record__share {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-number-4);                         /* 아이콘 ↔ 글자 8px */
  block-size: 4rem;
  padding-inline: 1.4rem 1.8rem;
  background: color-mix(in srgb, var(--ds-color-white, #fff) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--ds-color-white, #fff) 40%, transparent);
  border-radius: 999px;
  color: var(--ds-color-white, #fff);
  font-family: var(--ds-typo-font-type-title);
  font-size: var(--ds-font-size-15, 1.5rem);
  font-weight: var(--ds-typo-font-weight-semibold, 600);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.arc-record__share-icon {
  flex: 0 0 auto;
  inline-size: 1.8rem;
  block-size: 1.8rem;
  background-color: currentColor;                  /* 단색 아이콘 = mask + currentColor */
  -webkit-mask: url("../design-guide/resources/icons/share-07.svg") no-repeat center / contain;
          mask: url("../design-guide/resources/icons/share-07.svg") no-repeat center / contain;
}
.arc-record__share:hover,
.arc-record__share:focus-visible {
  background-color: var(--ds-color-white, #fff);
  border-color: var(--ds-color-white, #fff);
  color: var(--ds-color-indigo-800, #162552);
}
.arc-record__share:focus-visible { outline: 2px solid var(--ds-color-white, #fff); outline-offset: 3px; }
@media (max-width: 767px) {   /* 휴대폰: 글자 버튼이 제목 폭을 줄이지 않게 제목 아래 줄로 */
  .arc-record__titlebar-inner { flex-wrap: wrap; row-gap: var(--ds-number-8); }
  .arc-record__title { flex-basis: 100%; }
}
@media (min-width: 1280px) {
  .arc-record__share { block-size: 4.8rem; padding-inline: 1.8rem 2.2rem; font-size: var(--ds-font-size-17, 1.7rem); }
  .arc-record__share-icon { inline-size: 2rem; block-size: 2rem; }
}


/* ══════════════════════════════════════════════════════════════════════
   4. 본문 2단 (Figma "Main Content Container" 2349:4336)
   ┌ 라인 처리 (사용자 지시 · Figma 실측) ────────────────────────────────┐
   │ 세로선  = Left Column(2349:4335) 의 border-right. x=720 @1920,       │
   │           본문 영역 높이(876) 전체. → 그리드 좌컬럼의 border 로 재현.  │
   │ 가로선  = Divider(2349:4376) x=720..1920 → 세로선에서 시작해          │
   │           화면 오른쪽 끝까지 이어지는 풀블리드. 콘텐츠(1760)에서 안 끊긴다.│
   │           → 오른쪽으로 흘려보내고(.arc-record__main 에서 clip) 재현.   │
   └──────────────────────────────────────────────────────────────────────┘
   폭: 콘텐츠 1600 = 좌 480 + 간격 160 + 우 960 (Figma 실측).
       좌 트랙 = 30%(=480) + 80(padding) = 560 → border 가 정확히 x=720 에 온다.
   ⚠ % 를 커스텀 프로퍼티로 빼서 그리드 아이템에서 쓰면 "그 아이템 폭" 기준으로
      다시 계산돼 틀린다 → 좌우 여백(side) 은 폭이 뷰포트인 이 요소에서 직접 쓴다.
   ══════════════════════════════════════════════════════════════════════ */
.arc-record__main {
  overflow-x: clip;                                /* 아래 가로선 오버행을 잘라냄(가로스크롤 방지) */
  padding-inline: max(var(--archive-gutter), (100% - 160rem) / 2);   /* 1920 → 160 */
  /* 본문(이미지뷰어+정보) 과 공연내용 사이 구분선 — 다른 디바이더와 같은 회색이고 화면 끝까지 간다.
     .arc-record__main 이 풀블리드 블록이라 border 만으로 화면 폭 전체가 된다. */
  border-block-end: var(--ds-border-width-thin) solid var(--ds-color-gray-250);
}

/* ---- 좌: 이미지 뷰어 ---- */
.arc-record__viewer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ds-number-20);                        /* 40px — PC 80px (포스터블록 ↔ 버튼) */
  /* Figma Left Column(2349:4335)은 padding-top 만 있고 bottom 은 0 —
     버튼이 본문 영역 맨 아래에 딱 붙고, 그 아래 여백은 다음 섹션(공연내용)의 padding-top 이다.
     bottom 을 주면 본문 높이가 876 → 956 으로 커진다(실측 확인). */
  padding-block: var(--ds-number-20) 0;            /* 40px / 0 — PC 80px / 0 */
}
.arc-record__poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ds-number-10);                        /* 20px — Figma Poster Container */
  inline-size: 100%;
  max-inline-size: var(--arc-record-poster);       /* 420px */
  margin: 0;
}
/* 슬라이드 — 5장 모두 HTML 에 정적으로. JS 는 is-active 토글만 한다(문서형) */
.arc-record__slides {
  position: relative;
  inline-size: 100%;
  aspect-ratio: 420 / 596;                         /* Figma 포스터 비율(로딩 중 레이아웃 흔들림 방지) */
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: var(--ds-color-gray-150);
}
.arc-record__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.arc-record__slide.is-active { opacity: 1; }
.arc-record__slide img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}

/* 슬라이더 컨트롤 (Figma "pagination" 2349:4259) */
.arc-record__slider {
  display: flex;
  align-items: center;
  gap: var(--ds-number-12);                        /* 24px */
  inline-size: 100%;
}
.arc-record__nav {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: var(--arc-record-nav);              /* 44px */
  block-size: var(--arc-record-nav);
  padding: 0;
  background: none;
  border: var(--ds-border-width-thin) solid var(--ds-color-gray-250);
  border-radius: 50%;
  color: var(--ds-color-black);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.arc-record__nav:hover {
  background-color: var(--ds-color-gray-150);
  border-color: var(--ds-color-gray-600);
}
/* 첫/마지막 장에서 비활성 (js/record.js 가 disabled 토글) */
.arc-record__nav:disabled {
  color: var(--ds-color-gray-300);
  border-color: var(--ds-color-gray-200);
  background: none;
  cursor: default;
}
.arc-record__nav-icon {
  inline-size: var(--ds-number-9);                 /* 18px — Figma 화살표 글리프 크기 */
  block-size: var(--ds-number-9);
  background-color: currentColor;
}
/* Figma 는 "←" "→" 텍스트 글리프지만, 아이콘은 DS 세트를 쓴다(단색 = mask + currentColor) */
.arc-record__nav--prev .arc-record__nav-icon {
  -webkit-mask: url("../design-guide/resources/icons/arrow-left.svg") no-repeat center / contain;
          mask: url("../design-guide/resources/icons/arrow-left.svg") no-repeat center / contain;
}
.arc-record__nav--next .arc-record__nav-icon {
  -webkit-mask: url("../design-guide/resources/icons/arrow-right.svg") no-repeat center / contain;
          mask: url("../design-guide/resources/icons/arrow-right.svg") no-repeat center / contain;
}
.arc-record__count {
  flex: 0 0 auto;
  font-size: var(--ds-font-size-16);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
}
.arc-record__count--cur {
  font-weight: var(--ds-typo-font-weight-medium);
  color: var(--ds-color-black);
}
.arc-record__count--total { color: var(--ds-color-gray-600); }
/* 진행 바 — 폭은 js/record.js 가 --arc-record-progress(%) 로만 넣는다(인라인 스타일 금지 예외) */
.arc-record__track {
  flex: 1 1 auto;
  min-inline-size: 0;
  block-size: var(--ds-number-2);                  /* 4px */
  border-radius: var(--ds-number-1);               /* 2px */
  background-color: var(--ds-color-gray-150);
  overflow: hidden;
}
.arc-record__bar {
  display: block;
  inline-size: calc(var(--arc-record-progress, 20) * 1%);
  block-size: 100%;
  border-radius: inherit;
  background-color: var(--ds-color-gray-900);
  transition: inline-size 0.3s ease;
}

/* 이미지 뷰어 버튼 — DS .ds-btn(각진 기본) + 시안 색만 컴포넌트 로컬 변수로 덮는다.
   DS primary 는 brand-500(보라)인데 시안은 indigo-600 이라 원시값 대신 토큰으로 교체. */
.arc-record__viewer-btn {
  --ds-btn--bg: var(--ds-color-indigo-600);
  --ds-btn--bg-hover: var(--ds-color-indigo-800);
  --ds-btn--bg-active: var(--ds-color-indigo-800);
  --ds-btn--color: var(--ds-color-white);
  --ds-btn--border: transparent;
}

/* ---- 우: 자료·공연 정보 ---- */
.arc-record__info {
  position: relative;                              /* 모바일 상단 라인(::before) 기준 */
  display: flex;
  flex-direction: column;
  justify-content: center;                         /* Figma: 좌컬럼이 높이를 정하고 우컬럼은 세로 가운데 */
  gap: var(--ds-number-20);                        /* 40px — PC 80px */
  padding-block: var(--ds-number-20);              /* 40px — PC 80px */
}
/* 모바일/태블릿(~1023): viewer 가 info 위로 스택된다 → 그 경계에 풀블리드 라인.
   (1024+ 는 2단 그리드라 viewer 의 세로선이 경계를 담당하므로 이 라인은 숨긴다) */
.arc-record__info::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: -100vw;                            /* 화면 좌우 끝까지 — .arc-record__main 의 overflow-x:clip 이 자른다 */
  block-size: var(--ds-border-width-thin);
  background-color: var(--ds-color-gray-250);
}
.arc-record__group {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-10);                        /* 20px — PC 40px */
}
.arc-record__group-title {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-size: var(--ds-font-size-18);               /* 모바일 18 → PC 24 (Figma size/24) */
  font-weight: var(--ds-typo-font-weight-bold);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-brand-primary-500);
}

/* 라벨/값 목록 — 2열 그리드(모바일 1열). 제목 행만 전체 폭.
   DOM 순서 = 행 우선(좌→우) 이라 화면 읽기 순서와 같다. */
.arc-record__list {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: var(--ds-number-20);                 /* 40px — Figma 열 간격 */
  row-gap: var(--ds-number-8);                     /* 16px — Figma 행 간격 */
  margin: 0;
}
.arc-record__row {
  display: flex;
  align-items: flex-start;
  gap: var(--ds-number-10);                        /* 20px — Figma 라벨↔값 */
  min-inline-size: 0;
}
.arc-record__row--wide { grid-column: 1 / -1; }
.arc-record__label {
  flex: 0 0 auto;
  inline-size: var(--ds-number-34);                /* 68px — 모바일. PC 80px (공용 .arc-card__label 과 같은 단계) */
  margin: 0;
  font-size: var(--ds-font-size-14);               /* 모바일 14 → PC 17 (Figma size/17) */
  font-weight: var(--ds-typo-font-weight-medium);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-600);
}
.arc-record__value {
  flex: 1 1 auto;
  min-inline-size: 0;
  margin: 0;
  font-size: var(--ds-font-size-15);               /* 모바일 15 → PC 18 (Figma size/18) */
  font-weight: var(--ds-typo-font-weight-semibold);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
  overflow-wrap: anywhere;
}

/* 자료정보 ↔ 공연정보 구분선 (Figma Divider 2349:4376) — 항상 풀블리드(화면 좌우 끝까지).
   모바일/태블릿: 좌우 대칭 -100vw. PC(1024+): 세로선(x720)에 붙고 오른쪽만 화면 끝까지 → @media 에서 override.
   .arc-record__main 의 overflow-x:clip 이 넘침을 잘라 가로스크롤은 안 생긴다. */
.arc-record__rule {
  display: block;
  block-size: var(--ds-border-width-thin);
  margin-inline: -100vw;
  background-color: var(--ds-color-gray-250);
}


/* ══════════════════════════════════════════════════════════════════════
   5. 공연내용 + 공공누리 (Figma "Info Section" 2349:4498)
   ══════════════════════════════════════════════════════════════════════ */
.arc-record__desc-inner {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-15);                        /* 30px — PC 60px */
  max-inline-size: var(--archive-frame);           /* 콘텐츠 1600 */
  padding-block: var(--ds-number-20);              /* 40px — PC 80px */
}
.arc-record__desc-text {
  margin: 0;
  font-size: var(--ds-font-size-15);               /* 모바일 15 → PC 19 (Figma size/19) */
  font-weight: var(--ds-typo-font-weight-medium);
  line-height: var(--ds-typo-line-height-body);    /* 긴 문단 → body(1.6) */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
}

/* 공공누리 저작권 박스 (Figma "PC-공공누리저작권" 2349:4848) */
.arc-record__kogl {
  display: flex;
  /* 모바일은 마크 위 / 문구 아래로 스택 — 가로로 두면 좁은 폭에서 문구가 5줄로 쪼개진다(실측).
     768+ 에서 시안대로 가로 배치로 되돌린다. */
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ds-number-10);                        /* 20px — PC 40px */
  padding: var(--ds-number-10);                    /* 20px — PC 40px */
  border-radius: var(--ds-radius-large);           /* 12px */
  background-color: var(--ds-color-indigo-100);
}
.arc-record__kogl-mark {
  flex: 0 0 auto;
  inline-size: 12rem;                              /* 120px — 모바일. PC 172px (Figma 172x64) */
  block-size: auto;
}
.arc-record__kogl-text {
  flex: 1 1 auto;
  min-inline-size: 0;
  margin: 0;
  font-size: var(--ds-font-size-14);               /* 모바일 14 → PC 17 (Figma size/17) */
  font-weight: var(--ds-typo-font-weight-medium);
  line-height: var(--ds-typo-line-height-body);    /* Figma leading 1.6 */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
}
/* 유형 문구만 흰 배경 칩 (Figma 2349:4881 — bg white / px 6 / indigo-600)
   줄바꿈되면 조각마다 좌우 패딩이 붙도록 clone — 안 하면 잘린 흰 상자가 들쭉날쭉해 보인다. */
.arc-record__kogl-type {
  padding-inline: var(--ds-number-3);              /* 6px */
  background-color: var(--ds-color-white);
  color: var(--ds-color-indigo-600);
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}


/* ══════════════════════════════════════════════════════════════════════
   6. 목록 버튼 (Figma "Button" 2349:4544 — 가운데 정렬)
   ══════════════════════════════════════════════════════════════════════ */
.arc-record__actions {
  display: flex;
  justify-content: center;
  padding-block-end: var(--ds-number-15);          /* 30px — PC 60px (관련자료 섹션과의 간격) */
}
/* 목록 버튼 — Figma "Button" 2349:4544 가로 112px. 좁은 화면에선 화면폭 넘지 않게 상한. */
.arc-record__actions .ds-btn {
  min-inline-size: 11.2rem;                        /* 112px — Figma */
  max-inline-size: 100%;
}


/* ══════════════════════════════════════════════════════════════════════
   7. 관련 공연 자료 (Figma "Footer Container" 2349:4541)
   그리드는 공용 .arc-cards 재사용(1열 → 2열 768 → 3열 1024 → 4열 1280).
   카드는 시안이 "이미지 + 하단 암부 + 흰 글씨 오버레이"라 공용 .arc-card 의
   세로형(썸네일 위 / 제목·메타 아래)과 형태가 다르다 → 이 스코프에서만 덮는다.
   ⚠ 공용 .arc-card 규칙(css/subpage.css)은 검색·리스트가 같이 쓰므로 손대지 않는다.
   ══════════════════════════════════════════════════════════════════════ */
.arc-record__rel {
  background-color: var(--ds-color-gray-50);      /* #FAFAFA */
}
/* 카드 hover 우상단 라운드 = 메인 archive-main.css 의 .arc-card--record 규칙을 그대로 복제.
   (record-view 는 archive-main.css 를 로드하지 않아 여기 둔다. 값도 메인과 동일: PC 10rem / 모바일 4rem) */
.arc-record__rel .arc-card--record { --record-hover-radius: 10rem; }
@media (max-width: 768px) {
  .arc-record__rel .arc-card--record { --record-hover-radius: 4rem; }
  .arc-record__rel .arc-card--record:hover,
  .arc-record__rel .arc-card--record:focus-within { border-start-end-radius: 4rem; }   /* hover 라운드 모바일 축소 */
  /* 이미지뷰어보기·목록 버튼 — xl 은 모바일에서도 56px 라 위계상 크다 → l(48) 로 축소 */
  .arc-record__viewer-btn,
  .arc-record__actions .ds-btn {
    min-height: var(--ds-btn--height-l);          /* 56 → 48 */
    padding-block: var(--ds-number-4);            /* 8px — xl 기본 py 축소 */
  }
}
.arc-record__rel-inner {
  max-inline-size: var(--archive-frame);           /* 콘텐츠 1600 */
  padding-block: var(--ds-number-20);              /* 40px — PC 80px */
}
.arc-record__rel-title {
  margin: 0 0 var(--ds-number-10);                 /* 아래 20px — Figma 제목↔카드 */
  font-family: var(--ds-typo-font-type-title);
  font-size: var(--ds-font-size-20);               /* 모바일 20 → PC 32 (Figma size/32) */
  font-weight: var(--ds-typo-font-weight-bold);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-black);
}

/* ---- 오버레이 카드 ---- */
.arc-record__rel .arc-card {
  position: relative;                              /* JS 주입 .arc-card__outline 기준 박스 */
  overflow: hidden;
  background-color: var(--arc-record-card-bg);
  transition: border-start-end-radius 0.5s ease;   /* hover 시 우상단 라운드가 부드럽게 들어옴 */
}
/* 평소엔 각짐, hover/focus 시에만 우상단 라운드 (사용자 요청 — 메인처럼).
   이때 보라 테두리(outline)와 이미지 클리핑이 함께 라운드가 되어 정합한다. */
.arc-record__rel .arc-card--record:hover,
.arc-record__rel .arc-card--record:focus-within {
  border-start-end-radius: 10rem;
}
.arc-record__rel .arc-card__link {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;                             /* Figma 카드 370x370 (공용 카드의 362/512 를 덮음) */
}
.arc-record__rel .arc-card__thumb {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;                              /* 공용 .arc-card__thumb 의 362/512 해제 */
}
.arc-record__rel .arc-card__thumb img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center top;                     /* Figma: 포스터 상단 기준으로 잘림 */
  display: block;
}
/* 하단 암부 (Figma 2352:2522 — 높이 220, 투명 → 검정) */
.arc-record__rel .arc-card__thumb::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: var(--arc-record-card-scrim-h);
  background-image: var(--arc-record-card-scrim);
}
/* 텍스트 오버레이 (Figma 2352:2494 — left 20 / 하단) */
.arc-record__rel-body {
  position: absolute;
  z-index: 1;
  inset-inline: var(--ds-number-10);               /* 20px */
  inset-block-end: var(--ds-number-10);            /* 20px */
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-2);                         /* 4px */
}
/* 분류 breadcrumb — 항목 사이에 DS chevron-right 아이콘 */
.arc-record__rel-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: var(--ds-font-size-14);               /* Figma 14 */
  font-weight: var(--ds-typo-font-weight-semibold);
  line-height: var(--ds-typo-line-height-heading);
  color: var(--ds-color-white);
}
.arc-record__rel-cat + .arc-record__rel-cat::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  inline-size: var(--ds-number-7);                 /* 14px — Figma chevron 14x14 */
  block-size: var(--ds-number-7);
  background-color: currentColor;
  -webkit-mask: url("../design-guide/resources/icons/chevron-right.svg") no-repeat center / contain;
          mask: url("../design-guide/resources/icons/chevron-right.svg") no-repeat center / contain;
}
/* 공용 .arc-card__title(어두운 글씨 + 보라 점선 밑줄)을 오버레이용으로 덮는다 */
.arc-record__rel .arc-card__title {
  padding-block: 0;
  border-block-end: 0;
  font-size: var(--ds-font-size-17);               /* 모바일 17 → PC 22 (Figma size/22) */
  font-weight: var(--ds-typo-font-weight-bold);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-white);
  word-break: keep-all;                            /* 한국어 단어 단위 줄바꿈 */
}

/* ---- hover = 메인(index.html) "주요 기록물" 카드와 동일 ----
   출처: css/archive-main.css (.arc-card--record / .arc-card__outline)
   · 이미지  transform: scale(1.04) · transition 0.5s ease
   · 테두리  violet SVG stroke 를 시계방향으로 그림 · 0.55s cubic-bezier(.22,.61,.36,1)
             (SVG 는 js/archive-main.js 의 initCardOutline() 이 .arc-card--record 에 주입)
   공용 .arc-card 의 hover 는 이미지 0.35s + 제목색 brand-500 이라 다르다 → 아래에서 맞춘다.
   ⚠ archive-main.css 는 메인 전용이라 이 페이지에 로드되지 않는다. 규칙 중복이지만
      공용 CSS 를 건드리지 않기 위해 페이지 스코프로 다시 선언한다(값은 출처와 동일). */
.arc-record__rel .arc-card__outline {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.arc-record__rel .arc-card__outline path {
  fill: none;
  stroke: var(--ds-color-brand-500);
  stroke-width: 5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;                            /* 기본 숨김 */
  transition: stroke-dashoffset 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.arc-record__rel .arc-card--record:hover .arc-card__outline path,
.arc-record__rel .arc-card--record:focus-within .arc-card__outline path {
  stroke-dashoffset: 0;
}
.arc-record__rel .arc-card__thumb img { transition: transform 0.5s ease; }   /* 공용 0.35s → 메인과 같은 0.5s */
.arc-record__rel .arc-card--record:hover .arc-card__thumb img,
.arc-record__rel .arc-card--record:focus-within .arc-card__thumb img {
  transform: scale(1.04);
}
/* 공용 .arc-card__link:hover 의 제목 색변화(brand-500)는 흰 글씨 오버레이에 안 맞으므로 해제 */
.arc-record__rel .arc-card__link:hover .arc-card__title,
.arc-record__rel .arc-card__link:focus-visible .arc-card__title {
  color: var(--ds-color-white);
}
@media (prefers-reduced-motion: reduce) {
  .arc-record__rel .arc-card__outline path,
  .arc-record__rel .arc-card__thumb img,
  .arc-record__slide,
  .arc-record__bar { transition: none; }
}


/* ══════════════════════════════════════════════════════════════════════
   8. 태블릿 (768+)
   ══════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .arc-record__kinds .ds-tab__list { gap: var(--ds-number-12); }        /* 24px */
  .arc-record__kinds .ds-tab__btn { padding-block-end: var(--ds-number-8); font-size: var(--ds-font-size-16); }   /* 16px */

  .arc-record__title { font-size: var(--ds-font-size-28); }
  .arc-record__titlebar-inner { padding-block: var(--ds-number-20); }   /* 40px */

  .arc-record__group-title { font-size: var(--ds-font-size-20); }
  .arc-record__label { inline-size: var(--ds-number-38); font-size: var(--ds-font-size-15); }   /* 76px */
  .arc-record__value { font-size: var(--ds-font-size-16); }
  .arc-record__list { grid-template-columns: repeat(2, 1fr); }          /* 2열 시작 */

  .arc-record__desc-text { font-size: var(--ds-font-size-16); }
  .arc-record__kogl {
    flex-direction: row;                                               /* 시안대로 가로 배치 복귀 */
    align-items: center;
    gap: var(--ds-number-15);                                          /* 30px */
    padding: var(--ds-number-15);
  }
  .arc-record__kogl-text { font-size: var(--ds-font-size-15); }
  .arc-record__kogl-mark { inline-size: 14rem; }                        /* 140px */

  .arc-record__rel-title { font-size: var(--ds-font-size-24); }
  .arc-record__rel .arc-card__title { font-size: var(--ds-font-size-18); }
}


/* ══════════════════════════════════════════════════════════════════════
   9. 큰 태블릿 / 작은 노트북 (1024+) — 2단 레이아웃 + 풀블리드 라인 등장
   ══════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  /* 좌 트랙 = 콘텐츠의 30%(=480 @1600) + 80(padding) → border 가 정확히 두 컬럼 사이 한가운데 */
  .arc-record__main {
    display: grid;
    grid-template-columns: minmax(0, calc(30% + var(--arc-record-gap-half))) minmax(0, 1fr);
    column-gap: var(--arc-record-gap-half);        /* 80px (나머지 80 은 좌컬럼 padding) */
    align-items: stretch;                          /* 세로선이 본문 높이 전체를 차지 */
  }

  /* 세로선 — Figma Left Column 의 border-right (x=720 @1920, 본문 높이 전체) */
  .arc-record__viewer {
    padding-inline-end: var(--arc-record-gap-half);
    border-inline-end: var(--ds-border-width-thin) solid var(--ds-color-gray-250);
    justify-content: flex-start;
  }

  /* 가로선 — Figma Divider: 세로선(x=720)에서 화면 오른쪽 끝까지 풀블리드.
     좌: 그리드 갭 안으로 -80 → 세로선에 딱 붙는다.
     우: 콘텐츠(1760) 를 넘어 화면 끝까지 흘려보낸다. .arc-record__main 의
         overflow-x: clip 이 잘라내므로 가로스크롤은 생기지 않는다. */
  .arc-record__rule {
    margin-inline: calc(-1 * var(--arc-record-gap-half)) -100vw;   /* 좌: 세로선에 붙음 / 우: 화면 끝까지 */
  }
  .arc-record__info::before { display: none; }     /* 2단 그리드에선 viewer 의 세로선이 경계 → 모바일 상단 라인 숨김 */

  .arc-record__rel .arc-card__title { font-size: var(--ds-font-size-20); }
}


/* ══════════════════════════════════════════════════════════════════════
   10. 데스크톱 (1280+) — Figma 1920 확정값
   ══════════════════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
  .arc-record__kinds .ds-tab__list { gap: var(--ds-number-15); }        /* 30px — Figma */
  .arc-record__kinds .ds-tab__btn { padding-block-end: var(--ds-number-10); font-size: var(--ds-font-size-18); }   /* 18px — Figma */

  /* 제목 밴드 — Figma py 60 / 제목 40 SemiBold / gap 40 */
  .arc-record__titlebar-inner { padding-block: var(--ds-number-30); }   /* 60px */
  .arc-record__title { font-size: var(--ds-font-size-40); }

  /* 본문 — Figma py 80 / 좌우 컬럼 갭 80+80 / 포스터블록↔버튼 80 */
  .arc-record__info { padding-block: var(--ds-number-40); }             /* 80px */
  .arc-record__viewer {
    gap: var(--ds-number-40);                                           /* 80px */
    padding-block: var(--ds-number-40) 0;                               /* 80px / 0 — Figma 좌컬럼은 하단 패딩 없음 */
  }
  .arc-record__info { gap: var(--ds-number-40); }                       /* 80px — 섹션↔선↔섹션 */
  .arc-record__group { gap: var(--ds-number-20); }                      /* 40px — 소제목↔목록 */
  .arc-record__group-title { font-size: var(--ds-font-size-24); }       /* Figma size/24 */
  .arc-record__label {
    inline-size: var(--ds-number-40);                                   /* 80px — Figma */
    font-size: var(--ds-font-size-17);                                  /* Figma size/17 */
  }
  .arc-record__value { font-size: var(--ds-font-size-18); }             /* Figma size/18 */

  /* 공연내용 — Figma py 80 / gap 60 / 본문 19 */
  .arc-record__desc-inner {
    gap: var(--ds-number-30);                                           /* 60px */
    padding-block: var(--ds-number-40);                                 /* 80px */
  }
  .arc-record__desc-text { font-size: var(--ds-font-size-19); }         /* Figma size/19 */

  /* 공공누리 — Figma p 40 / gap 40 / 마크 172x64 / 17px */
  .arc-record__kogl { gap: var(--ds-number-20); padding: var(--ds-number-20); }
  .arc-record__kogl-mark { inline-size: 17.2rem; }                      /* 172px — Figma */
  .arc-record__kogl-text { font-size: var(--ds-font-size-17); }         /* Figma size/17 */

  /* 목록 버튼 ↔ 관련자료 섹션 = Figma 60 (실측 61) */
  .arc-record__actions { padding-block-end: var(--ds-number-30); }      /* 60px */

  /* 관련 공연 자료 — Figma py 80 / 제목 32 / 카드 갭 40 */
  .arc-record__rel-inner { padding-block: var(--ds-number-40); }        /* 80px */
  .arc-record__rel-title {
    margin-block-end: var(--ds-number-10);                              /* 20px — Figma */
    font-size: var(--ds-font-size-32);                                  /* Figma size/32 */
  }
  .arc-record__rel-list.arc-cards {
    --arc-card-gap-x: var(--ds-number-20);                              /* 40px — Figma (공용 48 을 덮음) */
    --arc-card-gap-y: var(--ds-number-20);
  }
  .arc-record__rel .arc-card__title { font-size: var(--ds-font-size-22); }   /* Figma size/22 */
}


/* ══════════════════════════════════════════════════════════════════════
   404 페이지 (헤더/푸터 없이 본문만 — Figma 99-404) : 화면 중앙, 모바일 위계 축소
   ══════════════════════════════════════════════════════════════════════ */
.arc-404 {
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--ds-number-10);                          /* 20px — 모바일. PC 24 */
  padding: var(--ds-number-30) var(--archive-gutter);   /* 60px 상하 + 좌우 거터 */
  text-align: center;
}
.arc-404__code {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: 8rem;                                   /* 80px — 모바일. PC 160(Figma) */
  line-height: 1;
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-brand-primary-500);          /* #4B2EC6 */
}
.arc-404__title {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-24);                 /* 24 — 모바일. PC 36(Figma) */
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
}
.arc-404__desc {
  margin: 0;
  font-size: var(--ds-font-size-15);                 /* 15 — 모바일. PC 18(Figma) */
  font-weight: var(--ds-typo-font-weight-medium);
  line-height: var(--ds-typo-line-height-body);      /* 1.6 */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-600);
}
.arc-404__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-block-start: var(--ds-number-4);            /* 8px — 안내 ↔ 버튼 추가 여백 */
  padding: var(--ds-number-5) var(--ds-number-13);   /* 10/26 — 모바일(버튼 높이 축소). PC 16/32(Figma) */
  border-radius: 0;
  background-color: var(--ds-color-indigo-800);      /* #162552 (사용자 변경) */
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-medium);
  font-size: var(--ds-font-size-16);                 /* 16 — 모바일. PC 18(Figma) */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-white);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.arc-404__home:hover,
.arc-404__home:focus-visible { background-color: var(--ds-color-indigo-900); }
.arc-404__home:focus-visible { outline: var(--ds-border-width-medium) solid var(--ds-color-indigo-800); outline-offset: 2px; }

@media (min-width: 768px) {
  .arc-404 { gap: var(--ds-number-12); }                       /* 24px */
  .arc-404__code  { font-size: 16rem; }                        /* 160px — Figma */
  .arc-404__title { font-size: var(--ds-font-size-36); }       /* 36 — Figma */
  .arc-404__desc  { font-size: var(--ds-font-size-18); }       /* 18 — Figma */
  .arc-404__home  { padding: var(--ds-number-8) var(--ds-number-16); font-size: var(--ds-font-size-18); }
}


/* ══════════════════════════════════════════════════════════════════════
   큐레이션 목록 (.arc-curation-list) — Figma [경기아트센터] 03큐레이션-리스트 (2510:2138)
   ─ 상단 히어로(사진 + 네이비 오버레이 + 카피) + 대표 카드 1 + 소형 카드 6 (2열×3행).
   ─ 결과바(총 N개 + 정렬 2)·페이지네이션은 목록 공용(.arc-result__* / .ds-pagination) 재사용.
   ─ 모바일 퍼스트: 카드 1열 → 소형 2열(768) → 대표 좌측 + 소형 우측 2열(1280, Figma 시안).

   ┌ 1920 세로 리듬 (Figma 실측) ────────────────────────────────────────┐
   │ 히어로 이미지     = 1800 × 400 (풀블리드 아님 · 좌우 60 여백)         │
   │ 히어로 ↔ 결과바   =  80  (Figma contents gap)                        │
   │ 결과바 ↔ 카드     =  40  (공용 .arc-result__bar)                     │
   │ 페이지네이션 ↔ 푸터 = 120 (전 페이지 공통 규칙)                       │
   └────────────────────────────────────────────────────────────────────┘
   ══════════════════════════════════════════════════════════════════════ */
.arc-curation-list {
  /* 히어로 오버레이 = indigo-800(#162552) @ 50% — DS 팔레트에 alpha 변형이 없어 여기서 정의(정의부).
     NEW 배지 = brand/500(#4B2EC6) @ 80% + blur 5px — 공용 카드 배지(--arc-card-cat-rec)와 같은 값이나
     이 페이지는 .arc-cards 스코프를 쓰지 않으므로 자체 토큰으로 둔다. */
  --cur-hero-overlay: rgba(22, 37, 82, 0.5);
  --cur-badge-bg: rgba(75, 46, 198, 0.8);
  --cur-cards-gap: var(--ds-number-20);           /* 40px — 모바일. PC 60px */
}

/* ---- 상단 히어로 이미지 ---- */
.arc-curation-list__hero {
  position: relative;
  overflow: hidden;
  inline-size: min(180rem, 100% - var(--archive-gutter) * 2);   /* 1800 — 좌우 60 여백(그 이하는 gutter) */
  min-block-size: 32rem;                                         /* 320 — 모바일. PC 400 */
  margin-inline: auto;
  display: flex;
  background: var(--ds-color-gray-900) url("../assets/curation-hero.jpg") center / cover no-repeat;
}
.arc-curation-list__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cur-hero-overlay);
}
.arc-curation-list__hero-copy {
  position: relative;                 /* 오버레이 위 */
  z-index: 1;
  display: flex;
  flex-direction: column;             /* 모바일: 타이틀 위 / 설명 아래 세로 스택. PC 가로 배치 */
  justify-content: flex-end;          /* 하단 정렬(Figma 카피가 밴드 하부에 위치) */
  gap: var(--ds-number-6);            /* 12px */
  inline-size: 100%;
  padding: var(--ds-number-16);       /* 32 — 모바일. PC 좌우 100 / 하단 60 */
}
.arc-curation-list__hero-title {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-24);  /* 모바일 24 → 태블릿 36 → PC 50(Figma) */
  line-height: var(--ds-typo-line-height-heading);   /* 1.3 */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-white);
}
.arc-curation-list__hero-desc {
  margin: 0;
  max-inline-size: 86rem;
  font-family: var(--ds-typo-font-type-body);
  font-weight: var(--ds-typo-font-weight-medium);
  font-size: var(--ds-font-size-14);  /* 모바일 14 → 태블릿 16 → PC 20(Figma) */
  line-height: var(--ds-typo-line-height-body);      /* 1.6 */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-white);
}

/* ---- 본문(결과바 + 카드 + 페이지네이션) : 콘텐츠 폭 1600 ---- */
.arc-curation-list__body {
  max-inline-size: var(--archive-frame);
  margin-inline: auto;
  margin-block-start: var(--ds-number-20);   /* 히어로 ↔ 결과바 40 — 모바일. PC 80 */
  padding-inline: var(--archive-gutter);
  padding-block-end: var(--ds-number-30);    /* 페이지네이션 ↔ 푸터 60 — 모바일. PC 120 */
}

/* ---- 카드 그리드 ---- */
.arc-cur-cards {
  display: flex;
  flex-direction: column;             /* 모바일: 대표 카드 위 + 소형 카드 아래 세로 */
  gap: var(--cur-cards-gap);
}
/* 빈 상태 — 루트에 .is-empty 가 걸리면 카드·페이지네이션 숨김(공용 .arc-empty 메시지 노출).
   .is-empty 가 붙으면 빈 결과 문구를 보여 줌. */
.arc-curation-list.is-empty .arc-cur-cards,
.arc-curation-list.is-empty .arc-result__pagination { display: none; }
.arc-cur-cards__rest {
  display: grid;
  grid-template-columns: 1fr;         /* 모바일 1열 → 768 2열 → 1280 우측 영역 2열 */
  gap: var(--cur-cards-gap);
}
.arc-cur-card { min-inline-size: 0; }
.arc-cur-card__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.arc-cur-card__thumb {
  position: relative;                 /* NEW 배지 기준 박스 */
  display: block;
  aspect-ratio: 760 / 672;            /* Figma 카드 이미지 비율(대표·소형 동일 계열) */
  overflow: hidden;
  border: var(--ds-border-width-thin) solid var(--ds-color-gray-250);
  background-color: var(--ds-color-gray-50);
  /* 대표이미지가 없거나 못 불러오면 퍼블 기본 그림 (2026-10-06) */
  background-image: url("../assets/no-image.svg");
  background-position: center;
  background-size: cover;
}
.arc-cur-card__thumb img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.arc-cur-card__link:hover .arc-cur-card__thumb img,
.arc-cur-card__link:focus-visible .arc-cur-card__thumb img { transform: scale(1.04); }

/* 게시일 — 제목 아래(시트 104행 · 관리자 큐레이션 §13-1 · 10/8). 시안에 자리가 없어 부제와 같은 결의 작은 회색 글씨 */
.arc-cur-card__date {
  display: block;
  padding-block-start: var(--ds-number-4);          /* 8 — 제목 ↔ 날짜 */
  font-family: var(--ds-typo-font-type-body);
  font-weight: var(--ds-typo-font-weight-medium);
  font-size: var(--ds-font-size-14);                /* 모바일 14 → 태블릿 15 → PC 16 */
  line-height: var(--ds-typo-line-height-body);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-600);
}

/* NEW 배지 — Figma CatBadge, 썸네일 좌상단(테두리 안쪽 1px). brand/500 @80% + blur */
.arc-cur-card__badge {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: inline-flex;
  align-items: center;
  padding: var(--ds-number-3) var(--ds-number-5);   /* 6/10 — 모바일. PC 8/12(Figma) */
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-14);                /* 모바일 14 → PC 17(Figma) */
  line-height: normal;
  color: var(--ds-color-white);
  white-space: nowrap;
  background-color: var(--cur-badge-bg);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

/* 제목 — 최대 2줄(넘치면 말줄임). 행 높이 고정으로 그리드 카드 하단 정렬 통일 */
.arc-cur-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-block-size: calc(2 * var(--ds-typo-line-height-heading) * 1em);
  padding-block-start: var(--ds-number-10);         /* 20 — 이미지 ↔ 제목 */
  font-family: var(--ds-typo-font-type-title);
  font-weight: var(--ds-typo-font-weight-bold);
  font-size: var(--ds-font-size-19);                /* 소형: 모바일 19 → 태블릿 22 → PC 24(Figma) */
  line-height: var(--ds-typo-line-height-heading);  /* 1.2~1.3 */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
  overflow-wrap: anywhere;
}
.arc-cur-card__link:hover .arc-cur-card__title,
.arc-cur-card__link:focus-visible .arc-cur-card__title { color: var(--ds-color-brand-primary-500); }

/* 대표(feature) 카드 — 제목 32 + 부제 19 */
.arc-cur-card--feature .arc-cur-card__thumb { aspect-ratio: 770 / 680; }
.arc-cur-card--feature .arc-cur-card__title {
  -webkit-line-clamp: 3;
  line-clamp: 3;
  min-block-size: 0;
  font-size: var(--ds-font-size-24);                /* 대표: 모바일 24 → 태블릿 28 → PC 32(Figma) */
}
.arc-cur-card__subtitle {
  margin: 0;
  padding-block-start: var(--ds-number-2);          /* 4 — 제목 ↔ 부제 */
  font-family: var(--ds-typo-font-type-body);
  font-weight: var(--ds-typo-font-weight-medium);
  font-size: var(--ds-font-size-15);                /* 부제: 모바일 15 → 태블릿 17 → PC 19(Figma) */
  line-height: var(--ds-typo-line-height-body);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-600);
}

/* ── 태블릿 (768+) ─────────────────────────────────────────────── */
@media (min-width: 768px) {
  .arc-curation-list__hero-copy { padding: var(--ds-number-24); }   /* 48 */
  .arc-curation-list__hero-title { font-size: var(--ds-font-size-36); }
  .arc-curation-list__hero-desc  { font-size: var(--ds-font-size-16); }
  .arc-curation-list__body { margin-block-start: var(--ds-number-30); }   /* 60 */

  .arc-cur-cards__rest { grid-template-columns: repeat(2, 1fr); }
  .arc-cur-card__title { font-size: var(--ds-font-size-22); }
  .arc-cur-card__badge { font-size: var(--ds-font-size-15); }
  .arc-cur-card--feature .arc-cur-card__title { font-size: var(--ds-font-size-28); }
  .arc-cur-card__subtitle { font-size: var(--ds-font-size-17); }
  .arc-cur-card__date { font-size: var(--ds-font-size-15); }
}

/* ── 데스크톱 (1280+) : 대표 카드 좌측 + 소형 2열 우측 (히어로는 세로 유지) ──
   ⚠ 대표 카드는 고정폭(770) 금지 — 폭이 줄면 대표만 크고 소형이 짜부라진다.
     시안 770:770(gap60)=1:1 이므로 flex 1:1 로 두면 어느 폭에서도 대표:소형 비율이 그대로 유지된다. */
@media (min-width: 1280px) {
  .arc-curation-list {
    --cur-cards-gap: var(--ds-number-30);           /* 60px — Figma 카드 간격 */
  }
  .arc-curation-list__hero {
    min-block-size: 40rem;                          /* 400 — Figma */
    /* 시안: 1920에서 히어로 1800(좌우 60). 공용 gutter(5vw≈96)는 그보다 커서 1728로 줄어든다
       → 데스크톱만 좌우 6rem(60) 고정으로 1920에서 정확히 1800 도달(≥2000은 180rem 캡). */
    inline-size: min(180rem, 100% - 12rem);
  }
  /* 히어로 카피는 세로 스택 유지(가로 배치는 폭이 충분한 ≥1600에서만). 타이틀 위계만 키운다. */
  .arc-curation-list__hero-title { font-size: var(--ds-font-size-44); }
  .arc-curation-list__hero-desc  { font-size: var(--ds-font-size-18); }
  .arc-curation-list__body { margin-block-start: var(--ds-number-40); padding-block-end: 12rem; }   /* 80 / 120 */

  .arc-cur-cards { flex-direction: row; align-items: flex-start; gap: var(--ds-number-30); }
  .arc-cur-card--feature {
    flex: 1 1 0; min-inline-size: 0;                 /* 시안 770:770=1:1 — 폭 줄어도 비율 유지 */
    /* 대표 카드는 스크롤 시 좌측에 고정(오른쪽 소형 카드가 지나가는 동안 붙어 있음).
       고정 헤더(--arc-gnb-h=120)를 피해 그 아래 30 여백에 붙는다. 세로 스택 구간(<1280)엔 미적용. */
    position: sticky;
    inset-block-start: calc(var(--arc-gnb-h) + var(--ds-number-15));
    align-self: flex-start;
  }
  .arc-cur-cards__rest { flex: 1 1 0; min-inline-size: 0; }
  .arc-cur-card__title { font-size: var(--ds-font-size-24); }
  .arc-cur-card__badge { padding: var(--ds-number-4) var(--ds-number-6); font-size: var(--ds-font-size-17); }
  .arc-cur-card--feature .arc-cur-card__title { font-size: var(--ds-font-size-32); }
  .arc-cur-card__subtitle { font-size: var(--ds-font-size-19); }
  .arc-cur-card__date { font-size: var(--ds-font-size-16); }
}

/* ── 초광폭 (1600+) : Figma 시안 — 히어로 가로 배치(타이틀 좌 / 설명 우) ──
   설명이 짜부라지지 않고 2~3줄로 읽히려면 폭이 충분해야 한다 → 1600 이상에서만 가로 전환. */
@media (min-width: 1600px) {
  .arc-curation-list__hero-copy {
    flex-direction: row;                            /* 타이틀 좌 / 설명 우 */
    align-items: flex-end;
    gap: 10rem;                                     /* 100 — 타이틀 ↔ 설명 */
    padding: 0 10rem var(--ds-number-30);           /* 좌우 100 / 하단 60(Figma) */
  }
  .arc-curation-list__hero-title { flex: 0 0 auto; font-size: var(--ds-font-size-50); }
  .arc-curation-list__hero-desc  { flex: 0 1 auto; font-size: var(--ds-font-size-20); }
}


/* ══════════════════════════════════════════════════════════════════════
   큐레이션 상세 (.arc-cur-view) — Figma 2527:2943 "03큐레이션-리스트"(상세)
   구성: 상단 포스터 밴드 → 본문 아티클(1200 중앙) → 표 → 저작권 안내
         → 관련 기록물(공용 .arc-card + 슬라이더) → 관련 단체 → 목록버튼 → 추천 큐레이션(.arc-cur-card)
   모바일 퍼스트. Figma 값 = PC(1920) 기준 → 모바일은 위계에 맞춰 축소, 768/1280 에서 단계 상향.
   ══════════════════════════════════════════════════════════════════════ */
.arc-cur-view {
  display: flex;
  flex-direction: column;
  /* 본문 콘텐츠 컬럼 프레임 = 1200(Figma Frame148 안쪽) + 좌우 거터. 좁은 화면에선 100%-거터*2 로 자동 축소.
     본문·관련기록물·경기도극단 모두 이 값을 써서 좌우 끝을 정확히 맞춘다(추천 큐레이션만 1600 프레임). */
  --cvv-frame: calc(120rem + var(--archive-gutter) * 2);
}

/* ---- 1. 상단 포스터 밴드 (Figma "Poster Image" 2527:2954 — 1800×448) ---- */
.arc-cur-view__hero {
  inline-size: min(180rem, 100% - var(--archive-gutter) * 2);   /* 최대 1800, 좁으면 거터만큼 안쪽 */
  margin-inline: auto;
  aspect-ratio: 1800 / 448;
  min-block-size: 20rem;                            /* 모바일에서 너무 얇은 띠 방지 */
  overflow: hidden;
  border-radius: var(--ds-radius-large);            /* 12px */
  background-color: var(--ds-color-gray-100);
}
.arc-cur-view__hero img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}

/* ---- 2. 본문 아티클 (Figma "Frame 148" 2527:2959 — 콘텐츠 1200 중앙) ---- */
.arc-cur-view__article {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-15);                         /* 30 — content/표/안내 사이. PC 60 */
  inline-size: 100%;
  max-inline-size: var(--cvv-frame);                /* 콘텐츠 텍스트폭 1200 — 시안 본문 컬럼(프레임보다 좁음) */
  margin-inline: auto;
  margin-block: var(--ds-number-20);                /* 40 — 히어로↔본문 / 본문↔관련. PC 80 */
  padding-inline: var(--archive-gutter);
}
.arc-cur-view__content {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-12);                         /* 24 — 문단/소제목/구분선 사이. PC 40 */
}

/* 제목 + 작성자/날짜 */
.arc-cur-view__head {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-10);                         /* 20 — 제목↔작성자. PC 40 */
}
.arc-cur-view__title {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-size: var(--ds-font-size-28);                /* 모바일 28 → 768 32 → 1280 44(Figma) */
  font-weight: var(--ds-typo-font-weight-semibold);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
  overflow-wrap: anywhere;
}
.arc-cur-view__byline {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-2);                          /* 4 */
  margin: 0;
  font-size: var(--ds-font-size-15);                /* 모바일 15 → 1280 18(Figma) */
  line-height: var(--ds-typo-line-height-body);
  letter-spacing: var(--ds-typo-letter-spacing);
}
.arc-cur-view__author {
  font-weight: var(--ds-typo-font-weight-bold);
  color: var(--ds-color-gray-900);
}
.arc-cur-view__date {
  font-weight: var(--ds-typo-font-weight-regular);
  color: var(--ds-color-gray-900);
}

/* 인트로 문단 묶음 — head 와 80 간격(=content gap 을 margin 으로 배가) */
.arc-cur-view__intro {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-10);                         /* 20 — 문단 사이(빈 줄). PC 30 */
  margin-block-start: var(--ds-number-12);          /* +24 → head↔intro 48. PC +40 → 80 */
}

/* 구분선 (Figma 디바인더 2527:2962 — gray-250 1px, 콘텐츠 폭) */
.arc-cur-view__rule {
  inline-size: 100%;
  block-size: var(--ds-border-width-thin);
  margin: 0;
  border: 0;
  background-color: var(--ds-color-gray-250);
}

/* 소제목 (Figma 2527:2964 — brand/500) */
.arc-cur-view__section-title {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-size: var(--ds-font-size-24);                /* 모바일 24 → 768 28 → 1280 36(Figma) */
  font-weight: var(--ds-typo-font-weight-bold);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-brand-primary-500);
  overflow-wrap: anywhere;
}
/* 부제 (Figma 2527:2965) */
.arc-cur-view__subtitle {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-size: var(--ds-font-size-18);                /* 모바일 18 → 768 20 → 1280 22(Figma) */
  font-weight: var(--ds-typo-font-weight-bold);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
  overflow-wrap: anywhere;
}

/* 본문 문단 + 이미지 행 */
.arc-cur-view__body {
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-12);                         /* 24 — 문단/이미지 사이. PC 40 */
}
.arc-cur-view__intro p,
.arc-cur-view__body p,
.arc-cur-view__lead {
  margin: 0;
  font-size: var(--ds-font-size-15);                /* 모바일 15 → 768 17 → 1280 19(Figma) */
  font-weight: var(--ds-typo-font-weight-regular);
  line-height: var(--ds-typo-line-height-body);     /* 1.6 */
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
  overflow-wrap: anywhere;
}

/* 본문 이미지 행 (Figma 2527:2968 — 세로1 + 가로3). 좁은 화면=가로 스크롤 스트립. */
.arc-cur-view__figs {
  display: flex;
  align-items: flex-start;
  gap: var(--ds-number-6);                          /* 12 */
  overflow-x: auto;
  padding-block-end: var(--ds-number-2);            /* 스크롤바 여유 */
}
.arc-cur-view__fig {
  flex: 0 0 auto;
  block-size: 16rem;                                /* 가로형 기본 높이(모바일). PC 20.7rem */
  aspect-ratio: 295 / 207;
  overflow: hidden;
  background-color: var(--ds-color-gray-50);
}
.arc-cur-view__fig--portrait {
  block-size: 20rem;                                /* 세로형은 더 높게(Figma 266>207). PC 26.6rem */
  aspect-ratio: 206 / 266;
}
.arc-cur-view__fig img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}

/* ---- 3. 공연 목록 표 (Figma "Table" 2527:2976 — 라인형 + 헤더 보라 언더라인) ---- */
.arc-cur-view__table {
  inline-size: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;                               /* flex 자식 테이블이 컨테이너보다 좁게 줄 수 있게(기본 min-width:auto 해제 → 우측 넘침 방지) */
  border-collapse: collapse;
  table-layout: fixed;                              /* 컬럼폭 = 첫 행 지정폭 기준(콘텐츠로 안 벌어짐) */
}
.arc-cur-view__th,
.arc-cur-view__td {
  padding: var(--ds-number-6) var(--ds-number-8);   /* 12 / 16 — 모바일. PC 12 / 24 */
  text-align: start;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.arc-cur-view__th {
  background-color: var(--ds-color-gray-50);
  border-block-end: var(--ds-border-width-medium) solid var(--ds-color-brand-primary-500);   /* 헤더 보라 언더라인(2px) */
  font-family: var(--ds-typo-font-type-title);
  font-size: var(--ds-font-size-14);                /* 모바일 14 → PC 15(Figma) */
  font-weight: var(--ds-typo-font-weight-bold);
  line-height: var(--ds-typo-line-height-body);
  color: var(--ds-color-gray-900);
}
.arc-cur-view__td {
  background-color: var(--ds-color-white);
  border-block-end: var(--ds-border-width-thin) solid var(--ds-color-gray-300);
  font-size: var(--ds-font-size-15);                /* 공연명 모바일 15 → PC 19(Figma) */
  font-weight: var(--ds-typo-font-weight-regular);
  line-height: var(--ds-typo-line-height-body);
  color: var(--ds-color-gray-900);
}
.arc-cur-view__col--no   { width: 6rem;  text-align: center; }   /* 년도 — 모바일 60. PC 100 */
.arc-cur-view__col--date { width: 11rem; text-align: center; font-size: var(--ds-font-size-14); }   /* 공연일정 — 모바일 110. PC 160 */

/* ---- 4. 저작권 안내 (Figma "PC-공공누리저작권" 2531:2229 — 인디고 박스, 유형 이미지 없음) ---- */
.arc-cur-view__notice {
  display: flex;
  align-items: center;
  gap: var(--ds-number-8);                          /* 16 — 모바일. PC 20 */
  padding: var(--ds-number-10);                     /* 20 — 모바일. PC 40 */
  border-radius: var(--ds-radius-large);            /* 12px */
  background-color: var(--ds-color-indigo-100);
}
.arc-cur-view__notice-icon {
  flex: 0 0 auto;
  inline-size: var(--ds-number-14);                 /* 28 — 모바일. PC 32 */
  block-size: var(--ds-number-14);
  background-color: var(--ds-color-gray-900);
  -webkit-mask: url("../design-guide/resources/icons/alert-triangle.svg") no-repeat center / contain;
          mask: url("../design-guide/resources/icons/alert-triangle.svg") no-repeat center / contain;
}
.arc-cur-view__notice-text {
  flex: 1 1 auto;
  min-inline-size: 0;
  margin: 0;
  font-size: var(--ds-font-size-14);                /* 모바일 14 → 768 15 → 1280 16(Figma) */
  font-weight: var(--ds-typo-font-weight-medium);
  line-height: var(--ds-typo-line-height-body);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
}

/* ---- 공용 블록 타이틀 (관련 기록물 · 추천 큐레이션 — Figma size/32) ---- */
.arc-cur-view__block-title {
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-size: var(--ds-font-size-22);                /* 모바일 22 → 768 28 → 1280 32(Figma) */
  font-weight: var(--ds-typo-font-weight-bold);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-black);
  overflow-wrap: anywhere;
}

/* ---- 5. 관련 기록물 (Figma "Left Column" 2527:3024 — 상하 구분선 밴드) ---- */
.arc-cur-view__rel {
  border-block: var(--ds-border-width-thin) solid var(--ds-color-gray-250);
  padding-block: var(--ds-number-20);               /* 40 — 모바일. PC 80 */
}
.arc-cur-view__rel-inner {
  max-inline-size: var(--cvv-frame);                /* 본문 콘텐츠(1200)와 동일 폭·동일 좌우끝 */
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-12);                          /* 24 — 제목↔카드↔페이저. PC 40 */
}
/* 캐러셀 — 뷰포트가 넘침을 자르고, 트랙을 한 페이지(=3장 그리드) 폭만큼 가로 슬라이드.
   JS(js/curation-view.js)는 인라인 style 대신 --rel-index(정수)만 세팅 → 여기서 translate 로 환산. */
.arc-cur-view__rel-viewport { overflow: hidden; }
.arc-cur-view__rel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);   /* 천천히 멈추게 — 7/28 「빠르고 매끄럽지 않음」 지적(시트 125행). 이동은 JS(js/curation-view.js)가 style.transform 으로 런타임 세팅(인라인 style 예외 ⓑ) */
}
/* 각 페이지 = 뷰포트 100% 폭의 카드 그리드(공용 .arc-cards). 관련 기록물은 3열(시안), 썸네일 비율만 566/462. */
.arc-cur-view__rel-page {
  flex: 0 0 100%;
  min-inline-size: 0;
  grid-template-columns: 1fr;                        /* 모바일 1열 → 768+ 3열 */
}
.arc-cur-view__rel-page .arc-card__thumb { aspect-ratio: 566 / 462; }
/* 페이지네이션 — 슬라이더(.arc-record__slider) 재사용. 그 컴포넌트의 nav 크기 변수만 공급하고 폭만 제한. */
.arc-cur-view__relpager {
  --arc-record-nav: var(--ds-number-22);            /* 44 — 좌우 원형 버튼(.arc-record 스코프 밖이라 여기서 공급) */
  max-inline-size: 60rem;                           /* 600 — Figma pagination */
  margin-inline: auto;
}
/* 모션 최소화 선호 시 슬라이드 애니메이션 제거(즉시 전환) */
@media (prefers-reduced-motion: reduce) {
  .arc-cur-view__rel-track,
  .arc-cur-view__reco-track { transition: none; }
}

/* ---- 6. 관련 단체 (Figma "Right Column" 2527:3006 — 라벨 + 소개) ---- */
.arc-cur-view__org {
  padding-block: var(--ds-number-20);               /* 40 — 모바일. PC 80 */
}
.arc-cur-view__org-inner {
  max-inline-size: var(--cvv-frame);                /* 본문 콘텐츠(1200)와 동일 폭·동일 좌우끝 */
  display: flex;
  flex-direction: column;                           /* 모바일: 라벨 위 / 본문 아래. PC: 좌우 2단 */
  gap: var(--ds-number-10);                         /* 20 */
}
.arc-cur-view__org-title {
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--ds-typo-font-type-title);
  font-size: var(--ds-font-size-18);                /* 모바일 18 → 768 20 → 1280 24(Figma) */
  font-weight: var(--ds-typo-font-weight-bold);
  line-height: var(--ds-typo-line-height-heading);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-brand-primary-500);
}
.arc-cur-view__org-text {
  flex: 1 1 auto;
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-10);                         /* 20 — 문단 사이. PC 30 */
}
.arc-cur-view__org-text p {
  margin: 0;
  font-size: var(--ds-font-size-15);                /* 모바일 15 → 768 16 → 1280 18(Figma) */
  font-weight: var(--ds-typo-font-weight-medium);
  line-height: var(--ds-typo-line-height-body);
  letter-spacing: var(--ds-typo-letter-spacing);
  color: var(--ds-color-gray-900);
  overflow-wrap: anywhere;
}

/* ---- 7. 목록 버튼 (Figma "Button" 2527:3045 — DS 3차 버튼) ---- */
.arc-cur-view__actions {
  display: flex;
  justify-content: center;
  padding-block: var(--ds-number-20);               /* 40 — 모바일. PC 80 */
}
.arc-cur-view__actions .ds-btn { min-inline-size: 11.2rem; }   /* 112 — Figma */

/* ---- 8. 추천 큐레이션 (Figma "Footer Container" 2527:3046 — gray-100 밴드) ---- */
.arc-cur-view__reco {
  padding-block: var(--ds-number-20);               /* 40 — 모바일. PC 80 */
  background-color: var(--ds-color-gray-100);
}
.arc-cur-view__reco-inner {
  max-inline-size: var(--archive-frame);            /* 1600 안쪽 */
  display: flex;
  flex-direction: column;
  gap: var(--ds-number-15);                         /* 30 — 제목↔카드. PC 40 */
}
/* 쪽 넘김 — 관련 기록물과 같은 방식(뷰포트가 자르고 트랙을 한 쪽 폭만큼 이동 · 시트 125행). 한 쪽 = 4장 그리드(.arc-cur-view__reco-list) */
.arc-cur-view__reco-viewport { overflow: hidden; }
.arc-cur-view__reco-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);   /* 관련 기록물과 같은 움직임 */
}
.arc-cur-view__reco-page {
  flex: 0 0 100%;
  min-inline-size: 0;
}
/* 카드는 큐레이션 리스트의 .arc-cur-card 재사용 — 여기선 4열 그리드 래퍼만 새로 둔다 */
.arc-cur-view__reco-list {
  display: grid;
  grid-template-columns: 1fr;                       /* 모바일 1 → 768 2 → 1280 4 */
  gap: var(--ds-number-20);                         /* 40 — 모바일/태블릿. PC 60(Figma) */
}


/* ══════════ 큐레이션 상세 — 태블릿(768+) ══════════ */
@media (min-width: 768px) {
  .arc-cur-view__title { font-size: var(--ds-font-size-32); }
  .arc-cur-view__section-title { font-size: var(--ds-font-size-28); }
  .arc-cur-view__subtitle { font-size: var(--ds-font-size-20); }
  .arc-cur-view__intro p,
  .arc-cur-view__body p,
  .arc-cur-view__lead { font-size: var(--ds-font-size-17); }
  .arc-cur-view__notice-text { font-size: var(--ds-font-size-15); }
  .arc-cur-view__block-title { font-size: var(--ds-font-size-28); }
  .arc-cur-view__org-title { font-size: var(--ds-font-size-20); }
  .arc-cur-view__org-text p { font-size: var(--ds-font-size-16); }

  /* 관련 기록물 3열 / 추천 2열 */
  .arc-cur-view__rel-page.arc-cards { grid-template-columns: repeat(3, 1fr); }
  .arc-cur-view__reco-list { grid-template-columns: repeat(2, 1fr); }
}


/* ══════════ 큐레이션 상세 — 데스크톱(1280+, Figma 1920 기준) ══════════ */
@media (min-width: 1280px) {
  .arc-cur-view__hero { inline-size: min(180rem, 100% - 12rem); }   /* 1920 에서 정확히 1800(좌우 60) */

  .arc-cur-view__article {
    gap: var(--ds-number-30);                       /* 60 */
    margin-block: var(--ds-number-40);              /* 80 — 히어로↔본문 / 본문↔관련 */
  }
  .arc-cur-view__content { gap: var(--ds-number-20); }              /* 40 */
  .arc-cur-view__head { gap: var(--ds-number-20); }                 /* 40 */
  .arc-cur-view__intro { gap: var(--ds-number-15); margin-block-start: var(--ds-number-20); }   /* 문단 30 / head↔intro 80 */
  .arc-cur-view__body { gap: var(--ds-number-20); }                 /* 40 */
  .arc-cur-view__title { font-size: var(--ds-font-size-44); }
  .arc-cur-view__byline { font-size: var(--ds-font-size-18); }
  .arc-cur-view__section-title { font-size: var(--ds-font-size-36); }
  .arc-cur-view__subtitle { font-size: var(--ds-font-size-22); }
  .arc-cur-view__intro p,
  .arc-cur-view__body p,
  .arc-cur-view__lead { font-size: var(--ds-font-size-19); }

  /* 이미지 행 — 시안 실측 높이(세로 266 / 가로 207), 가운데 정렬 */
  .arc-cur-view__figs { justify-content: center; overflow: visible; }
  .arc-cur-view__fig { block-size: 20.7rem; }
  .arc-cur-view__fig--portrait { block-size: 26.6rem; }

  /* 표 — Figma 패딩 12/24, 년도 100 / 공연일정 160, 공연명 19 */
  .arc-cur-view__th,
  .arc-cur-view__td { padding: var(--ds-number-6) var(--ds-number-12); }
  .arc-cur-view__th { font-size: var(--ds-font-size-15); }
  .arc-cur-view__td { font-size: var(--ds-font-size-19); }
  .arc-cur-view__col--no   { width: 10rem; }
  .arc-cur-view__col--date { width: 16rem; font-size: var(--ds-font-size-17); }

  /* 저작권 안내 — Figma gap 20 / padding 40 / 아이콘 32 / 문구 16 */
  .arc-cur-view__notice { gap: var(--ds-number-10); padding: var(--ds-number-20); }
  .arc-cur-view__notice-icon { inline-size: var(--ds-number-16); block-size: var(--ds-number-16); }
  .arc-cur-view__notice-text { font-size: var(--ds-font-size-16); }

  /* 관련 기록물 / 관련 단체 / 추천 — 밴드 여백 80, 블록 타이틀 32 */
  .arc-cur-view__rel  { padding-block: var(--ds-number-40); }
  .arc-cur-view__org  { padding-block: var(--ds-number-40); }
  .arc-cur-view__reco { padding-block: var(--ds-number-40); }
  .arc-cur-view__rel-inner { gap: var(--ds-number-20); }            /* 40 */
  .arc-cur-view__reco-inner { gap: var(--ds-number-20); }          /* 40 */
  .arc-cur-view__block-title { font-size: var(--ds-font-size-32); }

  /* 관련 단체 — 좌우 2단(라벨 260 + 본문) */
  .arc-cur-view__org-inner { flex-direction: row; align-items: flex-start; }
  .arc-cur-view__org-title { flex: 0 0 26rem; font-size: var(--ds-font-size-24); }   /* 260 */
  .arc-cur-view__org-text { gap: var(--ds-number-15); }             /* 30 */
  .arc-cur-view__org-text p { font-size: var(--ds-font-size-18); }

  /* 목록 버튼 여백 / 추천 4열 · 갭 60 */
  .arc-cur-view__actions { padding-block: var(--ds-number-40); }
  .arc-cur-view__reco-list { grid-template-columns: repeat(4, 1fr); gap: var(--ds-number-30); }   /* 60 */
}
