/* 홈페이지 스튜디오 — 원문 모드(완전히 똑같이 가져오기, 2026-10-14) 전용 작은 시트.
   원문 모드 버전은 원본 CSS 를 범위 한정 없이 그대로 싣고 studio.css(Pretendard·line-height·a 색 강제)를 싣지 않는다.
   여기에는 플랫폼이 붙이는 것 — 공지 팝업 부품·법적 고지·예약 페이지 헤더 여백 — 만 둔다. 원본 CSS 와 섞이므로 전역 선택자(body·a·*)를 쓰지 않는다.
   공지 팝업 규칙은 studio.css 의 "공지 팝업" 블록과 같아야 한다(스튜디오 미리보기도 이 파일을 읽는다). */

/* ---- 법적 고지 ---- */
.studio-legal {
   padding: 20px 16px 28px; font-size: 12px; line-height: 1.7; color: #8a8a8a; text-align: center;
   border-top: 1px solid rgba(0, 0, 0, .06);
   font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
.studio-legal p { margin: 0; }
.studio-legal a { color: inherit; text-decoration: underline; }
/* 본문 footer 안 고지(2026-12-01 — 판매자 정보·중개자 문장·지금갈래 운영자 정보) — 푸터 배경·글자색을 물려받는다(studio.css .studio-legal--in 과 같은 규칙) */
.studio-legal.studio-legal--in {
   background: transparent; color: inherit; opacity: .7; font-family: inherit;
   border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 20%, transparent);
   padding: 16px 0 0; margin-top: 24px; font-size: 12px; line-height: 1.7; text-align: inherit;
   width: 100%; flex: 1 1 100%; grid-column: 1 / -1;
}
@supports not (color: color-mix(in srgb, red 50%, transparent)) {
   .studio-legal.studio-legal--in { border-top-color: rgba(127, 127, 127, .25); }
}

/* ---- 예약 페이지와 섞일 때: 고정 헤더 높이만큼 본문을 내린다(값은 레이아웃의 :root 변수 — 원본 CSS 가 같은 변수를 정의하면 그 값) ---- */
.title_bg { height: 0; display: none; }
[data-reserv-mode="true"] .title_bg { display: block; height: var(--header_pc_height, 76px); }
@media all and (max-width: 1024px) {
   [data-reserv-mode="true"] .title_bg { height: var(--header_mobile_height, 64px); }
   [data-reserv-mode="true"] #studio-footer { padding-bottom: 150px; }
}
/* PC 에도 하단 고정 예약바(67px)가 있다 — 맨 아래 지금갈래 정보가 가리지 않게(2026-12-01) */
@media all and (min-width: 1025px) {
   body[data-reserv-mode="true"] { padding-bottom: 80px; }
}

/* ---- 카카오 지도(지도 부품) — studio.css 와 같은 규칙 ---- */
[data-studio-map] { position: relative; display: block; width: 100%; height: 100%; min-height: 240px; aspect-ratio: 2 / 1; overflow: hidden; background: #f2f2f0; }
.studio-map__frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }

