/* HICO 서브 공통 비주얼·로컬 메뉴
   기존 ASP/DB 메뉴 출력은 그대로 두고 디자이너 전용 CSS에서만 표현을 변경합니다. */

.sub-page {
  --hico-sub-accent: #dc3323;
  --hico-sub-visual-height: clamp(270px, 22vw, 340px);
  --hico-sub-nav-height: 82px;
  --hico-sub-visual-image: url("/img_new/subtop_img01.gif?Ver=2026");
  --hico-sub-visual-position: center center;
  --hico-sub-visual-overlay: linear-gradient(90deg, rgba(12, 12, 11, .58) 0%, rgba(12, 12, 11, .22) 42%, rgba(12, 12, 11, .06) 72%);
  --hico-sub-shell-width: 1600px;
  --hico-sub-shell-gutter: 24px;
  --hico-sub-body-width: 1400px;
  --hico-reveal-duration: 520ms;
  --hico-reveal-easing: cubic-bezier(.22, 1, .36, 1);
  padding-top: 0 !important;
  background: #fff;
}

/* 임시 개편 안내 문구는 확정 콘텐츠 화면에서 노출하지 않습니다. */
.sub-page .sub-body__note {
  display: none !important;
}

.sub-page--events {

  --hico-sub-visual-overlay: linear-gradient(90deg, rgba(16, 24, 32, .68) 0%, rgba(16, 24, 32, .26) 46%, rgba(16, 24, 32, .04) 76%);
}

.sub-page--facility {
  --hico-sub-visual-position: center 46%;
  --hico-sub-visual-overlay: linear-gradient(90deg, rgba(18, 27, 24, .64) 0%, rgba(18, 27, 24, .22) 44%, rgba(18, 27, 24, .04) 74%);
  --hico-sub-visual-image: url("/img_new/subtop_img02.gif");

}

.sub-page--rental {
  --hico-sub-visual-overlay: linear-gradient(90deg, rgba(18, 27, 24, .64) 0%, rgba(18, 27, 24, .22) 44%, rgba(18, 27, 24, .04) 74%);
  --hico-sub-visual-image: url("/img_new/subtop_img01.gif");
}

.sub-page--news {
  --hico-sub-visual-position: center 51%;
  --hico-sub-visual-overlay: linear-gradient(90deg, rgba(18, 27, 24, .64) 0%, rgba(18, 27, 24, .22) 44%, rgba(18, 27, 24, .04) 74%);
  --hico-sub-visual-image: url("/img_new/subtop_img04.gif");
}


.sub-page--board {
  --hico-sub-visual-position: center 51%;
  --hico-sub-visual-overlay: linear-gradient(90deg, rgba(18, 27, 24, .64) 0%, rgba(18, 27, 24, .22) 44%, rgba(18, 27, 24, .04) 74%);
  --hico-sub-visual-image: url("/img_new/subtop_img05.gif");

}


.sub-page--about {
  --hico-sub-visual-position: center center;
  --hico-sub-visual-overlay: linear-gradient(90deg, rgba(18, 27, 24, .64) 0%, rgba(18, 27, 24, .22) 44%, rgba(18, 27, 24, .04) 74%);
  --hico-sub-visual-image: url("/img_new/subtop_img09.gif");
}

.sub-page--cvb {
  --hico-sub-visual-overlay: linear-gradient(90deg, rgba(18, 27, 24, .64) 0%, rgba(18, 27, 24, .22) 44%, rgba(18, 27, 24, .04) 74%);
  --hico-sub-visual-image: url("/img_new/subtop_img11.gif");
}

.sub-page--tour {
  --hico-sub-visual-position: center center;
  --hico-sub-visual-overlay: linear-gradient(90deg, rgba(18, 27, 24, .64) 0%, rgba(18, 27, 24, .22) 44%, rgba(18, 27, 24, .04) 74%);
  --hico-sub-visual-image: url("/img_new/subtop_img07.gif");
}





.sub-page .sub-hero {
  position: relative;
  min-height: var(--hico-sub-visual-height);
  margin-bottom: var(--hico-sub-nav-height);
  padding: 0;
  overflow: visible;
  color: #fff;
  background:
    var(--hico-sub-visual-overlay),
    var(--hico-sub-visual-image) var(--hico-sub-visual-position) / cover no-repeat;
}

.sub-page .sub-hero.has-backdrop-motion {
  background: none;
}

.sub-page .sub-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.sub-page .sub-hero__backdrop::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    var(--hico-sub-visual-overlay),
    var(--hico-sub-visual-image) var(--hico-sub-visual-position) / cover no-repeat;
  transform: scale(1.09);
  transform-origin: center;
  animation: hico-sub-hero-settle 1200ms cubic-bezier(.22, 1, .36, 1) forwards;
  will-change: transform;
}

