/* NOTE: sub.ultimate.v2 generated from sub.ultimate.v1 with targeted fixes (intro-items + tabs) */
/* =========================================================
   sub.css (ultimate)
   - Purpose: 서브페이지 공용 스타일(about/intro/apply/visitors/등)
   - Split: core.css = 전역 공통(header/footer/quick)
            main.css = 메인 페이지
            sub.css  = 서브 페이지 공용
   - Breakpoints: 1040px(태블릿/투컬) / 640px(모바일)
   - Notes: board/companies 스타일은 /assets/common/* 로 이동 유지
========================================================= */

/* sub.css (refactored)
   - Board styles moved → /assets/common/board.css
   - Companies styles moved → /assets/common/companies.css
*/

/* =========================
   SUBHERO VISUAL
========================= */
.subhero--visual {
  position: relative;
  background-image: var(--subhero-bgimg);
  background-size: cover;
  background-position: center;
  min-height: 520px;
  overflow: hidden; /* 가로 스크롤 방지 */
}
/* Overlay */
.subhero--visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}
.subhero__inner {
  position: relative;
  min-height: 520px; /* visual과 동일 유지 */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1;
}
.subhero__copy {
  text-align: left;
  max-width: 720px;
  color: var(--c-white);
  padding: 40px 0;
}
.subhero__title {
  margin: 0 0 10px;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.subhero__subtitle {
  margin: 0 0 24px;
  font-size: 26px;
  font-weight: 800;
  opacity: 0.95;
}
/* “26년 5월, 창원에서 만나요!” 배지: 박스 제거 상태 */
.subhero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.subhero__badge > span {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 28px;
  font-weight: 900;
}
/* =========================
   Subhero Bar (teal)
========================= */
.subhero-bar {
  background: var(--color-secondary);
  color: var(--c-white);
  padding: 28px 0; /* 시안처럼 넉넉 */
}
.subhero-bar__text {
  margin: 0;
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.3px;
}
/* =========================
   Tabs
   - 연한 초록 라인: full width
   - active 포인트: 중앙 짧게
========================= */
.subhero-tabs {
  position: relative;
  background: var(--c-white);
}
/* full width line */
.subhero-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  height: 2px;
  background: rgba(59, 139, 59, 0.25);
  border-radius: 999px;
}
.subhero-tabs__list {
  list-style: none;
  margin: 0;
  padding: 28px 16px 24px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 3.2vw, 56px);
  flex-wrap: nowrap;

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  position: relative;
  z-index: 1; /* line 위로 */
}
.subhero-tabs__list::-webkit-scrollbar {
  display: none;
}
.subhero-tabs__link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--color-secondary);
  font-weight: 900;
  font-size: clamp(16px, 1.4vw, 20px);
  padding: 10px 6px;
  white-space: nowrap;
  word-break: keep-all;
}
/* active underline (짧게 포인트) */
.subhero-tabs__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
  width: clamp(72px, 10vw, 120px); /* 포인트 길이 */
  height: 4px;
  background: var(--color-accent);
  border-radius: 999px;
  z-index: 2;
}
/* =========================
   Responsive
========================= */
@media (max-width: 1040px) {
  .subhero--visual,
  .subhero__inner {
    min-height: 360px;
  }

  .subhero__title {
    font-size: 34px;
  }
  .subhero__subtitle {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .subhero__badge > span {
    font-size: 20px;
  }

  .subhero-bar {
    padding: 18px 0;
  }
  .subhero-bar__text {
    font-size: 18px;
  }

  /* quick menu: 모바일에선 하단 가로 */
  .subhero__quick {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
  }

  .quick-circle {
    width: 92px;
    height: 92px;
    font-size: 12px;
  }

  /* tabs: 모바일은 가로 스크롤 구조 추천 */
  .subhero-tabs__list {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 18px;
    padding: 16px 12px 20px;
  }

  .subhero-tabs__link {
    font-size: 16px;
    white-space: nowrap;
  }
  .subhero-tabs__link.is-active::after {
    width: 90px;
    bottom: -12px;
  }
}
/* ===== Intro common ===== */
.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; /* iOS 스크롤 탄성 */
  overscroll-behavior-x: contain; /* 가로 튐 방지 */
  touch-action: pan-x; /* ✅ 이게 핵심: 세로 스크롤 방해 최소화 */
  padding-bottom: 6px;
}
/* ===== 1) overview (v2: poster + bullet meta) ===== */
.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 ===== */
.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: 190px 1fr;
  gap: 26px;
  padding: 12px 0;
  border: 0; /* ✅ 라인 제거 */
}
.overview-meta__row:first-child {
  border-top: 0;
}

/* dt를 flex로 만들어 불릿과 텍스트 정렬 확실히 */
.overview-meta dt {
  margin: 0;
  display: inline-flex;
  align-items: center; /* ✅ 수직 정렬 */
  gap: 10px;
  padding: 0; /* 기존 padding-left 제거 */
  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; /* ✅ dt보다 살짝 낮게 */
  font-size: 16px; /* ✅ 설명 폰트 */
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.72); /* ✅ 톤 다운 */
}

