/* 적용 범위: camfair-bs / 기준 페이지: /about/intro / 범위: hero~sub tab */

/* =========================
   기능: 서브히어로 비주얼(풀폭 배경 + 암전 오버레이)
   설명: 헤더 스페이서만큼 히어로를 위로 당겨 헤더 뒤에서 시작시키고, 70vh~800px 범위 높이와 어두운 필터를 적용한다.
   구현: 음수 margin-top으로 헤더 간격 상쇄 + cover/center 배경 + ::before 오버레이 + .subhero__inner 레이어 분리
   훅  : .subhero.subhero--visual, .subhero__inner, .subhero__copy, .subhero__title
   ========================= */
main .subhero.subhero--visual {
  position: relative;
  width: 100%;
  margin-top: calc((var(--header-top-base) + var(--header-h) + 10px) * -1);
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  background-image: var(--subhero-bgimg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--c-ink);
  overflow: hidden;
}

main .subhero.subhero--visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

main .subhero .subhero__inner {
  position: relative;
  z-index: 1;
  min-height: clamp(640px, 80vh, 800px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

main .subhero .subhero__copy {
  width: min(100%, 1040px);
  max-width: 1040px;
  text-align: left;
  color: var(--c-white);
  padding: 126px 16px 150px;
}

main .subhero .subhero__title {
  margin: 0;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

main .subhero .subhero__subtitle {
  margin: 18px 0 0;
  font-size: clamp(18px, 1.9vw, 30px);
  line-height: 1.45;
  font-weight: 700;
  word-break: keep-all;
}

main .subhero .subhero__badge {
  margin-top: 18px;
}

main .subhero .subhero__badge > span {
  display: inline-block;
  color: var(--c-white);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 800;
}

/* =========================
   기능: 히어로 내 SNS 텍스트 링크
   설명: SNS DOM이 히어로 내부에 존재하는 경우 타이틀 하단에 텍스트 링크 형태로 정렬한다.
   구현: 후보 SNS 래퍼(.subhero__sns/.subhero-sns/[data-subhero-sns]) 공통 링크 스타일
   훅  : .subhero__sns, .subhero-sns, [data-subhero-sns]
   ========================= */
main .subhero :is(.subhero__sns, .subhero-sns, [data-subhero-sns]) {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 1.7vw, 28px);
  flex-wrap: wrap;
}

main .subhero :is(.subhero__sns, .subhero-sns, [data-subhero-sns]) a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: clamp(14px, 1vw, 18px);
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

main .subhero :is(.subhero__sns, .subhero-sns, [data-subhero-sns]) a:hover,
main
  .subhero
  :is(.subhero__sns, .subhero-sns, [data-subhero-sns])
  a:focus-visible {
  color: var(--c-white);
  opacity: 1;
}

/* =========================
   기능: 데스크톱 서브탭(검정 필터 풀폭 + 1040 내부 정렬)
   설명: 시안처럼 전체 폭에 반투명 검정 바를 깔고, 탭 링크는 1040 영역 내에서 중앙 정렬한다.
   구현: .subhero-tabs 풀폭 바 + .subhero-tabs__list 중앙 flex + active/hover 색상 대비
   훅  : .subhero-tabs, .subhero-tabs__list, .subhero-tabs__link, .subhero-tabs__link.is-active
   ========================= */
main .m-subnav {
  display: none;
}

main .subhero-tabs {
  position: relative;
  z-index: 3;
  margin-top: -78px;
  margin-bottom: 0;
  background: rgba(0, 0, 0, 0.52);
  overflow: hidden;
}

main .subhero-tabs .site-container {
  max-width: 1040px;
}

main .subhero-tabs .subhero-tabs__list {
  list-style: none;
  margin: 0;
  padding: 28px 16px 26px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 4vw, 78px);
}

main .subhero-tabs .subhero-tabs__item {
  margin: 0;
}

main .subhero-tabs .subhero-tabs__link {
  display: inline-block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding: 0;
  transition: color 0.18s ease;
}

main .subhero-tabs .subhero-tabs__link:hover,
main .subhero-tabs .subhero-tabs__link:focus-visible {
  color: var(--c-white);
}

main .subhero-tabs .subhero-tabs__link.is-active {
  color: var(--c-white);
}

main .subhero-tabs + * {
  margin-top: 0 !important;
}

/* =========================
   기능: 모바일 서브탭(가로 스크롤) + 모바일 서브내비 표시
   설명: glivestock/soolfair 패턴처럼 탭 리스트를 가로 스크롤로 전환하고 스크롤바를 숨긴다.
   구현: overflow-x:auto, white-space:nowrap, -webkit-overflow-scrolling, scrollbar hidden
   훅  : .subhero-tabs, .subhero-tabs__list, .m-subnav
   ========================= */
@media (max-width: 1040px) {
  main .subhero.subhero--visual {
    margin-top: calc((var(--header-top-base) + var(--header-h) + 8px) * -1);
    margin-left: 0;
    margin-right: 0;
  }

  main .subhero .subhero__inner {
    min-height: 66vh;
  }

  main .subhero .subhero__copy {
    padding: 94px 16px 110px;
  }

  main .subhero .subhero__title {
    font-size: clamp(34px, 8.8vw, 56px);
  }

  main .subhero .subhero__subtitle {
    font-size: clamp(16px, 3.6vw, 22px);
  }

  main .subhero :is(.subhero__sns, .subhero-sns, [data-subhero-sns]) {
    margin-top: 26px;
    gap: 10px 16px;
    justify-content: flex-start;
  }

  main .subhero-tabs {
    display: none;
  }

  main .m-subnav {
    display: block;
  }
}

@media (max-width: 640px) {
  main .subhero .subhero__inner {
    min-height: 64vh;
  }

  main .subhero .subhero__copy {
    padding: 78px 14px 86px;
  }

  main .subhero .subhero__title {
    font-size: clamp(28px, 9.6vw, 42px);
  }

  main .subhero :is(.subhero__sns, .subhero-sns, [data-subhero-sns]) a {
    font-size: 13px;
  }
}

/* =========================
   기능: /about/intro 본문 레이아웃(overview + 품목 테이블 + 전시품목 카드)
   설명: sfkorea sub.css의 intro 관련 스타일을 camfair-bs에도 동일 적용한다.
   구현: .intro-sec/.overview-/.items-table/.intro-items 블록을 그대로 사용
   훅  : .intro-sec, .overview-grid, .items-table, .intro-items .exhibit-item
   ========================= */
.intro-sec {
  padding: 70px 0;
}

.intro-h2 {
  margin: 0 0 28px;
  color: var(--color-secondary);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.intro-h3 {
  margin: 0 0 14px;
  color: var(--color-secondary);
  font-size: 22px;
  font-weight: 900;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  padding-bottom: 6px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: start;
}

.overview-poster {
  border-radius: 26px;
  overflow: hidden;
  background: var(--c-sand);
  min-height: 520px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.overview-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overview-logo {
  margin: 0 0 14px;
  display: block;
}

.overview-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.overview-title {
  margin: 0 0 14px;
  color: var(--color-secondary);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.overview-rule {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0 0 18px;
}

.overview-meta {
  margin: 0;
  padding: 0;
}

.overview-meta__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 26px;
  padding: 12px 0;
  border: 0;
}

.overview-meta dt {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-weight: 900;
  font-size: 15px;
  color: var(--c-ink);
  letter-spacing: -0.2px;
}

.overview-meta dt::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-accent);
  flex: 0 0 auto;
  transform: translateY(1px);
}

.overview-meta dd {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.72);
}