@keyframes hico-sub-hero-settle {
  to {
    transform: scale(1);
  }
}

.sub-page .sub-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: radial-gradient(ellipse at left bottom, rgba(12, 12, 11, .34), transparent 66%);
  pointer-events: none;
}

.sub-page .sub-hero > .width_area {
  position: relative;
  z-index: 1;
  display: flex;
  width: 96%;
  max-width: var(--hico-sub-shell-width);
  min-height: var(--hico-sub-visual-height);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  box-sizing: border-box;
  margin-inline: auto;
  padding-inline: var(--hico-sub-shell-gutter);
  padding-bottom: 40px;
}

.sub-page .sub-body > .width_area {
  width: 80%;
  max-width: var(--hico-sub-body-width);
  margin-inline: auto;
}

.sub-page .sub-body__content li {
  list-style: none;
}

/* 페이지별 마크업 수정 없이 본문의 큰 콘텐츠 단위에만 적용하는 공통 등장 모션 */
.sub-page.hico-scroll-reveal .hico-scroll-reveal__item {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity var(--hico-reveal-duration) var(--hico-reveal-easing),
    transform var(--hico-reveal-duration) var(--hico-reveal-easing);
  will-change: opacity, transform;
}

.sub-page.hico-scroll-reveal .hico-scroll-reveal__item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.sub-page .sub-hero__title {
  order: 2;
  margin: 0;
  padding-bottom: 18px;
  color: #fff;
  font-size: clamp(44px, 4.4vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}

.sub-page .sub-hero__desc {
  order: 3;
}

/* HOME / 1차 / 현재 2차 타이틀 */
.sub-page .local-nav {
  order: 1;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .82);
}

.sub-page .local-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sub-page .local-nav__item {
  display: flex;
  align-items: center;
  margin: 0;
}

.sub-page .local-nav__item + .local-nav__item::before {
  margin: 0 10px;
  color: rgba(255, 255, 255, .46);
  content: "/";
  font-size: 14px;
}

.sub-page .local-nav__item--home .local-nav__link,
.sub-page .local-nav__btn {
  display: inline-flex;
  min-height: auto;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.sub-page .local-nav__item--home .local-nav__link:hover,
.sub-page .local-nav__item--home .local-nav__link:focus-visible,
.sub-page .local-nav__btn:hover,
.sub-page .local-nav__btn:focus-visible {
  border: 0;
  background: transparent;
  color: #fff;
}

.sub-page .local-nav__caret {
  display: none;
}

/* 1차 메뉴 첫 화면은 DB가 같은 이름의 2차 버튼을 한 번 더 출력하므로 경로에서는 중복만 숨김 */
.sub-page .local-nav__item.is-section-root::before,
.sub-page .local-nav__item.is-section-root > .local-nav__btn {
  display: none;
}

/* 기존 DB가 출력한 두 번째 패널을 전체 2차 메뉴 바처럼 항상 노출 */
.sub-page .local-nav__item:last-child {
  position: static;
}

.sub-page .local-nav__item:last-child > .local-nav__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 2;
  display: grid !important;
  width: 100vw;
  min-width: 0;
  min-height: var(--hico-sub-nav-height);
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin: 0;
  padding: 0 max(
    calc(2vw + var(--hico-sub-shell-gutter)),
    calc((100vw - var(--hico-sub-shell-width)) / 2 + var(--hico-sub-shell-gutter))
  );
  box-sizing: border-box;
  background: var(--hico-sub-accent);
  box-shadow: none;
  color: #fff;
  list-style: none;
  transform: translateX(-50%);
}

.sub-page .local-nav__item:last-child > .local-nav__panel li {
  min-width: 0;
  margin: 0;
  list-style: none;
}

.sub-page .local-nav__item:last-child > .local-nav__panel a {
  position: relative;
  display: flex;
  min-height: var(--hico-sub-nav-height);
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 clamp(12px, 1.4vw, 22px);
  background: transparent;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.02em;
  text-align: center;
  text-decoration: none;
  transition: color .2s ease, background-color .25s ease;
}

.sub-page .local-nav__item:last-child > .local-nav__panel a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: #fff;
  transform: scaleX(0);
  transition: transform .25s ease;
}

.sub-page .local-nav__item:last-child > .local-nav__panel a:hover,
.sub-page .local-nav__item:last-child > .local-nav__panel a:focus-visible {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-weight: 700;
}

.sub-page .local-nav__item:last-child > .local-nav__panel a:hover::after,
.sub-page .local-nav__item:last-child > .local-nav__panel a:focus-visible::after {
  transform: scaleX(1);
}

