@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

@font-face {
  font-family: "Linearicons-Free";
  src: url("../fonts/Linearicons-Free.eot?w118d");
  src: url("../fonts/Linearicons-Free.eot?#iefixw118d") format("embedded-opentype"), url("../fonts/Linearicons-Free.woff2?w118d") format("woff2"), url("../fonts/Linearicons-Free.woff?w118d") format("woff"), url("../fonts/Linearicons-Free.ttf?w118d") format("truetype"), url("../fonts/Linearicons-Free.svg?w118d#Linearicons-Free") format("svg");
  font-weight: normal;
  font-style: normal;
}

@media screen {
  /* 럭스 베이스 팔레트: 아이보리·챠콜 (AURUM 톤) */
  :root {
    --lux-ivory: #ffffff;
    --lux-ivory-muted: #f5f5f5;
    --lux-ivory-deep: #ebebeb;
    --lux-charcoal: #2c2e35;
    --lux-charcoal-soft: #3d4049;
    --lux-text: #2c2e35;
    --lux-text-muted: #6b6e78;
    --lux-on-dark: #f2efdf;
    --lux-accent: #857960;
    --lux-accent-hover: #c9bc9f;
    --lux-accent-soft: rgba(133, 121, 96, 0.22);
    --lux-line: rgba(44, 46, 53, 0.12);
    --lux-line-strong: rgba(44, 46, 53, 0.2);
    --lux-shadow: rgba(44, 46, 53, 0.08);
    /* 사이트 포인트(GNB·사인): Language 버튼·서브 아이 메뉴와 통일 */
    --site-point: #00afec;
    --site-point-soft: rgba(0, 175, 236, 0.35);
    --site-point-glow: rgba(0, 175, 236, 0.5);
  }

  * {
    box-sizing: border-box;
  }

  .sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  html {
    font-family: "Caudex", "Hind", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    color: var(--lux-text);
  }

  /* 기본 스크롤바 숨기기 */
  html,
  body {
    height: 100%;
    margin: 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE, Edge */
  }

  body {
    overflow-x: hidden;
  }

  body::-webkit-scrollbar {
    display: none;
  }

  /* 홈: 인트로·메뉴 레이어로만 보이도록 문서 스크롤 비활성화 */
  html:has(body#home) {
    overflow: hidden;
    height: 100%;
  }

  body#home {
    overflow: hidden;
    overscroll-behavior: none;
    height: 100%;
    min-height: 100dvh;
  }

  body#home #content {
    padding: 0;
    margin: 0;
  }

  /* 커스텀 스크롤 트랙 */
  .custom-scrollbar {
    position: fixed;
    top: 5px;
    right: 2px;
    width: 12px;
    height: calc(100vh - 40px);
    background: rgba(0, 0, 0, 0.01);
    z-index: 999999;
    border-radius: 10px;
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .custom-scrollbar.active,
  .custom-scrollbar:hover {
    opacity: 1;
  }

  body.dragging {
    user-select: none;
    cursor: grabbing;
  }

  .scroll-thumb {
    cursor: grab;
  }

  /* 커스텀 썸(막대) */
  .scroll-thumb {
    position: absolute;
    right: 2px;
    width: 50%;
    height: 80px;
    background: var(--point-color, var(--lux-accent));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  #wrap {
    position: relative;
    min-height: 100%;
    z-index: 2;
    background: var(--lux-ivory);
    overflow: visible;
  }

  a {
    text-decoration: none;
    color: var(--lux-charcoal-soft);
  }

  em {
    font-weight: 400i;
  }

  strong {
    font-weight: 700;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Caudex", "Hind", sans-serif;
    margin: 0;
  }

  h1 {
    font-size: 2.8rem;
    line-height: normal;
    font-weight: 600;
  }

  h2 {
    font-size: 21px;
    line-height: normal;
  }

  h3 {
    font-size: 17.5px;
  }

  p,
  ol,
  ul,
  dl,
  blockquote {
    margin: 0;
  }

  img {
    image-orientation: from-image;
    vertical-align: middle;
  }

  nav ul {
    list-style: none;
    padding-left: 0;
  }

  li {
    list-style: none;
  }

  blockquote {
    padding: 21px;
    font-size: 15.75px;
  }

  blockquote:before,
  blockquote:after {
    content: "";
    width: 50%;
    display: block;
    border-bottom: 1px solid #cecece;
    margin: auto;
  }

  table {
    margin: 21px auto;
  }

  thead {
    font-family: "Caudex", "Hind", sans-serif;
  }

  tr {
    border-bottom: 1px solid #cecece;
  }

  /* @group ----- Form ----- */
  fieldset {
    border: 0;
    padding: 0;
    margin: 0;
  }

  .button,
  button,
  optgroup,
  select,
  textarea,
  input[type=text],
  input[type=password],
  input[type=date],
  input[type=tel],
  input[type=email],
  input[type=search],
  input[type=number],
  input[type=month] {
    appearance: none;
    background-color: #fff;
    line-height: 21px;
    font-size: 14px;
    border-radius: 0px;
    padding: 5.25px;
    vertical-align: bottom;
    height: auto;
  }

  textarea {
    height: auto;
  }

  .button,
  button,
  [type=submit] {
    background-color: #cecece;
    border: 1px solid #ccc;
  }

  input[type=radio],
  input[type=checkbox] {
    vertical-align: middle;
    margin: 0 0.5em;
  }

  select {
    padding: 5.25px 42px 5.25px 5.25px;
    background: #fff url("../img/chevron-down.svg") right 10.5px center no-repeat;
    background-size: 10.5px;
    appearance: none;
    max-width: 100%;
  }

  .field {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 21px;
  }

  .inputs {
    width: 70%;
  }

  .field>label,
  .field>.label,
  .field>.two.columns,
  .field-meta {
    width: 30%;
    padding-top: 5.25px;
  }

  /* (구) Omeka 기본 파일 블록·메타·중복 제거
     주의: 예전 .openseadragon 사용 금지 — UV 단일 뷰어 OpenSeadragon */
  #itemfiles,
  .element-set,
  #item-relations {
    display: none !important;
  }

  /* 주의: 중첩/중복 .viewer + UV 쪽 OpenSeadragon 래퍼 class="viewer"가 레이아웃을 깨뜨릴 수 있음 — 뷰어는 밖으로 분리 */

  /* @end */
  /* @group ----- Global ----- */
  .flex {
    display: flex;
  }

  #content {
    margin: 6rem auto;
  }

  a.image {
    display: block;
  }

  a.image img {
    vertical-align: top;
  }

  /* @end */
  /* @group ----- Header ----- */
  #skipnav {
    text-align: center;
    display: block;
    padding: 5.25px;
    border: 2px solid #0066c1;
  }

  #skipnav:not(:focus) {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  #admin-bar {
    position: relative;
    z-index: 1;
  }

  #home #site-header {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 6rem;
    z-index: 999;
    display: grid;
    align-items: center;
    padding: 0 26px;
    background: rgba(7, 10, 15, 0.56);
    backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  #site-header {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 6rem;
    z-index: 999;
    display: grid;
    background: var(--lux-ivory);
    border-bottom: 1px solid var(--lux-line);
    box-shadow: 0 2px 12px var(--lux-shadow);
  }

  #site-header .inner {
    position: relative;
    max-width: 100%;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #home .inner {
    width: min(1820px, calc(100vw - 52px));
  }

  .inner {
    width: 1400px;
    margin: 0 auto;
  }

  /* PC: 메인 상단 = 서브와 동일(6rem 높이, 1400px 란 — 로고+제목 | GNB | 사이트맵 열) */
  @media screen and (min-width: 1024px) {
    #home #site-header {
      height: 6rem;
      min-height: 6rem;
      padding: 0;
      box-sizing: border-box;
    }
    #home #site-header .inner {
      width: 1400px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
  }

  .header-left {
    /* PC: 가운데(absolute) GNB와 겹침 방지 — 폭은 로고+제목 내용에 맞게 */
    flex: 0 1 auto;
    min-width: 0;
  }

  .header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex: 2;
    display: flex;
    justify-content: center;
    white-space: nowrap;
  }

  .header-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
  }

  /* .header-left | .header-right 2단일 때: #site-title { margin-right:auto } 가
     .header-brand-bar 단독 자식으로 쓰여 왼쪽이 과도하게 넓어지고(텍스트 nowrap) 모바일에서
     .header-right(사이트맵)이 가려짐/밀려남 */
  #site-header #site-title {
    margin-right: 0;
  }

  #site-header .header-right {
    flex-shrink: 0;
  }

  #site-header .site-brand a,
  #site-header .site-title-text {
    min-width: 0;
  }

  #site-header .site-title-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-util {
    display: flex;
    align-items: center;
    height: 7rem;
  }

  .header-sitemap-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  .header-sitemap-btn:hover {
    background: #f7f7f7;
    border-color: #d9d9d9;
  }

  #home .header-sitemap-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 30px;
    width: 34px;
    height: 34px;
    border-radius: 0;
    padding: 0;
  }

  #home .header-sitemap-btn:hover {
    background: transparent;
    color: #fff;
  }

  .header-audio-toggle {
    display: none;
  }

  #home .header-audio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 6px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  #home .header-audio-toggle:hover {
    color: #fff;
  }

  #home .header-audio-toggle__eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    width: 18px;
    height: 14px;
  }

  #home .header-audio-toggle__eq i {
    display: block;
    width: 2px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: bottom center;
    opacity: 0.95;
  }

  #home .header-audio-toggle .header-audio-toggle__eq i:nth-child(1) {
    animation: headerEqBar1 0.82s ease-in-out infinite;
  }

  #home .header-audio-toggle .header-audio-toggle__eq i:nth-child(2) {
    animation: headerEqBar2 0.64s ease-in-out infinite 0.08s;
  }

  #home .header-audio-toggle .header-audio-toggle__eq i:nth-child(3) {
    animation: headerEqBar3 0.9s ease-in-out infinite 0.16s;
  }

  #home .header-audio-toggle .header-audio-toggle__eq i:nth-child(4) {
    animation: headerEqBar4 0.72s ease-in-out infinite 0.12s;
  }

  #home .header-audio-toggle__text {
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    font-weight: 700;
    white-space: nowrap;
  }

  #home .header-audio-toggle__text .is-on,
  #home .header-audio-toggle__text .is-off {
    opacity: 0.5;
  }

  #home .header-audio-toggle[data-audio-state="on"] .header-audio-toggle__text .is-on,
  #home .header-audio-toggle[data-audio-state="off"] .header-audio-toggle__text .is-off {
    opacity: 1;
  }

  @keyframes headerEqBar1 {
    0%, 100% { height: 4px; opacity: 0.8; }
    50% { height: 13px; opacity: 1; }
  }

  @keyframes headerEqBar2 {
    0%, 100% { height: 7px; opacity: 0.85; }
    50% { height: 12px; opacity: 1; }
  }

  @keyframes headerEqBar3 {
    0%, 100% { height: 5px; opacity: 0.8; }
    50% { height: 14px; opacity: 1; }
  }

  @keyframes headerEqBar4 {
    0%, 100% { height: 3px; opacity: 0.75; }
    50% { height: 10px; opacity: 1; }
  }

  @media screen and (min-width: 1024px) {
    #home #site-header .header-right {
      gap: 8px;
      transform: translateY(1px);
    }

    #home .header-audio-toggle {
      margin-right: 32px;
      transform: translateY(4px);
    }

    /* 메인 PC: 사이트맵(햄버거) 버튼 = 왼쪽 사이트 제목(.site-title-text)과 동일 1.8rem 박스 */
    #home .header-sitemap-btn {
      width: 1.8rem;
      height: 1.8rem;
      font-size: 1.8rem;
      transform: translateY(-3px);
    }

    #home .header-sitemap-btn__ic {
      width: 0.667em;
      height: 2px;
      border-radius: 1px;
      box-shadow: 0 0.2em 0 rgba(255, 255, 255, 0.9), 0 0.4em 0 rgba(255, 255, 255, 0.9);
    }
  }

  .header-brand-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
  }

  .header-brand-bar #site-title {
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-sitemap-btn__ic {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
  }

  #home .header-sitemap-btn__ic {
    box-shadow: 0 6px 0 rgba(255, 255, 255, 0.9), 0 12px 0 rgba(255, 255, 255, 0.9);
  }

  @media (max-width: 1023.98px) {
    #home .header-audio-toggle {
      display: none;
    }

    /* flex 자식/nowrap이 합쳐져 .inner·헤더가 100vw보다 넓어지면 사이트맵(맨 끝)이 화면 밖으로 밀림(비활성 페이지에서 “안 보임” 원인) */
    #site-header,
    #home #site-header {
      max-width: 100vw;
      min-width: 0;
      overflow-x: hidden;
      padding: 10px max(10px, env(safe-area-inset-left, 0px)) 10px max(10px, env(safe-area-inset-right, 0px));
      box-sizing: border-box;
      height: 6rem;
      min-height: 6rem;
      /* 한 줄: 열 flex + .inner 를 띠(패딩 제외) 높이에 맞춤 — row 의 align-items:center 가
         실제 "여백" 안에서만 의미를 가짐(그리드+자식 콘텐츠 높이 맞다지기보다 견고). */
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: center;
      min-height: 0;
    }

    .header-sitemap-btn {
      margin: 0;
      line-height: 1;
      padding: 0;
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      align-self: center;
    }
    /* 2px 박스 + box-shadow(레이아웃 밖) → flex는 막대(2px)만 중앙. 모바일: 레이아웃=시각(14px),
       PC(≥1024) 는 기존 2px+box-shadow 그대로. */
    #site-header .header-sitemap-btn__ic,
    #home #site-header .header-sitemap-btn__ic {
      display: block;
      position: static;
      flex: 0 0 auto;
      width: 20px;
      height: 14px;
      box-shadow: none;
      border-radius: 0;
      background: linear-gradient(currentColor, currentColor) 0 0/20px 2px no-repeat,
        linear-gradient(currentColor, currentColor) 0 6px/20px 2px no-repeat,
        linear-gradient(currentColor, currentColor) 0 12px/20px 2px no-repeat;
    }

    .header-center {
      display: none;
    }

    #site-header .inner,
    #home #site-header .inner {
      display: flex;
      flex: 1 1 0;
      min-width: 0;
      min-height: 0;
      flex-wrap: nowrap;
      align-items: center;
      align-content: center;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      justify-content: space-between;
      column-gap: 0.6rem;
      padding: 0;
    }
    #site-header .inner > .header-left,
    #site-header .inner > .header-right,
    #home #site-header .inner > .header-left,
    #home #site-header .inner > .header-right {
      align-self: center;
    }
    .header-right {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
    .header-brand-bar {
      display: flex;
      align-items: center;
    }
    /* 로고(이미지) + 제목(텍스트) 간격 — 6px는 너무 촘촘, 한 축(세로) 정렬에도 유리 */
    #site-header .site-brand a {
      display: inline-flex;
      align-items: center;
      align-self: center;
      gap: 0.7rem;
      min-height: 0;
    }
    #site-header #site-title {
      display: flex;
      align-items: center;
      min-width: 0;
      flex: 1 1 auto;
    }
    #site-header #site-title > a {
      flex: 1 1 auto;
      min-width: 0;
    }

    /* 메인/서브 공통: 상단 제목 = 800px 이하 .site-title-text(1.3rem)과 동일 */
    #site-header .header-left {
      display: flex;
      align-items: center;
      flex: 1 1 0;
      min-width: 0;
      min-height: 0;
    }
    #site-header .header-brand-bar {
      display: flex;
      align-items: center;
      min-width: 0;
      width: 100%;
    }
    #site-header .site-title-text {
      display: block;
      flex: 1 1 auto;
      min-width: 0;
      font-size: 1.3rem;
      line-height: 1.25;
      margin: 0;
      padding: 0;
    }
    #site-header #site-title img {
      display: block;
      flex: 0 0 auto;
      width: auto;
      height: auto;
      object-fit: contain;
      object-position: left center;
      align-self: center;
    }

    /* 홈 메인 모바일: 로고·옆 텍스트 세로 중심(가로축 상 동일 높이) 확실히 맞춤
       — inline-flex+큰 line-height는 줄 박스 기준 정렬로 로고가 아래로 보이기 쉬움 */
    #home #site-header .site-brand a {
      display: flex;
      align-items: center;
    }
    #home #site-header .site-title-text {
      line-height: 1;
      align-self: center;
    }
    #home #site-header #site-title img {
      align-self: center;
      transform: translateY(-2px);
    }

    /* 홈: PC용 font-size:30px 가 모바일에서도 남아(텍스트 없이도) 버튼 라인박스·스트럿이 커짐
       → 오른쪽(사이트맵) 란만 row 높이에 반영, 왼쪽(로고)이 상대적으로 아래로 쏠리는듯 보임. */
    #home .header-sitemap-btn {
      width: 42px;
      height: 42px;
      font-size: 0;
      line-height: 0;
    }
  }

  /* 비홈: 상단 한 줄 — 스크롤해도( sticky ) 바로 누를 수 있음 */
  .ata-section-quick {
    display: none;
  }

  @media (max-width: 1023.98px) {
    .ata-section-quick {
      position: -webkit-sticky;
      position: sticky;
      top: 6rem;
      z-index: 900;
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      align-items: stretch;
      justify-content: flex-start;
      gap: 6px;
      margin: 6rem 0 0;
      padding: 8px 8px 10px;
      max-width: 100%;
      width: 100%;
      box-sizing: border-box;
      background: #fff;
      border-bottom: 1px solid var(--lux-line, #e1e1e1);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .ata-section-quick ~ .subnav {
      margin-top: 0;
    }

    /* 퀵탭(ata)이 헤더(6rem) 아래를 이미 채우므로 #content 상단 6rem이 이중 여백이 됨 */
    body:not(#home) #content {
      margin: 0 auto 6rem;
    }

    .ata-section-quick__row {
      display: flex;
      flex-direction: row;
      align-items: stretch;
      justify-content: stretch;
      width: 100%;
      min-width: 0;
      gap: 6px;
    }

    .ata-section-quick__row .ata-section-quick__a {
      flex: 1 1 0;
      min-width: 0;
    }

    .ata-section-quick__a {
      min-width: 0;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 2.9rem;
      min-height: 2.9rem;
      padding: 0 0.3rem;
      font-size: 0.92rem;
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: -0.03em;
      color: #3d4149;
      text-decoration: none;
      border: 1px solid rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      background: #f5f7fa;
      white-space: nowrap;
    }

    .ata-section-quick__a.is-active {
      color: var(--site-point, #00afec);
      background: #fff;
      font-weight: 800;
      border-color: rgba(0, 175, 236, 0.4);
    }
  }

  #home .header-nav ul {
    gap: 56px;
  }

  #home .header-nav a {
    font-size: 1.28rem;
    font-weight: 500;
    letter-spacing: -0.005em;
  }

  .site-sitemap {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* blur 제거: 모바일·저사양에서 오버레이·열기 시 렉 완화 */
    background: rgba(15, 23, 42, 0.55);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: opacity;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-sitemap.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-sitemap__panel {
    width: min(1100px, calc(100vw - 40px));
    max-height: min(760px, calc(100vh - 40px));
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.25);
    padding: 26px;
    overflow: auto;
    transform: translateZ(0);
  }

  .site-sitemap__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 14px;
    min-height: 38px;
  }

  .site-sitemap__head h2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
  }

  .site-sitemap__close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    font-size: 26px;
    line-height: 0.9;
    cursor: pointer;
    color: #444;
  }

  .site-sitemap__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .site-sitemap__group {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .site-sitemap__group:first-child {
    border-top: none;
  }

  .site-sitemap__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 14px 6px 14px 2px;
    box-sizing: border-box;
    border: none;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
    color: #1f2937;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .site-sitemap__trigger:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  .site-sitemap__trigger:focus {
    outline: 2px solid var(--site-point, #00afec);
    outline-offset: 2px;
  }

  .site-sitemap__trigger-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .site-sitemap__chev {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
  }

  .site-sitemap__chev::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #4b5563;
    margin-top: 2px;
  }

  .site-sitemap__group.is-open .site-sitemap__chev {
    transform: rotate(180deg);
  }

  .site-sitemap__sub {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    padding: 8px 0 4px;
    margin: 0;
    border: none;
    align-items: stretch;
  }

  .site-sitemap__sub[hidden] {
    display: none !important;
  }

  .site-sitemap__link {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    height: 100%;
    color: #1f2937;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    text-align: center;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f3f4f6;
    white-space: normal;
    word-break: keep-all;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  }

  .site-sitemap__link:hover {
    color: #0c4a6e;
    background: #e5e7eb;
    border-color: rgba(0, 175, 236, 0.4);
  }

  @media screen and (max-width: 640px) {
    .site-sitemap {
      align-items: flex-start;
      justify-content: center;
      padding: max(6px, env(safe-area-inset-top, 0px)) 10px max(10px, env(safe-area-inset-bottom, 0px)) 10px;
      box-sizing: border-box;
    }

    .site-sitemap__panel {
      width: calc(100% - 8px);
      max-width: 100%;
      margin: 0;
      margin-top: 0;
      padding: 12px 12px 14px;
      /* 주소·상태줄·노치와 겹침 방지(세로 과다) — fallback vh, 지원 시 dvh */
      max-height: min(70vh, 500px, calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px));
      border-radius: 12px;
    }

    @supports (height: 100dvh) {
      .site-sitemap__panel {
        max-height: min(70dvh, 500px, calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px));
      }
    }

    .site-sitemap__head {
      position: sticky;
      top: 0;
      z-index: 1;
      margin-bottom: 8px;
      padding-bottom: 4px;
      min-height: 0;
      background: linear-gradient(180deg, #fcfdff 0%, #fcfdff 85%, rgba(252, 253, 255, 0) 100%);
    }

    .site-sitemap__head h2 {
      font-size: 1.3rem;
      line-height: 1.2;
    }

    .site-sitemap__trigger {
      padding: 12px 4px 12px 0;
    }

    .site-sitemap__trigger-text {
      font-size: 1.12rem;
    }

    .site-sitemap__sub {
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .site-sitemap__link {
      font-size: 0.94rem;
      padding: 11px 12px;
    }
  }

  .lang-select {
    background: var(--site-point);
    color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
  }

  .lang-select .lang-icon {
    font-size: 13px;
    line-height: 1;
  }

  .lang-select .lang-caret {
    font-size: 11px;
    line-height: 1;
  }

  .header-nav ul {
    display: flex;
    gap: 60px;
    margin: 0;
    padding: 0;
    align-items: center;
  }

  .header-nav li {

    list-style: none;
  }

  #home .header-nav a {
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.22s ease, font-weight 0.15s ease, text-shadow 0.22s ease;
  }

  .header-nav a {
    display: block;
    position: relative;
    text-decoration: none;
    color: var(--lux-text);
    transition: all .3s;
    font-size: 1.4rem;
    font-weight: 600;
  }

  .header-nav a::after {
    content: "";
    position: absolute;
    left: -5px;
    bottom: 3px;
    width: 0;
    height: 10px;
    background: var(--lux-accent-soft);
    transition: width 0.5s ease;
  }

  /* #home GNB 밑줄: 포인트 컬러 + 2px 보더·라인, 서브·GNB 톤과 맞춤 */
  #home .header-nav a::after {
    left: 0;
    right: 0;
    bottom: -2px;
    margin: 0 auto;
    width: 0;
    height: 2px;
    border-radius: 1px;
    background: var(--site-point);
    box-shadow: 0 0 14px var(--site-point-soft);
    transition: width 0.35s cubic-bezier(0.25, 1, 0.3, 1);
  }

  #home .header-nav li:hover > a,
  #home .header-nav li.active > a {
    color: var(--site-point);
    font-weight: 700;
    text-shadow: 0 0 20px var(--site-point-soft);
  }

  #home .header-nav a:hover::after,
  #home .header-nav li.active > a::after {
    width: 100%;
  }

  .header-nav a:hover::after {
    width: 125%;
  }

  .header-nav li:hover>a {
    color: var(--lux-accent);
  }

  .header-nav li.active>a {
    color: var(--lux-accent);
    font-weight: 600;
  }

  .header-nav li.active>a::after {
    width: 125%;
  }

  /* 서브 메뉴 */
  .subnav {
    margin-top: 7rem;
    background: var(--lux-ivory-muted);
    border-bottom: 1px solid var(--lux-line);
  }

  /* 서브메뉴 기본 */
  .subnav-menu {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 0;
    padding: 8px 0;
  }

  /* 움직이는 밑줄 */
  .subnav-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: var(--lux-accent);
    left: 0;
    transition:
      transform 0.4s cubic-bezier(0.25, 1.1, 0.3, 1),
      width 0.4s cubic-bezier(0.25, 1.1, 0.3, 1);
  }


  /* 링크 기본 */
  .subnav-menu li a {
    display: inline-block;
    padding: 8px 4px;
    color: #888;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.2s ease;
  }

  .subnav-menu li.active a {
    color: var(--lux-accent);
  }

  .subnav-menu li a:hover {
    color: var(--lux-accent);
    transform: translateY(-2px);
  }

  /* ================= 헤더 검색 기본 박스 ================= */
  #home #header-search {
    display: none;
  }

  #header-search {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  #header-search .search-inner {
    position: absolute;
    right: 0;
    top: 1px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lux-ivory-muted);
    border: 1px solid var(--lux-line);
    transition: all 0.35s ease;
    overflow: hidden;
    cursor: pointer;
    z-index: 100;
  }

  .mobile-search,
  .pc-main-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    background: transparent;
    border-bottom: 1.5px solid rgba(242, 239, 223, 0.85);
    position: relative;
    overflow: hidden;
  }

  .mobile-search::after,
  .pc-main-search::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 230, 142, 0.9),
        transparent);
    filter: blur(4px);
    animation: search-glow-flow 3s linear infinite;
    pointer-events: none;
  }

  @keyframes search-glow-flow {
    0% {
      left: -50%;
    }

    100% {
      left: 100%;
    }
  }

  /* ================= 검색 아이콘 ================= */
  #header-search .search-icon {
    position: absolute;
    left: 49%;
    top: 55%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }

  .mobile-search .search-icon,
  .pc-main-search .search-icon {
    font-size: 30px;
    color: #555;
    flex-shrink: 0;
    pointer-events: none;
  }

  /* ================= input 기본 상태 ================= */
  #header-search input[type="text"] {
    position: absolute;
    left: 44px;
    top: 0;
    width: 200px;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    opacity: 0;
    padding: 0 16px;
    font-size: 1rem;
    color: #333;
    z-index: 3;
  }

  /* ================= (구) 펼침 폭 — 참고용 ================= */
  /* #header-search.active {
    width: 350px;
    border-radius: 999px;
  } */

  /* 펼침 시(활성) */
  #header-search.active .search-inner {
    width: 350px;
    border-radius: 999px;
  }

  /* 아이콘 이동 */
  #header-search.active .search-icon {
    left: 16px;
    transform: translateY(-50%);
  }

  /* input 등장(표시) */
  #header-search.active input[type="text"] {
    opacity: 1;
  }

  .mobile-search input[type="text"],
  .pc-main-search input[type="text"] {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    outline: none;
  }

  #header-search input::placeholder {
    color: #555;
  }

  #header-search input::-webkit-input-placeholder {
    color: #555;
  }

  #header-search input::-moz-placeholder {
    color: #555;
  }

  #header-search:focus-within {
    border-color: #ddd;
    border-radius: 999px;
    background: #f5f5f5;
  }

  .mobile-search:focus-within,
  .pc-main-search:focus-within {
    box-shadow: 0 1px 6px rgba(255, 250, 217, 0.15);
    border-color: rgba(242, 239, 223, 0.85);
    border-radius: 50px;
    background: rgba(255, 250, 217, 0.2);
  }

  #header-search:focus-within::after,
  .mobile-search:focus-within::after,
  .pc-main-search:focus-within::after {
    opacity: 1;
  }

  /* submit 버튼 숨김 (중요) */
  #header-search button {
    display: none;
  }

  #header-search button[type="submit"],
  .mobile-search button[type="submit"],
  .pc-main-search button[type="submit"] {
    display: none;
    /* 히든 처리 */
  }

  /* ========== main page search ========== */
  .home-search-copy {
    position: absolute;
    top: 67%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(880px, calc(100vw - 80px));
    text-align: center;
    z-index: 101;
    color: #fff;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
    min-height: 170px;
  }

  .home-presearch-intro {
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -58%);
    width: min(900px, calc(100vw - 80px));
    text-align: center;
    color: #fff;
    z-index: 102;
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
    pointer-events: none;
    filter: blur(8px);
  }

  .home-presearch-intro.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
    filter: blur(0);
  }

  .home-presearch-intro.is-hide {
    opacity: 0;
    transform: translate(-50%, -44%);
    filter: blur(8px);
  }

  .home-presearch-intro h2 {
    margin: 0 0 14px;
    font-size: clamp(1.2rem, 1.45vw, 1.8rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .home-presearch-intro p {
    margin: 8px 0;
    font-size: clamp(1rem, 1vw, 1.22rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
  }

  .home-search-copy.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .home-search-copy.is-hide {
    opacity: 0;
    transform: translate(-50%, -56%);
  }

  .home-search-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .home-search-item.is-active {
    opacity: 1;
    transform: translateY(0);
  }

  .home-search-copy__kicker {
    margin: 0 0 6px;
    font-size: 1.82rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
    display: block;
    overflow: hidden;
    opacity: 0;
    transform: translateY(120%);
    clip-path: inset(0 0 100% 0);
    animation: none;
  }

  .home-search-copy__title {
    margin: 0 0 14px;
    font-size: clamp(1.85rem, 2.35vw, 2.95rem);
    line-height: 1.32;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.98);
    display: block;
    overflow: hidden;
    opacity: 0;
    transform: translateY(120%);
  }

  .home-search-copy__desc {
    margin: 0;
    font-size: clamp(1rem, 0.9vw, 1.35rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    overflow: hidden;
    opacity: 0;
    transform: translateY(120%);
  }

  .home-search-item.is-active .home-search-copy__kicker {
    animation: hero-kicker-reveal 1.9s cubic-bezier(.22, 1, .36, 1) 0.12s forwards;
  }

  .home-search-item.is-active .home-search-copy__title {
    animation: hero-text-reveal 2s cubic-bezier(.22, 1, .36, 1) 0.34s forwards;
  }

  .home-search-item.is-active .home-search-copy__desc {
    animation: hero-text-reveal 2.2s cubic-bezier(.22, 1, .36, 1) 0.56s forwards;
  }

  @keyframes hero-text-reveal {
    0% {
      opacity: 0;
      transform: translateY(120%);
      filter: blur(4px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }
  }

  @keyframes hero-kicker-reveal {
    0% {
      opacity: 0;
      transform: translateY(140%);
      clip-path: inset(0 0 100% 0);
      filter: blur(5px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
      clip-path: inset(0 0 0 0);
      filter: blur(0);
    }
  }

  .pc-main-search {
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -58%);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    z-index: 100;
    width: min(680px, calc(100vw - 64px));
    max-width: none;
    height: 66px;
    padding: 0 26px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 34px rgba(8, 10, 14, 0.28);
    overflow: visible;
  }

  .pc-main-search.show {
    transform: translate(-50%, -50%);
    opacity: 1;
  }

  @media (max-width: 1024px) {
    .home-presearch-intro {
      display: none;
    }
  }

  /* PC 메인 검색 input */
  .pc-main-search input[type="text"] {
    width: 100%;
    height: 100%;
    font-size: 1.3rem;
    font-weight: 400;
    color: #1f2937;
    letter-spacing: -0.01em;
  }

  #home .pc-main-search::after {
    display: none;
  }

  #home .pc-main-search .search-icon {
    color: #5f6368;
    font-size: 22px;
  }

  #home .pc-main-search .search-icon svg circle,
  #home .pc-main-search .search-icon svg line {
    stroke: currentColor !important;
  }

  #home .pc-main-search::before {
    content: "→";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #8ebec2;
    font-size: 30px;
    line-height: 1;
    pointer-events: none;
  }

  #home .pc-main-search input::placeholder {
    color: #5f6368;
    opacity: 0.95;
  }

  #home .pc-main-search input::-webkit-input-placeholder {
    color: #5f6368;
  }

  #home .pc-main-search input::-moz-placeholder {
    color: #5f6368;
  }

  #home .pc-main-search:focus-within {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 40px rgba(8, 10, 14, 0.34);
  }

  #home .pc-main-search button[type="submit"] {
    display: none !important;
  }

  @media screen and (max-width: 1024px) {
    .home-search-copy {
      display: none;
    }
  }

  #site-title {
    font-family: "Caudex", serif;
    margin-right: auto;
    max-width: 100%;
  }

  .site-title-text {
    font-family: "Hind", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    /* letter-spacing: 0.08em; */
    white-space: nowrap;
    color: #fff;
  }

  /* 메인 타이틀 */
  .title-home {
    color: #fff;
  }

  /* 서브 타이틀 */
  .title-sub {
    color: #555;
  }

  #site-title img {
    display: block;
    max-height: 50px;
    width: auto;
    max-width: 100%;
    vertical-align: middle;
  }

  .site-brand a {
    display: flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;
    color: inherit;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 1.2rem;
    font-weight: 500;
  }

  /* 기본 = 서브 타이틀 */
  .menu-toggle {
    color: #555;
  }

  #top-nav a {
    color: #555;
  }

  /* 메인 타이틀 */
  body#home .menu-toggle {
    color: #fff;
  }

  body#home #top-nav a {
    color: #555;
  }

  #top-nav a:hover {
    color: #888;
  }

  body#home #top-nav a:hover {
    color: #888;
  }

  .search-toggle:before,
  .menu-toggle:after,
  .advanced-toggle:before {
    font-family: "Linearicons-Free";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 2.4rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: block;
  }

  .menu-toggle:after {
    content: "☰";
  }

  .search-toggle:before {
    content: "⌕";
  }

  .advanced-toggle:before {
    content: "⋯";
  }

  .mm-listitem::after {
    inset-inline-start: 0;
  }

  #search-container,
  #advanced-form {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: 1px solid #cecece;
  }

  #search-container legend {
    font-family: "Caudex", serif;
    font-size: 15.75px;
    margin-bottom: 5.25px;
  }

  #search-form {
    /* display: none; */
    width: 100%;
    border: none;
    /* padding: 10.5px 21px; */
  }

  .advanced-toggle {
    display: inline-block;
  }

  #search-container input[type=text] {
    border-width: 0 0 1px 0;
    margin: 0;
    width: calc(100% - 84px);
  }

  #search-container button[type=submit] {
    margin: 0;
    border: 0;
    background-color: #fff;
    text-indent: -9999px;
    color: #0066c1;
    position: relative;
    display: inline-block;
    padding: 0;
    vertical-align: top;
    width: 31.5px;
    height: 31.5px;
  }

  #search-container button[type=submit]:after {
    font-family: "Linearicons-Free";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-indent: 0;
    content: "⌕";
    display: block;
    font-size: 21px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    line-height: 31.5px;
  }

  #search-container .closed {
    display: none;
  }

  #advanced-form {
    padding: 21px;
    border-top: 1px solid #eee;
  }

  #advanced-form fieldset {
    margin: 0 21px;
  }

  #record-types+p {
    width: 100%;
    margin-bottom: 0;
    text-align: center;
  }

  /* ===== mainpage(intro screen) ===== */
  #intro-screen {
    position: fixed;
    inset: 0;
    background: #000;
    color: #fff;
    z-index: 9999;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  body.intro-active {
    overflow: hidden;
  }

  /* 인트로 종료 후 메인 전환 상태 */
  #intro-screen.intro-end {
    opacity: 0;
    transform: scale(1);
    transition:
      opacity 1.8s ease,
      transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
  }

  .intro-inner {
    max-width: 700px;
    padding: 40px;
    /* margin-top: clamp(20px, 14vh, 120px); */
  }

  .intro-title b {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    letter-spacing: 0.05em;
    font-weight: 500;
    opacity: 0;
    transform: translateY(6px);
    transition:
      opacity 0.8s ease,
      transform 0.8s ease;
  }

  .intro-title b.on {
    opacity: 1;
    transform: translateY(0);
  }

  .enter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 1s ease, transform 1.5s ease;
  }

  .enter-group.show {
    opacity: 1;
    transform: translateY(0);
  }

  #enter-btn {
    background: none;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    color: #fff;
    /* padding: clamp(10px, 2.5vh, 14px) clamp(28px, 8vw, 44px); */
    font-size: clamp(0.95rem, 1.5vw, 1rem);
    font-family: "Hind", sans-serif;
    font-weight: bold;
    letter-spacing: 0.18em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: clamp(40px, 8vh, 50px) 0;
  }

  #enter-btn:hover {
    background: #fff;
    color: #000;
  }

  @keyframes motion {
    0% {
      transform: translate(0, 0);
    }

    100% {
      transform: translate(0, 12px);
    }
  }

  .motion {
    animation: motion 2.5s infinite alternate;
  }

  span.arrow {
    position: relative;
    width: 12px;
    height: 12px;
  }

  span.arrow:before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    width: 12px;
    height: 12px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(225deg);
    animation: arrow_animate 3s infinite;
  }

  span.arrow:after {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 12px;
    height: 12px;

    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(225deg);
    animation: arrow_animate 3s 0.3s infinite;
  }

  @keyframes arrow_animate {
    0% {
      transform: translate(0, -5px) rotate(225deg);
      opacity: 0;
    }

    50% {
      transform: translate(0, 0) rotate(225deg);
      opacity: 1;
    }

    100% {
      transform: translate(0, 5px) rotate(225deg);
      opacity: 0;
    }
  }

  .intro-author {
    display: block;
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    opacity: 0.6;
  }

  @media (max-width: 768px) {
    .intro-inner {
      padding: 24px;
    }

    .intro-quote {
      line-height: 1.6;
    }

    #enter-btn {
      letter-spacing: 0.14em;
    }
  }

  @media (max-height: 700px) {
    .intro-quote {
      margin-bottom: 24px;
    }

    .intro-author {
      margin-bottom: 32px;
    }
  }

  /* ===== index(main page) - 메인 비주얼 ===== */
  /* 비주얼 준비 후 섹션·hover 등 */
  body.visual-ready .visual-section {
    pointer-events: auto;
  }

  .visual-section {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    background: #000;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .visual-main {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
  }

  .visual-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: transform 1.2s cubic-bezier(.25, .8, .25, 1);
    will-change: transform;
    transform-origin: center;
    cursor: pointer;
  }

  .visual-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: transform 2.5s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
  }

  /* 왼쪽 박스 hover 상태 */
  .visual-item.box1.active {
    transform: scale(0.95) translateX(14%);
    transform-origin: right center;
    transition: 1.2s !important;
  }

  .visual-item.box2.active {
    transform: scale(0.75);
    transform-origin: right center;
    transition: 1.2s !important;
  }

  .visual-item.box3.active {
    transform: scale(0.75);
    transform-origin: left center;
    transition: 1.2s !important;
  }

  /* 가운데 박스 hover 상태 */
  .visual-item.box1.active2 {
    transform: scale(0.75) translateX(-5%);
    transform-origin: right center;
    transition: 1.2s !important;
  }

  .visual-item.box2.active2 {
    transform: scale(0.95);
    transform-origin: center;
    transition: 1.2s !important;
  }

  .visual-item.box3.active2 {
    transform: scale(0.75) translateX(5%);
    transform-origin: left center;
    transition: 1.2s !important;
  }

  /* 오른쪽 박스 hover 상태 */
  .visual-item.box1.active3 {
    transform: scale(0.75);
    transform-origin: right center;
    transition: 1.2s !important;
  }

  .visual-item.box2.active3 {
    transform: scale(0.75);
    transform-origin: left center;
    transition: 1.2s !important;
  }

  .visual-item.box3.active3 {
    transform: scale(0.95) translateX(-14%);
    transform-origin: left center;
    transition: 1.2s !important;
  }

  .visual-pc .visual-inner {
    width: 100%;
    height: 100%;
    transform: translateY(1000px);
    opacity: 0;
    transition: transform 3s cubic-bezier(0.19, 1, 0.22, 1),
      opacity 1.2s ease;
  }

  /* 인트로 끝난 뒤 비주얼 순차 입장 */
  body.intro-finished .visual-pc .visual-inner {
    transform: translateY(0);
    opacity: 1;
  }

  /* 순차 딜레이 */
  body.intro-finished .visual-item:nth-child(1) .visual-inner {
    transition-delay: 0.2s;
  }

  body.intro-finished .visual-item:nth-child(2) .visual-inner {
    transition-delay: 0.4s;
  }

  body.intro-finished .visual-item:nth-child(3) .visual-inner {
    transition-delay: 0.7s;
  }

  .visual-item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0);
    transition: background 0.8s ease;
    pointer-events: none;
  }

  /* (PC) 비디오 준비 시 가운데 딤 */
  body.visual-ready .visual-item:nth-child(2).pc-video-ready::after {
    background: rgba(0, 0, 0, 0.5);
  }

  /* (PC) 비디오 준비 시 가운데 박스·스티키 표시 */
  body.visual-ready .visual-item:nth-child(2).pc-video-ready .main_tit_box,
  body.visual-ready .visual-item:nth-child(2).pc-video-ready .main_txt_box {
    opacity: 1;
    transform: translateY(0);
  }

  body.visual-ready .visual-item:nth-child(2).pc-video-ready .worship-mini-grid.worship-floating {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .visual-section:has(.box1:hover) .box2::after {
    background: rgba(0, 0, 0, 0);
  }

  .visual-section:has(.box3:hover) .box2::after {
    background: rgba(0, 0, 0, 0);
  }

  .visual-section:has(.box2:hover) .box2::after {
    background: rgba(0, 0, 0, 0.5);
  }

  .visual-item:hover::after {
    background: rgba(0, 0, 0, 0.5);
  }

  .visual-section:has(.box1:hover) .box2 .main_tit_box,
  .visual-section:has(.box1:hover) .box2 .main_txt_box {
    opacity: 0;
    transform: translateY(0px);
  }

  .visual-section:has(.box1:hover) .box2 .worship-mini-grid.worship-floating {
    opacity: 0;
  }

  .visual-section:has(.box3:hover) .box2 .main_tit_box,
  .visual-section:has(.box3:hover) .box2 .main_txt_box {
    opacity: 0;
    transform: translateY(0px);
  }

  .visual-section:has(.box3:hover) .box2 .worship-mini-grid.worship-floating {
    opacity: 0;
  }

  .visual-item:hover .main_tit_box,
  .visual-item:hover .main_txt_box {
    opacity: 1;
    transform: translateY(0);
  }

  .visual-item:nth-child(2):hover .main_tit_box,
  .visual-item:nth-child(2):hover .main_txt_box {
    opacity: 1;
    transform: translateY(0);
  }

  .visual-item.box2:hover .worship-mini-grid.worship-floating {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .main_tit_box,
  .main_txt_box {
    position: absolute;
    color: #fff;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    /* transform: translateY(0px); */
    pointer-events: none;
  }

  .main_tit_box {
    top: 35%;
    left: 45%;
    transform: translateX(0%);
    text-align: center;
  }

  .main_txt_box {
    left: 60px;
    bottom: 100px;
    max-width: 320px;
  }

  .main_tit_box h1 {
    font-size: 4.2rem;
    line-height: 110%;
    font-weight: 400;
    font-family: "Caudex", serif;
  }

  .main_tit_box.box2 h1,
  .main_tit_box.box3 h1 {
    line-height: 130%;
  }

  /* 중앙(box2): 상단 인트로·카드 3칸 (main_tit_box · .visual-item 등) */
  .worship-mini-grid.worship-floating {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20000;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    width: auto;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .worship-mini-grid.worship-floating .worship-mini-cell {
    display: block;
    width: 180px;
    height: 180px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  .worship-mini-grid.worship-floating .worship-mini-cell:hover {
    transform: scale(1.03);
    border-color: rgba(255, 250, 217, 0.75);
  }

  .worship-mini-grid.worship-floating .worship-mini-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .visual-mo .main-content {
    position: relative;
    width: 100%;
    min-height: 100dvh;
  }

  .main_txt_box h3 {
    font-size: 1.8rem;
    font-family: "Hind", sans-serif;
  }

  .main_txt_box p {
    font-size: 1.4rem;
    line-height: 160%;
    font-family: "Hind", sans-serif;
  }

  /* 기본은 PC만 보임 */
  .visual-pc {
    display: flex;
  }

  .visual-mo {
    display: none;
  }

  @media (max-width: 1024px) {

    .visual-pc {
      display: none;
    }

    .visual-mo {
      display: block;
    }

    .worship-mini-grid.worship-floating {
      gap: 12px;
      top: 58%;
    }

    .worship-mini-grid.worship-floating .worship-mini-cell {
      width: clamp(72px, 22vw, 120px);
      height: clamp(72px, 22vw, 120px);
    }

  }

  .visual-mo .visual-inner {
    position: relative;
    width: 100%;
    height: 100dvh;
    background-size: cover;
    background-position: center;
  }

  .visual-mo .inner-box {
    position: absolute;
    inset: 0;
  }

  .visual-mo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  /* @end */
  /* @group ----- Footer ----- */
  footer {
    display: none;
    padding: 21px;
  }

  /* @end */
  /* @group ----- Front Page ----- */
  #home #content {
    padding: 0;
  }

  #home #intro {
    padding: 42px;
    margin: 0;
    background-color: var(--lux-ivory-muted);
    font-size: 21px;
    line-height: 31.5px;
    color: var(--lux-text);
  }

  #home #featured-slides {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
  }

  #home #featured-slides:empty {
    display: none;
  }

  /* 메인 히어로(#featured-slides)만 75vh 높이에 맞춤 — 전역 .slick-list height:100% 는
     콘텐츠·연대표(slick) 등에서 부모 높이 없어 슬라이드가 0높이로 사라짐 */
  #home #featured-slides .slick-list,
  #home #featured-slides .slick-track {
    position: relative;
    height: 100%;
  }

  #featured {
    position: relative;
  }

  #featured img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
  }

  #featured .record {
    background-size: cover;
    background-position: center center;
    height: 100%;
  }

  #featured .record-meta {
    width: 100%;
    color: #fff;
    padding: 21px 25%;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 20px #000;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  #featured .record-meta:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
  }

  #featured .record-meta a {
    color: #fff;
  }

  #featured .record-meta>* {
    position: relative;
    z-index: 2;
  }

  #featured .resource-title {
    margin-bottom: 10.5px;
    padding-bottom: 9.5px;
    font-size: 28px;
    line-height: 42px;
    font-family: "Caudex", serif;
    text-transform: none;
    width: 100%;
  }

  #featured .resource-title:not(:last-child) {
    border-bottom: 1px solid #fff;
  }

  #featured .creator:not(:last-child):after {
    content: ",";
  }

  #featured-controls {
    position: absolute;
    top: 21px;
    right: 21px;
    z-index: 999;
  }

  #featured-controls .slick-status:not(.active) {
    display: none;
  }

  #featured-controls button {
    appearance: none;
    background-color: #000;
    color: #fff;
    width: 31.5px;
    height: 31.5px;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #featured-controls button:not(.active) {
    display: none;
  }

  #featured-controls button:after {
    content: "";
    display: block;
  }

  #featured-controls .slick-play:after {
    border-color: transparent transparent transparent #fff;
    border-style: solid;
    border-width: 5px 0 5px 7px;
    height: 1px;
  }

  #featured-controls .slick-pause:after {
    width: 4px;
    height: 10px;
    border: 1px solid #fff;
    border-width: 0 1px;
    margin: 0 auto;
  }

  .records {
    display: none;
    /* display: flex; */
    flex-wrap: wrap;
    align-items: center;
  }

  .records .item,
  .records .file,
  .records .collection {
    width: calc(50% - 42px);
    padding: 21px;
    margin: 21px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
  }

  .records .item img,
  .records .file img,
  .records .collection img {
    max-width: 100%;
    height: auto;
  }

  .records h3,
  .records .resource-title {
    margin: 10.5px 0;
    font-size: 17.5px;
    font-family: "Caudex", serif;
    text-transform: none;
    font-weight: 400;
    position: relative;
    width: 100%;
    display: block;
  }

  .records .resource-body {
    position: relative;
    padding-top: 10.5px;
  }

  .records .resource-body:before {
    content: "";
    position: absolute;
    top: 0;
    height: 1px;
    width: 50%;
    left: 25%;
    background-color: #cecece;
  }

  .records .item-meta {
    width: 100%;
    text-transform: uppercase;
    color: #757575;
  }

  .records .resource-link {
    display: block;
  }

  .records .resource-link img {
    display: block;
    margin: auto;
    margin-bottom: 10.5px;
  }

  /* @end */
  /* @group ----- Search Results ----- */
  .record-type {
    font-family: "Caudex", serif;
    width: 100%;
    text-transform: uppercase;
    margin-bottom: 5.25px;
  }

  .search .records a.image {
    margin-bottom: 21px;
  }

  /* @end */
  /* @group ----- Items/Show ----- (UV 단일 뷰어) */
  html:has(body.items.show.item-show-page) {
    height: auto;
    min-height: 100%;
  }

  body.items.show.item-show-page {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.items.show.item-show-page #content {
    padding-top: 7rem;
    padding-bottom: 2.5rem;
    box-sizing: border-box;
    position: relative;
    border-bottom: none;
    min-height: 0;
    overflow: visible;
  }

  .items.show.item-show-page .item-show {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1.25rem, 3vw, 2rem);
    width: 100%;
    max-width: min(1320px, 96vw);
    margin: 0 auto;
    padding: 16px clamp(16px, 3vw, 32px) 40px;
    box-sizing: border-box;
  }

  .items.show.item-show-page .item-show-media {
    width: 100%;
    max-width: min(1080px, 94vw);
    margin: 0 auto;
    align-self: center;
  }

  .items.show.item-show-page .item-show-media:empty {
    display: none;
  }

  .items.show.item-show-page .item-show-media .universal-viewer.viewer {
    min-height: min(62vh, 680px);
    height: min(62vh, 680px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 16px rgba(44, 46, 53, 0.08);
    position: relative;
  }

  /* UV 루트가 높이를 채워 중앙 패널·캔버스·컨테이너에 맞도록 */
  .items.show.item-show-page .item-show-media .universal-viewer.viewer > .uv {
    height: 100%;
    box-sizing: border-box;
  }

  .items.show.item-show-page .item-show-media .uv .headerPanel,
  .items.show.item-show-page .item-show-media .uv .rightPanel,
  .items.show.item-show-page .item-show-media .uv .leftPanel,
  .items.show.item-show-page .item-show-media .uv .overlay.moreInfo {
    display: none !important;
  }

  .items.show.item-show-page .item-show-media .uv .footerPanel .moreInfo {
    display: none !important;
  }

  .items.show.item-show-page .item-show-media .uv .attribution,
  .items.show.item-show-page .item-show-media .uv [class*="requiredStatement"] {
    display: none !important;
  }

  .items.show.item-show-page .item-show-media .uv,
  .items.show.item-show-page .item-show-media .uv.loading {
    background-color: #e6e6ea !important;
    background-image: none !important;
  }

  .items.show.item-show-page .item-show-media .uv .mainPanel {
    background-color: #ececee !important;
  }

  .items.show.item-show-page .item-show-header h1 {
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    line-height: 1.38;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
  }

  .items.show.item-show-page .item-show-header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(44, 46, 53, 0.1);
    margin-bottom: 0.25rem;
  }

  .items.show.item-show-page .item-show-meta,
  .items.show.item-show-page .item-show-content {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--lux-text);
  }

  .items.show.item-show-page .item-show-meta__section,
  .items.show.item-show-page .item-show-content__section {
    margin-bottom: 1.75rem;
  }

  .items.show .item-show-section-title {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lux-text-muted);
    margin: 0 0 0.85rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(44, 46, 53, 0.1);
  }

  .items.show .item-show-dl {
    display: grid;
    grid-template-columns: minmax(7.5rem, 11rem) 1fr;
    gap: 0.45rem 1.5rem;
    margin: 0;
  }

  .items.show .item-show-dl dt {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lux-text-muted);
    font-weight: 500;
  }

  .items.show .item-show-dl dd {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    word-break: break-word;
  }

  .items.show .item-show-dl--dense {
    gap: 0.35rem 1.25rem;
  }

  .items.show .item-show-description-body {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .items.show .item-show-file-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .items.show .item-show-file-list__item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(44, 46, 53, 0.08);
    font-size: 0.9375rem;
  }

  .items.show .item-show-file-list__link {
    font-weight: 500;
  }

  .items.show .item-show-file-list__mime,
  .items.show .item-show-file-list__badge {
    font-size: 0.75rem;
    color: var(--lux-text-muted);
  }

  .items.show .item-show-file-list__badge {
    padding: 0.1rem 0.4rem;
    border: 1px solid rgba(44, 46, 53, 0.15);
    border-radius: 3px;
  }

  .items.show .item-show-footer-meta {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(44, 46, 53, 0.12);
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .items.show .item-show-footer-meta__row {
    margin-bottom: 0.75rem;
  }

  .items.show .item-show-footer-meta__row--muted {
    color: var(--lux-text-muted);
    font-size: 0.8125rem;
  }

  .items.show .item-show-footer-meta__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--lux-text-muted);
    margin-bottom: 0.2rem;
  }

  .items.show .universal-viewer.viewer {
    position: relative;
    z-index: 1;
  }

  .items.show .universal-viewer.viewer:fullscreen,
  .items.show .universal-viewer.viewer:-webkit-full-screen {
    z-index: 1000020;
    background: #2a2a2e;
  }

  @media (max-width: 560px) {
    .items.show .item-show-dl {
      grid-template-columns: 1fr;
    }
  }

  .show #content>h1:first-child {
    word-wrap: break-word;
  }

  .show .download-file>img {
    max-width: 100%;
    height: auto;
  }

  .items.show h1+.item-metadata {
    columns: 2;
    column-gap: 21px;
  }

  .items.show h1+.item-metadata>* {
    break-inside: avoid;
  }

  .item-metadata {
    container-type: size;
    container-name: item-metadata;
  }

  @container item-metadata (width < 400px) {
    .item-metadata .local-contexts-project {
      justify-content: flex-start;
    }

    .item-metadata .local-contexts-notice {
      display: block;
    }
  }

  .item-metadata h3 {
    margin: 0 0 5.25px;
  }

  .item-metadata .element-text {
    word-break: break-word;
  }

  .item-metadata .element {
    break-inside: avoid;
    border-bottom: 21px solid transparent;
  }

  .item-metadata nav {
    margin: 0 -21px;
    border-bottom: 1px solid #cecece;
  }

  ul.item-pagination.navigation {
    column-span: all;
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 0;
  }

  ul.item-pagination.navigation:after {
    content: "";
    bottom: 0;
    top: 0;
    left: 50%;
    width: 1px;
    background-color: #cecece;
    position: absolute;
  }

  ul.item-pagination.navigation a {
    padding: 10.5px;
    display: inline-block;
  }

  .element-set {
    display: table;
  }

  /* @end */
  /* @group ----- Items/Search ----- */
  #advanced-search-form {
    clear: both;
    margin-top: 21px;
  }

  .search-entry {
    display: flex;
    width: 100%;
    margin-bottom: 10.5px;
  }

  .search-entry .advanced-search-terms {
    flex-grow: 1;
  }

  .search-entry:first-child .advanced-search-joiner {
    display: none;
  }

  .search-entry .advanced-search-joiner select {
    width: auto;
  }

  .search-entry>* {
    margin-top: 0;
    padding-right: 5.25px;
  }

  .search-entry select {
    width: 100%;
  }

  .search-entry input[type=text] {
    margin-bottom: 5.25px;
    width: 100%;
  }

  .add_search {
    margin: 0 0 21px 30%;
  }

  .remove_search {
    border: 0;
    width: 31.5px;
    height: 31.5px;
    text-indent: -9999px;
    position: relative;
    padding: 0;
    margin: 23.625px 0 0 0;
  }

  .remove_search:after {
    font-family: "Linearicons-Free";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "×";
    position: absolute;
    width: 100%;
    left: 0;
    color: #000;
    text-indent: 0;
    top: 0;
    line-height: 31.5px;
  }

  /* @end */
  /* @group ----- Items/Browse ----- */
  #item-filters,
  #search-filters {
    align-self: flex-start;
  }

  #item-filters ul,
  #search-filters ul {
    padding-left: 0;
    list-style: none;
  }

  #item-filters>ul>li,
  #search-filters>ul>li {
    background-color: #cecece;
    padding: 5.25px;
    font-family: "Caudex", serif;
    text-transform: uppercase;
    display: inline-block;
  }

  #item-filters>ul ul,
  #item-filters li,
  #search-filters>ul ul,
  #search-filters li {
    display: inline-block;
    margin: 0;
  }

  #item-filters li li:not(:last-child):after,
  #search-filters li li:not(:last-child):after {
    content: ", ";
  }

  .browse-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .browse-header #sort-links {
    margin-left: auto;
  }

  .items-nav {
    margin-right: auto;
  }

  .browse-header ul,
  .items-nav ul {
    margin: 0;
  }

  .browse-header li,
  .items-nav li,
  #sort-links-list,
  .sort-links-list {
    display: inline-block;
  }

  .secondary-nav li {
    margin-right: 10.5px;
  }

  .secondary-nav li.active {
    font-weight: bold;
  }

  .secondary-nav {
    margin-right: auto;
  }

  #sort-links,
  .sort-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .sort-label {
    margin-right: 5.25px;
  }

  #sort-links-list,
  .sort-links-list {
    list-style-type: none;
    padding-left: 0;
  }

  #sort-links-list li:not(:last-child),
  .sort-links-list li:not(:last-child) {
    margin-right: 10.5px;
  }

  #sort-links-list li a:before,
  .sort-links-list li a:before {
    font-family: "Linearicons-Free";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    margin-right: 5.25px;
  }

  #sort-links-list li:first-child a:before,
  .sort-links-list li:first-child a:before {
    content: "◼";
  }

  #sort-links-list li:nth-child(2) a:before,
  .sort-links-list li:nth-child(2) a:before {
    content: "≣";
  }

  #sort-links-list li:nth-child(3) a:before,
  .sort-links-list li:nth-child(3) a:before {
    content: "⌖";
  }

  #sort-links-list .sorting a,
  .sort-links-list .sorting a {
    font-weight: bold;
    opacity: 1;
  }

  #sort-links-list .sorting a span:after,
  .sort-links-list .sorting a span:after {
    font-family: "Linearicons-Free";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "▾";
    font-size: 12.25px;
    display: inline-block;
  }

  #sort-links-list .sorting.desc a:after,
  .sort-links-list .sorting.desc a:after {
    transform: scaleY(-1);
  }

  .pagination-nav {
    margin-left: 21px;
  }

  ul.pagination {
    margin: 0;
    display: flex;
    align-items: center;
    width: max-content;
  }

  .pagination li {
    margin-left: 10.5px;
    display: inline-block;
  }

  .pagination .page-input form label {
    display: flex;
    align-items: center;
  }

  .pagination a:before {
    font-family: "Linearicons-Free";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .pagination [rel=prev]:before {
    content: "‹";
  }

  .pagination [rel=next]:before {
    content: "›";
  }

  .pagination input[type=text] {
    border: 1px solid #cecece;
    width: 31.5px;
    text-align: right;
    color: #555;
    padding: 0 10.5px;
    line-height: 21px;
    margin: 0 5.25px;
  }

  .page-input form {
    display: flex;
    align-items: center;
  }

  .browse .records {
    margin: 0 -21px;
  }

  .hTagcloud {
    clear: both;
    margin-top: 63px;
  }

  .hTagcloud ul {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .hTagcloud li {
    background-color: #cecece;
    padding: 5.25px;
    margin: 0 5.25px 5.25px 0;
    list-style-type: none;
  }

  .popular {
    font-size: 100%;
  }

  .v-popular {
    font-size: 140%;
  }

  .vv-popular {
    font-size: 180%;
  }

  .vvv-popular {
    font-size: 190%;
  }

  .vvvv-popular {
    font-size: 200%;
  }

  .vvvvv-popular {
    font-size: 210%;
  }

  .vvvvvv-popular {
    font-size: 220%;
  }

  .vvvvvvv-popular {
    font-size: 230%;
  }

  .vvvvvvvv-popular {
    font-size: 240%;
  }

  .archive-filters {
    margin: 40px 0;
  }

  .archive-search {
    margin-bottom: 20px;
  }

  .archive-search input {
    padding: 6px;
  }

  .filter-group {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
  }

  .filter-group h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .filter-group a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ccc;
    margin: 4px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
  }

  .filter-group a.active {
    background: #00afec;
    color: #fff;
    border: 1px solid #00afec;
  }

  .filter-group a:hover {
    background: #00afec;
    color: #fff;
  }

  .active-filters {
    margin: 1rem;
  }

  .active-filters span {
    background: #eee;
    border: 1px solid #ccc;
    padding: .3rem .8rem;
    margin-right: 5px;
    color: #555;
    font-weight: 500;
  }

  .filter-chip {
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 20px;
    padding: 6px 12px;
    margin-right: 6px;
    font-size: 14px;
  }

  .filter-chip:hover,
  .filter-chip:hover a {
    color: #00afec;
  }

  .filter-chip a {
    margin-left: 8px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 2.2rem;
  }

  .archive-layout {
    display: flex;
    gap: 40px;
    margin-top: 30px;
  }

  .archive-sidebar {
    width: 260px;
  }

  .archive-results {
    flex: 1;
  }

  .records {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }



  /* @end */
  /* @group ----- Collections/Browse and Exhibits/Browse----- */
  .browse.collections .records,
  .browse.exhibits .records {
    display: flex;
    margin: 21px 0;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .browse.collections .record,
  .browse.exhibits .record {
    background-size: cover;
    background-position: center center;
    width: calc(50% - 10.5px);
    position: relative;
    min-height: 25vh;
    margin: 0 0 21px;
  }

  .browse.collections .record-meta:before,
  .browse.exhibits .record-meta:before {
    content: "";
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
  }

  .browse.collections .record a,
  .browse.exhibits .record a {
    position: relative;
    color: #fff;
  }

  .browse .record {
    margin: 21px 0;
    display: flex;
    align-items: center;
    align-content: center;
    background-color: #828282;
  }

  .browse .record h2 {
    margin: 0;
    position: relative;
    font-size: 24.5px;
  }

  .browse .record h2 a {
    display: inline-block;
    padding: 5.25px 10.5px;
    background-color: #000;
  }

  .browse .record .image {
    margin-right: 21px;
    display: block;
    width: 30%;
  }

  .browse .record .image img {
    width: 100%;
  }

  .browse .record-meta {
    text-align: center;
    padding: 21px;
    font-size: 21px;
    line-height: 31.5px;
    width: 100%;
  }

  .browse .image+.record-meta {
    padding-left: 0;
  }

  .view-items-link {
    font-family: "Caudex", serif;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 21px;
    margin: 0;
    text-align: center;
    width: 100%;
  }

  /* @end */
  /* @group ----- Collections/Show ----- */
  .items.browse .flex,
  .collections.show .flex {
    border-bottom: 1px solid #cecece;
    margin: 0 -21px;
  }

  .collection-meta {
    width: 25%;
    order: 2;
    border-left: 1px solid #cecece;
    padding: 0 21px;
    margin-left: 21px;
  }

  .collection-meta .mobile-toggle {
    display: none;
  }

  #collection-items {
    width: calc(75% + 21px);
    order: 1;
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 21px 21px;
  }

  #collection-items h2 {
    width: 100%;
    text-align: center;
  }

  #collection-items #item-filters ul {
    padding: 21px 21px 0;
    margin: 0;
  }

  #collection-items #item-filters .collection {
    display: none;
  }

  #collection-items .view-items-link:before {
    content: "";
    width: 50%;
    margin: auto;
    border-top: 1px solid #cecece;
    display: block;
    padding-bottom: 20px;
  }

  #collection-items .browse-header {
    padding: 21px;
    width: 100%;
    justify-content: space-between;
  }

  /* 래퍼 */
  .collection-show.custom {
    padding: 0px 0;
    position: relative;
    min-height: 600px;
  }

  /* 컬렉션 쇼 .inner: 상단 연도 레일·탭이 .inner(1400px)에 맞춤 */
  .collection-show.custom.inner .tabs {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 50px;
    box-sizing: border-box;
  }

  .collection-show.custom.inner .tab-btn {
    flex: 0 1 auto;
    min-width: 0;
  }

  .collection-show.custom.inner .photo-year-rail,
  .collection-show.custom.inner .person-role-rail {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .collection-show.custom.inner .photo-tier--decades {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    row-gap: 2px;
    overflow-x: visible;
  }

  .collection-show.custom.inner .photo-tier--decades .photo-pill--decade {
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
    justify-content: center;
  }

  .collection-show.custom.inner .photo-pill--role {
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
  }

  /* 탭 캡슐(필 박스) — 사진·연혁 컬렉션 쇼(.tabs)과 구분 */
  .collection-show.custom .tabs {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    row-gap: 4px;
    column-gap: 4px;
    background: var(--lux-accent);
    padding: 6px;
    border-radius: 999px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto 50px;
  }

  /* 탭(링크) — 페이지와 함께 전체 새로고침 */
  .collection-show.custom .tab-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 26px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 999px;
    white-space: nowrap;
    transition: all 0.25s ease;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
  }

  .collection-show.custom .tab-btn:hover {
    color: #000;
    transform: translateY(-2px);
  }

  .collection-show.custom .tab-btn.active {
    color: #555;
  }

  /* 움직이는 흰 배경 (줄바꿈·길이에 맞춤) */
  .collection-show.custom .tab-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: #fff;
    border-radius: 999px;
    transition:
      transform 0.4s cubic-bezier(0.25, 1.1, 0.3, 1),
      width 0.4s cubic-bezier(0.25, 1.1, 0.3, 1),
      height 0.4s cubic-bezier(0.25, 1.1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 1;
  }

  .collection-show.custom .tab-btn + .tab-btn {
    margin-left: 0;
  }

  /* 카드 그리드 */
  .item-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4개씩 */
    gap: 28px;
    margin: 0 auto;
  }

  /* 카드 */
  .item-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    opacity: 0;
  }

  /* 애니메이션 정의 */
  @keyframes cardUp {
    from {
      opacity: 0;
      transform: translateY(120px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .item-card img {
    width: 100%;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
  }

  .item-card:hover img {
    transform: scale(1.05);
  }

  .item-card .thumb img {
    width: 100%;
    border-radius: 10px;
  }

  .item-card .title {
    margin-top: 10px;
    font-size: 14px;
  }

  /* 탭 콘텐츠 기본 상태 */
  .tab-contents {
    position: relative;
  }

  /* 모두 겹쳐 둠(비표시) */
  .tab-content {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
  }

  /* 활성 탭만 보임 */
  .tab-content.active {
    display: block;
    animation: tabFade 0.35s ease forwards;
  }

  /* 탭 전환 애니메이션 */
  @keyframes tabFade {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ----- 사진 연도 레일(10년·연도, 드롭/막대 띠) ----- */
  .photo-year-rail {
    max-width: 1100px;
    margin: 0 auto 28px;
    padding: 0 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
  }

  .photo-tier {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 52px;
    padding: 10px 0;
  }

  .photo-tier--decades .photo-pill--decade + .photo-pill--decade {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }

  /* 문서·사진 연도 동일: 상단·서브·비슷한 여러 줄로 표시 */
  .photo-year-rail .photo-tier--decades {
    justify-content: center;
    align-content: center;
    row-gap: 2px;
    overflow-x: visible;
  }

  .photo-tier--years {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 10px;
    margin-top: 2px;
  }

  /* 문서 컬렉션 주(연) 보조줄: 연도 pill은 왼쪽, 상위(10년)·돌아가기는 오른쪽 */
  .doc-doc-tier-years {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .doc-doc-tier-years .doc-year-slot {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

  .doc-doc-tier-years .doc-tier-back-decade {
    margin-left: auto;
    margin-right: 0;
    flex: 0 0 auto;
  }

  .photo-tier--years.is-hidden {
    display: none;
  }

  .photo-tier-back {
    flex: 0 0 auto;
    margin-right: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fafafa;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: #444;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .photo-tier-back:hover {
    background: rgba(94, 134, 198, 0.08);
    color: var(--lux-accent);
  }

  .photo-year-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex: 1 1 auto;
  }

  .photo-year-buttons .photo-pill--year + .photo-pill--year {
    border-left: 1px solid rgba(0, 0, 0, 0.06);
  }

  .photo-pill {
    position: relative;
    margin: 0;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #555;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
  }

  .photo-pill--decade {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
  }

  .photo-pill:hover {
    color: var(--lux-accent);
    background: rgba(94, 134, 198, 0.04);
  }

  .photo-pill--decade.is-active,
  .photo-pill--year.is-active {
    color: #1a1a1a;
    font-weight: 600;
    box-shadow: inset 0 -2px 0 0 var(--lux-accent);
  }

  .photo-empty-hint {
    text-align: center;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    color: #888;
    margin: 0 0 32px;
    padding: 0 16px;
  }

  .photo-panels {
    min-height: 200px;
  }

  .photo-panel[hidden] {
    display: none !important;
  }

  .photo-year-bank {
    display: none;
  }

  /* 사진(10년) 컬렉션: 항·상·서브·레일·연도(한 줄 위아래, 컬렉션·탭 전환) */
  body.photo-decade-page .photo-decade-subnav {
    width: 100%;
    margin: 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: none;
  }

  body.photo-decade-page .photo-decade-menu {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 0;
    min-height: 52px;
    overflow-x: visible;
    row-gap: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    list-style: none;
  }

  body.photo-decade-page .photo-decade-menu::-webkit-scrollbar {
    display: none;
  }

  body.photo-decade-page .photo-decade-menu > li + li {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }

  body.photo-decade-page .photo-decade-btn {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 16px 26px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #444;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
  }

  body.photo-decade-page .photo-decade-menu li.active .photo-decade-btn,
  body.photo-decade-page .photo-decade-btn.is-active {
    color: #1a1a1a;
    font-weight: 600;
  }

  body.photo-decade-page .photo-decade-btn:hover {
    color: var(--lux-accent);
    background: rgba(94, 134, 198, 0.04);
  }

  body.photo-decade-page .photo-decade-indicator {
    position: absolute;
    top: 0;
    left: 0;
    bottom: auto;
    height: 1px;
    background: var(--lux-accent);
    border-radius: 0;
    transition:
      transform 0.4s cubic-bezier(0.25, 1.1, 0.3, 1),
      width 0.4s cubic-bezier(0.25, 1.1, 0.3, 1);
    pointer-events: none;
  }

  body.photo-decade-page .collection-show.custom.inner .photo-panels {
    margin-top: 28px;
  }

  /* 문서 컬렉션 상단·레일 */
  .doc-collection-nav {
    width: 100%;
    margin-bottom: 8px;
  }

  .doc-root-stage[hidden] {
    display: none !important;
  }

  .doc-mem-tier2.is-hidden {
    display: none;
  }

  .doc-year-bank {
    display: none;
  }

  /* 문서 컬렉션 AJAX 연도 패널: 썸네일 축소, 그리드 촘촘, 패널 안에서만 스크롤 */
  .doc-doc-panels--lazy .doc-doc-panel--lazy {
    box-sizing: border-box;
    max-height: min(70vh, 640px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .doc-doc-panels--lazy .doc-lazy-grid {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 12px 10px;
    align-items: start;
  }

  .doc-doc-panels--lazy .doc-lazy-grid .item-card {
    max-width: 112px;
    margin-left: auto;
    margin-right: auto;
  }

  .doc-doc-panels--lazy .doc-lazy-grid .item-card img {
    width: 100%;
    max-height: 112px;
    object-fit: cover;
    aspect-ratio: 1;
  }

  .doc-doc-panels--lazy .doc-lazy-grid .item-card:hover img {
    transform: scale(1.03);
  }

  /* 미리보기 모드: (큰) 연도 칸·상단·스트립만 */
  .doc-decade--preview-mode .doc-year-slot {
    display: none !important;
  }

  /* 연도만 선택: 하단·연도·썸네일 스트립(가로) */
  .doc-decade-preview-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 16px;
    justify-content: center;
    align-items: flex-start;
    margin: 12px 0 24px;
    padding: 12px 8px;
    max-height: min(48vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .doc-decade-preview-strip[hidden] {
    display: none !important;
  }

  .doc-decade-preview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 104px;
    margin: 0;
    padding: 8px 6px 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font: inherit;
    color: #333;
    transition:
      box-shadow 0.2s ease,
      border-color 0.2s ease;
  }

  .doc-decade-preview-card:hover,
  .doc-decade-preview-card.is-active {
    border-color: rgba(94, 134, 198, 0.55);
    box-shadow: 0 6px 18px rgba(31, 58, 104, 0.12);
  }

  .doc-decade-preview-fig {
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
  }

  .doc-decade-preview-fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .doc-decade-preview-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.25rem;
    color: #aaa;
  }

  .doc-decade-preview-cap {
    display: block;
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: center;
    word-break: keep-all;
    max-width: 100%;
  }

  .doc-decade-preview-loading,
  .doc-decade-preview-empty,
  .doc-decade-preview-error {
    width: 100%;
    text-align: center;
    margin: 8px 0;
    font-size: 0.9rem;
    color: #666;
  }

  /* @end */
  /* @group ----- Exhibits/Page ----- */
  /* 1. 페이드인 애니메이션 정의 */
  @keyframes fadeInScene {
    from {
      opacity: 0;
      transform: translateY(10px);
      /* 살짝 위로 뜨는 느낌(과장 ↓) */
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* 오른쪽 고정 스크롤 막대: 둥근 박스 + 버튼 스택 + 간격 */
  .exhibits.browse .exhibit-scroll-nav {
    --ex-scroll-accent: #4a6eb8;
    --ex-scroll-accent-soft: rgba(74, 110, 184, 0.16);
    position: fixed;
    right: clamp(20px, 3.2vw, 36px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 10040;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 8px;
    width: auto;
    min-width: 54px;
    max-width: none;
    box-sizing: border-box;
    background: linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(236, 241, 248, 0.92) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.88) inset,
      0 -2px 6px rgba(31, 58, 104, 0.06) inset,
      0 10px 22px rgba(31, 58, 104, 0.12),
      0 4px 8px rgba(0, 0, 0, 0.05),
      0 0 0 1px rgba(94, 134, 198, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .exhibits.browse .exhibit-scroll-btn {
    position: relative;
    margin: 0;
    padding: 14px 10px;
    width: 100%;
    min-width: 38px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3d4f66;
    background: linear-gradient(180deg, #fbfcfe 0%, #e8edf4 55%, #dde4ef 100%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    cursor: pointer;
    box-shadow:
      0 2px 0 rgba(255, 255, 255, 0.95) inset,
      0 -2px 4px rgba(31, 58, 104, 0.07) inset,
      0 3px 6px rgba(31, 58, 104, 0.12),
      0 1px 2px rgba(0, 0, 0, 0.06);
    transition:
      color 0.2s ease,
      background 0.2s ease,
      transform 0.18s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease;
  }

  .exhibits.browse .exhibit-scroll-icon {
    display: block;
    width: 20px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.75));
  }

  .exhibits.browse .exhibit-scroll-icon--tall {
    width: 18px;
    height: auto;
  }

  .exhibits.browse .exhibit-scroll-btn:hover,
  .exhibits.browse .exhibit-scroll-btn:focus {
    color: var(--ex-scroll-accent);
    background: linear-gradient(180deg, #f5f8fd 0%, #e2eaf8 50%, #d4e0f4 100%);
    border-color: rgba(94, 134, 198, 0.28);
    outline: none;
    box-shadow:
      0 2px 0 rgba(255, 255, 255, 0.98) inset,
      0 -1px 4px rgba(74, 110, 184, 0.1) inset,
      0 5px 12px rgba(74, 110, 184, 0.18),
      0 2px 4px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
  }

  .exhibits.browse .exhibit-scroll-btn:focus-visible {
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.9),
      0 0 0 4px rgba(94, 134, 198, 0.45),
      0 4px 10px rgba(31, 58, 104, 0.12);
  }

  .exhibits.browse .exhibit-scroll-btn:active {
    color: #3a5a9e;
    background: linear-gradient(180deg, #dde4ef 0%, #d0d9e8 100%);
    transform: translateY(1px);
    box-shadow:
      0 2px 4px rgba(31, 58, 104, 0.12) inset,
      0 1px 2px rgba(0, 0, 0, 0.05);
  }

  /* 2. 입장 시 전시 주요 섹션에 애니메이션 */
  /* .exhibits.browse = browse.php bodyclass 기준 */
  .exhibits.browse .section-top,
  .exhibits.browse .history-video,
  .exhibits.browse .timeline-group {
    opacity: 0;
    animation: fadeInScene 1s ease forwards;
  }

  /* 3. 섹션별(차등) 딜레이(선택) */
  .exhibits.browse .section-top {
    animation-delay: 0.2s;
  }

  .exhibits.browse .history-video {
    animation-delay: 0.5s;
  }

  .exhibits.browse .timeline-group:nth-child(1) {
    animation-delay: 0.7s;
  }

  .exhibits.browse .timeline-group:nth-child(2) {
    animation-delay: 0.9s;
  }

  .exhibits.browse .timeline-group:nth-child(n+3) {
    animation-delay: 1.1s;
  }

  .tab-panel {
    display: none;
  }

  .tab-panel.active {
    display: block;
  }

  /* ================= 교회 연혁(카피) ================= */
  /* ================= section-top 메인 ================= */
  .section-top {
    max-width: 900px;
    margin: 140px auto 80px;
    text-align: center;
    padding: 0 20px;
  }

  .section-top .sec-badge {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: normal;
    color: #555;
  }

  .section-top .sec-heading {
    margin: 0px 0 34px;
    font-size: 5rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.02em;
    color: #333;
  }

  .section-top .sec-text {
    font-size: 1.4rem;
    line-height: normal;
    font-weight: 500;
    color: #555;
  }

  /* ================= history-video(비디오) ================= */
  .history-video__frame {
    overflow: hidden;
    position: relative;
    margin: auto;
    max-width: 1300px;
    width: 90%;
    border: 6px solid var(--lux-accent);
    border-radius: 30px;
    clip-path: circle(20% at 50% 50%);
    transition: clip-path 0.9s cubic-bezier(0.24, 0.7, 0.35, 1.33);
  }

  .history-video__frame-item {
    display: block;
    width: 100%;
  }

  .history-video__frame-button {
    z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    cursor: pointer;
  }

  .history-video__frame-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 80px;
    background: white;
    clip-path: polygon(30% 20%, 80% 50%, 30% 80%);
  }

  .history-video[data-media="enter"] .history-video__frame {
    clip-path: circle(30% at 50% 50%);
  }

  .history-video[data-media="play"] .history-video__frame {
    clip-path: circle(100% at 50% 50%);
  }

  .history-video[data-media="play"] .history-video__frame-button {
    opacity: 0;
  }

  /* ================= 그룹 섹션 ================= */
  /* ===== 그룹 레이아웃 ===== */
  .timeline-group {
    display: flex;
    position: relative;
    margin-bottom: 140px;
  }

  /* 왼쪽 sticky */
  .timeline-group-sticky {
    width: 30%;
    position: sticky;
    top: 140px;
    height: fit-content;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .timeline-group-sticky.passed {
    opacity: 1;
    transform: translateY(0);
  }

  /* 오른쪽 카드 영역 */
  .timeline-group-content {
    width: 70%;
    position: relative;
  }

  /* 중앙 가이드선 */
  .timeline-group-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 6%;
    width: 1px;
    height: calc(90% - 80px);
    background: rgb(94 134 198 / 50%);
    transform: translateX(-50%);
  }

  /* 진행 막대 */
  .timeline-progress {
    position: absolute;
    left: 50%;
    top: 6%;
    width: 1px;
    height: 0;
    background: var(--lux-accent);
    transform: translateX(-50%);
    z-index: 2;
  }

  /* 연도(범위) */
  .year-range {
    font-size: 3.6rem;
    font-weight: 700;
    color: #333;
    letter-spacing: -1px;
  }

  .year-label {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin-top: 6px;
  }

  /* ================= timeline 타임라인 ================= */
  .timeline {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
    padding-top: 20px;
  }

  /* 타임라인 항목 */
  .timeline-item {
    position: relative;
    width: 50%;
    padding: 40px 0;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .timeline-item.passed {
    opacity: 1;
    transform: translateY(0);
  }

  /* JS로 클래스 추가 시 표시 */
  .timeline-item.show,
  .timeline-item.passed,
  .timeline-item.active {
    opacity: 1;
    transform: translateY(0);
  }

  /* 중앙 점 */
  .timeline-item::before {
    content: '';
    position: absolute;
    top: 50px;
    width: 12px;
    height: 12px;
    background: var(--lux-accent);
    border-radius: 50%;
    z-index: 10;
    border: 2px solid #fff;
  }

  /* 왼쪽 배치 */
  .timeline-item.left {
    left: 0;
    padding-right: 60px;
  }

  /* 왼쪽 점 위치 */
  .timeline-item.left::before {
    right: -8px;
  }

  /* 왼쪽 카드 정렬 */
  .timeline-item.left .timeline-inner {
    margin-left: auto;
    margin-right: 0;
  }

  /* 오른쪽 배치 */
  .timeline-item.right {
    left: 50%;
    padding-left: 60px;
  }

  /* 오른쪽 점 위치 */
  .timeline-item.right::before {
    left: -8px;
  }

  /* 오른쪽 카드 정렬 */
  .timeline-item.right .timeline-inner {
    margin-right: auto;
    margin-left: 0;
  }

  /* 타임라인 카드(본문) 정렬 */
  .timeline-inner {
    display: block;
    max-width: 450px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
  }

  .timeline-inner:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
  }

  /* 카드 본문(텍스트) 영역 */
  .timeline-content {
    padding: 25px;
  }

  /* 제목(타이틀) */
  .timeline-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--lux-accent);
    display: block;
  }

  .timeline-desc {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 10px 0;
    color: #222;
    white-space: pre-line;
  }

  .timeline-img img {
    width: 100%;
    max-width: 100%;
    /* 카드 비율·맞춤 */
    border-bottom: 1px solid #f0f0f0;
    display: block;
  }

  /* ================= 연혁(10년·탭) 레이아웃 ================= */
  /* 전체 컨테이너 */
  .history-wrap {
    display: flex;
    align-items: flex-start;
    position: relative;
    gap: 0px;
    max-width: 1400px;
    width: 100%;
    height: auto;
    margin: 140px auto 0;
  }

  /* 좌측 탭: 스크롤해도(tabs) sticky 고정 */
  .exhibits-tab-wrap {
    flex: 0 0 350px;
    position: sticky;
    flex-shrink: 0;
    top: 100px;
    height: auto;
    padding: 40px 20px;
    z-index: 10;
  }

  /* 연도(탭)가 많을 때: 뷰포트 안에서만 내부 스크롤(스크롤바 없음 — 바깥 스크롤과 겹쳐 보이지 않게) */
  @media screen and (min-width: 1025px) {
    .exhibits.browse .history-wrap .exhibits-tab-wrap {
      align-self: flex-start;
      max-height: calc(100vh - 100px - 40px);
      max-height: calc(100dvh - 100px - 40px);
      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior: contain;
      scrollbar-width: none;
      -ms-overflow-style: none;
      scroll-padding-block: 12px;
      box-sizing: border-box;
    }

    .exhibits.browse .history-wrap .exhibits-tab-wrap::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
    }
  }

  /* 좌측 연혁 탭 */
  .exhibits-tab-wrap .tabs {
    display: block;
    padding: 0px 0;
    margin: 0 0 20px;
    font-size: 2.8rem;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0;
    background: transparent;
  }

  .exhibits-tab-wrap .tabs:hover {
    font-weight: 700;
  }

  .exhibits-tab-wrap .tabs.active {
    color: var(--lux-accent);
    font-weight: 700;
    border-bottom: 3px solid var(--lux-accent);
  }

  /* 우측 콘텐츠 */
  .history-view {
    flex-grow: 1;
    padding: 60px 0 60px 80px;
    border-left: 1px solid #ddd;
  }

  .history-track {
    display: block;
  }

  .history-panel {
    padding: 50px 0;
    /* 그라데이션으로 점선 */
    background-image: linear-gradient(to right, #ddd 50%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 10px 2px;  /* (점선 간격·대시 길이) (선 굵기) */
    background-repeat: repeat-x;
    /* min-height: 80vh; */
  }

  .history-panel:first-child {
    padding-top: 0;
  }

  /* 10년(세기) 항목 */
  .decade-item {
    display: flex;
    align-items: flex-start;
    margin: 0 0 10px 30px;
    opacity: 0;
    transform: translateX(-40px);
  }

  /* 등장 상태 */
  .decade-item.show {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.5s ease;
  }

  /* ================= decade-img 스크롤 애니메이션 ================= */
  /* 1. 애니메이션 초기(아래) */
  .decade-img {
    opacity: 0;
    transform: translateY(150px);
    transition: opacity 0.8s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
  }

  /* 2. 애니메이션 실행(JS로 클래스 추가 시) */
  .decade-img.animate-up {
    opacity: 1;
    transform: translateY(0);
  }

  .decade-img img {
    max-width: 300px;
    width: 100%;
    border-radius: 0px;
    margin-top: 10px;
  }

  .decade-item .decade-content {
    display: flex;
    flex: 1;
    align-items: baseline;
    gap: 40px;
  }

  .decade-item-title {
    flex: 0 0 250px;
    margin-bottom: 5px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .decade-item-desc {
    flex: 1;
    font-size: 1.4rem;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
  }

  .exhibits.summary .summary-header {
    color: #fff;
    background-size: cover;
    background-position: center center;
    position: relative;
    width: 70%;
    margin: auto;
    padding: 42px 21px;
  }

  .exhibits.summary .summary-header:before {
    content: "";
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
  }

  .exhibits.summary .summary-header h1 {
    position: relative;
    z-index: 1;
    background-color: #000;
    display: inline-block;
    padding: 5.25px 10.5px;
  }

  .exhibits.show #content>h1 {
    text-align: center;
    width: 70%;
    margin: 21px auto;
  }

  .exhibits.summary #primary,
  #exhibit-blocks,
  #exhibit-pages {
    width: 70%;
    margin: auto;
  }

  #exhibit-pages ul {
    list-style: decimal;
    font-size: 21px;
    line-height: 31.5px;
    font-family: "Caudex", serif;
  }

  #exhibit-pages li {
    margin: 21px 0;
  }

  .exhibit-block {
    overflow: hidden;
  }

  .exhibit-items+* {
    margin-top: 0;
  }

  .exhibit-items .download-file {
    text-align: center;
    background-color: #cecece;
  }

  .exhibit-items .download-file:last-child {
    margin-bottom: 42px;
  }

  .exhibit-items .download-file+.download-file {
    text-align: center;
    background-color: #cecece;
    margin-top: 21px;
  }

  .layout-file-text .exhibit-items>* {
    margin-bottom: 10.5px;
  }

  .layout-file-text .exhibit-items.right {
    margin-left: 42px;
  }

  .layout-file-text .exhibit-items.left {
    margin-right: 42px;
  }

  .exhibit-item-caption {
    font-size: 12.25px;
    margin-bottom: 42px;
  }

  #exhibit-page-navigation #exhibit-nav-prev,
  #exhibit-page-navigation #exhibit-nav-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 10%;
    font-family: "Caudex", serif;
    border-top: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
    padding: 20px 0;
    text-align: center;
    opacity: 0.6;
  }

  #exhibit-page-navigation #exhibit-nav-prev:hover,
  #exhibit-page-navigation #exhibit-nav-next:hover {
    opacity: 1;
  }

  #exhibit-nav-prev {
    left: 21px;
  }

  #exhibit-nav-next {
    right: 21px;
  }

  .current-page {
    display: none;
  }

  #other-exhibits {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    margin: 0 auto;
  }

  #other-exhibits .exhibit {
    width: calc(50% - 42px);
    margin: 21px;
    text-align: center;
    position: relative;
  }

  #other-exhibits h2 {
    width: 100%;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
    font-size: 17.5px;
    border-bottom: 1px solid #cecece;
    padding-bottom: 20px;
  }

  #other-exhibits .exhibit h3 {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0;
  }

  #other-exhibits .exhibit h3 a {
    color: #fff;
    display: block;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 21px;
  }

  #other-exhibits img {
    width: 100%;
  }

  /* @end */
  /* @group ----- Plugins ----- */
  #geolocation-browse {
    margin-top: 63px;
    clear: both;
  }

  #geolocation-browse #map-links li {
    background-color: #cecece;
  }

  /* @end */
}

