/*
 * Osan Heritage Xi — Vista Edition
 * Theme-only overrides. Vista's section geometry, transforms and reveal timing
 * remain owned by the original stylesheets.
 */

:root {
  --osan-navy: #00334d;
  --osan-navy-deep: #001f30;
  --osan-navy-soft: #0c4d68;
  --osan-gold: #b6955c;
  --osan-gold-light: #dcc9a4;
  --osan-ink: #132731;
  --osan-muted: #667780;
  --osan-line: #d9e2e6;
  --osan-mist: #f3f7f8;
  --osan-paper: #ffffff;
  --osan-shadow: 0 24px 70px rgba(0, 31, 48, 0.11);
}

::selection {
  background: var(--osan-gold);
  color: #fff;
}

body {
  background: var(--osan-paper) !important;
  color: var(--osan-ink);
}

input:focus,
select:focus,
textarea:focus {
  outline-color: var(--osan-gold);
}

/* Header wordmark: crop the navy half of the supplied Xi sprite. */
#logo a {
  flex-direction: row !important;
  align-items: center;
  gap: 0.58rem;
  color: var(--osan-navy) !important;
}

#logo a::after {
  content: none !important;
}

#logo a img {
  display: block;
  flex: 0 0 auto;
  /* The source is a two-colour sprite. Keep enough width to show the
     complete navy Xi mark instead of clipping the right-hand stem. */
  width: 52px !important;
  height: 27px !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: left center;
}

#logo a span {
  display: block;
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.navi.white:not(.active) #logo a,
.navi.white2:not(.active) #logo a,
.navi.over #logo a {
  color: #fff !important;
}

.navi.white:not(.active) #logo a img,
.navi.white2:not(.active) #logo a img,
.navi.over #logo a img {
  filter: brightness(0) invert(1);
}

.navi.active:not(.over) #logo a,
.navi.mouseover:not(.over) #logo a,
.navi.wh:not(.over) #logo a {
  color: var(--osan-navy) !important;
}

.navi.active:not(.over) #logo a img,
.navi.mouseover:not(.over) #logo a img,
.navi.wh:not(.over) #logo a img {
  filter: none;
}

body.main .navi:not(.active):not(.mouseover):not(.wh):not(.over) #logo a {
  color: #fff !important;
}

body.main .navi:not(.active):not(.mouseover):not(.wh):not(.over) #logo a img,
body.main .navi:not(.active):not(.mouseover):not(.wh):not(.over) .guest_bt,
body.main .navi:not(.active):not(.mouseover):not(.wh):not(.over) .tel > a > div {
  filter: brightness(0) invert(1) !important;
}

body.main .navi:not(.active):not(.mouseover):not(.wh):not(.over) .tel p,
body.main .navi:not(.active):not(.mouseover):not(.wh):not(.over) .reserve p {
  color: #fff !important;
}

body.main .navi:not(.active):not(.mouseover):not(.wh):not(.over) .reserve {
  border-color: rgba(255, 255, 255, 0.78) !important;
}

body.main .ham:not(.active2):not(.over) p {
  color: #fff !important;
}

body.main .ham:not(.active2):not(.over) span {
  background-color: #fff !important;
}

.navi.active,
.navi.mouseover,
.navi.wh {
  border-bottom-color: rgba(0, 51, 77, 0.14) !important;
}

.gnb > ul > li:hover > a,
.navi.wh .gnb > ul > li:hover > a,
.navi.white .gnb > ul > li:hover > a,
.navi.over .gnb > ul > li:hover > a,
.gnb .depth2 > li > a:hover,
.gnb .depth2 > li.on > a,
.gnb .depth2 > li > a.on {
  color: var(--osan-gold) !important;
}

.gnb .line,
.navi.wh .gnb .line,
.navi.white .gnb .line,
.navi.over .gnb .line {
  background: var(--osan-gold) !important;
}

.site_map::after {
  background-color: var(--osan-navy-deep) !important;
}

