/* 오오극장 6개 하위 페이지 — 타이틀·서브네비 (theater-info.html 기준) */

.right.theater-info,
.right.viewing-guide,
.right.sub-page {
  box-sizing: border-box;
  padding: 88px 0 0;
  background: #ffffff;
  color: #111111;
  --ti-theater-image-col: clamp(220px, 24vw, 320px);
  --ti-theater-content-gap: clamp(28px, 3.5vw, 56px);
  --ti-theater-content-aside: calc(
    var(--ti-theater-image-col) + var(--ti-theater-content-gap)
  );
}

.right.theater-info .sub-scroll,
.right.viewing-guide .sub-scroll,
.right.sub-page .sub-scroll {
  max-width: var(--ti-content-max, 640px);
  padding: 0 20px 40px;
}

.right.theater-info .sub-scroll .section-page-head,
.right.viewing-guide .sub-scroll .section-page-head,
.right.sub-page .sub-scroll .section-page-head {
  margin-bottom: 24px;
}

.right.theater-info .sub-scroll .section-page-head__title,
.right.viewing-guide .sub-scroll .section-page-head__title,
.right.sub-page .sub-scroll .section-page-head__title {
  margin: 0;
  padding: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: #111111;
}

.right.theater-info .sub-scroll .section-page-head__sep,
.right.theater-info .sub-scroll .section-page-head__parent,
.right.theater-info .sub-scroll .section-page-head__child,
.right.viewing-guide .sub-scroll .section-page-head__sep,
.right.viewing-guide .sub-scroll .section-page-head__parent,
.right.viewing-guide .sub-scroll .section-page-head__child,
.right.sub-page .sub-scroll .section-page-head__sep,
.right.sub-page .sub-scroll .section-page-head__parent,
.right.sub-page .sub-scroll .section-page-head__child {
  color: inherit;
  font-weight: inherit;
}

.right.theater-info .sub-scroll .section-page-head__rule,
.right.viewing-guide .sub-scroll .section-page-head__rule,
.right.sub-page .sub-scroll .section-page-head__rule {
  display: none;
}

.right.theater-info .sub-scroll .section-page-subnav,
.right.viewing-guide .sub-scroll .section-page-subnav,
.right.sub-page .sub-scroll .section-page-subnav {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e2e2e2;
}

.right.theater-info .sub-scroll .section-page-subnav a,
.right.viewing-guide .sub-scroll .section-page-subnav a,
.right.sub-page .sub-scroll .section-page-subnav a {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: #808080;
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-decoration: none;
  white-space: nowrap;
}

.right.theater-info .sub-scroll .section-page-subnav a:hover:not(.is-current):not(.is-placeholder),
.right.theater-info .sub-scroll .section-page-subnav a:focus-visible:not(.is-current):not(.is-placeholder),
.right.viewing-guide .sub-scroll .section-page-subnav a:hover:not(.is-current):not(.is-placeholder),
.right.viewing-guide .sub-scroll .section-page-subnav a:focus-visible:not(.is-current):not(.is-placeholder),
.right.sub-page .sub-scroll .section-page-subnav a:hover:not(.is-current):not(.is-placeholder),
.right.sub-page .sub-scroll .section-page-subnav a:focus-visible:not(.is-current):not(.is-placeholder) {
  color: #111111;
  background: transparent;
  text-decoration: none;
}

.right.theater-info .sub-scroll .section-page-subnav a.is-current,
.right.viewing-guide .sub-scroll .section-page-subnav a.is-current,
.right.sub-page .sub-scroll .section-page-subnav a.is-current {
  color: #111111;
  font-weight: 700;
  background: transparent;
  border-color: transparent;
  border-bottom-color: #111111;
}

@media (max-width: 820px) {
  /*
   * 모바일: 데스크톱용 88px 상단 패딩 대신 GNB(메뉴 바) 아래 여백만 확보.
   * shell-mobile-menu.css 의 --ti-mobile-menu-bar-offset 위에 gap 추가.
   */
  .right.theater-info,
  .right.viewing-guide,
  .right.sub-page {
    padding-top: 24px;
  }

  .shell.menu-collapsed-mobile > .right.theater-info,
  .shell.menu-collapsed-mobile > .right.viewing-guide,
  .shell.menu-collapsed-mobile > .right.sub-page {
    padding-top: calc(var(--ti-mobile-menu-bar-offset) + 24px);
  }
}