.sub-page .local-nav__item:last-child > .local-nav__panel a.is-current,
.sub-page .local-nav__item:last-child > .local-nav__panel a[aria-current="page"] {
  background: #fff;
  color: var(--hico-sub-accent);
  font-weight: 700;
}

.sub-page .local-nav__item:last-child > .local-nav__panel a.is-current::after,
.sub-page .local-nav__item:last-child > .local-nav__panel a[aria-current="page"]::after {
  display: none;
}

/* 게시판/자료실은 제목을 공통 비주얼에 한 번만 표시하고 기능 영역은 그대로 유지 */
.sub-page--board .board-page {
  min-height: 0;
  padding: 0;
  background: #fff;
}

.sub-page--board .board-page__inner {
  width: 100%;
  max-width: none;
}

.sub-page--board .board-page__head {
  display: none;
}

/* 서브페이지 공통 탭
   페이지별 탭은 이 클래스를 함께 사용하고 열 수만 modifier로 조정합니다. */
.sub-page .hico-common-tabs.hico-common-tabs {
  --hico-common-tab-columns: repeat(auto-fit, minmax(150px, 1fr));

  display: grid;
  width: 100%;
  grid-template-columns: var(--hico-common-tab-columns);
  overflow: visible;
  border: 0;
  border-bottom: 1px solid #d9d9d5;
  background: #fff;
}

.sub-page .hico-common-tabs.hico-common-tabs--five {
  --hico-common-tab-columns: repeat(5, minmax(0, 1fr));
}

.sub-page .hico-common-tabs.hico-common-tabs > button,
.sub-page .hico-common-tabs.hico-common-tabs > a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 86px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 15px 18px;
  border: 0;
  background: #fff;
  color: #777772;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.sub-page .hico-common-tabs.hico-common-tabs > :is(button, a) + :is(button, a) {
  border-left: 1px solid #e3e3df;
}

.sub-page .hico-common-tabs.hico-common-tabs > :is(button, a)::after {
  position: absolute;
  right: 12%;
  bottom: -1px;
  left: 12%;
  height: 3px;
  background: transparent;
  content: "";
}

.sub-page .hico-common-tabs.hico-common-tabs > :is(button, a) > span:first-child {
  display: block;
  margin: 0;
  color: #aaa9a4;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.2;
}

.sub-page .hico-common-tabs.hico-common-tabs > :is(button, a):hover,
.sub-page .hico-common-tabs.hico-common-tabs > :is(button, a):focus-visible {
  background: #f7f7f5;
  color: #191916;
  outline: 0;
}

.sub-page .hico-common-tabs.hico-common-tabs > [aria-selected="true"],
.sub-page .hico-common-tabs.hico-common-tabs > .is-active,
.sub-page .hico-common-tabs.hico-common-tabs > [aria-current="page"] {
  color: #191916;
  font-weight: 750;
}

.sub-page .hico-common-tabs.hico-common-tabs > [aria-selected="true"] > span:first-child,
.sub-page .hico-common-tabs.hico-common-tabs > .is-active > span:first-child,
.sub-page .hico-common-tabs.hico-common-tabs > [aria-current="page"] > span:first-child {
  color: var(--hico-sub-accent);
}

.sub-page .hico-common-tabs.hico-common-tabs > [aria-selected="true"]::after,
.sub-page .hico-common-tabs.hico-common-tabs > .is-active::after,
.sub-page .hico-common-tabs.hico-common-tabs > [aria-current="page"]::after {
  background: var(--hico-sub-accent);
}

/* 서브페이지 공통 콘텐츠 패턴 */
.sub-page .hico-venue__intro,
.sub-page .hico-amenity__intro,
.sub-page .hico-parking__intro,
.sub-page .hico-rental__intro,
.sub-page .hico-report__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .58fr);
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
  margin-bottom: clamp(50px, 6vw, 88px);
}

.sub-page .hico-venue__intro h2,
.sub-page .hico-amenity__intro h2,
.sub-page .hico-parking__intro h2,
.sub-page .hico-rental__intro h2,
.sub-page .hico-report__intro h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.055em;
  word-break: keep-all;
}

.sub-page .hico-floors__intro > p,
.sub-page .hico-venue__intro > p,
.sub-page .hico-amenity__intro > p,
.sub-page .hico-parking__intro > p,
.sub-page .hico-rental__intro > p,
.sub-page .hico-report__intro > p {
  margin: 0 0 7px;
  color: #5f5f5a;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.75;
  word-break: keep-all;
}

.sub-page .hico-parking__section-head,
.sub-page .hico-rental__section-head,
.sub-page .hico-report__section-head {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, .65fr);
  align-items: end;
  gap: clamp(44px, 7vw, 110px);
  margin-bottom: 40px;
}