.overview-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.overview-cta__ico {
  width: 18px;
  height: 18px;
}

/* responsive */
@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;
  }
}

/* ===== 2) items ===== */
.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 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);
}
.item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  margin-bottom: 10px;
}
.item-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}
.item-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  background: var(--color-secondary);
  color: var(--c-white);
  font-weight: 900;
  font-size: 13px;
  border-radius: 999px;
}
/* ===== 3) desc ===== */
.desc-head {
  display: flex;
  align-items: baseline;
  gap: 26px;
  margin-bottom: 26px;
}
.desc-title {
  margin: 0;
  color: var(--color-secondary);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.4px;
}
.desc-subtitle {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--c-ink);
}
.desc-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 34px;
  align-items: start;
}
.desc-line {
  width: 4px;
  height: 260px;
  background: var(--color-accent);
  margin: 4px auto 0;
  border-radius: 999px;
}
.desc-body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-ink-2);
}
.desc-quote {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--c-ink);
}
.desc-quote strong {
  font-weight: 900;
}
/* ===== responsive ===== */
@media (max-width: 1040px) {
  .intro-sec {
    padding: 54px 0;
  }

  .intro-h2 {
    font-size: 34px;
  }
  .desc-title {
    font-size: 34px;
  }
  .desc-subtitle {
    font-size: 16px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .overview-poster {
    min-height: 240px;
  }

  .desc-head {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .desc-grid {
    grid-template-columns: 24px 1fr;
    gap: 16px;
  }

  .desc-line {
    height: 220px;
  }
}
/* Board styles moved → /assets/glivestock/css/board.css */
/* =========================
   Mobile Subnav - Independent dropdowns (1depth / 2depth)
========================= */
.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; /* ✅ 패널 absolute 기준 */
    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;
  }

  /* 왼쪽(1뎁) 패널: 좌측 절반 */
  .m-subnav__panel--section {
    left: 0;
    width: 50%;
  }

  /* 오른쪽(2뎁) 패널: 우측 절반 */
  .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);
  }
}
/* =========================
   INTRO page - Mobile fix pack
   (horizontal scroll / text clipping / readability)
========================= */
/* 1) 그리드/자식이 내용 때문에 튀어나오는 케이스 방지 */
.overview-grid > *,
.desc-grid > * {
  min-width: 0;
}
/* 2) intro 섹션에서만 가로 overflow 차단 (테이블은 table-wrap 내부에서만 스크롤) */
.intro-sec {
  overflow-x: hidden;
}
/* 3) 테이블 래퍼: iOS 포함 스크롤 안정화 */
.intro-sec .table-wrap {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
/* 4) 긴 문장/영문/IOT/URL 등 줄바꿈 안전장치 */
.overview-table td,
.items-table td,
.desc-body,
.desc-body p {
  overflow-wrap: anywhere;
  word-break: keep-all;
}
/* =========================
   Mobile tuning
========================= */
@media (max-width: 1040px) {
  /* 타이포 살짝 다운 */
  .intro-h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .intro-h3 {
    font-size: 18px;
  }

  /* OVERVIEW table: 모바일에서 너무 커서 체감상 “잘림” 느낌 → 패딩/폭 조정 */
  .overview-table {
    min-width: 520px;
  }
  .overview-table th {
    width: 110px;
  }
  .overview-table th,
  .overview-table td {
    padding: 12px 12px;
    font-size: 14px;
    line-height: 1.55;
  }
  .overview-table .en {
    font-size: 12px;
    line-height: 1.35;
  }

  /* ITEMS table: 스크롤 유지하되 과한 덩치 줄이기 */
  .items-table {
    min-width: 680px;
  }
  .items-table thead th {
    font-size: 16px;
    padding: 12px 14px;
  }
  .items-table tbody th,
  .items-table tbody td {
    font-size: 14px;
    padding: 14px 14px;
    line-height: 1.55;
  }
  .items-table .col-item {
    width: 200px;
  }

  .item-icon {
    height: 54px;
    margin-bottom: 8px;
  }
  .item-icon img {
    width: 40px;
    height: 40px;
  }
  .item-tag {
    height: 28px;
    font-size: 12px;
    padding: 0 12px;
  }

  /* DESC: 문단 가독성 정리 */
  .desc-body p {
    font-size: 15px;
    line-height: 1.85;
    margin: 0 0 14px;
  }
  .desc-quote {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
}
/* =========================
   Empty State (공용)
========================= */
.empty-sec {
  padding: 70px 0;
}
.empty-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: var(--c-white);
  text-align: center;
}
.empty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
}
.empty-title {
  margin: 16px 0 10px;
  font-size: 28px;
  font-weight: 900;
  color: var(--c-ink);
  letter-spacing: -0.2px;
}
.empty-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-ink-2);
}
.empty-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--c-ink);
  background: var(--c-ink);
  color: var(--c-white);
}
.empty-btn--ghost {
  background: var(--c-white);
  color: var(--c-ink);
}
@media (max-width: 1040px) {
  .empty-sec {
    padding: 54px 0;
  }
  .empty-card {
    padding: 26px 18px;
    border-radius: 16px;
  }
  .empty-title {
    font-size: 22px;
  }
  .empty-desc {
    font-size: 15px;
  }
  .empty-btn {
    height: 40px;
    border-radius: 12px;
  }
}
/* =========================
   Exhibitors Apply (카드형 공용 템플릿)
   - v1: 패치(override) 분리 → v1.1: 본문 통합(중복 제거)
   - Breakpoints: 1040 / 640
========================= */
.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: #d7302f;
  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: #d7302f;
  font-weight: 900;
}

