/* 운영 메인 방문 안내: 기존 탭 디자인을 유지하며 폰에서도 네 칸을 한 줄로. */
@media (max-width: 700px) {
  .test-9.home-floating .home-visitor .visitor-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  .test-9.home-floating .home-visitor .visitor-tabs[hidden] {
    display: none;
  }
  .test-9.home-floating .home-visitor .visitor-tabs button {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    padding: 10px 4px;
    font-size: 14px;
    white-space: nowrap;
    letter-spacing: -0.025em;
  }
}
.home-review-list {
  display: grid;
  gap: 0 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-review {
  min-width: 0;
  padding: 24px 0;
  border-bottom: 1px solid #d5e0e5;
  overflow-wrap: anywhere;
}
.home-review-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #526875;
  font-size: 14px;
}
.home-review-stars {
  display: block;
  margin: 12px 0;
  color: #007f91;
  font-size: 16px;
}
.home-review-unrated {
  display: block;
  margin: 12px 0;
  color: #526875;
  font-size: 14px;
}
.home-review h3 {
  font-size: 18px;
  margin: 12px 0;
}
.home-review h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.home-review p,
.home-review-status {
  font-size: 16px;
  line-height: 1.7;
}
.home-resort-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 24px;
}
.home-resort-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 88px;
  padding: 20px 0;
  border-bottom: 1px solid #d5e0e5;
}
.home-resort-links strong {
  display: block;
  font-size: 18px;
}
.home-resort-links strong + span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #526875;
}
@media (max-width: 600px) {
  .home-review-list,
  .home-resort-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 홈 첫 화면 팝업 — /home/popup.js 가 보여 준다(gw.css 의 .gw-popup* 와 같은 모양, 시안 홈은 gw.css 를 안 읽어 여기 둔다) */
.gw-popup-backdrop {
  position: fixed;
  inset: 0;
  /* 시안 홈의 혜택 띠(test-9-promo.css z-index 1200)보다 위 — 팝업이 먼저 */
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
}
.gw-popup-backdrop[hidden],
.gw-popup-slide[hidden] {
  display: none;
}
.gw-popup {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.gw-popup a {
  display: block;
}
.gw-popup .popup-img {
  display: block;
  width: 100%;
  height: auto;
}
.gw-popup .popup-text {
  padding: 28px 24px 10px;
}
.gw-popup .popup-text h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #0b2f4e;
}
.gw-popup .popup-text p {
  margin: 0;
  white-space: pre-wrap;
  color: #444;
  line-height: 1.6;
}
.gw-popup-x {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.gw-popup-arrow {
  position: absolute;
  top: 45%;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.gw-popup-arrow.prev {
  left: 8px;
}
.gw-popup-arrow.next {
  right: 8px;
}
.gw-popup-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.gw-popup-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.gw-popup-dots button.on {
  background: #2d8fd5;
}
.gw-popup-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #0b2f4e;
  color: #fff;
  font-size: 0.85rem;
}
.gw-popup-bar label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.gw-popup-bar button {
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

/* 홈 FAQ 유형 버튼(대표 2026-10-21) — 자주 묻는 질문 페이지(/faq) 버튼과 같은 모양. 옛 시안 둥근 알약(visitor-demo.css)을 덮는다 */
.visitor-showcase .visitor-faq-filters.faq-topics {
  gap: 8px;
  margin: 0 0 20px;
}
.visitor-showcase .visitor-faq-filters.faq-topics button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #d9dde0;
  border-radius: 4px;
  background: #fff;
  color: #162b3b;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.visitor-showcase .visitor-faq-filters.faq-topics button[aria-pressed="true"] {
  border-color: #008298;
  background: #008298;
  color: #fff;
}
.visitor-showcase .visitor-faq-filters.faq-topics button small {
  margin-left: 2px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.7;
}
@media (max-width: 760px) {
  .visitor-showcase .visitor-faq-filters.faq-topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .visitor-showcase .visitor-faq-filters.faq-topics button {
    min-width: 0;
    padding: 0 4px;
    font-size: 14px;
  }
}


/* 자동 번역 중 띠(home/site-translate.js) — 맨 위 한 줄, 「한국어 원문」으로 되돌리기 */
.ws-tr-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  padding: 7px 14px;
  background: #0b3b63;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}
.ws-tr-band button {
  padding: 3px 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