@media screen and (max-width: 800px) {

  /* @group ----- Header ----- */
  #site-header,
  #home #site-header {
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
    padding: 10px max(10px, env(safe-area-inset-left, 0px)) 10px max(10px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }
  #site-header,
  #home #site-header {
    height: 6rem;
    min-height: 6rem;
  }

  #site-title img {
    max-height: 40px;
  }

  .site-title-text {
    font-size: 1.3rem;
    letter-spacing: -0.04em;
  }

  #advanced-form {
    justify-content: flex-start;
  }

  #advanced-form fieldset {
    margin: 0 0 21px 0;
  }

  /* @end */
  #content>h1:first-child {
    margin: 10.5px 0;
  }

  /* @group ---- Browse Views ----- */
  .browse-header {
    flex-wrap: wrap;
    margin-top: -10.5px;
  }

  .secondary-nav {
    width: 100%;
    max-width: none;
    margin: 10.5px auto 0 0;
  }

  #sort-links,
  .sort-links,
  .pagination-nav {
    width: 50%;
    margin: 10.5px 0;
    border-top: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
    height: 42px;
    line-height: 1;
  }

  #sort-links:only-child,
  .sort-links:only-child,
  .pagination-nav:only-child {
    width: 100%;
  }

  .items-nav+.pagination-nav {
    text-align: center;
    width: 100%;
  }

  .sort-links .sort-label {
    margin-right: 10.5px;
  }

  #sort-links-list {
    padding: 5.25px 0;
  }

  #sort-links-list li {
    margin-right: 0;
    padding: 5.25px 0;
  }

  #sort-links-list li.desc,
  #sort-links-list li.asc {
    background-color: #eee;
    width: 45px;
    padding: 5.25px;
  }

  #sort-links-list li:not(:last-child) {
    margin-right: 10.5px;
  }

  #sort-links-list li a {
    text-indent: -9999px;
    display: inline-block;
    position: relative;
    padding-left: 15.75px;
    width: 15.75px;
  }

  #sort-links-list li a:before,
  #sort-links-list li a:after {
    text-indent: 0;
    position: absolute;
    top: 0;
    text-align: center;
    width: 15.75px;
    line-height: 1;
  }

  #sort-links-list li a:before {
    left: 0;
  }

  #sort-links-list .sorting a:after {
    right: 0;
    line-height: 21px;
  }

  #sort-links-list .sorting .sort-icon {
    position: absolute;
    right: -20.5px;
    width: 15.5px;
    text-indent: 0;
    height: 14px;
    top: 1px;
  }

  .pagination-nav {
    text-align: right;
  }

  .pagination-nav .pagination {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
  }

  .pagination-nav input[type=text] {
    height: auto;
  }

  .records .item {
    width: 100%;
  }

  .browse.collections .record,
  .browse.exhibits .record {
    width: 100%;
  }

  /* @end */
  /* @group ----- Collections/Show ----- */
  .items.browse .flex {
    flex-wrap: wrap;
  }

  .collection-meta {
    width: 100%;
    order: 1;
    margin: 0;
    border-left: 0;
  }

  .collection-meta .mobile-toggle {
    display: block;
    text-transform: uppercase;
    font-family: "Caudex", serif;
    padding: 9.5px 10.5px;
    border: solid #cecece;
    border-width: 1px 0;
    background-color: transparent;
    width: 100%;
    height: auto;
    text-align: left;
    cursor: pointer;
    color: #0066c1;
  }

  .collection-meta .mobile-toggle:after {
    font-family: "Linearicons-Free";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "+";
    display: block;
    float: right;
    line-height: 21px;
    width: 21px;
    height: 21px;
    text-align: center;
  }

  .collection-meta .mobile-toggle.open:after {
    content: "−";
  }

  .collection-meta .mobile-toggle+.closed {
    display: none;
  }

  #collection-items {
    order: 2;
    width: calc(100% + 21px);
  }

  /* @end */
  /* @group ----- Advanced Search ----- */
  .field>label,
  .field>.label,
  .field>.two.columns,
  .field-meta,
  .inputs {
    width: 100%;
  }

  .add_search {
    margin-left: 0;
  }

  .search-entry {
    flex-wrap: wrap;
  }

  .search-entry>* {
    margin-bottom: 5.25px;
  }

  /* @end */
  /* @group ----- Exhibits/Page ----- */
  #exhibit-page-navigation {
    display: flex;
    border-top: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
  }

  #exhibit-page-navigation #exhibit-nav-prev,
  #exhibit-page-navigation #exhibit-nav-next {
    position: relative;
    width: 33%;
    transform: none;
    border: 0;
    padding: 9.5px 5.25px;
    display: flex;
    align-items: center;
  }

  #exhibit-page-navigation #exhibit-nav-prev {
    justify-content: flex-end;
    text-align: right;
    order: 1;
    left: auto;
  }

  #exhibit-page-navigation #exhibit-nav-up {
    order: 2;
    padding: 9.5px 0;
    border-left: 1px solid #cecece;
    border-right: 1px solid #cecece;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #exhibit-page-navigation #exhibit-nav-next {
    justify-content: flex-start;
    text-align: left;
    order: 3;
    right: auto;
  }

  #other-exhibits {
    width: 100%;
  }

  #other-exhibits .exhibit {
    width: 100%;
    margin: 21px 0;
  }

  #other-exhibits h3:only-child {
    position: relative;
  }

  #other-exhibits .exhibit h3 a {
    justify-content: center;
  }

  /* @end */
}