.apply-cards {
  display: grid;
  gap: 16px;
}

/* ===== Booth Card ===== */
.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;
}

/* PDF 버튼 */
.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;
}

/* ✅ child(추가옵션): “블록부스 산하” 느낌 */
.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;
  }
}

/* ===== Addon row cards ===== */
.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;
}

/* ===== Howto cards ===== */
.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;
}

/* ===== Steps ===== */
.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(59, 139, 59, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--color-secondary);
  background: rgba(59, 139, 59, 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: #d7302f;
  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 (card)
========================= */
.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: #d7302f;
  font-weight: 900;
}
.vinfo-flowSec {
  margin-top: 28px;
}
.vinfo-h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
  color: var(--c-ink);
}
/* ===== procedures ===== */
.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;
}
/* 오른쪽 스텝 카드들: ✅ 핵심 = wrap */
.vproc-right {
  padding: 18px;
}
.vproc-steps {
  display: flex;
  flex-wrap: wrap; /* ✅ 1040px 넘어가면 줄바꿈 */
  gap: 14px;
  align-items: stretch;
}
.vstep {
  flex: 1 1 240px; /* ✅ 최소 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);
}
/* ===== themes ===== */
.vproc--orange .vproc-left {
  background: #f68b1f;
}
.vproc--orange .vstep {
  border-color: rgba(246, 139, 31, 0.55);
}
.vproc--orange .vstep__no {
  color: #f68b1f;
}
.vproc--green .vproc-left {
  background: #3a8b3a;
}
.vproc--green .vstep {
  border-color: rgba(58, 139, 58, 0.55);
}
.vproc--green .vstep__no {
  color: #3a8b3a;
}
.vproc--blue .vproc-left {
  background: #1f73d8;
}
.vproc--blue .vstep {
  border-color: rgba(31, 115, 216, 0.55);
}
.vproc--blue .vstep__no {
  color: #1f73d8;
}
/* ===== responsive ===== */
@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; /* ✅ \n을 강제 줄바꿈 말고 공백 취급 */
    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); /* ✅ 딱 붙는 느낌 방지 */
  }
}
/* =========================
   Coming Soon (공용)
========================= */
.nx-soon {
  padding: 60px 0;
}
.nx-soon__card {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  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(59, 139, 59, 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: #fff;
  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: #fff;
}
@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%;
  }
}

/* =========================
   INTRO - Exhibit Items (image bg cards)
========================= */
.exhibit-items {
  display: grid;
  gap: 16px;
}

/* 카드 */
.exhibit-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 22px 26px;

  /* 배경 이미지 */
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 이미지가 없을 때 대비 */
  background-color: rgba(0, 0, 0, 0.18);
}

/* 가독성 오버레이(필수) */
.exhibit-item::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 위는 조금 투명, 아래로 갈수록 진하게(텍스트 가독성용) */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.55) 70%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 0;
}

/* 텍스트는 오버레이 위로 */
.exhibit-item__title,
.exhibit-item__list {
  position: relative;
  z-index: 1;
  color: #fff;
}

.exhibit-item__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

/* 리스트 */
.exhibit-item__list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 28px;
}

.exhibit-item__list li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  position: relative;
  padding-left: 14px;
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.95;
}

.exhibit-item__list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.9;
}

@media (max-width: 1040px) {
  .exhibit-item {
    padding: 18px 18px;
    border-radius: 16px;
  }
  .exhibit-item__list {
    columns: 1;
  }
}

/* =========================
   INTRO - Exhibit Items (bg image cards)
========================= */
/* 1줄에 1카드(세로 리스트) */
.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; /* 왼쪽 영역 폭: 필요하면 560~620까지 올려도 됨 */
  padding: 0; /* 카드 padding은 exhibit-item에서 이미 처리 */
  background: transparent; /* 오버레이가 이미 깔려서 inner 박스 불필요 */
}

.intro-items .exhibit-item__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: #fff;
}

/* ✅ 텍스트 과확산 방지: inner 폭 제한 + 기본 2열(모바일 1열) */
.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;
}

/* 1040 이하: 텍스트 밀집/가독성/높이 안정화 */
@media (max-width: 1040px) {
  .intro-items .exhibit-item {
    min-height: 200px;
    padding: 18px 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);
  }
}

/* 모바일은 1열 */
@media (max-width: 640px) {
  .intro-items .exhibit-item {
    min-height: 180px;
  }
  .intro-items .exhibit-item__inner {
    max-width: 100%;
  }
  .intro-items .exhibit-item__list {
    columns: 1;
  }
  .intro-items .exhibit-item::before {
    background: rgba(0, 0, 0, 0.62);
  }
}