/* ---- 공지 팝업(공통 부품) — studio.css 와 같은 규칙 ---- */
.studio-notice, .studio-notice * { box-sizing: border-box; }
.studio-notice { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.55); }
.studio-notice[hidden] { display: none; }
.studio-notice { font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; color: #1a1a1a; }
.studio-notice__dialog { width: min(420px, 100%); max-height: 90vh; display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.studio-notice__slides { position: relative; flex: 1 1 auto; min-height: 0; overflow: auto; }
.studio-notice__slides img { display: block; width: 100%; height: auto; }
.studio-notice__slides[data-studio-slider] { aspect-ratio: 405 / 646; overflow: hidden; }
.studio-notice__slides[data-studio-slider] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio-notice__slides[data-studio-slider] > img { opacity: 0; transition: opacity 1.4s ease; z-index: 0; }
.studio-notice__slides[data-studio-slider] > img.is-prev { opacity: 1; z-index: 0; }
.studio-notice__slides[data-studio-slider] > img.is-active { opacity: 1; z-index: 1; }
.studio-notice__slides .studio-slider__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.studio-notice__slides .studio-slider__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .5); transition: transform .2s, background .2s; }
.studio-notice__slides .studio-slider__dot.is-active { background: #fff; transform: scale(1.3); }
/* 슬라이더 위에 올라가는 글자 블록은 z-index 2 이상이어야 사진 위로 온다 */
.studio-notice__slides[data-studio-slider] > :not(img):not(.studio-slider__dots) { position: relative; z-index: 2; }
.studio-notice__actions { display: flex; flex: none; border-top: 1px solid #eee; }
.studio-notice__actions button { flex: 1 1 0; padding: 14px 8px; border: 0; background: #fff; font: inherit; font-size: 14px; cursor: pointer; color: inherit; }
.studio-notice__actions button + button { border-left: 1px solid #eee; }
.studio-notice__close { color: var(--point_color, #e5483d); font-weight: 600; }
.studio-notice--top-left, .studio-notice--top-right, .studio-notice--bottom-left, .studio-notice--bottom-right { background: transparent; pointer-events: none; }
.studio-notice--top-left .studio-notice__dialog, .studio-notice--top-right .studio-notice__dialog,
.studio-notice--bottom-left .studio-notice__dialog, .studio-notice--bottom-right .studio-notice__dialog { pointer-events: auto; box-shadow: 0 12px 48px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.25); }
.studio-notice--top-left { align-items: flex-start; justify-content: flex-start; }
.studio-notice--top-right { align-items: flex-start; justify-content: flex-end; }
.studio-notice--bottom-left { align-items: flex-end; justify-content: flex-start; }
.studio-notice--bottom-right { align-items: flex-end; justify-content: flex-end; }
.studio-notice--default .studio-notice__dialog { width: min(420px, 100%); }
.studio-notice--small .studio-notice__dialog { width: min(320px, 100%); }
.studio-notice--large .studio-notice__dialog { width: min(560px, 100%); }
@media all and (max-width: 480px) {
   .studio-notice--top-left, .studio-notice--top-right, .studio-notice--bottom-left, .studio-notice--bottom-right {
      align-items: center; justify-content: center; background: rgba(0,0,0,.55); pointer-events: auto;
   }
   .studio-notice--top-left .studio-notice__dialog, .studio-notice--top-right .studio-notice__dialog,
   .studio-notice--bottom-left .studio-notice__dialog, .studio-notice--bottom-right .studio-notice__dialog { box-shadow: 0 20px 60px rgba(0,0,0,.35); }
}
@media (prefers-reduced-motion: reduce) {
   .studio-notice__slides[data-studio-slider] > img { transition: none; }
}

/* 옛 디자인의 고정 높이 푸터(.footer{height:320px} 등) 안에 지금갈래 정보가 들어가면 아래로 넘친다 — 내용만큼 늘린다(2026-12-02, 물왕호수캠핑) */
.footer:has(.studio-legal--in), #footer:has(.studio-legal--in) { height: auto !important; }
@media all and (max-width: 1024px) {
   /* 그런 옛 디자인은 휴대폰 하단 탭(홈·예약)이 화면 아래에 떠 있다 — 마지막 줄이 가리지 않게 */
   .footer:has(.studio-legal--in), #footer:has(.studio-legal--in) { padding-bottom: 80px; box-sizing: border-box; }
}
@media all and (max-width: 600px) {
   /* 그런 옛 디자인은 휴대폰에서 푸터 틀의 좌우 여백이 0 이라 지금갈래 정보가 화면 끝에 붙는다(물왕호수캠핑) */
   .footer .studio-legal--in, #footer .studio-legal--in { padding-left: 16px; padding-right: 16px; }
}