/* ========================================
                collections
======================================== */
.browse-title {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 15px;
  width: 100%;
  height: 340px;
  margin-top: 7rem;
}

/* 배경 줌(이징) */
.browse-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/collection_bg.JPG") center/cover no-repeat;
  transform: scale(1.15);
  animation: zoomOut 3s ease forwards;
  z-index: 0;
}

/* 콘텐츠를 앞으로 */
.browse-title * {
  position: relative;
  z-index: 1;
}

/* 애니메이션: zoomOut */
@keyframes zoomOut {
  from {
    transform: scale(1.15);
  }

  to {
    transform: scale(1);
  }
}

.browse-title h1,
.browse-title p {
  opacity: 0;
  transform: translateY(12px);
}

.browse-title h1 {
  color: #fff;
  margin: 0;
  font-size: 3rem;
  animation: textUp 1.5s ease forwards;
  animation-delay: 0.6s;
}

.browse-title p {
  color: #fff;
  margin: 0;
  font-size: 1.4rem;
  animation: textUp 1.5s ease forwards;
  animation-delay: 0.9s;
}

/* 애니메이션: textUp */
@keyframes textUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 기록 묶음: 중앙 정렬 + 좌우 여백
   items/browse 등: 서브·비주얼·본문은 고정 헤더(7rem)에 맞춰 상단 여백 조정 */
