/* 시안 6의 한글 제목·색상·실제 사진을 하위 페이지로 이어간다. */
.subpage-refresh #main {
  padding-top: 0;
}
.subpage-refresh .container {
  width: min(1200px, calc(100% - 40px));
}
.subpage-refresh .breadcrumbs {
  justify-content: flex-end;
  padding-block: 12px;
  font-size: 14px;
}
.subpage-refresh h1,
.subpage-refresh h2,
.subpage-refresh h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
  letter-spacing: -0.045em;
}
.subpage-refresh h1 {
  font-weight: 800;
}
.subpage-refresh h2,
.subpage-refresh h3 {
  font-weight: 700;
}
.subpage-refresh .concept-subhero {
  min-height: 238px;
}
.subpage-refresh .concept-subhero::before {
  background: linear-gradient(90deg, rgb(12 35 46 / 86%), rgb(12 35 46 / 30%));
}
.subpage-refresh .concept-subhero .container {
  padding-block: 28px;
}
.subpage-refresh .concept-subhero h1 {
  font-size: 32px;
  line-height: 1.35;
}
.subpage-refresh .concept-subhero .eyebrow {
  font-size: 12px;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.subpage-refresh .concept-subhero .container > p:last-child {
  margin-top: 12px;
  font-size: 15px;
  max-width: 520px;
}
.subpage-refresh.subpage-info .concept-subhero {
  min-height: 0;
  color: var(--ink);
  background: #eff5f7;
}
.subpage-refresh.subpage-info .concept-subhero::before,
.subpage-refresh.subpage-info .concept-subhero-image {
  display: none;
}
.subpage-refresh.subpage-info .concept-subhero .eyebrow {
  color: #008298;
}
.subpage-refresh .section-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}
.subpage-refresh .section-jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
/* 마우스 올림 색은 마우스 있는 기기에서만 — 폰은 누른 칸에 hover 가 남아 다른 구간으로 가도 그 칸만 청록으로 보였다(대표 2026-10-24 「그전에 눌렀던 거에 색상이 표시돼」) */
@media (hover: hover) {
  .subpage-refresh .section-jumps a:hover {
    color: #008298;
  }
}
.subpage-refresh .section,
.subpage-refresh .concept-section.section {
  padding-block: 32px;
}
.subpage-refresh .section-head {
  margin-bottom: 24px;
  gap: 12px;
}
.subpage-refresh .section-head h2 {
  font-size: 26px;
  line-height: 1.45;
}
.subpage-refresh .section-desc,
.subpage-refresh .concept-section {
  font-size: 15px;
  line-height: 1.8;
}
.subpage-refresh .eyebrow {
  letter-spacing: 0;
}
.subpage-refresh .concept-card h3 {
  font-size: 21px;
}
.subpage-refresh .concept-card p {
  margin-bottom: 12px;
}
.subpage-refresh .choice-row {
  gap: 8px;
}
.subpage-refresh .choice-row button {
  border-radius: 4px;
  min-height: 44px;
}
.subpage-refresh .choice-row button[aria-pressed="true"] {
  color: #fff;
  background: #008298;
  border-color: #008298;
}
.subpage-refresh .concept-faq details {
  border-bottom: 1px solid var(--line);
}
.subpage-refresh .concept-faq summary {
  padding-block: 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.65;
}
.subpage-refresh .concept-faq details[open] {
  background: #eff5f7;
  padding-inline: 16px;
}
.subpage-refresh .concept-faq details[open] summary {
  color: #008298;
}
.subpage-refresh .subpage-estimate {
  margin-top: 24px;
  border-block: 1px solid var(--line);
}
.subpage-refresh .subpage-estimate > summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.subpage-refresh .estimate {
  margin-top: 0;
  border-radius: 6px;
  padding: 24px 20px;
}
.subpage-refresh .lesson-choice {
  padding: 24px 20px;
  border-radius: 6px;
}
.subpage-refresh .room-rates {
  grid-template-columns: 1fr;
  gap: 0;
  border-block: 1px solid var(--line);
}
.subpage-refresh .room-rates > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-block: 10px;
}
.subpage-refresh .room-rates > div + div {
  border-top: 1px solid var(--line);
}
.subpage-refresh .room-rates dt {
  font-size: 14px;
}
.subpage-refresh .room-rates dd {
  font-size: 17px;
  color: var(--blue);
  text-align: right;
}
.subpage-refresh .room-type + .room-type {
  margin-top: 16px;
  padding-top: 28px;
  border-top-width: 1px;
}
.subpage-refresh .closing {
  background: #eff5f7;
  color: var(--ink);
  padding-block: 32px;
}
.subpage-refresh .closing p {
  color: var(--muted);
}
.subpage-refresh .closing h2 {
  font-size: 26px;
  line-height: 1.45;
}
.subpage-refresh .closing .button {
  background: var(--blue);
  color: #fff;
}
.subpage-refresh .subpage-preview-note {
  width: min(1200px, calc(100% - 40px));
  margin: 20px auto;
  font-size: 12px;
  color: var(--muted);
}
.subpage-refresh .consult-intro {
  padding-block: 24px;
}
.subpage-refresh .consult-intro h1 {
  font-size: 32px;
}
@media (max-width: 760px) {
  .subpage-refresh #store-preview .concept-cards {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    scroll-snap-type: none;
    gap: 24px;
  }
  .subpage-refresh #store-preview .card-slider-controls {
    display: none;
  }
  .subpage-refresh .package-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }
  .subpage-refresh .package-tabs button {
    min-width: 0;
    padding: 10px 4px;
    font-size: 12px;
    white-space: normal;
  }
  .subpage-refresh .choice-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .subpage-refresh .choice-row button {
    padding-inline: 8px;
  }
  .subpage-refresh .concept-link-grid > a {
    min-height: 68px;
    font-size: 17px;
  }
  .subpage-refresh .room-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .subpage-refresh .room-groups a {
    border-radius: 4px;
    text-align: center;
    min-height: 44px;
  }
  .subpage-refresh .footer {
    padding-bottom: 110px;
  }
}
@media (min-width: 761px) {
  .subpage-refresh #main {
    padding-top: 112px;
  }
  .subpage-refresh .container {
    width: min(1200px, calc(100% - 64px));
  }
  .subpage-refresh .concept-subhero {
    min-height: 300px;
  }
  .subpage-refresh .concept-subhero h1 {
    font-size: 46px;
  }
  .subpage-refresh .concept-subhero .container {
    padding-block: 40px;
  }
  .subpage-refresh .section,
  .subpage-refresh .concept-section.section {
    padding-block: 48px;
  }
  .subpage-refresh .section-head h2 {
    font-size: 32px;
  }
}

