/* ==========================================================
     [1섹션] 레이아웃
   ========================================================== */
.space-section-kr, .space-section-en {
  max-width: 1444px;
  margin: 0 auto;
}

.space-section-kr {
  padding: 140px 72px 0;
}

.space-section-en {
  padding: 200px 72px 300px;
}

/* 레이아웃 비율 */
.space-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 140px;
  align-items: stretch;
}

.space-grid-en {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 140px;
  align-items: stretch;
}

.space-left, .space-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  min-width: 0;
}

/* 텍스트 설정 */
.space-title {
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #1d1d1d !important;
  margin: 0 0 18px;
}

.space-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: #333;
  word-break: keep-all;
  margin: 0 0 80px;
}

.space-title-en {
  font-family: var(--font-en);
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #1d1d1d !important;
  margin: 0 0 18px;
}

.space-desc-en {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: #333;
  word-break: break-word;
}
/* 2블록 영문 제목·문단(국문 페이지, 2026-09-28 원래 디자인 복원) — 원래 여백: PC 110 / 1444 이하 60 / 모바일 0 */
.space-section-en .space-desc-en { margin: 0 0 110px; }
@media (max-width: 1444px) { .space-section-en .space-desc-en { margin: 0 0 60px; } }
@media (max-width: 959px) { .space-section-en .space-desc-en { margin-bottom: 0; } }

/* 하단 캡션 */
.space-caption {
  margin-top: 14px;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  color: #999;
}

/* 이미지 공통 */
.space-image-block {
  width: 100%;
  min-width: 0;
}

.space-image-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.space-image-inner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

/* Small 이미지 블록 위치 제어 */
.space-image-block.small {
  width: 100%;
  max-width: 580px;
  margin-top: auto;
}

.space-image-block.small .space-image-inner {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
}

/* Large 이미지 사이즈 */
.space-image-block.large {
  width: 100%;
  height: 100%;
  flex-grow: 1;
}

.space-image-block.large .space-image-inner {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
}

/* ==========================================================
     [2섹션] 레이아웃
   ========================================================== */
.space-floor {
  background-color: #fff;
  padding: 0;
  margin: 0;
}

.floor-block {
  max-width: 1444px;
  margin: 0 auto;
  padding: 0 72px 200px;
}

.floor-block:last-child {
  padding: 0 72px;
}

/* 텍스트 */
.floor-text-grid {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 18px;
  align-items: start;
  width: 85%;
  margin: 0 auto 80px;
}

.floor-title {
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #1d1d1d !important;
  margin: 0 0 18px;
}

.floor-label {
  font-family: var(--font-en);
  font-style: italic !important;
  font-size: 14px;
  font-weight: 400;
  color: #999;
  margin: 0;
}

.floor-text-right .ko {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: #333;
  margin: 0;
  word-break: keep-all;
}

.floor-text-right .en {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: #333;
  word-break: break-word;
  margin: 18px 0 0;
}

/* 슬라이더 (Swiper) */
.floor-swiper {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.floor-swiper .swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
}

.floor-swiper .swiper-slide {
  height: auto;
  flex-shrink: 0 !important;
}

.floor-swiper .img-wrap {
  position: relative !important;
  width: 100% !important;
  height: 0 !important;
  padding-top: 125% !important;
  overflow: hidden !important;
  display: block !important;
}

.floor-swiper .img-wrap img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* 네비게이션 */
.pl-slider-controls {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  position: relative !important;
  margin-top: 18px !important;
  left: auto !important;
  bottom: auto !important;
}

.pl-slider-counter {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1d;
  letter-spacing: 0.02em;
}

.pl-slider-counter .total {
  color: #999 !important;
}

.pl-slider-arrows {
  display: flex; gap: 18px;
}

.pl-slider-prev, .pl-slider-next {
  width: 10px;
  height: 10px;
  background: url('/wp-content/uploads/2026/05/icon_arrow_black.png') no-repeat center;
  background-size: contain;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}

.pl-slider-prev:hover, .pl-slider-next:hover {
  opacity: 0.6;
}

.pl-slider-prev {
  transform: scaleX(-1);
}

/* ==========================================================
    [3섹션] 로케이션
   ========================================================== */
.contact-section {
  width: 100%;
  max-width: 1444px;
  margin: 0 auto;
  padding: 300px 72px 200px;
}

.contact-grid-new {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 10px;
  align-items: start;
}

/* 좌측&타이틀 */
.contact-left-title {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-family: var(--font-en);
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1d1d1d !important;
  margin: 0 0 12px;
}

.contact-subtitle {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #1d1d1d !important;
  margin: 0;
}

/* 블럭 사이 여백 */
.info-block + .info-block {
  margin-top: 28px;
}

/* 우측&텍스트 */
.info-label {
  font-family: var(--font-en);
  font-size: 18px !important;
  font-weight: 700;
  color: #1d1d1d !important;
  margin: 0 0 12px;
}

