html, body { margin: 0; height: auto !important; overflow-x: hidden; overflow-y: auto !important; }
.mview { display: none; }

/* Wix Studio: 750px 이상 PC(dview) — 750~979 mview+viewport980 레이아웃 깨짐 방지 */
@media (min-width: 750px) {
  .dview { display: block !important; }
  .mview { display: none !important; }
  html[data-mobile-layout="studio"] .dview .theme-vars,
  html[data-mobile-layout="studio"] .dview #c1dmp {
    --one-unit: 1cqw !important;
  }

  /* 진행절차 왼쪽(1~6) sticky — overflow clip 조상이 sticky 무력화 */
  .dview #c1dmp .c1dmp-overflow-wrapper,
  .dview #c1dmp .c1dmp-container {
    overflow: visible !important;
  }
  .dview #SITE_PAGES {
    overflow: visible !important;
  }

  /* Wix top:20% → containing block 기준 ~2800px로 sticky 무력화 → viewport 기준 vh */
  .dview #comp-lylb27l8 #comp-lylb9445,
  .dview #comp-lylb27l8 #comp-lylbh844,
  .dview #comp-lylb27l8 #comp-lylbk61d,
  .dview #comp-lylb27l8 #comp-lylbkqwt,
  .dview #comp-lylb27l8 #comp-lylblluv,
  .dview #comp-lylb27l8 #comp-lylblluy1,
  .dview #comp-lylb27l8 #comp-lylbm37j,
  .dview #comp-lylb27l8 #comp-lylbm37n2,
  .dview #comp-lylb27l8 #comp-lylbmd2p,
  .dview #comp-lylb27l8 #comp-lylbmd2r5,
  .dview #comp-lylb27l8 #comp-lylbmk9u,
  .dview #comp-lylb27l8 #comp-lylbmk9x,
  .dview #comp-lylb27l8 #comp-lylbmstx,
  .dview #comp-lylb27l8 #comp-lylbmsu0 {
    position: sticky !important;
    --force-auto: initial !important;
    top: calc(20vh + var(--sticky-offset, 0px)) !important;
    z-index: 3;
  }

  /* 2번째 섹션 Pro Gallery — Wix JS 없이 SSR만 로드 시 CSS가 opacity 0 */
  .dview #pro-gallery-comp-lyl8rnb6 .gallery-item-container {
    opacity: 1 !important;
  }
  .dview #gallery-wrapper-comp-lyl8rnb6 {
    overflow: hidden !important;
    width: 100% !important;
  }
  .dview #pro-gallery-comp-lyl8rnb6 .pro-gallery-parent-container {
    width: 100% !important;
    max-width: 100% !important;
  }
  .dview #pro-gallery-comp-lyl8rnb6 .gallery-item-container {
    box-sizing: border-box;
  }
}

/* 휴대폰은 운영 사이트와 같이 반응형 PC 마크업을 화면 너비에 맞춘다 */
@media (max-width: 749px) {
  .dview { display: block !important; }
  .mview { display: none !important; }
  .dview #pro-gallery-comp-lyl8rnb6 .gallery-item-container {
    opacity: 1 !important;
  }

  .dview #comp-kbgakxmn_r_comp-lyld7wrp {
    width: 52% !important;
    max-width: 220px !important;
    aspect-ratio: 2233 / 358 !important;
  }
  .dview #comp-kbgakxmn_r_comp-lyld7wrp img {
    object-fit: contain !important;
    object-position: left center !important;
  }
  .dview #comp-kbgakxmn_r_comp-kd5pdf7t {
    width: 58% !important;
    max-width: 58% !important;
    justify-self: start !important;
    margin-left: 18px !important;
    margin-right: 0 !important;
  }
}
