/* StayWhere Studio - theme-level design. Do NOT edit data outputs, links, routes or shortcodes. */
:root {
  --sw-accent: #3268f5;
  --sw-ink: #172338;
  --sw-muted: #6e7b90;
  --sw-paper: #ffffff;
  --sw-canvas: #f7f9fd;
  --sw-stroke: #e6ebf3;
  --sw-shadow: 0 18px 55px rgba(29,49,86,.075);
  --sw-soft-shadow: 0 8px 24px rgba(29,49,86,.045);
  --sw-radius: 22px;
  --sw-width: 1200px;
  --sw-font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
}
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body { margin: 0; background: var(--sw-canvas); color: var(--sw-ink); font-family: var(--sw-font); -webkit-font-smoothing: antialiased; }
body *, body *::before, body *::after { box-sizing: border-box; }
body { overflow-x: clip; }
a { color: inherit; }
img, svg, video { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:where(button,a,input,textarea,select):focus-visible { outline: 3px solid #7599ff; outline-offset: 3px; }
::selection { color: #fff; background: var(--sw-accent); }
[hidden] { display: none !important; }
.screen-reader-text { clip-path: inset(50%); position: absolute !important; height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }
.sw-studio-skip { position: fixed; z-index: 999999; top: -100px; left: 12px; border-radius: 12px; padding: 12px 18px; background: #fff; font-weight: 800; }
.sw-studio-skip:focus { top: 12px; }

/* The theme header appears only on editorial pages by default. */
.sw-studio-header { position: sticky; z-index: 900; top: 0; background: rgba(255,255,255,.9); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border-bottom: 1px solid rgba(220,228,240,.86); }
.admin-bar .sw-studio-header { top: 32px; }
.sw-studio-header__inner { width: min(calc(100% - 44px), var(--sw-width)); height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.sw-studio-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--sw-ink); flex: none; }
.sw-studio-brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; font-size: 25px; font-weight: 900; letter-spacing: -.09em; color: white; background: var(--sw-accent); box-shadow: 0 7px 18px rgba(50,104,245,.25); }
.sw-studio-brand__mark span { color: #add3ff; }
.sw-studio-brand__word { font-size: 22px; font-weight: 850; letter-spacing: -.055em; }
.sw-studio-brand__period, .sw-studio-footer__brand span { color: var(--sw-accent); }
.sw-studio-brand__logo .custom-logo-link { display: flex; align-items: center; }
.sw-studio-brand__logo img { display: block; max-width: 180px; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.sw-studio-desktop-nav { margin-left: auto; }
.sw-studio-menu { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 6px; }
.sw-studio-menu > li { position: relative; list-style: none; }
.sw-studio-menu > li > a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 13px; text-decoration: none; color: #4b5870; font-size: 14px; font-weight: 700; transition: .18s; }
.sw-studio-menu > li > a:hover, .sw-studio-menu > .current-menu-item > a, .sw-studio-menu > .current_page_item > a { color: var(--sw-accent); background: #eef3ff; }
.sw-studio-menu .sub-menu { list-style: none; padding: 8px; margin: 0; min-width: 180px; position: absolute; top: 100%; right: 0; display: none; background: #fff; border: 1px solid var(--sw-stroke); border-radius: 16px; box-shadow: var(--sw-shadow); }
.sw-studio-menu li:hover > .sub-menu, .sw-studio-menu li:focus-within > .sub-menu { display: block; }
.sw-studio-menu .sub-menu a { display: block; padding: 10px; border-radius: 8px; text-decoration: none; font-size: 13px; }
.sw-studio-menu .sub-menu a:hover { background: #f5f7ff; }
.sw-studio-menu-button { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--sw-stroke); border-radius: 13px; background: #fff; }
.sw-studio-menu-button__lines { display: grid; gap: 4px; }
.sw-studio-menu-button__lines i { width: 18px; height: 2px; background: #2a3447; border-radius: 2px; display: block; }
.sw-studio-mobile-menu { max-width: var(--sw-width); margin: auto; padding: 8px 18px 18px; border-top: 1px solid var(--sw-stroke); }
.sw-studio-menu--mobile { align-items: stretch; flex-direction: column; gap: 2px; }
.sw-studio-menu--mobile li, .sw-studio-menu--mobile a { width: 100%; }
.sw-studio-menu--mobile a { justify-content: flex-start; padding: 12px 16px; }

/* Content containers for WordPress pages only. Plugin pages remain full width. */
.sw-studio-main { min-height: 45vh; }
.sw-studio-main--front, .sw-studio-main--plugin { width: 100%; margin: 0 auto; }
.sw-studio-main--page { padding: 50px 22px 92px; }
.sw-studio-main--archive { padding: 42px 22px 100px; }
.sw-studio-article { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--sw-stroke); border-radius: 28px; box-shadow: var(--sw-soft-shadow); padding: clamp(26px, 5vw, 64px); }
.sw-studio-page-heading { margin: 0 0 34px; }
.sw-studio-page-heading h1 { font-weight: 820; letter-spacing: -.055em; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.26; margin: 8px 0 0; overflow-wrap: anywhere; }
.sw-studio-eyebrow { margin: 0; color: var(--sw-accent); letter-spacing: .16em; text-transform: uppercase; font-weight: 850; font-size: 11px; }
.sw-studio-date { margin: 14px 0 0; color: var(--sw-muted); font-size: 13px; }
.sw-studio-featured { margin: 0 0 30px; }
.sw-studio-featured img { width: 100%; display: block; border-radius: 20px; height: auto; }
.sw-studio-prose { color: #34425a; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.sw-studio-prose h2, .sw-studio-prose h3 { color: var(--sw-ink); letter-spacing: -.035em; line-height: 1.35; margin-top: 1.65em; }
.sw-studio-prose h2 { font-size: 27px; }.sw-studio-prose h3 { font-size: 22px; }
.sw-studio-prose a { color: var(--sw-accent); text-underline-offset: 4px; }
.sw-studio-prose img { height: auto; border-radius: 16px; }
.sw-studio-prose blockquote { margin: 22px 0; padding: 12px 22px; border-left: 4px solid var(--sw-accent); background: #f4f7ff; border-radius: 0 14px 14px 0; }
.sw-studio-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.sw-studio-prose td, .sw-studio-prose th { padding: 11px 14px; border: 1px solid var(--sw-stroke); text-align: left; }
.sw-studio-archive { max-width: var(--sw-width); margin: auto; }
.sw-studio-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.sw-studio-post-card { background: #fff; border: 1px solid var(--sw-stroke); border-radius: var(--sw-radius); overflow: hidden; box-shadow: var(--sw-soft-shadow); transition: transform .22s, box-shadow .22s; min-width: 0; }
.sw-studio-post-card:hover { transform: translateY(-4px); box-shadow: var(--sw-shadow); }
.sw-studio-post-card__image { aspect-ratio: 1.4; display: grid; place-items: center; background: linear-gradient(135deg,#dce9ff,#eff4ff); color: #7186a8; text-decoration: none; font-weight: 800; }
.sw-studio-post-card__image img { display: block; height: 100%; width: 100%; object-fit: cover; }
.sw-studio-post-card__content { padding: 24px; }
.sw-studio-post-card__meta { font-size: 11px; color: var(--sw-muted); }
.sw-studio-post-card h2 { font-size: 19px; line-height: 1.45; letter-spacing: -.035em; margin: 5px 0 12px; }
.sw-studio-post-card h2 a { text-decoration: none; }.sw-studio-post-card h2 a:hover { color: var(--sw-accent); }
.sw-studio-post-card__content > p:not(.sw-studio-post-card__meta) { color: var(--sw-muted); font-size: 13px; line-height: 1.8; }
.sw-studio-post-card__more { color: var(--sw-accent); text-decoration: none; font-size: 13px; font-weight: 800; }
.sw-studio-pagination { margin-top: 34px; text-align: center; }.sw-studio-pagination a, .sw-studio-pagination .current { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px; background: #fff; border: 1px solid var(--sw-stroke); border-radius: 10px; margin: 0 3px; text-decoration: none; }.sw-studio-pagination .current { color: #fff; background: var(--sw-accent); }
.sw-studio-footer { border-top: 1px solid var(--sw-stroke); background: #fff; }
.sw-studio-footer__inner { max-width: var(--sw-width); margin: auto; padding: 44px 22px; display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.sw-studio-footer__brand { font-size: 23px; color: var(--sw-ink); font-weight: 850; letter-spacing: -.05em; text-decoration: none; }
.sw-studio-footer p, .sw-studio-footer small { color: #8290a3; font-size: 12px; }.sw-studio-footer p { margin: 9px 0; }
.sw-studio-footer small { grid-column: 1/-1; }
.sw-studio-footer__menu { list-style: none; display: flex; flex-wrap: wrap; gap: 17px; margin: 0; padding: 0; }
.sw-studio-footer__menu a { color: #64738a; text-decoration: none; font-size: 12px; }
.sw-studio-404 { width: min(100%,600px); margin: 7vh auto; text-align: center; background: #fff; padding: 66px 28px; border-radius: 28px; border: 1px solid var(--sw-stroke); box-shadow: var(--sw-shadow); }
.sw-studio-404__badge { display: inline-block; padding: 10px 16px; background: #edf3ff; border-radius: 50px; color: var(--sw-accent); font-weight: 900; }.sw-studio-404 h1 { font-size: clamp(24px,4vw,36px); letter-spacing: -.05em; }.sw-studio-404 p { font-size: 14px; color: var(--sw-muted); }
.sw-studio-button { display: inline-flex; justify-content: center; align-items: center; margin-top: 25px; padding: 15px 20px; background: var(--sw-accent); color: #fff; text-decoration: none; font-weight: 800; border-radius: 14px; }
.sw-studio-dock { display: none; }
.sw-studio-empty { max-width: 800px; margin: 80px auto; padding: 30px; text-align: center; }

/* Legacy KTO shortcode skin, only when these exact plugin classes exist. */
.swkto-v2 { --swkto-primary: var(--sw-accent); --d3-blue: var(--sw-accent); font-family: var(--sw-font) !important; }
.swkto-v2 .swkto-v2__shell { max-width: 1240px; }
.swkto-v2 .swkto-v2__hero { border-radius: 28px; overflow: hidden; }
.swkto-v2 .swkto-v2__card { overflow: hidden; border-radius: 20px; border: 1px solid var(--sw-stroke); box-shadow: var(--sw-soft-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.swkto-v2 .swkto-v2__card:hover { transform: translateY(-4px); box-shadow: var(--sw-shadow); }
.swkto-v2 .swkto-v2__card-image { overflow: hidden; }
.swkto-v2 .swkto-v2__card-image img { transition: transform .4s ease; }
.swkto-v2 .swkto-v2__card:hover .swkto-v2__card-image img { transform: scale(1.035); }
.swkto-v2 .swkto-v2__search { border-radius: 17px; box-shadow: var(--sw-soft-shadow); }
.swkto-v2 .swkto-v2__region { overflow: hidden; border-radius: 16px; }
.swkto-v2 .swkto-v2__region-image { transition: transform .3s ease; }
.swkto-v2 .swkto-v2__region:hover .swkto-v2__region-image { transform: scale(1.03); }
.swkto-d3 .swkto-d3__card, .swkto-d3 .swkto-d3__booking, .swkto-d3 .swkto-d3__side-room, .swkto-d3 .swkto-d3__safe { border-radius: 18px; border-color: var(--sw-stroke); box-shadow: var(--sw-soft-shadow); }
.swkto-d3 .swkto-d3__room-card { border-radius: 14px; border-color: var(--sw-stroke); }
.swkto-d3 .swkto-d3__thumbs button, .swkto-d3 .swkto-d3__related img { border-radius: 13px; }
.swkto-d3 .swkto-d3__primary-cta, .swkto-d3 .swkto-d3__secondary-cta { border-radius: 13px; }
.swkto-d3 .swkto-d3__kto-badge { border-radius: 999px; }

/* Ads and embedded elements stay in normal document flow; never absolute-position them. */
.sw-studio-main :where(.adsbygoogle, ins.adsbygoogle) { max-width: 100%; }

@media(max-width: 900px) {
  .sw-studio-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .sw-studio-header__inner { height: 66px; }
  .sw-studio-desktop-nav { display: none; }.sw-studio-menu-button { display: inline-flex; margin-left: auto; }
  .sw-studio-footer__inner { grid-template-columns: 1fr; }
}
@media(max-width: 600px) {
  .admin-bar .sw-studio-header { top: 46px; }
  .sw-studio-header__inner { width: calc(100% - 32px); height: 62px; }
  .sw-studio-brand__mark { width: 35px; height: 35px; border-radius: 12px; font-size: 22px; }
  .sw-studio-brand__word { font-size: 20px; }
  .sw-studio-post-grid { grid-template-columns: 1fr; }
  .sw-studio-main--page, .sw-studio-main--archive { padding: 22px 12px 75px; }
  .sw-studio-article { padding: 28px 21px; border-radius: 20px; }
  .sw-studio-page-heading h1 { font-size: 29px; }
  .sw-studio-prose { font-size: 15px; }
  .sw-studio-prose h2 { font-size: 22px; }
  .sw-studio-404 { padding: 44px 22px; }
  .sw-studio-footer__inner { padding: 32px 20px; }
  .sw-studio-dock { position: fixed; bottom: 0; left: 0; right: 0; z-index: 880; display: block; background: rgba(255,255,255,.97); box-shadow: 0 -5px 22px rgba(0,0,0,.045); border-top: 1px solid var(--sw-stroke); padding-bottom: env(safe-area-inset-bottom); }
  .sw-studio-dock__list { display: flex; align-items: center; justify-content: space-evenly; gap: 6px; padding: 8px 14px; margin: 0; list-style: none; }
  .sw-studio-dock__list li { flex: 1; text-align: center; list-style: none; }
  .sw-studio-dock__list li:nth-child(n+6) { display: none; }
  .sw-studio-dock__list a { display: grid; place-items: center; min-height: 41px; border-radius: 12px; color: #58667c; text-decoration: none; font-size: 12px; font-weight: 750; }
  .sw-studio-dock__list .current-menu-item a { background: #eef3ff; color: var(--sw-accent); }
  .sw-studio-dock + * { margin-bottom: 50px; }
  /* Keep existing plugin mobile sticky CTA; this theme never creates another on stay pages. */
  .swkto-d3 .swkto-d3__card, .swkto-d3 .swkto-d3__booking { border-radius: 16px; border: 1px solid var(--sw-stroke); margin: 0 10px; }
  .swkto-d3 .swkto-d3__layout { gap: 10px; background: transparent; }
  .swkto-d3 .swkto-d3__main { gap: 10px; }
  .swkto-d3 .swkto-d3__mobile-title { padding-left: 20px; padding-right: 20px; }
  .swkto-d3 .swkto-d3__thumbs { padding-left: 15px; padding-right: 15px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