.items-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.items-table thead th {
  background: var(--color-secondary);
  color: var(--c-white);
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 900;
}

.items-table .col-item {
  width: 220px;
}

.items-table tbody th,
.items-table tbody td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  padding: 18px;
  vertical-align: middle;
  font-size: 15px;
  line-height: 1.6;
}

.item-cell {
  text-align: center;
  padding: 16px 10px;
  border-right: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--c-white);
}

/* =========================
   기능: intro 전시품목 배경 카드
   설명: 카드형 배경 이미지 위에 좌측 텍스트/리스트를 오버레이로 배치한다.
   구현: .intro-items .exhibit-item + ::before 그라데이션 + 다단 리스트
   훅  : .intro-items .exhibit-item, .exhibit-item__inner, .exhibit-item__list
   ========================= */
.intro-items .exhibit-items {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.intro-items .exhibit-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 220px;
  padding: 22px 26px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.15);
}

.intro-items .exhibit-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.78) 52%,
    rgba(0, 0, 0, 0.4) 72%,
    rgba(0, 0, 0, 0) 92%
  );
}

.intro-items .exhibit-item__inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 0;
  background: transparent;
}

.intro-items .exhibit-item__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: var(--c-white);
}

.intro-items .exhibit-item__list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 26px;
}

.intro-items .exhibit-item__list li {
  position: relative;
  padding-left: 14px;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
}