.site_wrap.active {
  z-index: 10000010 !important;
}

.navi {
  z-index: 10000020 !important;
}

body:has(.site_wrap.active) header {
  z-index: 10000030 !important;
}

.site_wrap .site_list > li > a span:first-of-type {
  color: rgba(255, 255, 255, 0.76) !important;
}

.site_wrap .site_list > li > a span:nth-of-type(2) {
  color: var(--osan-gold-light) !important;
}

.site_wrap .site_list2 > li > a:hover {
  color: var(--osan-gold-light) !important;
}

/* Main hero: official Osan CG, with the original Vista zoom/reveal intact. */
.main_img_box .main_img.img01 {
  background-image: url("/assets/images/hero-clean.webp") !important;
  background-position: center center !important;
  background-size: cover !important;
}

.main_img_box .main_img.img01::before {
  background: linear-gradient(90deg, rgba(0, 25, 38, 0.74) 0%, rgba(0, 36, 53, 0.49) 48%, rgba(0, 31, 48, 0.25) 100%) !important;
  opacity: 1 !important;
}

.main_txt_box h2 {
  color: #fff !important;
  text-shadow: 0 4px 24px rgba(0, 23, 36, 0.28);
}

.main_txt_box h2 span,
.main_txt_box h2 span::before {
  color: var(--osan-gold-light) !important;
}

.main_txt_box h2 span::before {
  background-color: var(--osan-gold) !important;
}

.main_txt_box p {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 2px 14px rgba(0, 25, 38, 0.35);
}

.osan-hero-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  color: #fff;
}

.osan-hero-wordmark img {
  width: 74px !important;
  height: 39px !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.osan-hero-wordmark strong {
  font-size: clamp(1.12rem, 1.45vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.main_sum > div > h1::after,
.right_scroll span,
.right_scroll_wrap.white .right_scroll span {
  background-color: var(--osan-gold) !important;
}

/* Official Osan imagery in the inherited main-section slots. */
.location_wrap::after {
  background-image: linear-gradient(rgba(244, 248, 249, 0.9), rgba(238, 244, 246, 0.86)), url("/assets/images/location-map.webp") !important;
  background-position: center center !important;
  background-size: cover !important;
}

.location_img img,
.complex_img img,
.comm_img img {
  display: block;
}

.location_tit_box {
  color: var(--osan-navy);
}

.location_txt_box h2 span {
  color: var(--osan-gold) !important;
}

.complex_bg::before {
  background-image: url("/assets/images/overview-1bl.webp") !important;
  background-position: center center !important;
}

.complex_img_box.box01 .complex_img {
  aspect-ratio: 300 / 195;
}

.complex_img_box.box02 .complex_img {
  aspect-ratio: 714 / 504;
}

.complex_img img,
.comm_img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.complex_img img {
  object-position: center center;
}

.complex_tit .dot_box span,
.comm_tit .dot_box span,
.unit_tit .dot_box span {
  background: var(--osan-gold) !important;
}

.complex_tit h2,
.comm_tit h2,
.unit_tit h2 {
  color: var(--osan-navy) !important;
}

.complex_txt_box h3,
.comm_txt_box h3,
.comm_iso_txt p {
  color: var(--osan-gold) !important;
}

.comm_wrap {
  background-color: var(--osan-mist) !important;
}

.comm_img {
  aspect-ratio: 231 / 149;
}

.comm_img img {
  object-position: center top;
}

/* The official CLUB sheets are portrait documents; crop them into Vista's
   original isometric illustration windows instead of allowing tall overflow. */
.pyt_iso {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 45px rgba(0, 31, 48, 0.1);
}

.pyt_iso img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
}

.pyt_line,
.pyt_dot,
.comm_iso_txt > div::before,
.comm_iso_txt > div::after {
  background-color: var(--osan-gold) !important;
}

.pyt_lbl,
.comm_iso_box .comm_iso_txt p,
.comm_iso_txt_mo h6 {
  background: var(--osan-navy) !important;
}

.unit_txt_box {
  color: var(--osan-navy-deep) !important;
}

.unit_txt_box ul,
.swiper_unit2 .swiper-slide {
  border-color: var(--osan-navy) !important;
}

.swiper_unit2 .swiper-slide span {
  color: var(--osan-navy) !important;
}

/* The official unit boards are portrait sheets. The main Vista slot shows the
   primary floor plan at a readable size; the full boards remain on /unit. */
.osan-unit-crop {
  background-color: #fff;
  background-image: var(--osan-unit-sheet);
  background-position: center 34%;
  background-repeat: no-repeat;
  background-size: 142% auto;
}

.osan-unit-crop img {
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
}

.unit_img h2 {
  width: auto !important;
  min-width: 16rem;
  padding: 0 1.35rem;
  white-space: nowrap;
}

/* Keep popup geometry while using project-specific, factual imagery. */
#k_popup2 .claude-popup-development .claude-popup-visual {
  background-image: url("/assets/images/complex-aerial.webp") !important;
  background-position: center 48% !important;
}

#k_popup2 .claude-popup-contract .claude-popup-visual {
  background-image: url("/assets/images/interior-124.webp") !important;
  background-position: center 54% !important;
}