.record-browse-shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.25rem clamp(16px, 4vw, 32px) 0;
  box-sizing: border-box;
}

body.folder-hub-browse .record-browse-shell {
  padding-top: calc(7rem + 1.5rem);
  padding-bottom: 0.5rem;
}

.record-browse-search {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}

.record-browse-search input[type="text"] {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 420px;
}

/* 컬렉션 래퍼 */
.collection-wrapper {
  display: flex;
  gap: 50px;
  margin-top: 100px;
}

.collection-wrapper.inner {
  width: 1400px;
}

.collection-section {
  flex: 1;
  margin-bottom: 60px;
}

/* 섹션 제목 */
.collection-section h2 {
  margin: 0 0 15px 0;
  font-size: 1.6rem;
  text-align: left;
}

/* 카드 리스트 */
.collection-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 1. 애니메이션: 아래→위 (fade) */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. 컬렉션 카드: 초기 숨김 + 애니메이션 */
.collection-card {
  opacity: 0;
  /* 초기 opacity 0 */
  animation: slideUpFade 0.8s ease forwards;
}

/* 3. 순번별 오름차순 딜레이(최대 ~20개) */
.collection-card:nth-child(1) {
  animation-delay: 0.3s;
}

.collection-card:nth-child(2) {
  animation-delay: 0.2s;
}