.intro-items .exhibit-item__list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.9;
}

@media (max-width: 1040px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .overview-poster {
    min-height: 260px;
  }

  .overview-title {
    font-size: 34px;
  }

  .overview-meta__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 0;
  }

  .overview-logo img {
    height: 44px;
  }

  .intro-items .exhibit-item {
    min-height: 200px;
    padding: 18px;
    border-radius: 16px;
  }

  .intro-items .exhibit-item__inner {
    max-width: 100%;
  }

  .intro-items .exhibit-item__list {
    columns: 1;
    column-gap: 0;
  }

  .intro-items .exhibit-item::before {
    background: rgba(0, 0, 0, 0.62);
  }
}

/* =========================
   기능: 참가기업 신청(/exhibitors/apply) 카드형 UI
   설명: 부스/부대시설/신청절차 섹션을 카드 기반으로 정리하고 모바일(1040/640)에서 1열로 대응한다.
   구현: .apply-sec/.apply-card/.apply-rowCard/.apply-howtoCard/.apply-steps 묶음 스타일
   훅  : .apply-sec, .apply-card, .apply-bullets, .apply-steps
   ========================= */
.apply-sec {
  padding: 60px 0;
  --apply-radius: 18px;
  --apply-bd: rgba(0, 0, 0, 0.08);
  --apply-bd2: rgba(0, 0, 0, 0.06);
  --apply-bg: rgba(0, 0, 0, 0.02);
  --apply-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.apply-sec--tight {
  padding-top: 32px;
}

.apply-head {
  margin-bottom: 18px;
  z-index: 1;
}

.apply-h2 {
  margin: 0 0 12px;
  color: var(--c-ink);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.apply-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-2);
  max-width: 920px;
}

.apply-em {
  color: var(--color-danger);
  font-weight: 900;
}

.apply-note,
.apply-footnote {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-ink-2);
}

.apply-muted {
  opacity: 0.75;
}

.apply-warn {
  color: var(--color-danger);
  font-weight: 900;
}

.apply-cards {
  display: grid;
  gap: 16px;
}

.apply-card {
  border: 1px solid var(--apply-bd);
  border-radius: var(--apply-radius);
  background: var(--c-white);
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

@media (prefers-reduced-motion: reduce) {
  .apply-card {
    transition: none;
  }
}

.apply-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--apply-shadow);
  border-color: rgba(0, 0, 0, 0.12);
}

.apply-card__head {
  padding: 18px 18px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0));
  border-bottom: 1px solid var(--apply-bd2);
}

.apply-card__type {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: var(--c-ink);
  line-height: 1.35;
}

.apply-card__price {
  text-align: right;
  white-space: nowrap;
}

.apply-card__priceMain {
  display: block;
  font-weight: 900;
  font-size: 18px;
  color: var(--c-ink);
}

.apply-card__priceNote {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  opacity: 0.7;
}

.apply-card__body {
  padding: 16px 18px 18px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: start;
}

.apply-card__media {
  border-radius: 14px;
  border: 1px solid var(--apply-bd2);
  background: var(--apply-bg);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.apply-card__media img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
}

.apply-card__label {
  margin: 2px 0 10px;
  font-size: 13px;
  font-weight: 900;
  color: var(--c-ink);
  letter-spacing: -0.1px;
}

.apply-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.apply-bullets li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ink-2);
}