/* Registration, reservation and floating CTA. */
.osan-reservation-count {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.6;
  text-align: center;
  word-break: keep-all;
}

.osan-reservation-count strong {
  color: var(--osan-gold-light);
  font-size: 1.12em;
  font-weight: 800;
}

.pyt_reg_agree-chk input {
  accent-color: var(--osan-gold) !important;
}

.pyt_reg_btn {
  background: var(--osan-gold) !important;
}

.pyt_reg_btn:hover {
  background: #a6834b !important;
}

.pyt-guest-reg .pyt_reg_field input:focus,
.pyt-resv-tbtn:hover {
  border-color: var(--osan-gold) !important;
}

.pyt-guest-reg .pyt_reg_policy:hover,
.pyt-guest-reg .pyt_reg_done,
.pyt-guest-reg .pyt_reg_info a,
.pyt-resv-tbtn:hover {
  color: var(--osan-gold) !important;
}

.pyt-resv-tbtn.active,
.pyt-resv-modal .flatpickr-day.selected,
.pyt-resv-modal .flatpickr-day.selected:hover {
  background: var(--osan-navy) !important;
  border-color: var(--osan-navy) !important;
  color: #fff !important;
}

.pyt-mcta-top,
.pyt-mcta-tel {
  background-color: var(--osan-navy-deep) !important;
}

.pyt-mcta-reg {
  background-color: var(--osan-gold) !important;
}

.sub_top {
  background: linear-gradient(120deg, var(--osan-navy-deep), var(--osan-navy-soft)) !important;
}

#sub_tit h2 {
  color: var(--osan-navy-deep);
}

#sub_tit h5 div {
  color: var(--osan-gold) !important;
}

.sub_line {
  display: none !important;
}

.footer {
  background-color: var(--osan-navy-deep) !important;
}

/* ============================================================
   Generated Osan detail pages (scripts/adapt-osan.mjs)
   ============================================================ */
.pyt-osan-page,
.pyt-osan-page * {
  box-sizing: border-box;
}

.pyt-osan-page {
  width: min(100%, 1180px);
  margin-inline: auto;
  color: var(--osan-ink);
  text-align: left;
}