.collection-card:nth-child(3) {
  animation-delay: 0.3s;
}

.collection-card:nth-child(4) {
  animation-delay: 0.4s;
}

.collection-card:nth-child(5) {
  animation-delay: 0.5s;
}

.collection-card:nth-child(6) {
  animation-delay: 0.6s;
}

.collection-card:nth-child(n+7) {
  animation-delay: 0.7s;
}

/* 7번째 이후는 동일 딜레이 */

/* 카드 */
.collection-card {
  width: 100%;
  border: 1px solid #ddd;
  transition: transform 0.6s;
  background: #fff;
  margin-bottom: 3%;
}

/* 카드 hover */
.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.collection-card a {
  display: block;
  height: 100%;
}

/* 썸네일 */
.card-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #eee;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  body:not(#home) .card-thumb {
    aspect-ratio: 1 / 1;
  }

  body:not(#home) .card-thumb img {
    object-fit: contain;
  }
}

/* 이미지 */
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.collection-card:hover .card-thumb img {
  transform: scale(1.08);
}

.collection-card:hover .card-title {
  color: #000;
  font-weight: 600;
}

/* 제목 */
.card-title {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: #555;
  line-height: 1.4;
  word-break: keep-all;
}

.person-card,
.archive-card {
  cursor: pointer;
}