.apply-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  transform: translateY(-50%);
}

.apply-bullets--note {
  margin-top: 10px;
  padding: 12px 12px;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.02);
  border-radius: 14px;
}

.apply-pdfBtn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--c-white);
  text-decoration: none;
  color: var(--c-ink);
  font-weight: 900;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.apply-pdfBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.18);
}

.apply-pdfBtn__icon {
  width: 18px;
  height: 18px;
  display: block;
}

.apply-pdfBtn__text {
  font-size: 13px;
  letter-spacing: -0.1px;
}

.apply-card--child {
  border-style: dashed;
  background: rgba(0, 0, 0, 0.01);
}

@media (min-width: 641px) {
  .apply-card--child {
    margin-left: 18px;
  }

  .apply-card--child .apply-card__head {
    padding-top: 14px;
    padding-bottom: 12px;
  }
}

.apply-rowCard {
  border: 1px solid var(--apply-bd);
  border-radius: 16px;
  background: var(--c-white);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.apply-rowCard__name {
  font-weight: 900;
  font-size: 14px;
  color: var(--c-ink);
  letter-spacing: -0.1px;
  line-height: 1.5;
}

.apply-rowCard__note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.6;
}

.apply-rowCard__price {
  white-space: nowrap;
  font-weight: 900;
  font-size: 14px;
  color: var(--c-ink);
  padding-left: 10px;
}

.apply-howtoCard {
  border: 1px solid var(--apply-bd);
  border-radius: 16px;
  background: var(--c-white);
  padding: 14px 16px;
}

.apply-howtoCard__label {
  font-weight: 900;
  font-size: 14px;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.apply-howtoCard__body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-2);
}

.apply-ol {
  margin: 0;
  padding-left: 18px;
  line-height: 1.85;
}

.apply-steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.apply-step {
  text-align: center;
  padding: 12px 8px;
}

.apply-step__circle {
  width: 70px;
  height: 70px;
  margin: 0 auto 8px;
  border-radius: 999px;
  border: 2px dashed rgba(var(--c-forest-rgb), 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--color-secondary);
  background: rgba(var(--c-forest-rgb), 0.06);
}

.apply-step__title {
  font-weight: 900;
  font-size: 13px;
  color: var(--c-ink);
}

.apply-step__date {
  margin-top: 4px;
  font-size: 12px;
  color: var(--color-danger);
  font-weight: 900;
}

@media (max-width: 1040px) {
  .apply-sec {
    padding: 44px 0;
  }

  .apply-h2 {
    font-size: 22px;
  }

  .apply-card__head {
    padding: 12px 12px;
  }

  .apply-card__body {
    padding: 12px;
    grid-template-columns: 1fr;
  }

  .apply-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .apply-card {
    border-radius: 16px;
  }

  .apply-card__head {
    gap: 12px;
  }
}

/* =========================
   기능: 방문객 안내(/visitors/info) 카드형 UI
   설명: 안내 정보와 절차를 카드/스텝 구조로 정리하고 모바일에서 1열로 전환한다.
   구현: .vinfo-* + .vproc-* + .vstep-* 테마(orange/green/blue) 묶음
   훅  : .vinfo-sec, .vinfo-grid, .vproc, .vproc-steps
   ========================= */
.vinfo-sec {
  padding: 60px 0;
}

.vinfo-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.vinfo-head {
  margin: 0 0 18px;
  z-index: 1;
}

.vinfo-h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
  color: var(--c-ink);
  letter-spacing: -0.2px;
}

.vinfo-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ink-2);
}

.vinfo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.vinfo-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: var(--c-white);
  padding: 16px 18px;
}

.vinfo-card__label {
  font-weight: 900;
  color: var(--c-ink);
  margin-bottom: 10px;
}

.vinfo-card__body {
  display: grid;
  gap: 6px;
}

.vinfo-line {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-ink-2);
}

.vinfo-card__note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 6px;
}

.vinfo-noteLine {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-ink-2);
}

.vinfo-noteLine.is-em {
  color: var(--color-danger);
  font-weight: 900;
}

.vinfo-flowSec {
  margin-top: 28px;
}