.subpage-refresh .header .header-inner {
  width: 100%;
}

.subpage-refresh .concept-link-grid > a {
  align-items: center;
  padding-block: 18px;
  text-decoration: none;
}
.subpage-refresh.page-news .concept-link-grid > a:first-child {
  padding-inline: 18px;
  background: #eff5f7;
  border-left: 3px solid #008298;
}
@media (max-width: 760px) {
  .subpage-refresh.page-guide .choice-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .subpage-refresh [data-tabs="lesson-ratio"] > .choice-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .subpage-refresh [data-tabs="ski-sessions"] > .choice-row,
  .subpage-refresh [data-tabs="snowboard-sessions"] > .choice-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 761px) {
  .subpage-refresh .section-head > h2 {
    flex-shrink: 0;
    max-width: 55%;
  }
  .subpage-refresh .section-head > .section-desc {
    max-width: 660px;
  }
}

/* 「챗봇상담」 버튼 — 서브페이지에서도 홈처럼 오른쪽 아래에 보인다(대표 2026-10-21 「AI 챗봇 우측 하단 버튼 안 보여, 모든 서브페이지에 나오게」 — 예전엔 여기서 숨겼다) */

/* 상세 안내는 페이지를 떠나지 않고 필요한 항목만 펼친다. */
.subpage-refresh .inpage-details {
  margin-top: 18px;
  border-block: 1px solid var(--line);
}
.subpage-refresh .inpage-details + .inpage-details {
  margin-top: 0;
  border-top: 0;
}
.subpage-refresh .inpage-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.subpage-refresh .inpage-details > summary::-webkit-details-marker,
.subpage-refresh .inpage-room > summary::-webkit-details-marker {
  display: none;
}
.subpage-refresh .inpage-details > summary > span {
  color: #008298;
  font-size: 22px;
}
.subpage-refresh .inpage-details[open] > summary > span {
  transform: rotate(45deg);
}
.subpage-refresh .inpage-content {
  padding: 4px 0 24px;
  font-size: 15px;
  line-height: 1.8;
}
.subpage-refresh .inpage-content > :last-child {
  margin-bottom: 0;
}
.subpage-refresh .inpage-content h3 {
  margin-top: 20px;
  font-size: 18px;
}
.subpage-refresh .inpage-facts {
  margin: 0;
}
.subpage-refresh .inpage-facts > div + div {
  margin-top: 20px;
}
.subpage-refresh .inpage-facts dt {
  margin-bottom: 4px;
  font-weight: 700;
  color: #008298;
}
.subpage-refresh .inpage-facts dd {
  margin: 0;
}
.subpage-refresh .inpage-progress {
  padding-left: 24px;
  margin: 20px 0 0;
}
.subpage-refresh .inpage-progress > li {
  padding: 0 0 22px 4px;
}
.subpage-refresh .inpage-progress > li::marker {
  color: #008298;
  font-weight: 700;
}
.subpage-refresh .inpage-progress p {
  margin: 6px 0 10px;
}
.subpage-refresh .inpage-rates {
  margin: 0;
}
.subpage-refresh .inpage-rates > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.subpage-refresh .inpage-rates dt {
  font-weight: 700;
}
.subpage-refresh .inpage-rates dt small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}
.subpage-refresh .inpage-rates dd {
  margin: 0;
  color: #086ba7;
  font-weight: 700;
  white-space: nowrap;
}
.subpage-refresh .inpage-rooms > .choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.subpage-refresh .inpage-rooms > .choice-row button {
  min-width: 0;
  min-height: 44px;
  padding-inline: 6px;
}
.subpage-refresh .inpage-room {
  border-bottom: 1px solid var(--line);
}
.subpage-refresh .inpage-room > summary {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
}
.subpage-refresh .inpage-room > summary > img {
  width: 64px;
  height: 72px;
  border-radius: 4px;
  object-fit: cover;
}
.subpage-refresh .inpage-room-label strong {
  display: block;
  font-size: 17px;
}
.subpage-refresh .inpage-room-label small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  word-break: keep-all;
}
.subpage-refresh .inpage-room-price {
  text-align: right;
  white-space: nowrap;
}
.subpage-refresh .inpage-room-price strong {
  font-size: 19px;
  color: #086ba7;
}
.subpage-refresh .inpage-room-price small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.subpage-refresh .inpage-room-price::after {
  content: "상세 보기 +";
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #008298;
}
.subpage-refresh .inpage-room[open] .inpage-room-price::after {
  content: "접기 −";
}
.subpage-refresh .inpage-room > .room-type {
  margin: 0;
  padding: 8px 0 24px;
  border: 0;
}
.subpage-refresh .inpage-room .room-photos {
  min-width: 0;
}
.subpage-refresh .inpage-room .room-info {
  padding-inline: 0;
}
.subpage-refresh [data-package-inline] {
  margin-top: 24px;
}
.subpage-refresh .inpage-details > summary:focus-visible,
.subpage-refresh .inpage-room > summary:focus-visible {
  outline: 2px solid #008298;
  outline-offset: 3px;
}
@media (min-width: 761px) {
  .subpage-refresh .inpage-room > summary {
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 24px;
  }
  .subpage-refresh .inpage-room > summary > img {
    width: 110px;
    height: 84px;
  }
  .subpage-refresh .inpage-room-label strong {
    font-size: 22px;
  }
  .subpage-refresh .inpage-room-label small {
    font-size: 14px;
  }
  .subpage-refresh .inpage-room-price strong {
    font-size: 28px;
  }
  .subpage-refresh .inpage-room-price small,
  .subpage-refresh .inpage-room-price::after {
    font-size: 12px;
  }
}