@media (max-width: 480px) {
  .right.theater-info .sub-scroll .section-page-subnav a,
  .right.viewing-guide .sub-scroll .section-page-subnav a,
  .right.sub-page .sub-scroll .section-page-subnav a {
    padding: 12px 4px;
    font-size: 12px;
  }
}

@media (min-width: 641px) {
  .right.theater-info .sub-scroll,
  .right.viewing-guide .sub-scroll,
  .right.sub-page .sub-scroll {
    padding-inline: clamp(20px, 4vw, 32px);
  }
}

@media (min-width: 821px) {
  .right.theater-info .sub-scroll,
  .right.viewing-guide .sub-scroll,
  .right.sub-page .sub-scroll {
    max-width: none;
    padding: 0 clamp(14px, 2.4vw, 28px) 40px;
  }

  .right.theater-info .sub-scroll .section-page-head,
  .right.viewing-guide .sub-scroll .section-page-head,
  .right.sub-page .sub-scroll .section-page-head {
    margin-bottom: 32px;
    padding-bottom: 0;
    border-bottom: none;
  }

  .right.theater-info .sub-scroll .section-page-head__title,
  .right.viewing-guide .sub-scroll .section-page-head__title,
  .right.sub-page .sub-scroll .section-page-head__title {
    padding: 0 0 16px;
    font-size: clamp(1.35rem, 2.1vw, 1.5rem);
    line-height: 1.28;
  }

  .right.theater-info .sub-scroll .section-page-head__rule,
  .right.viewing-guide .sub-scroll .section-page-head__rule,
  .right.sub-page .sub-scroll .section-page-head__rule {
    display: block;
    margin: 0 0 16px;
    border-top: 1px solid #e2e2e2;
  }

  .right.theater-info .sub-scroll .section-page-subnav,
  .right.viewing-guide .sub-scroll .section-page-subnav,
  .right.sub-page .sub-scroll .section-page-subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: none;
  }

  .right.theater-info .sub-scroll .section-page-subnav a,
  .right.viewing-guide .sub-scroll .section-page-subnav a,
  .right.sub-page .sub-scroll .section-page-subnav a {
    flex: none;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #111111;
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 0;
    border-bottom: none;
  }

  .right.theater-info .sub-scroll .section-page-subnav a.is-current,
  .right.viewing-guide .sub-scroll .section-page-subnav a.is-current,
  .right.sub-page .sub-scroll .section-page-subnav a.is-current {
    color: #ffffff;
    font-weight: 700;
    background: #111111;
    border: none;
    border-bottom: none;
  }

  .right.theater-info .sub-scroll .section-page-subnav a:hover:not(.is-current):not(.is-placeholder),
  .right.theater-info .sub-scroll .section-page-subnav a:focus-visible:not(.is-current):not(.is-placeholder),
  .right.viewing-guide .sub-scroll .section-page-subnav a:hover:not(.is-current):not(.is-placeholder),
  .right.viewing-guide .sub-scroll .section-page-subnav a:focus-visible:not(.is-current):not(.is-placeholder),
  .right.sub-page .sub-scroll .section-page-subnav a:hover:not(.is-current):not(.is-placeholder),
  .right.sub-page .sub-scroll .section-page-subnav a:focus-visible:not(.is-current):not(.is-placeholder) {
    color: #111111;
    background: #f7f7f7;
    text-decoration: none;
  }

  /* 본문 폭: 소개와 동일 좌측 컬럼, 우측은 이미지 자리(빈 공간) */
  .right.viewing-guide .sub-scroll > article,
  .right.sub-page .sub-scroll > article,
  .right.sub-page .sub-scroll > .mbr-stack {
    box-sizing: border-box;
    max-width: 100%;
    padding-right: var(--ti-theater-content-aside);
  }
}