.osan-page-intro {
  width: min(100%, 860px);
  margin: 0 auto clamp(2.75rem, 5vw, 5rem);
  text-align: center;
  animation: osan-page-rise 0.72s cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.osan-page-intro > p:first-child {
  margin: 0;
  color: var(--osan-gold);
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.osan-page-intro h2 {
  margin: 1rem 0 0;
  color: var(--osan-navy-deep);
  font-size: clamp(1.85rem, 3.5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.24;
  word-break: keep-all;
}

.osan-page-rule {
  display: none !important;
}

.osan-page-copy {
  margin: 1.6rem 0 0;
  color: var(--osan-muted);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.8;
  word-break: keep-all;
}

body.osan-vr-route.has-mcta {
  padding-bottom: 0 !important;
}

.osan-vr-route .pyt-mcta.pyt-mcta--inline {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  display: block !important;
  overflow: hidden;
  width: min(100%, 840px);
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 1.25rem;
  padding: 0 !important;
  border: 1px solid rgba(0, 48, 72, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(0, 31, 48, 0.12);
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

.osan-vr-route .pyt-mcta--inline .pyt-mcta-top {
  margin: 0;
  padding: 1rem 1.25rem;
  background: #f7f4ee !important;
  color: var(--osan-navy-deep) !important;
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
}

.osan-vr-route .pyt-mcta--inline .pyt-mcta-top strong {
  color: var(--osan-gold);
  font-size: 1.08em;
}

.osan-vr-route .pyt-mcta--inline .pyt-mcta-acts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.osan-vr-route .pyt-mcta--inline .pyt-mcta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 58px;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
}

.osan-vr-route .pyt-mcta--inline .pyt-mcta-ic {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.osan-overview-visual {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.92 / 1;
  background: var(--osan-mist);
  box-shadow: var(--osan-shadow);
  animation: osan-page-rise 0.82s 0.08s cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.osan-overview-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.osan-fact-grid,
.osan-value-grid,
.osan-premium-grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3.75rem);
  overflow: hidden;
  border: 1px solid var(--osan-line);
  background: var(--osan-line);
}

.osan-fact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.osan-fact-grid > div {
  min-width: 0;
  padding: clamp(1.3rem, 2.6vw, 2.25rem);
  background: #fff;
}

.osan-fact-grid h3 {
  margin: 0 0 0.8rem;
  color: var(--osan-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.osan-fact-grid p {
  margin: 0;
  color: var(--osan-navy-deep);
  font-size: clamp(0.94rem, 1.25vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.osan-note {
  margin: 1.5rem 0 0;
  color: #7b898f;
  font-size: 0.78rem;
  letter-spacing: -0.025em;
  line-height: 1.7;
  text-align: left;
  word-break: keep-all;
}

.osan-brand-card {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6.5rem);
  border: 1px solid rgba(0, 51, 77, 0.12);
  background: linear-gradient(145deg, #fff 0%, #f0f5f6 100%);
  box-shadow: var(--osan-shadow);
  text-align: center;
}

.osan-brand-card img {
  display: block;
  width: 104px;
  height: 57px;
  margin: 0 auto 2rem;
  object-fit: cover;
  object-position: left center;
}

.osan-brand-card h3 {
  margin: 0;
  color: var(--osan-gold);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.osan-brand-card p {
  width: min(100%, 660px);
  margin: 1.4rem auto 0;
  color: var(--osan-muted);
  font-size: 1rem;
  letter-spacing: -0.035em;
  line-height: 1.85;
  word-break: keep-all;
}

.osan-value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.osan-value-grid article,
.osan-premium-grid article {
  min-width: 0;
  background: #fff;
}

.osan-value-grid article {
  padding: clamp(1.5rem, 3vw, 2.7rem);
}

.osan-value-grid b,
.osan-premium-grid b {
  color: var(--osan-gold);
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.osan-value-grid h3,
.osan-premium-grid h3 {
  margin: 1rem 0 0;
  color: var(--osan-navy-deep);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.38;
  word-break: keep-all;
}

.osan-value-grid p,
.osan-premium-grid p {
  margin: 0.85rem 0 0;
  color: var(--osan-muted);
  font-size: 0.9rem;
  letter-spacing: -0.035em;
  line-height: 1.72;
  word-break: keep-all;
}

.osan-premium-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.osan-premium-grid article {
  position: relative;
  min-height: 260px;
  padding: clamp(1.7rem, 3vw, 3rem);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.osan-premium-grid article:hover {
  background: var(--osan-navy-deep);
}

.osan-premium-grid article > span {
  display: block;
  margin-bottom: 2.8rem;
  color: rgba(0, 51, 77, 0.23);
  font-family: "Poppins", sans-serif;
  font-size: 2.3rem;
  font-weight: 300;
  line-height: 1;
  transition: color 0.3s ease;
}

.osan-premium-grid article:hover > span,
.osan-premium-grid article:hover h3,
.osan-premium-grid article:hover p {
  color: #fff;
}

.osan-tabs {
  width: 100%;
}

.osan-tablist {
  display: flex;
  gap: 0;
  width: 100%;
  overflow-x: auto;
  border-bottom: 1px solid var(--osan-line);
  scrollbar-color: var(--osan-gold) transparent;
  scrollbar-width: thin;
}

.osan-tablist button {
  flex: 1 0 auto;
  min-width: 132px;
  min-height: 54px;
  padding: 0.8rem 1.2rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--osan-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.osan-tablist button:hover {
  color: var(--osan-navy);
  background: var(--osan-mist);
}

.osan-tablist button[aria-selected="true"] {
  border-bottom-color: var(--osan-gold);
  color: var(--osan-navy-deep);
}

.osan-tablist button:focus-visible,
.osan-doc-actions a:focus-visible,
.osan-news-list a:focus-visible {
  outline: 2px solid var(--osan-gold);
  outline-offset: 3px;
}

.osan-tabpanel {
  margin-top: clamp(1.8rem, 4vw, 3.5rem);
  animation: osan-panel-in 0.52s ease both;
}

.osan-tabpanel[hidden] {
  display: none !important;
}

.osan-official-sheet {
  display: block;
  width: min(100%, 1100px);
  height: auto;
  margin-inline: auto;
  border: 1px solid rgba(0, 51, 77, 0.1);
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 31, 48, 0.09);
}

.osan-vr-frame {
  display: block;
  width: 100%;
  height: clamp(460px, 62vw, 760px);
  border: 0;
  background: #0b1820;
  box-shadow: var(--osan-shadow);
}

/* 상단 방문예약 버튼 — 현재 화면 위에 표시되는 신청 팝업 */
body.osan-visit-modal-open {
  overflow: hidden !important;
}

.osan-visit-modal[hidden] {
  display: none !important;
}

.osan-visit-modal {
  position: fixed;
  inset: 0;
  z-index: 99999999;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(0, 26, 40, 0.76);
  backdrop-filter: blur(8px);
  box-sizing: border-box;
}

.osan-visit-panel {
  width: min(100%, 560px);
  max-height: calc(100dvh - clamp(2rem, 6vw, 4rem));
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 18, 30, 0.4);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.osan-visit-modal.is-open .osan-visit-panel {
  opacity: 1;
  transform: none;
}

.osan-visit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.35rem, 5vw, 2.4rem) 1.15rem;
  border-bottom: 1px solid var(--osan-line);
}

.osan-visit-head p {
  margin: 0 0 0.35rem;
  color: var(--osan-gold);
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.osan-visit-head h2 {
  margin: 0;
  color: var(--osan-navy-deep);
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.25;
}

.osan-visit-close {
  flex: 0 0 auto;
  min-width: 56px;
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(0, 51, 77, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--osan-navy-deep);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.osan-visit-close:hover,
.osan-visit-close:focus-visible {
  border-color: var(--osan-gold);
  outline: none;
}

.osan-visit-body {
  max-width: none;
  padding: 1.35rem clamp(1.35rem, 5vw, 2.4rem) clamp(1.6rem, 5vw, 2.4rem);
}

.osan-visit-copy {
  margin: 0;
  color: var(--osan-muted);
  font-size: 0.91rem;
  letter-spacing: -0.035em;
  line-height: 1.65;
  text-align: left;
  word-break: keep-all;
}

.osan-visit-count {
  margin: 1rem 0 1.15rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(184, 142, 80, 0.24);
  border-radius: 10px;
  background: #faf7f1;
  color: #53636b;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.5;
  text-align: center;
}

.osan-visit-count strong {
  color: var(--osan-gold);
  font-size: 1rem;
}

.osan-visit-modal .pyt_reg_box {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.35rem;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none;
}

.osan-visit-schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.osan-visit-schedule .pyt_reg_field,
.osan-visit-schedule input,
.osan-visit-schedule select {
  min-width: 0;
}

.osan-visit-modal .pyt_reg_field select {
  width: 100%;
  height: 3.4rem;
  padding: 0 2.5rem 0 1.05rem;
  border: 1px solid #e3e0db;
  border-radius: 8px;
  background: #faf9f7;
  color: #1a1a1a;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.osan-date-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 3.4rem;
  padding: 0 1.05rem;
  border: 1px solid #e3e0db;
  border-radius: 8px;
  background: #faf9f7;
  color: #1a1a1a;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  text-align: left;
  box-sizing: border-box;
}

.osan-date-trigger:focus-visible {
  border-color: var(--osan-gold);
  outline: none;
}

.osan-calendar-layer[hidden] {
  display: none !important;
}

.osan-calendar-layer {
  position: fixed;
  inset: 0;
  z-index: 100000002;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 26, 40, 0.64);
  backdrop-filter: blur(5px);
  box-sizing: border-box;
}

.osan-calendar-panel {
  width: min(100%, 390px);
  padding: 1.3rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 18, 30, 0.38);
  box-sizing: border-box;
}

.osan-calendar-head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 74px;
  gap: 0.5rem;
  align-items: center;
}

.osan-calendar-head h3 {
  margin: 0;
  color: var(--osan-navy-deep);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-align: center;
}

.osan-calendar-head button,
.osan-calendar-close {
  min-height: 36px;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--osan-line);
  border-radius: 999px;
  background: #fff;
  color: var(--osan-navy-deep);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}

.osan-calendar-head button:disabled {
  cursor: default;
  opacity: 0.32;
}

.osan-calendar-weekdays,
.osan-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.28rem;
}

.osan-calendar-weekdays {
  margin-top: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--osan-line);
}

.osan-calendar-weekdays span {
  color: var(--osan-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.osan-calendar-days {
  margin-top: 0.55rem;
}

.osan-calendar-days button,
.osan-calendar-spacer {
  min-width: 0;
  aspect-ratio: 1;
}

.osan-calendar-days button {
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--osan-navy-deep);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
}

.osan-calendar-days button:hover,
.osan-calendar-days button:focus-visible {
  background: var(--osan-mist);
  outline: none;
}

.osan-calendar-days button.is-today {
  box-shadow: inset 0 0 0 1px var(--osan-gold);
}

.osan-calendar-days button.is-selected {
  background: var(--osan-navy);
  color: #fff;
}

.osan-calendar-days button:disabled {
  cursor: default;
  opacity: 0.2;
}

.osan-calendar-close {
  display: block;
  width: 100%;
  margin-top: 1rem;
  border-color: var(--osan-navy);
  border-radius: 8px;
  background: var(--osan-navy);
  color: #fff;
}

.osan-visit-modal .pyt_reg_field select:focus {
  border-color: var(--osan-gold);
  outline: none;
}

.pyt-footer .osan-ad-agency {
  width: 90%;
  max-width: 1720px;
  margin: 0.55rem auto 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.osan-visit-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.osan-doc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}

.osan-doc-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.55rem;
  border: 1px solid var(--osan-navy);
  background: var(--osan-navy);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.osan-doc-actions a:hover {
  border-color: var(--osan-gold);
  background: var(--osan-gold);
}

.osan-news-list {
  border-top: 2px solid var(--osan-navy-deep);
}

.osan-news-list a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 28px;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  align-items: center;
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
  border-bottom: 1px solid var(--osan-line);
  color: inherit !important;
  text-decoration: none;
}

.osan-news-list a > span {
  color: var(--osan-gold);
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.osan-news-list a > div {
  min-width: 0;
}

.osan-news-list p {
  margin: 0 0 0.55rem;
  color: var(--osan-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.osan-news-list h3 {
  margin: 0;
  color: var(--osan-ink);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: keep-all;
  transition: color 0.25s ease;
}

.osan-news-list a > b {
  color: var(--osan-gold);
  font-size: 1.1rem;
  text-align: right;
}

.osan-news-list a:hover h3 {
  color: var(--osan-navy-soft);
}

@keyframes osan-page-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes osan-panel-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media all and (max-width: 1024px) {
  .osan-fact-grid,
  .osan-value-grid,
  .osan-premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pyt_iso {
    width: 100% !important;
  }
}

@media all and (max-width: 767px) {
  #logo a {
    gap: 0.38rem;
  }

  #logo a img {
    width: 42px !important;
    height: 22px !important;
  }

  #logo a span {
    font-size: 0.72rem;
  }

  .main_img_box .main_img.img01 {
    background-image: url("/assets/images/hero-clean-mobile.webp") !important;
    background-position: center center !important;
  }

  .main_img_box .main_img.img01::before {
    background: linear-gradient(180deg, rgba(0, 24, 37, 0.48) 0%, rgba(0, 36, 53, 0.64) 58%, rgba(0, 24, 37, 0.78) 100%) !important;
  }

  .osan-unit-crop {
    background-position: center 34%;
    background-size: 210% auto;
  }

  .unit_img h2 {
    min-width: 0;
    width: auto !important;
    max-width: 100%;
    padding: 0 1rem;
    font-size: 0.78rem !important;
  }

  .osan-hero-wordmark {
    gap: 0.65rem;
    margin-top: 2rem;
  }

  .osan-hero-wordmark img {
    width: 52px !important;
    height: 29px !important;
  }

  .osan-hero-wordmark strong {
    font-size: 0.95rem;
  }

  .pyt-osan-page {
    width: 100%;
  }

  .osan-page-intro {
    margin-bottom: 2.5rem;
  }

  .osan-page-intro > p:first-child {
    font-size: 0.69rem;
    letter-spacing: 0.14em;
  }

  .osan-page-intro h2 {
    margin-top: 0.8rem;
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .osan-page-rule {
    display: none !important;
  }

  .osan-page-copy {
    margin-top: 1.25rem;
    font-size: 0.93rem;
    line-height: 1.72;
  }

  .osan-vr-route .pyt-mcta.pyt-mcta--inline {
    width: 100%;
    margin-top: 1.25rem;
    border-radius: 16px;
  }

  .osan-vr-route .pyt-mcta--inline .pyt-mcta-top {
    padding: 0.82rem 0.75rem;
    font-size: 0.82rem;
  }

  .osan-vr-route .pyt-mcta--inline .pyt-mcta-btn {
    min-height: 52px;
    font-size: 0.9rem;
  }

  .osan-overview-visual {
    aspect-ratio: 4 / 3;
  }

  .osan-overview-visual img {
    object-position: center bottom;
  }

  .osan-fact-grid,
  .osan-value-grid,
  .osan-premium-grid {
    grid-template-columns: 1fr;
    margin-top: 1.8rem;
  }

  .osan-premium-grid article {
    min-height: 0;
  }

  .osan-premium-grid article > span {
    margin-bottom: 1.7rem;
  }

  .osan-brand-card {
    padding: 2.4rem 1.35rem;
  }

  .osan-brand-card img {
    width: 80px;
    height: 44px;
    margin-bottom: 1.5rem;
  }

  .osan-tablist {
    padding-bottom: 2px;
  }

  .osan-tablist button {
    flex: 0 0 auto;
    min-width: 116px;
    min-height: 48px;
    padding-inline: 1rem;
    font-size: 0.82rem;
  }

  .osan-official-sheet {
    box-shadow: 0 12px 35px rgba(0, 31, 48, 0.08);
  }

  .osan-vr-frame {
    height: min(70vh, 590px);
    min-height: 420px;
  }

  .osan-doc-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .osan-doc-actions a {
    width: 100%;
  }

  .osan-news-list a {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
  }

  .osan-news-list p {
    font-size: 0.72rem;
  }

  .osan-news-list h3 {
    font-size: 0.96rem;
  }

  .osan-note {
    font-size: 0.72rem;
  }

  .osan-visit-modal {
    align-items: end;
    padding: 0;
  }

  .osan-visit-panel {
    width: 100%;
    max-height: 94dvh;
    border-radius: 20px 20px 0 0;
  }

  .osan-visit-head {
    padding: 1.35rem 1.25rem 1rem;
  }

  .osan-visit-body {
    padding: 1.1rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  }

  .osan-visit-copy {
    font-size: 0.84rem;
  }

  .osan-visit-modal .pyt_reg_box {
    padding: 1.2rem 1rem;
    gap: 0.9rem;
  }

  .osan-visit-modal .pyt_reg_field select {
    height: 3.75rem;
    font-size: 1.0625rem;
  }

  .osan-date-trigger {
    height: 3.75rem;
    font-size: 1.0625rem;
  }

  .osan-calendar-panel {
    padding: 1.1rem;
  }

  .pyt-footer .osan-ad-agency {
    margin-top: 0.45rem;
    font-size: 0.65rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .osan-page-intro,
  .osan-overview-visual,
  .osan-tabpanel {
    animation: none !important;
  }

  .osan-premium-grid article,
  .osan-premium-grid article > span,
  .osan-tablist button,
  .osan-doc-actions a,
  .osan-news-list h3 {
    transition: none !important;
  }

  .osan-visit-panel {
    transition: none !important;
  }
}

/* Community documents: preserve the complete official sheets.
   The source images are tall portrait documents, so a 4:3 cover crop hides
   important content. Desktop uses a two-column document rail; narrower
   screens keep the existing vertical flow with each sheet at natural ratio. */
#section_comm .comm_img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff;
}

#section_comm .pyt_iso {
  aspect-ratio: auto !important;
  overflow: visible !important;
  background: #fff;
}

#section_comm .pyt_iso img {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center top !important;
}

#section_comm .pyt_line,
#section_comm .pyt_dot,
#section_comm .pyt_lbl {
  display: none !important;
}

@media all and (min-width: 1025px) {
  #section_comm .comm_wrap {
    height: auto !important;
    min-height: 100vh;
    padding: clamp(6rem, 7vw, 8rem) 0;
    overflow: hidden !important;
    align-items: flex-start !important;
  }

  #section_comm .comm_wrap > div:last-child {
    display: grid !important;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "title visuals"
      "thumbs visuals"
      "copy visuals";
    column-gap: clamp(3rem, 5vw, 6rem);
    align-items: start;
    align-content: start;
    text-align: left !important;
    transform: none !important;
  }

  #section_comm .comm_tit {
    grid-area: title;
    text-align: left !important;
  }

  #section_comm .comm_tit .dot_box {
    justify-content: flex-start !important;
  }

  #section_comm .comm_img_box {
    grid-area: thumbs;
    justify-content: flex-start !important;
    margin-top: 2.5rem !important;
  }

  #section_comm .comm_txt_box {
    grid-area: copy;
    margin-top: 3.25rem !important;
  }

  #section_comm .pyt_iso_wrap {
    grid-area: visuals;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: 1.5rem;
    align-items: start;
  }

  #section_comm .pyt_iso,
  #section_comm .pyt_iso--b1,
  #section_comm .pyt_iso--b2 {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
  }
}