.vinfo-h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
  color: var(--c-ink);
}

.vproc-list {
  display: grid;
  gap: 16px;
}

.vproc {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-white);
  display: grid;
  grid-template-columns: 220px 1fr;
}

.vproc-left {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vproc-left__title {
  font-weight: 900;
  font-size: 20px;
  line-height: 1.25;
  color: var(--c-white);
  white-space: pre-line;
}

.vproc-right {
  padding: 18px;
}

.vproc-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}

.vstep {
  flex: 1 1 240px;
  max-width: 320px;
  border-radius: 14px;
  border: 2px dashed rgba(0, 0, 0, 0.18);
  padding: 14px 14px;
  background: rgba(0, 0, 0, 0.02);
}

.vstep__no {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 6px;
}

.vstep__txt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-ink-2);
}

.vproc--orange .vproc-left {
  background: var(--color-warning);
}

.vproc--orange .vstep {
  border-color: rgba(var(--c-warning-rgb), 0.55);
}

.vproc--orange .vstep__no {
  color: var(--color-warning);
}

.vproc--green .vproc-left {
  background: var(--color-primary);
}

.vproc--green .vstep {
  border-color: rgba(var(--c-forest-rgb), 0.55);
}

.vproc--green .vstep__no {
  color: var(--color-primary);
}

.vproc--blue .vproc-left {
  background: var(--color-info);
}

.vproc--blue .vstep {
  border-color: rgba(var(--c-info-rgb), 0.55);
}

.vproc--blue .vstep__no {
  color: var(--color-info);
}

@media (max-width: 1040px) {
  .vinfo-sec {
    padding: 44px 0;
  }

  .vinfo-wrap {
    max-width: 100%;
  }

  .vinfo-grid {
    grid-template-columns: 1fr;
  }

  .vproc {
    grid-template-columns: 1fr;
  }

  .vproc-left__title {
    white-space: normal;
    font-size: 18px;
    line-height: 1.25;
  }

  .vproc-left {
    padding-bottom: 14px;
  }

  .vproc-right {
    padding-top: 14px;
    border-top: 1px dashed rgba(0, 0, 0, 0.12);
  }
}

/* =========================
   기능: 부스배치도(/visitors/boothmap) + 확대 뷰어
   설명: 썸네일/줌 버튼과 모달형 확대 뷰어를 제공하고 모바일에서 안전하게 축소한다.
   구현: .bm-* 썸네일 + .bmz-* 모달/드래그 뷰 구조
   훅  : .bm-sec, .bm-thumb, .bmz-modal, .bmz-view
   ========================= */
.bm-sec {
  padding: 70px 0 110px;
  background: var(--c-white);
}

.bm-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.bm-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0;
}

.bm-hint {
  margin: 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
}

.bm-thumb {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.bm-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.bm-zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.bm-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.18));
  opacity: 0;
  transition: opacity 0.18s ease;
}

.bm-thumb:hover::after {
  opacity: 1;
}

.bmz-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.bmz-modal:target {
  opacity: 1;
  pointer-events: auto;
}

.bmz-bg {
  position: absolute;
  inset: 0;
}

.bmz-dialog {
  position: absolute;
  inset: 26px;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.bmz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bmz-title {
  color: var(--c-white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bmz-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bmz-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.bmz-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  color: var(--c-white);
  font-size: 18px;
  font-weight: 900;
}

.bmz-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: var(--c-white);
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
}

.bmz-view {
  position: relative;
  flex: 1;
  overflow: auto;
  background: rgba(0, 0, 0, 0.35);
  touch-action: none;
  cursor: grab;
}

.bmz-view.is-dragging {
  cursor: grabbing;
}

.bmz-img {
  display: block;
  max-width: none;
  max-height: none;
  user-select: none;
  -webkit-user-drag: none;
}

.bmz-foot {
  padding: 10px 14px 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .bmz-dialog {
    inset: 12px;
    border-radius: 14px;
  }

  .bmz-link {
    display: none;
  }
}

@media (max-width: 640px) {
  .bm-sec {
    padding: 50px 0 80px;
  }

  .bm-title {
    font-size: 26px;
  }

  .bm-modal__inner {
    inset: 18px;
  }
}

/* =========================
   기능: 공통 Coming Soon 페이지
   설명: 준비중 안내 카드와 액션 버튼을 제공하며, 모바일에서 카드 간격/버튼 폭을 최적화한다.
   구현: .nx-soon / .nx-soon__card / .nx-soon__btn.is-primary
   훅  : .nx-soon, .nx-soon__title, .nx-soon__actions, .nx-soon__btn
   ========================= */
.nx-soon {
  padding: 60px 0;
}

.nx-soon__card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.nx-soon__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.nx-soon__badge {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(var(--c-forest-rgb), 0.1);
  color: var(--color-secondary);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.1px;
}

.nx-soon__icon {
  font-size: 26px;
  line-height: 1;
}

.nx-soon__title {
  margin: 6px 0 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--c-ink);
}