.person-card a,
.archive-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* 인물 리스트 */
.person-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* 카드 */
.person-card {
  width: 180px;
  text-align: center;
}

/* 썸네일 */
.person-thumb {
  width: 100%;
  height: 180px;
  background: #eee;
  overflow: hidden;
}

.person-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 이름 */
.person-name {
  margin-top: 10px;
  font-size: 14px;
}

.person-meta {
  margin-top: 5px;
  font-size: 12px;
  color: #666;
}

.person-role {
  font-weight: 500;
}

.person-date {
  font-size: 11px;
}

/* 기록(아카이브) 리스트 */
.archive-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* 카드 */
.archive-card {
  width: 220px;
  border: 1px solid #ddd;
  background: #fff;
}

/* 썸네일 */
.archive-thumb {
  width: 100%;
  height: 150px;
  background: #eee;
  overflow: hidden;
}

.archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 제목 */
.archive-title {
  padding: 10px;
  font-size: 14px;
}

.archive-meta {
  padding: 0 10px 10px;
  font-size: 12px;
  color: #666;
}

.archive-date {
  margin-top: 5px;
}

.archive-type {
  font-size: 11px;
}

.item-detail-meta {
  margin-top: 10px;
}

.item-detail-meta .item-role {
  font-weight: 600;
}

.item-detail-meta .item-date {
  color: #666;
  font-size: 13px;
}

/* ================= 카드(컬렉션) 섹션 ================= */

/* ================= Non-home: 카테고리·서브 띠(프루지오 스타일) =================
   (메인·index·body#home 제외) 참고: https://www.prugio.com/summit/limited/complex.asp */