.info-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: #333 !important;
  margin: 0;
  word-break: keep-all;
}

.info-text-en {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: #333 !important;
  margin: 0;
  word-break: break-word;
}

/* 버튼 */
.contact-action-row {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn-solid-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 28px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: #333 !important;
  background-color: #fff;
  border: 1px solid #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-solid-map:hover {
  background-color: #000;
  color: #fff !important;
}

/* 소셜 텍스트 링크 */
.sns-text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 14px;
  align-items: center;
}

.sns-text-links a {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: #333 !important;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.sns-text-links a:hover {
  color: #999 !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* 구분선 */
.info-divider {
  border: 0;
  border-top: 1px solid #e5e5e5 !important;
  margin: 28px 0;
}

/* 시간 테이블 */
.info-time-dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 8px;
  margin: 0 0 18px;
}

.info-time-dl dt, .info-time-dl dd {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #1d1d1d !important;
  margin: 0;
}

.info-holiday {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: #333;
  margin: 0;
}

/* ==========================================================
   위챗 모달 팝업
   ========================================================== */
.custom-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.custom-modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #fff;
  padding: 16px;
  width: 480px;
  max-width: 90%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  border-radius: 10px;
}

.modal-header {
  text-align: right;
  margin-bottom: 28px;
}

.btn-modal-close {
  background: none;
  border: none;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  padding: 0;
}

.btn-modal-close:hover {
  text-decoration: underline;
}

.modal-body img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 80vh;
}

@media (max-width: 1444px) {
  .space-grid, .space-grid-en {
    gap:100px;
  }

  .space-desc {
    margin: 0 0 60px;
  }
}

@media (max-width: 959px) {
  /* 공통 좌우 패딩 20px */
  .space-section-kr, .space-section-en {
    padding: 0 20px;
  }

  /* Flex 세로 나열 */
  .space-grid, .space-grid-en {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .space-left, .space-right {
    display: contents;
  }

  /* 순서(order) 지정 */
  .space-image-block.large {
    order: 1;
    margin-bottom: 80px;
  }

  .space-image-block.small {
    order: 2;
    margin-bottom: 48px;
    width: 80%;
  }

  .space-caption {
    font-size: 12px;
    margin-top: 8px;
  }

  /* 이미지 우측 정렬 */
  .space-grid .space-image-block.small {
    align-self: flex-end;
  }

  /* 이미지 좌측 정렬 */
  .space-grid-en .space-image-block.small {
    align-self: flex-start;
  }

  /* 텍스트 요소 정렬 */
  .space-title, .space-title-en, .floor-title {
    order: 3;
    font-size: 24px !important;
    margin-bottom: 18px;
  }

  .space-desc, .space-desc-en {
    order: 4;
    font-size: 14px;
    margin-bottom: 100px;
    width: 100%;
  }

  /* 상단 여백 */
  .space-section-kr {
    padding-top: 80px;
  }

  /* 세로 비율 유지 */
  .space-image-block.large,
  .space-image-block.large .space-image-inner {
    height: auto !important;
  }

  .space-image-block.large .space-image-inner {
    aspect-ratio: 3 / 4;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  .space-image-block.small .space-image-inner {
    aspect-ratio: 3 / 4;
  }

  /* 슬라이드 섹션 */
  .space-floor {
    padding: 120px 0 0;
  }

  .floor-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin-bottom: 100px;
  }

  .floor-block:last-child {
    padding: 0;
    margin-bottom: 0;
  }

  .floor-swiper {
    order: 1;
    width: 100%;
    margin-right: 0;
    margin-bottom: 38px;
    padding-bottom: 0 !important;
  }

  .floor-swiper .img-wrap {
    padding-top: 130% !important;
  }

  /* 컨트롤러 */
  .pl-slider-controls {
    display: none !important;
  }

  /* 텍스트 */
  .floor-text-left, .floor-text-right {
    padding: 0 20px;
  }

  .floor-text-grid {
    order: 2;
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
  }

  .floor-title {
    margin-bottom: 8px;
  }

  .floor-label {
    font-size: 12px;
  }

  .floor-text-right .ko {
    font-size: 14px;
  }

  .floor-text-right .en {
    font-size: 14px;
    margin: 14px 0 0;
  }

  /* 로케이션 섹션 */
  .contact-section {
    padding: 120px 20px 160px;
  }

  .contact-grid-new {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-left-title {
    display: none;
  }

  .info-label {
    font-size: 16px !important;
    margin-bottom: 8px;
  }

  .info-text, .info-text-en {
    font-size: 14px;
  }

  /* 버튼 영역 */
  .contact-action-row {
    padding: 0 20px;
  }

  .btn-solid-map {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 12px 0;
  }

  .info-time-dl {
    grid-template-columns: 160px 1fr;
  }

  .info-time-dl dt, .info-time-dl dd {
    font-size: 16px;
  }

  .info-holiday {
    font-size: 14px;
  }

  .sns-text-links {
    gap: 20px 12px;
  }
}