/* 공지 창(서브페이지) — 홈(test-9.css)과 같은 포스터 창. 서브페이지는 test-9.css 를 안 불러서 여기 다시 둔다 */
dialog.news-dialog {
  width: min(560px, calc(100% - 32px));
}
dialog.news-dialog #dialog-content img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  border-radius: 10px;
}
dialog.news-dialog.news-photo {
  width: fit-content;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
dialog.news-dialog.news-photo .eyebrow,
dialog.news-dialog.news-photo .dialog-done {
  display: none;
}
dialog.news-dialog.news-photo #dialog-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
dialog.news-dialog.news-photo #dialog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
}
dialog.news-dialog.news-photo #dialog-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 24px);
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
dialog.news-dialog.news-photo #dialog-content:has(a) img {
  max-height: calc(100dvh - 64px);
}
dialog.news-dialog.news-photo #dialog-content a {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
dialog.news-dialog.news-photo .dialog-close {
  z-index: 1;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #14232b;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
dialog.news-dialog.news-photo::backdrop {
  background: rgba(8, 18, 28, 0.78);
}

/* 펜션 서브 비주얼 — 사진·그림 없이 남색 → 청록 그라데이션만(대표 2026-10-21 「이미지 형태 말고, 단순하게 그라데이션 들어간 걸로」). 사진용 덮개 막은 없앰 */
.subpage-refresh.page-pension .concept-subhero {
  background: linear-gradient(120deg, #0d2b45 0%, #0d4a6e 55%, #0a7d93 100%);
}
.subpage-refresh.page-pension .concept-subhero::before {
  display: none;
}

/* ===== 서브 비주얼 큰 영문 외곽선 글자 + 눈 점(대표 2026-11-16 「서브 비주얼이 밋밋해, INSTRUCTOR 같이」) — 안내 서브페이지(글자·눈 점은 lib/home-subpages.ts decorateSubhero).
   글자는 장식(aria-hidden span.hero-word), 오른쪽 아래에 크게, 처음 열 때 오른쪽에서 천천히 들어온다. 눈 점은 아주 옅게 내린다 ===== */
.concept-subhero .hero-word {
  position: absolute;
  right: max(12px, calc((100% - 1200px) / 2));
  bottom: -0.17em;
  z-index: -1;
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  font-size: clamp(64px, 13vw, 176px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(255 255 255 / 0.26);
  pointer-events: none;
  user-select: none;
  animation: hero-word-in 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}
.concept-subhero .hero-snow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgb(255 255 255 / 0.55) 0 1.3px, transparent 1.8px),
    radial-gradient(circle, rgb(255 255 255 / 0.32) 0 1px, transparent 1.5px);
  background-size:
    140px 140px,
    210px 210px;
  background-position:
    0 0,
    70px 50px;
  opacity: 0.55;
  animation: hero-snow-fall 22s linear infinite;
}
@keyframes hero-word-in {
  from {
    opacity: 0;
    transform: translateX(6%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-snow-fall {
  to {
    background-position:
      28px 140px,
      40px 260px;
  }
}
@media (max-width: 760px) {
  .concept-subhero .hero-word {
    -webkit-text-stroke-width: 1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .concept-subhero .hero-word,
  .concept-subhero .hero-snow {
    animation: none;
  }
}