@media screen {

  body:not(#home) .subnav {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: none;
  }

  body:not(#home) .subnav-menu {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    min-height: 52px;
    overflow-x: visible;
    row-gap: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body:not(#home) .subnav-menu::-webkit-scrollbar {
    display: none;
  }

  body:not(#home) .subnav-menu li + li {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }

  body:not(#home) .subnav-menu li a {
    padding: 16px 26px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #444;
    transform: none;
  }

  body:not(#home) .subnav-menu li.active a {
    color: #1a1a1a;
    font-weight: 600;
  }

  body:not(#home) .subnav-menu li a:hover {
    color: var(--lux-accent);
    transform: none;
  }

  body:not(#home) .subnav-indicator {
    top: 0;
    bottom: auto;
    left: 0;
    height: 1px;
    background: var(--lux-accent);
    border-radius: 0;
  }

  /* 상단 메인 메뉴: 홈과 동일, 포인트 컬러 + 2px 밑줄 */
  body:not(#home) .header-nav a {
    color: #333;
    font-weight: 500;
    font-size: 1.9rem;
    transition: color 0.22s ease, font-weight 0.15s ease, text-shadow 0.22s ease;
  }

  body:not(#home) .header-nav a::after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    margin: 0 auto;
    width: 0;
    height: 2px;
    border-radius: 1px;
    background: var(--site-point);
    transition: width 0.35s cubic-bezier(0.25, 1, 0.3, 1);
  }

  body:not(#home) .header-nav a:hover::after,
  body:not(#home) .header-nav li.active > a::after {
    width: 100%;
  }

  body:not(#home) .header-nav li:hover > a,
  body:not(#home) .header-nav li.active > a {
    color: var(--site-point);
    font-weight: 700;
    text-shadow: 0 0 18px var(--site-point-soft);
  }

  /* 목록 상단 가로·구분 */
  body:not(#home) .browse-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 12px;
    margin-bottom: 18px;
  }

  /* 사이드바 필터 그룹: 세로 링크 리스트 */
  body:not(#home) .filter-group {
    margin: 20px 0;
    padding: 0;
    border: none;
    border-radius: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    overflow: hidden;
  }

  body:not(#home) .filter-group h3 {
    margin: 0;
    padding: 12px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: #888;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafafa;
  }

  body:not(#home) .filter-group a {
    display: block;
    margin: 0;
    padding: 11px 14px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    font-size: 13px;
    color: #333;
  }

  body:not(#home) .filter-group a:last-child {
    border-bottom: none;
  }

  body:not(#home) .filter-group a:hover {
    background: rgba(94, 134, 198, 0.06);
    color: var(--lux-accent);
  }

  body:not(#home) .filter-group a.active {
    background: rgba(94, 134, 198, 0.08);
    color: var(--lux-accent);
    font-weight: 600;
    border-left: 2px solid var(--lux-accent);
    padding-left: 12px;
  }

  body:not(#home) .filter-chip {
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
  }
}

/* Non-home: 카테고리(서브) — 모바일 세로 나열(한 화면에서 전부 확인, 가로 누락 방지) */
@media screen and (max-width: 767px) {
  html {
    overflow-x: hidden;
  }
  body:not(#home) {
    max-width: 100vw;
    overflow-x: hidden;
  }
  body:not(#home) #wrap {
    max-width: 100%;
    overflow-x: hidden;
  }
  body:not(#home) .subnav {
    overflow: hidden;
  }
  body:not(#home) .subnav-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 12px;
    overflow: visible;
    -webkit-overflow-scrolling: auto;
  }
  body:not(#home) .subnav-menu li {
    width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;
  }
  body:not(#home) .subnav-menu li + li {
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  body:not(#home) .subnav-menu li a {
    display: block;
    padding: 12px 14px;
    white-space: normal;
  }
  body:not(#home) .subnav-indicator {
    display: none;
  }

  /* 컬렉션: 1차(사진/역대 등) 2열 그리드, 타 페이지 세로 1열 규칙은 유지 */
  body.collections.browse:not(#home) .subnav-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 8px;
    padding: 0 10px 10px;
  }

  body.collections.browse:not(#home) .subnav-menu li {
    width: auto;
    min-width: 0;
  }

  body.collections.browse:not(#home) .subnav-menu li + li {
    border-top: 0;
  }

  body.collections.browse:not(#home) .subnav-menu li a {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fafbfc;
  }

  body.collections.browse:not(#home) .subnav-menu li.active a,
  body.collections.browse:not(#home) .subnav-menu li a:hover {
    color: var(--site-point, #00afec);
  }

  body.collections.browse:not(#home) .subnav-menu li.active a {
    background: #fff;
    font-weight: 800;
    border-color: rgba(0, 175, 236, 0.45);
  }
}

@media screen and (max-width: 800px) {

  body:not(#home) .subnav-menu {
    justify-content: flex-start;
    padding: 0 12px;
  }

  body:not(#home) .subnav-menu li a {
    padding: 14px 16px;
    font-size: 1rem;
  }

  body.photo-decade-page .photo-decade-menu {
    padding: 0 12px;
  }

  body.photo-decade-page .photo-decade-btn {
    padding: 14px 16px;
    font-size: 0.85rem;
  }

  .photo-tier--decades {
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    row-gap: 2px;
    overflow-x: visible;
  }

  body.photo-decade-page .photo-decade-menu {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 2px;
  }

  .photo-tier--years {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .photo-year-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 8px;
  }

  .photo-pill {
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}

/* ---------- 폴더 허브 (path: /… 등으로 구분) ---------- */
.folder-hub {
  margin: 12px 0 32px;
}

body.folder-hub-browse .folder-hub {
  margin-left: auto;
  margin-right: auto;
}

.folder-hub__layout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.folder-hub__aside-stack {
  flex: 0 0 220px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.folder-hub__aside-stack .folder-hub__aside {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
}

.folder-hub__aside {
  flex: 0 0 auto;
  max-width: 100%;
}

.folder-hub__aside-inner {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  background: #f3f6fb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(70vh, 520px);
}

/* 사이드 스택이 여러 개일 때: 패널 max-height 동일 */
.folder-hub__aside-stack--multi .folder-hub__aside-inner {
  max-height: min(70vh, 520px);
}

.folder-hub__aside-title {
  margin: 0;
  padding: 12px 14px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: #2d3a4d;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: #e8eef8;
}

.folder-hub__aside-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0;
}

.folder-hub__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  background: #fff;
  border: 1px solid #c5d0e3;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.folder-hub__cat:hover {
  background: #eef3fc;
  color: #2c5282;
  border-color: #8fa8d6;
}

.folder-hub__cat.is-active {
  background: #dce8fb;
  color: #1e3a5f;
  font-weight: 700;
  border-color: var(--lux-accent);
  border-left: 4px solid #3d6cb8;
  padding-left: 9px;
}

.folder-hub__count {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 2px 8px;
}

.folder-hub__aside-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #e8eef8;
}

.folder-hub__scroll-btn {
  min-width: 44px;
  border: 1px solid #6b8cc7;
  background: linear-gradient(180deg, var(--lux-accent) 0%, var(--lux-charcoal) 100%);
  color: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 1px 2px rgba(30, 58, 95, 0.25);
}

.folder-hub__scroll-btn:hover {
  background: linear-gradient(180deg, #4d74b3 0%, #3d5f94 100%);
  border-color: #3d5f94;
  color: #fff;
}

.folder-hub__scroll-btn:focus-visible {
  outline: 2px solid #2c5282;
  outline-offset: 2px;
}

.folder-hub__main {
  flex: 1 1 auto;
  min-width: 0;
}

.folder-hub__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #fafafa;
}

.folder-hub__toolbar--grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 16px;
}

.folder-hub__toolbar--grid .folder-hub__per-page--fixed {
  justify-self: start;
}

.folder-hub__toolbar--grid .folder-hub__grid-nav {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  justify-self: center;
}

.folder-hub__toolbar--grid .folder-hub__view-toggle {
  justify-self: end;
}

.folder-hub__grid-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border: 1px solid #4a6fa8;
  border-radius: 8px;
  background: var(--lux-accent);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

a.folder-hub__grid-page-btn:hover {
  background: #4d74b3;
  border-color: #3d5f94;
  color: #fff;
}

.folder-hub__grid-page-btn.is-disabled {
  opacity: 0.38;
  cursor: not-allowed;
  background: #b8c4dc;
  border-color: rgba(0, 0, 0, 0.08);
  color: #fff;
}

.folder-hub__grid-page-num {
  font-size: 12px;
  font-weight: 700;
  color: #555;
  min-width: 3.5rem;
  text-align: center;
}

.folder-hub__per-page {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.folder-hub__per-label {
  font-size: 12px;
  color: #666;
  margin-right: 4px;
}

.folder-hub__per-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #fff;
}

.folder-hub__per-btn:hover {
  border-color: var(--lux-accent);
  color: var(--lux-accent);
}

.folder-hub__per-btn.is-active {
  background: var(--lux-accent);
  color: #fff;
  border-color: var(--lux-accent);
}

.folder-hub__per-page--fixed {
  align-items: center;
  gap: 8px;
}

.folder-hub__per-note {
  font-size: 13px;
  font-weight: 700;
  color: var(--lux-accent);
  padding: 6px 12px;
  border: 1px dashed rgba(94, 134, 198, 0.45);
  border-radius: 8px;
  background: rgba(94, 134, 198, 0.06);
}

.folder-hub__view-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.folder-hub__view-btn {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  background: #fff;
  white-space: nowrap;
}

.folder-hub__view-btn:hover {
  background: #f0f4fa;
}

.folder-hub__view-btn.is-active {
  background: var(--lux-accent);
  color: #fff;
}

.folder-hub__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 10px;
}

.folder-hub__cell-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.folder-hub--view-grid .folder-hub__cell-link {
  border-radius: 8px;
}

.folder-hub__cell-link:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.folder-hub__thumb {
  display: block;
  aspect-ratio: 1;
  background: #eee;
  overflow: hidden;
}

.folder-hub__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.folder-hub__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  color: #aaa;
  font-size: 24px;
}

.folder-hub--view-grid .folder-hub__noimg {
  min-height: 40px;
  font-size: 14px;
}

.folder-hub__cell-title {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #222;
}

.folder-hub--view-grid .folder-hub__cell-title {
  padding: 5px 6px 6px;
  font-size: 11px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.folder-hub__board {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.folder-hub__board-head {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(88px, 0.75fr) minmax(72px, 0.85fr);
  gap: 10px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  background: #f3f5f8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.folder-hub__board-row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(88px, 0.75fr) minmax(72px, 0.85fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  font-size: 14px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.folder-hub__board-row:last-child {
  border-bottom: none;
}

.folder-hub__board-row:hover {
  background: rgba(94, 134, 198, 0.06);
}

.folder-hub__board-row .folder-hub__col--title {
  font-weight: 600;
  color: #1a1a1a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-hub__board-row .folder-hub__col--date,
.folder-hub__board-row .folder-hub__col--type {
  font-size: 13px;
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-hub__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.folder-hub__card {
  margin: 0;
}

.folder-hub__card-link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 16px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.folder-hub__card-link:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.folder-hub__card-thumb {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}

.folder-hub__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.folder-hub__card-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.folder-hub__card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}

.folder-hub__card-excerpt {
  font-size: 13px;
  line-height: 1.45;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.folder-hub__card-meta {
  font-size: 12px;
  color: #888;
}

.folder-hub__pager-wrap {
  margin-top: 22px;
}

.folder-hub__pager-wrap .collection-solr-pager {
  margin-bottom: 0;
}

.folder-hub__empty {
  padding: 24px;
  text-align: center;
  color: #888;
}

.folder-hub__pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.folder-hub__page {
  display: inline-block;
  min-width: 36px;
  padding: 8px 10px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  color: #444;
  background: #fff;
}

.folder-hub__page:hover {
  border-color: var(--lux-accent);
  color: var(--lux-accent);
}

.folder-hub__page.is-active {
  background: var(--lux-accent);
  color: #fff;
  border-color: var(--lux-accent);
}

.folder-hub-search {
  margin-bottom: 20px;
}

.collection-hub-wrap {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.exhibit-tab-content .folder-hub {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.simple-page-participate-hub {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media screen and (max-width: 900px) {
  .folder-hub__layout {
    flex-direction: column;
  }

  .folder-hub__aside-stack {
    flex: none;
    width: 100%;
  }

  .folder-hub__aside {
    flex: none;
    width: 100%;
  }

  .folder-hub__aside-inner {
    max-height: min(55vh, 420px);
  }

  .folder-hub__aside-stack--multi .folder-hub__aside-inner {
    max-height: min(55vh, 420px);
  }

  body.folder-hub-browse .record-browse-shell {
    padding-top: calc(7rem + 1rem);
  }

  .folder-hub--view-grid .folder-hub__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .folder-hub__toolbar {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
  }

  .folder-hub__toolbar--grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .folder-hub__toolbar--grid .folder-hub__per-page--fixed,
  .folder-hub__toolbar--grid .folder-hub__grid-nav,
  .folder-hub__toolbar--grid .folder-hub__view-toggle {
    justify-self: center;
  }

  .folder-hub__per-page,
  .folder-hub__view-toggle {
    justify-content: center;
  }
}

@media screen and (max-width: 700px) {
  .folder-hub__board-head {
    display: none;
  }

  .folder-hub__board-row {
    display: block;
    padding: 14px 12px;
  }

  .folder-hub__board-row .folder-hub__col {
    display: block;
    white-space: normal;
  }

  .folder-hub__board-row .folder-hub__col--date,
  .folder-hub__board-row .folder-hub__col--type {
    font-size: 12px;
    margin-top: 6px;
    color: #666;
  }

  .folder-hub__card-link {
    flex-direction: column;
    align-items: stretch;
  }

  .folder-hub__card-thumb {
    width: 100%;
    flex: none;
    max-width: 100%;
    aspect-ratio: 1;
    height: auto;
    max-height: min(90vw, 400px);
  }

  .folder-hub__card-thumb img {
    object-fit: contain;
  }
}

@media screen and (max-width: 520px) {
  .folder-hub--view-grid .folder-hub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .folder-hub__aside-nav {
    display: none;
  }
}

/* Solr 컬렉션 페이지: 처음 · 이전 · 1 2 3 · 다음 · 맨끝 */
.collection-solr-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin: 28px auto 8px;
  padding: 14px 16px;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fafafa;
}

.collection-solr-pager--full {
  gap: 6px 8px;
}

.collection-solr-pager__edge {
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  white-space: nowrap;
}

.collection-solr-pager__edge:hover {
  border-color: var(--lux-accent);
  color: var(--lux-accent);
}

.collection-solr-pager__nums {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.collection-solr-pager__step {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lux-accent);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(94, 134, 198, 0.35);
  background: #fff;
}

.collection-solr-pager__step:hover {
  background: rgba(94, 134, 198, 0.08);
}

.collection-solr-pager__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

.collection-solr-pager__num:hover {
  border-color: var(--lux-accent);
  color: var(--lux-accent);
}

.collection-solr-pager__num.is-current {
  background: var(--lux-accent);
  color: #fff;
  border-color: var(--lux-accent);
}

.collection-solr-pager__ellipsis {
  padding: 0 4px;
  color: #999;
  user-select: none;
}

@media screen and (max-width: 520px) {
  .collection-solr-pager {
    flex-direction: column;
    gap: 10px;
  }

  .collection-solr-pager__nums {
    row-gap: 8px;
  }
}

/* 참여·후원 기증 탭 본문: (최대 1400px)에서도 읽기 좋은 줄폭 */
body.simple-page-tabbed .simple-page-tabs .simple-tab-body,
body.simple-page-tabbed .simple-page-tabs .simple-tab-empty {
  max-width: 60rem;
}
.donation-guide--plain {
  max-width: 66rem;
  margin: 0 auto;
  color: #2c2c2c;
  text-align: left;
}

.donation-guide__lead {
  margin: 0 0 1.75em;
  line-height: 1.9;
  color: #333;
  font-size: 1.04em;
}

.donation-guide__list {
  margin: 0;
  padding: 0 0 0 0;
  list-style: none;
  counter-reset: dg-n;
}

.donation-guide__list > li {
  position: relative;
  margin: 0 0 1.5em;
  padding: 0 0 0 2.35em;
  line-height: 1.9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 1.45em;
}

.donation-guide__list > li:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.donation-guide__list > li::before {
  counter-increment: dg-n;
  content: counter(dg-n) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.8em;
  text-align: right;
  color: #666;
  font-weight: 600;
  font-size: 0.95em;
  line-height: 1.9;
}

.donation-guide__section {
  margin: 0 0 1.75em;
}

.donation-guide__section p {
  margin: 0 0 0.4em;
  line-height: 1.9;
  color: #333;
}

.donation-guide__section p:last-of-type {
  margin-bottom: 0;
}

.donation-guide__h4 {
  margin: 0 0 0.7em;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.4;
  color: var(--site-point);
}

.donation-guide__bullets {
  margin: 0.35em 0 0.6em;
  padding: 0 0 0 1.3em;
  list-style: disc;
  line-height: 1.85;
  color: #333;
}

.donation-guide__bullets li {
  margin: 0 0 0.4em;
}

.donation-guide__note {
  margin: 0.6em 0 0;
  font-size: 0.95em;
  line-height: 1.8;
  color: #444;
}

.donation-guide__outro {
  margin: 1.15em 0 0;
  padding-top: 1em;
  line-height: 1.9;
  color: #333;
}

.donation-guide__foot {
  margin: 2.4em 0 0;
  padding: 1.15em 0.75em 0;
  font-size: 0.9em;
  line-height: 1.75;
  color: #555;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .donation-guide__list > li {
    padding-left: 2.1em;
  }
}

.notice-board {
  max-width: 67rem;
  margin: 0 auto;
  text-align: left;
}

.notice-board__head {
  margin: 0 0 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(23, 36, 50, 0.12);
}

.notice-board__desc {
  margin: 0.1rem 0 0;
  color: #5b6671;
  line-height: 1.75;
}

.notice-board__empty {
  margin: 1.15rem 0 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(23, 36, 50, 0.12);
  background: #fafbfc;
  color: #4d5964;
  line-height: 1.8;
}

.notice-board__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(23, 36, 50, 0.12);
}

.notice-board__item {
  margin: 0;
}

.notice-item {
  border-bottom: 1px solid rgba(23, 36, 50, 0.12);
}

.notice-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 0.3rem;
  cursor: pointer;
  list-style: none;
}

.notice-item__summary::-webkit-details-marker {
  display: none;
}

.notice-item__summary-main {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-width: 0;
}

.notice-item__title {
  font-weight: 600;
  color: #2e3842;
  line-height: 1.6;
  min-width: 0;
}

.notice-item__new {
  flex: 0 0 auto;
  padding: 0.14rem 0.42rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: #e11d48;
  border-radius: 4px;
  line-height: 1;
}

.notice-item__date {
  flex: 0 0 auto;
  color: #6d7780;
  font-size: 0.93em;
}

.notice-item__body {
  padding: 0.2rem 0.3rem 1rem;
  color: #333;
  line-height: 1.9;
}

.notice-board__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0.85rem 0.5rem;
  border-top: 1px solid rgba(23, 36, 50, 0.12);
}
.notice-board__pager-btn {
  font-size: 0.92em;
  color: #3d4a54;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(23, 36, 50, 0.15);
  background: #fafbfc;
}
.notice-board__pager-btn:hover:not(.is-disabled) {
  background: #eef1f4;
  color: #1e2930;
}
.notice-board__pager-btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}
.notice-board__pager-nums {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.notice-board__pager-num {
  min-width: 2rem;
  text-align: center;
  font-size: 0.92em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  text-decoration: none;
  color: #3d4a54;
  border: 1px solid transparent;
}
.notice-board__pager-num:hover {
  border-color: rgba(23, 36, 50, 0.12);
  background: #f4f6f8;
}
.notice-board__pager-num.is-current {
  font-weight: 600;
  color: #1e2930;
  border-color: rgba(23, 36, 50, 0.2);
  background: #fff;
}
.notice-board__pager-ellipsis {
  padding: 0 0.15rem;
  color: #8a939c;
  font-size: 0.92em;
  user-select: none;
}

.notice-item__body p {
  margin: 0 0 0.72em;
}

.notice-item__body p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 640px) {
  .notice-item__summary {
    padding: 0.9rem 0.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .notice-item__body {
    padding: 0.15rem 0.1rem 0.9rem;
  }
}

.no-email-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
}

.no-email-page .email-policy {
  margin: 0.75rem auto 0;
}

.email-policy {
  max-width: 70rem;
  margin: 0 auto;
  padding: 1.75rem 2rem 1.8rem;
  border: 1px solid rgba(23, 36, 50, 0.08);
  border-radius: 6px;
  background: linear-gradient(180deg, #fefefd 0%, #ffffff 60%, #fbfdff 100%);
  box-shadow: 0 14px 34px rgba(18, 30, 42, 0.05);
  font-size: 1em;
  color: #2f2f2f;
  text-align: left;
}

.email-policy__lead {
  margin: 0 0 1.45rem;
  padding: 0.2rem 0.2rem 1.1rem;
  border-bottom: 1px solid rgba(0, 175, 236, 0.18);
  font-size: 1.1em;
  line-height: 1.95;
  color: #2f4858;
  font-weight: 500;
}

.email-policy__section {
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(23, 36, 50, 0.08);
  border-radius: 4px;
  background: #fff;
}

.email-policy__section:last-of-type {
  margin-bottom: 0;
}

.email-policy__h4 {
  margin: 0 0 0.72rem;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.45;
  color: var(--site-point);
}

.email-policy__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ep-num;
}

.email-policy__list > li {
  position: relative;
  margin: 0 0 0.52rem;
  padding: 0 0 0 1.62rem;
  font-size: 1.2rem;
  line-height: 1.92;
  color: #333;
}

.email-policy__list > li::before {
  counter-increment: ep-num;
  content: counter(ep-num) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #5c6771;
  font-weight: 600;
}

.email-policy__list > li:last-child {
  margin-bottom: 0;
}

.email-policy__section p {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.92;
  color: #333;
}

.email-policy__section p:last-of-type {
  margin-bottom: 0;
}

.email-policy__section p + .email-policy__list,
.email-policy__section p + .email-policy__bullet-list {
  margin-top: 0.5rem;
}

.email-policy__section .email-policy__list + p {
  margin-top: 0.6rem;
}

.email-policy__bullet-list {
  margin: 0.45rem 0 0.15rem;
  padding: 0 0 0 1.2rem;
  list-style: disc;
  font-size: 1.2rem;
  line-height: 1.9;
  color: #333;
}

.email-policy__bullet-list > li {
  margin: 0.35rem 0;
}

.email-policy__bullet-list a {
  color: var(--site-point);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media screen and (max-width: 640px) {
  .email-policy {
    padding: 1.18rem 1rem 1.25rem;
  }

  .email-policy__lead {
    margin-bottom: 1rem;
    padding: 0.1rem 0.05rem 0.85rem;
  }

  .email-policy__h4 {
    font-size: 1.02em;
  }

  .email-policy__section {
    margin-bottom: 0.85rem;
    padding: 0.82rem 0.82rem;
  }

  .email-policy__list > li {
    padding-left: 1.4rem;
  }
}

.archive-about {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.85rem 3.1rem 2.95rem;
  border: 1px solid rgba(23, 36, 50, 0.08);
  border-radius: 6px;
  background: linear-gradient(180deg, #fefefd 0%, #ffffff 60%, #fbfdff 100%);
  box-shadow: 0 14px 34px rgba(18, 30, 42, 0.05);
  color: #2f2f2f;
  text-align: left;
}

.archive-about__verse {
  margin: 0 0 1.45rem;
  padding: 0.35rem 1rem 1.3rem;
  border-bottom: 1px solid rgba(0, 175, 236, 0.18);
  font-size: 1.46em;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1a5576;
  line-height: 1.52;
  text-align: center;
  text-wrap: balance;
}

.archive-about__body {
  margin: 0 0 1.8rem;
  padding: 0 0.28rem;
}

.archive-about__body p {
  margin: 0 0 0.4em;
  line-height: 2;
  color: #333;
}

.archive-about__body p:last-of-type {
  margin-bottom: 0;
  padding-top: 0.28rem;
  font-weight: 500;
  color: #2f4858;
}

/* 기증 안내(참여): 아카이브 소개와 동일 래퍼, 문의/시행일 문단은 별도 톤 */
.archive-about--donation .archive-about__body p:last-of-type {
  padding-top: 0;
  font-weight: 400;
  color: #555;
}

.archive-about--donation .donation-guide__outro {
  font-weight: 500;
  color: #2f4858;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.archive-about--donation .archive-about__body > p:first-of-type {
  color: #2f4858;
  font-weight: 500;
}

.archive-about--donation .archive-about__body > .donation-guide__section:first-of-type {
  margin-top: 0.35rem;
}

.archive-about--donation .archive-about__body {
  margin-bottom: 0;
}

.archive-about__meta {
  margin: 0.3rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.archive-about__meta-row {
  display: grid;
  grid-template-columns: 8.4em 1fr;
  align-items: center;
  gap: 0.55rem 1.1rem;
  margin: 0;
  padding: 0.86rem 0.15rem;
}

.archive-about__meta-row + .archive-about__meta-row {
  border-top: 1px solid rgba(23, 36, 50, 0.06);
}

.archive-about__meta dt,
.archive-about__meta dd {
  margin: 0;
  line-height: 1.8;
}

.archive-about__meta dt {
  display: inline-flex;
  width: fit-content;
  padding: 0.18rem 0.64rem;
  border-radius: 999px;
  background: rgba(22, 117, 164, 0.1);
  font-weight: 600;
  font-size: 0.92em;
  color: #245169;
}

.archive-about__meta dd {
  color: #333;
  word-break: break-word;
}

.archive-about__meta a {
  color: #1675a4;
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 117, 164, 0.32);
}

.archive-about__meta a:hover,
.archive-about__meta a:focus {
  color: #0e5e84;
  border-bottom-color: rgba(14, 94, 132, 0.66);
}

@media screen and (max-width: 640px) {
  .archive-about {
    padding: 1.3rem 1.04rem 1.25rem;
  }

  .archive-about__verse {
    font-size: 1.24em;
    margin-bottom: 1.08rem;
    padding-bottom: 0.95rem;
  }

  .archive-about__meta {
    margin-top: 0.1rem;
  }

  .archive-about__meta-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0.72rem 0;
  }
}

/* QnA·문의·자료·게시판(participate-error) — 톤: lux / site-point 톤과 통일 */
body.simple-page-tabbed .simple-page-tabs .simple-tab-body .qna-board,
.qna-board {
  --qna-surface: var(--lux-ivory, #fff);
  --qna-muted: #f6f5f2;
  --qna-hover: #fbfaf8;
  --qna-line: var(--lux-line, rgba(44, 46, 53, 0.12));
  --qna-line2: var(--lux-line-strong, rgba(44, 46, 53, 0.2));
  --qna-ink: #2c2c2c;
  --qna-text: var(--lux-text, #2c2e35);
  --qna-text2: var(--lux-text-muted, #6b6e78);
  --qna-text3: #8b8f97;
  --qna-point: var(--site-point);
  --qna-point-ghost: rgba(0, 175, 236, 0.1);
  --qna-point-ghost2: rgba(0, 175, 236, 0.18);
  --qna-lux: var(--lux-accent);
  --qna-lux-ghost: var(--lux-accent-soft, rgba(133, 121, 96, 0.22));
  --qna-warn-ink: #6d5528;
  --qna-warn-bg: #f3efe6;
  --qna-err-ink: #9e5a4c;
  --qna-err-bg: #f4ebe8;
  --qna-radius: 2px;
  --qna-radius-lg: 4px;
  /* 루트 본문(1.22rem)·후원·기증 안내 .donation-guide와 맞는 em 기준 */
  font-family: "Noto Sans KR", "Montserrat", sans-serif;
  font-size: 1em;
  line-height: 1.9;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--qna-ink);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.25rem 4px 2rem;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.qna-board__inner {
  width: 100%;
}

.qna-board__header {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 0rem;
  padding-bottom: 1rem;
}

.qna-board__intro {
  margin: 0.4rem 0 0;
  font-size: 1.04em;
  color: #333;
  line-height: 1.8;
  max-width: 50em;
  font-weight: 400;
}

.qna-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.5em 1.1em;
  font-size: 0.95em;
  font-family: inherit;
  font-weight: 500;
  border-radius: var(--qna-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, opacity 0.12s ease;
}
.qna-btn--primary {
  background: var(--qna-point);
  color: #fff;
  box-shadow: none;
}
.qna-btn--primary:hover,
.qna-btn--primary:focus-visible {
  filter: brightness(0.95);
  outline: none;
  box-shadow: none;
}
.qna-btn--ghost {
  background: transparent;
  color: #666;
  border-color: rgba(0, 0, 0, 0.12);
}
.qna-btn--ghost:hover,
.qna-btn--ghost:focus-visible {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--qna-ink);
  outline: none;
}
.qna-btn--icon {
  padding: 0.4rem;
  background: transparent;
  border: none;
  color: var(--qna-text2);
  border-radius: 4px;
}
.qna-btn--icon:hover,
.qna-btn--icon:focus-visible {
  background: var(--qna-muted);
  color: var(--qna-ink);
  outline: none;
}

.qna-icon {
  flex-shrink: 0;
  opacity: 0.85;
  vertical-align: middle;
}

.qna-board__notice {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0 0 0.9rem;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  font-size: 0.95em;
  line-height: 1.8;
  color: #444;
}
.qna-board__notice .qna-icon {
  color: #9a9da3;
  margin-top: 0.12em;
  opacity: 0.85;
  flex-shrink: 0;
}

.qna-board__toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.qna-board__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 0.15rem;
  flex: 0 1 auto;
  min-width: 0;
  gap: 1rem;
}
.qna-board__tab {
  padding: 0.5em 0.75em 0.55em;
  margin-bottom: -1px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  font-size: 0.95em;
  font-family: inherit;
  color: #666;
  cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.qna-board__tab:hover {
  color: #333;
  background: none;
}
.qna-tab--active,
.qna-board__tab.qna-tab--active {
  color: var(--qna-point);
  font-weight: 500;
  border-bottom-color: var(--qna-point);
  background: none;
  box-shadow: none;
}

.qna-board__search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  width: 20rem;
  max-width: 100%;
  padding: 0.35em 0 0.4em;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  transition: border-color 0.15s ease;
}
.qna-board__search:focus-within {
  border-bottom-color: var(--qna-point);
  box-shadow: none;
}
.qna-board__search-input {
  border: 0;
  background: transparent;
  font-size: 1em;
  font-family: inherit;
  color: var(--qna-ink);
  width: 100%;
  min-width: 0;
  outline: none;
}
.qna-board__search .qna-icon {
  color: var(--qna-text2);
  opacity: 0.9;
}
.qna-board__search-input::placeholder {
  color: #9a9da3;
}

.qna-board__count {
  font-size: 0.95em;
  color: #555;
  margin: 0.35rem 0 0.6rem 0.05rem;
  font-weight: 400;
}
.qna-board-count__num {
  font-weight: 500;
  color: var(--qna-ink);
  font-family: inherit;
  font-size: 1em;
  font-variant-numeric: tabular-nums;
}

.qna-board__table {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.qna-board__thead {
  display: grid;
  grid-template-columns: 56px 1fr 120px 88px 92px;
  padding: 0.65em 0.4em 0.5em 0.15em;
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.8em;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.02em;
  text-transform: none;
  align-items: center;
  gap: 1.4rem;
}
.qna-board__th--type,
.qna-board__th--status,
.qna-board__th--date,
.qna-board__th--num {
  text-align: center;
}
.qna-board__th--num,
.qna-board__th:not(.qna-board__th--num) {
  min-width: 0;
}

.qna-board__tbody {
  min-height: 2rem;
}
.qna-board__row {
  display: grid;
  grid-template-columns: 56px 1fr 120px 88px 92px;
  padding: 0.75em 0.4em 0.75em 0.15em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  align-items: center;
  gap: 1.4rem;
  cursor: pointer;
  transition: background 0.1s ease;
}
.qna-board__row:last-child {
  border-bottom: none;
}
.qna-board__row:hover {
  background: rgba(0, 0, 0, 0.02);
}
.qna-board__row--priv {
  background: rgba(0, 0, 0, 0.015);
}
.qna-board__row--priv:hover {
  background: rgba(0, 0, 0, 0.03);
}
.qna-board__td--num {
  font-size: 0.9em;
  color: #888;
  text-align: center;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}
.qna-board__title-wrap {
  min-width: 0;
}
.qna-board__title-t {
  font-size: 1em;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0.4rem;
}
.qna-board__priv-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.qna-lock-ic,
.qna-board__priv-line .qna-lock-ic {
  color: var(--qna-lux);
  flex-shrink: 0;
}
.qna-board__title-priv {
  font-size: 0.95em;
  color: #777;
  font-style: normal;
}
.qna-board__type-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.qna-board__td--status {
  text-align: center;
}
.qna-board__td--date,
.qna-board__date {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  font-variant-numeric: tabular-nums;
}

.qna-board__pager {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.qna-pager__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.6rem;
}
.qna-pager__nums {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.qna-pager__nav,
.qna-pager__num {
  font: inherit;
  font-size: 0.9em;
  line-height: 1.2;
  padding: 0.4em 0.7em;
  min-height: 2.15rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  background: #fff;
  color: #444;
  cursor: pointer;
  transition: background 0.1s, border-color 0.1s, color 0.1s;
}
.qna-pager__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35em;
  min-width: 2.15rem;
}
.qna-pager__ic {
  display: block;
  flex-shrink: 0;
  vertical-align: middle;
}
.qna-pager__nav:disabled,
.qna-pager__num:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.qna-pager__nav:hover:not(:disabled),
.qna-pager__num:hover:not(:disabled) {
  border-color: var(--qna-lux, #b89f6a);
  color: #222;
  background: rgba(0, 0, 0, 0.02);
}
.qna-pager__num.is-active {
  border-color: var(--qna-lux, #b89f6a);
  background: rgba(184, 159, 106, 0.12);
  color: #3d3420;
  font-weight: 600;
  cursor: default;
}
.qna-pager__range {
  font-size: 0.86em;
  color: #777;
  font-variant-numeric: tabular-nums;
  margin-left: 0.25rem;
}
@media (max-width: 640px) {
  .qna-pager__bar {
    flex-direction: column;
    align-items: stretch;
  }
  .qna-pager__range {
    text-align: center;
    margin-left: 0;
  }
  .qna-pager__nums {
    order: 1;
  }
  .qna-pager__prev {
    order: 0;
  }
  .qna-pager__next {
    order: 2;
  }
}

.qna-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  padding: 0.1em 0;
  border-radius: 0;
  font-size: 0.8em;
  font-weight: 400;
  white-space: nowrap;
  line-height: 1.3;
  background: none;
  border: none;
}
.qna-badge--inquiry {
  color: #1d6b47;
}
.qna-badge--bug {
  color: var(--qna-err-ink);
}
.qna-badge--pending {
  color: #1d6b47;
}
.qna-badge--answered {
  color: #6a6348;
}
.qna-badge--progress {
  color: #0a7a9a;
}
.qna-badge--private {
  color: #8b8e96;
}
.qna-badge--public {
  color: #0a7a9a;
}

.qna-board__empty {
  padding: 2.5rem 0.5rem;
  text-align: center;
  color: #777;
  font-size: 0.95em;
  font-weight: 400;
}

/* 모달: 본문(1.22rem)과 톤·크기(기증 안내와 맞춤) */
body.simple-page-tabbed .qna-modal {
  font-size: 1.22rem;
  line-height: 1.75;
  font-family: "Noto Sans KR", "Montserrat", sans-serif;
  color: #2c2c2c;
  -webkit-font-smoothing: antialiased;
}

.qna-modal {
  display: none;
  position: fixed;
  z-index: 10050;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(35, 38, 45, 0.48);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  backdrop-filter: blur(6px) saturate(1.1);
  box-sizing: border-box;
}
.qna-modal--open {
  display: flex;
}
.qna-modal__dialog {
  width: 100%;
  max-width: 80rem;
  max-height: min(92vh, 60rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(44, 46, 53, 0.06), 0 20px 50px -12px rgba(44, 46, 53, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04);
  border: none;
}
.qna-modal__dialog--wide {
  max-width: 58rem;
  max-height: min(92vh, 64rem);
}
.qna-modal__dialog--wide .qna-modal__body {
  padding-bottom: 1.35rem;
}
.qna-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem 1.05rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, #fbfaf8 0%, #fff 64%);
  box-shadow: 0 1px 0 rgba(0, 175, 236, 0.08);
}
.qna-modal__head .qna-btn--icon {
  width: 2.4rem;
  height: 2.4rem;
  min-width: 2.4rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #8b8e96;
  background: rgba(0, 0, 0, 0.04);
  margin-top: 0.1rem;
}
.qna-modal__head .qna-btn--icon:hover,
.qna-modal__head .qna-btn--icon:focus-visible {
  background: rgba(0, 0, 0, 0.08);
  color: #333;
}
.qna-modal__title {
  margin: 0;
  font-size: 1.05em;
  font-weight: 600;
  color: var(--site-point);
  letter-spacing: -0.02em;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
  padding: 0.1rem 0 0 0.15rem;
}
.qna-modal__body {
  padding: 1.2rem 1.35rem 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  flex: 1;
  min-height: 0;
}
.qna-field {
  margin-bottom: 1.1rem;
}
.qna-label {
  display: block;
  font-size: 0.95em;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.35em;
}
.qna-req {
  color: var(--qna-err-ink);
  margin-left: 0.1em;
}
.qna-optional {
  font-weight: 400;
  color: #888;
  font-size: 0.92em;
}
.qna-input,
.qna-textarea {
  width: 100%;
  padding: 0.6em 0.8em;
  border: 1px solid rgba(44, 46, 53, 0.14);
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  color: #333;
  background: #fafbfc;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  line-height: 1.6;
}
.qna-textarea {
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.8;
}
.qna-input::placeholder,
.qna-textarea::placeholder {
  color: #9a9ca3;
}
.qna-input:hover,
.qna-textarea:hover {
  background: #fff;
  border-color: rgba(44, 46, 53, 0.22);
}
.qna-input:focus,
.qna-textarea:focus {
  border-color: var(--qna-point);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 175, 236, 0.15);
  outline: none;
}
.qna-type-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.qna-type-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.8rem;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  cursor: pointer;
  background: #fafbfc;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.qna-type-card:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(44, 46, 53, 0.06);
}
.qna-type-card--inquiry,
.qna-type-card--bug {
  border-color: var(--qna-point);
  background: rgba(0, 175, 236, 0.06);
  box-shadow: 0 0 0 1px rgba(0, 175, 236, 0.12);
}
.qna-type-card--bug .qna-type-icon--bug {
  background: linear-gradient(145deg, rgba(0, 175, 236, 0.2) 0%, rgba(0, 175, 236, 0.08) 100%);
  color: #0088aa;
}
.qna-type-name {
  display: block;
  font-size: 1em;
  font-weight: 600;
  color: #333;
}
.qna-type-desc {
  display: block;
  font-size: 0.95em;
  color: #666;
  margin-top: 0.1em;
  line-height: 1.45;
}
.qna-type-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}
.qna-type-icon--inquiry {
  background: linear-gradient(145deg, rgba(0, 175, 236, 0.2) 0%, rgba(0, 175, 236, 0.08) 100%);
  color: #0088aa;
}
.qna-type-icon--bug {
  background: linear-gradient(145deg, #eee 0%, #f5f5f5 100%);
  color: #666;
}
.qna-vis {
  display: flex;
  border: 1px solid rgba(44, 46, 53, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #fafbfc;
}
.qna-vis-btn {
  flex: 1;
  padding: 0.55em 0.6em;
  font-size: 0.95em;
  font-family: inherit;
  border: 0;
  background: transparent;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  transition: background 0.12s, color 0.12s;
  font-weight: 400;
}
.qna-vis-btn + .qna-vis-btn {
  border-left: 1px solid rgba(44, 46, 53, 0.1);
}
.qna-vis-btn--pub {
  background: rgba(0, 175, 236, 0.08);
  color: #007fa3;
  font-weight: 500;
}
.qna-vis-btn--priv {
  background: rgba(133, 121, 96, 0.08);
  color: #6d6348;
  font-weight: 500;
}
.qna-hint {
  font-size: 0.95em;
  color: #666;
  margin: 0.4em 0 0;
  line-height: 1.55;
}
.qna-captcha-ui {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) auto 1fr;
  gap: 0.5rem;
  align-items: center;
}
.qna-captcha-ui__question {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.4em 0.6em;
  border: 1px dashed rgba(44, 46, 53, 0.25);
  border-radius: 8px;
  background: #f8fafc;
  font-family: "Consolas", "Courier New", monospace;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #333;
  user-select: none;
}
.qna-captcha-ui__input {
  margin: 0;
}
.qna-captcha-ui__refresh {
  min-width: 5.4em;
  padding: 0.5em 0.8em;
}
.qna-form-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 1.5rem -1.35rem 0;
  padding: 1rem 1.35rem 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(180deg, #f7f5f1 0%, #f3f0eb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.qna-modal__body .qna-btn--primary {
  min-width: 5.5em;
  padding: 0.55em 1.35em;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 175, 236, 0.25);
}
.qna-modal__body .qna-btn--ghost {
  border-radius: 8px;
  min-width: 4.5em;
  padding: 0.55em 1.1em;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.qna-form-actions .qna-btn--ghost {
  min-width: 5.5em;
}
.qna-modal__body .qna-btn--ghost:hover {
  background: #fafaf9;
  border-color: rgba(0, 0, 0, 0.15);
}
.qna-inline-submit {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.8rem;
  min-width: 7.2em;
}

/* detail body */
.qna-d-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9em;
}
.qna-d-id {
  font-variant-numeric: tabular-nums;
  color: var(--qna-text3);
  background: var(--qna-muted);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}
.qna-d-date {
  color: var(--qna-text3);
  font-variant-numeric: tabular-nums;
}
.qna-d-title {
  margin: 0 0 0.6rem;
  font-size: 1.05em;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  letter-spacing: -0.02em;
}
.qna-d-content {
  font-size: 1em;
  line-height: 1.9;
  color: #333;
}
.qna-d-answer {
  margin-top: 1.15rem;
  padding: 0.65rem 0 0.65rem 0.9rem;
  background: none;
  border: none;
  border-left: 2px solid var(--qna-point);
  border-radius: 0;
}
.qna-d-answer__lbl {
  font-size: 0.95em;
  font-weight: 500;
  color: #555;
  margin-bottom: 0.35em;
  letter-spacing: 0.02em;
}
.qna-d-answer__body {
  font-size: 1em;
  line-height: 1.8;
  color: #333;
}

/* pw */
.qna-modal--pw {
  padding: 1rem;
}
.qna-modal--pw .qna-pwbox {
  width: 100%;
  max-width: 34rem;
  background: #fff;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(44, 46, 53, 0.06), 0 20px 45px -10px rgba(44, 46, 53, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.qna-pwbox__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.2rem 1.3rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, #fbfaf8 0%, #fff 100%);
  box-shadow: 0 1px 0 rgba(0, 175, 236, 0.06);
}
.qna-pwbox__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(0, 175, 236, 0.12) 0%, rgba(0, 175, 236, 0.04) 100%);
  color: #0090b8;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.qna-pwbox__title {
  margin: 0;
  font-size: 1.05em;
  font-weight: 600;
  color: var(--site-point);
  line-height: 1.3;
}
.qna-pwbox__sub {
  margin: 0.2rem 0 0;
  font-size: 0.9em;
  color: #666;
  line-height: 1.45;
  font-weight: 400;
}
.qna-pwbox__body {
  padding: 1.1rem 1.3rem 1.2rem;
  background: #fff;
}
.qna-pwbox__body .qna-label {
  color: #444;
}
.qna-pw-err {
  min-height: 1.1em;
  font-size: 0.88em;
  color: #c44a3a;
  margin: 0.35rem 0 0;
}
.qna-pw-acts {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.qna-pw-acts .qna-btn--ghost {
  min-width: 4.5em;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.5em 1.1em;
}

/* toast */
.qna-toast {
  position: fixed;
  z-index: 10060;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%) translateY(0.4rem);
  background: rgba(44, 46, 53, 0.92);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 2px;
  font-size: 0.95em;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: min(90vw, 24rem);
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.qna-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sub-up-btn {
  position: fixed;
  right: 50px;
  bottom: 50px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #1f1f1f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.sub-up-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-up-btn:hover {
  background: #fff;
}

body#home .sub-up-btn {
  display: none !important;
}

@media screen and (max-width: 640px) {
  .qna-board__thead {
    grid-template-columns: 1fr 5.2rem 5rem;
  }
  .qna-board__th--num,
  .qna-board__th--type {
    display: none;
  }
  .qna-board__row {
    grid-template-columns: 1fr 5.2rem 5rem;
  }
  .qna-board__td--num,
  .qna-board__td--type {
    display: none;
  }
  .qna-board__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .qna-board__toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .qna-board__tabs {
    width: 100%;
  }
  .qna-board__search {
    width: 100%;
  }
  .qna-type-row {
    grid-template-columns: 1fr;
  }
}