.sub-page .hico-parking__section-head h3,
.sub-page .hico-rental__section-head h3,
.sub-page .hico-report__section-head h3 {
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.05em;
}

.sub-page .hico-parking__section-head > p,
.sub-page .hico-rental__section-head > p,
.sub-page .hico-report__section-head > p {
  margin: 0 0 5px;
  color: #70706b;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  word-break: keep-all;
}

.sub-page .hico-venue__table,
.sub-page .hico-amenity__table,
.sub-page .hico-rental__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.sub-page .hico-venue__table caption,
.sub-page .hico-amenity__table caption,
.sub-page .hico-rental__table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sub-page .hico-venue__table thead th,
.sub-page .hico-amenity__table thead th,
.sub-page .hico-rental__table thead th {
  height: 72px;
  border-bottom: 1px solid #000;
  color: #171715;
  background: transparent;
  font-weight: 780;
  letter-spacing: -.015em;
}

@media (max-width: 1280px) {
  .sub-page .sub-hero > .width_area {
    padding-inline: 0;
  }

  .sub-page .local-nav__item:last-child > .local-nav__panel {
    padding-inline: 2vw;
  }
}

@media (max-width: 900px) {
  .sub-page {
    --hico-sub-visual-height: 220px;
    --hico-sub-nav-height: 70px;
  }

  .sub-page .sub-hero > .width_area {
    padding-bottom: 30px;
  }

  .sub-page .sub-body > .width_area {
    width: calc(100% - 40px);
    max-width: none;
  }

  .sub-page .local-nav__item:last-child > .local-nav__panel a {
    padding-inline: 16px;
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .sub-page {
    --hico-sub-visual-height: 190px;
    --hico-sub-nav-height: 52px;
  }

  .sub-page .sub-hero {
    margin-bottom: calc(var(--hico-sub-nav-height) * 2);
  }

  .sub-page .sub-hero > .width_area {
    padding-bottom: 22px;
  }

  .sub-page .sub-body > .width_area {
    width: calc(100% - 32px);
  }

  .sub-page .hico-common-tabs.hico-common-tabs--five {
    --hico-common-tab-columns: repeat(3, minmax(0, 1fr));
  }

  .sub-page .hico-common-tabs.hico-common-tabs > :is(button, a) {
    min-height: 78px;
    padding-inline: 8px;
  }

  .sub-page .hico-common-tabs.hico-common-tabs--five > :is(button, a):nth-child(4) {
    border-top: 1px solid #e3e3df;
    border-left: 0;
  }

  .sub-page .hico-common-tabs.hico-common-tabs--five > :is(button, a):nth-child(5) {
    border-top: 1px solid #e3e3df;
  }

  .sub-page .sub-hero__title {
    padding-bottom: 10px;
    font-size: 32px;
  }

  .sub-page .local-nav {
    margin-bottom: 5px;
  }

  .sub-page .local-nav__item--home .local-nav__link,
  .sub-page .local-nav__btn {
    font-size: 12px;
  }

  .sub-page .local-nav__item + .local-nav__item::before {
    margin-inline: 7px;
    font-size: 12px;
  }

  .sub-page .local-nav__item:last-child > .local-nav__panel {
    min-height: calc(var(--hico-sub-nav-height) * 2);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: 0;
  }

  .sub-page .local-nav__item:last-child > .local-nav__panel a {
    min-height: var(--hico-sub-nav-height);
    padding-inline: 4px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    font-size: 14px;
  }

  .sub-page .local-nav__item:last-child > .local-nav__panel li:nth-child(3n) a {
    border-right: 0;
  }

  .sub-page .local-nav__item:last-child > .local-nav__panel a.is-current,
  .sub-page .local-nav__item:last-child > .local-nav__panel a[aria-current="page"] {
    background: rgba(112, 12, 4, .22);
    color: #fff;
  }

  .sub-page .local-nav__item:last-child > .local-nav__panel a.is-current::after,
  .sub-page .local-nav__item:last-child > .local-nav__panel a[aria-current="page"]::after {
    right: 18%;
    left: 18%;
    display: block;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sub-page {
    --hico-reveal-duration: 0ms;
  }

  .sub-page.hico-scroll-reveal .hico-scroll-reveal__item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sub-page .sub-hero__backdrop::before {
    animation: none;
    transform: none;
  }

  .sub-page .local-nav__item:last-child > .local-nav__panel a,
  .sub-page .local-nav__item:last-child > .local-nav__panel a::after {
    transition: none;
  }
}


/*사진/영상게시판*/


.hico-video {
	display: block;
	width: 100%;
	max-width: 1000px;
	height: auto;
	margin: 0 auto;
}