.nx-soon__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-ink-2);
}

.nx-soon__hint {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.8;
}

.nx-soon__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.nx-soon__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--c-white);
  text-decoration: none;
  color: var(--c-ink);
  font-weight: 900;
  font-size: 14px;
}

.nx-soon__btn.is-primary {
  background: var(--color-secondary);
  border-color: transparent;
  color: var(--c-white);
}

@media (max-width: 1040px) {
  .nx-soon {
    padding: 44px 0;
  }

  .nx-soon__card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .nx-soon__title {
    font-size: 22px;
  }

  .nx-soon__btn {
    width: 100%;
  }
}

/* =========================
   기능: 모바일 서브내비 드롭다운(1depth/2depth)
   설명: subhero.php의 .m-subnav 마크업과 연결되어 섹션/페이지를 독립 드롭다운으로 노출한다.
   구현: .m-subnav__bar 2버튼 + .m-subnav__panel 좌/우 분할 드롭다운
   훅  : .m-subnav, .m-subnav__btn, .m-subnav__panel--section, .m-subnav__panel--page
   ========================= */
.m-subnav {
  display: none;
}

@media (max-width: 1040px) {
  .subhero-tabs {
    display: none;
  }

  .m-subnav {
    display: block;
    background: var(--c-white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 50;
  }

  .m-subnav .site-container {
    padding-left: 0;
    padding-right: 0;
  }

  .m-subnav__bar {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--c-white);
  }

  .m-subnav__btn {
    flex: 1;
    height: 54px;
    padding: 0 14px;
    border: 0;
    background: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 900;
    cursor: pointer;
  }

  .m-subnav__btn + .m-subnav__btn {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }

  .m-subnav__text {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .m-subnav__chev {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--c-ink-2);
    border-bottom: 2px solid var(--c-ink-2);
    transform: rotate(45deg);
    transition: transform 0.18s ease;
  }

  .m-subnav__btn[aria-expanded="true"] .m-subnav__chev {
    transform: rotate(-135deg);
  }

  .m-subnav__panel {
    position: absolute;
    top: 54px;
    background: var(--c-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 0;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    max-height: 340px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .m-subnav__panel--section {
    left: 0;
    width: 50%;
  }

  .m-subnav__panel--page {
    right: 0;
    width: 50%;
  }

  .m-subnav__list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
  }

  .m-subnav__item {
    margin: 0;
  }

  .m-subnav__link {
    display: block;
    padding: 11px 14px;
    text-decoration: none;
    color: var(--c-ink-2);
    font-size: 14px;
    font-weight: 700;
  }

  .m-subnav__link.is-active {
    color: var(--color-secondary);
    background: rgba(0, 0, 0, 0.03);
  }
}

@media (max-width: 640px) {
  .intro-h2 {
    font-size: 34px;
  }

  .intro-h3 {
    font-size: 18px;
  }

  .items-table {
    min-width: 640px;
  }

  .items-table th,
  .items-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .intro-items .exhibit-item {
    min-height: 180px;
  }

  .intro-items .exhibit-item__inner,
  .intro-items .exhibit-item__list {
    max-width: 100%;
    columns: 1;
  }

  .intro-items .exhibit-item::before {
    background: rgba(0, 0, 0, 0.62);
  }
}
