/* 울산반구 수자인 더센트럴 — official-project visual translation. */
.apt44-ubs-active {
  --dwbz-navy: #0b4f72;
  --dwbz-navy-deep: #062d49;
  --dwbz-ink: #183645;
  --dwbz-muted: #58717d;
  --dwbz-champagne: #8bbfd2;
  --dwbz-champagne-light: #d6f0fa;
  --dwbz-ivory: #eff8fb;
  --dwbz-paper: #fbfdfe;
  --dwbz-line: rgba(10, 79, 114, .15);
  --dwbz-shadow: 0 28px 76px rgba(6, 45, 73, .16);
}

.apt44-ubs-active .dwbz-header,
.apt44-ubs-active .dwbz-footer { background-color: #062d49; }
.apt44-ubs-active .dwbz-header { background: rgba(6, 45, 73, .91); backdrop-filter: blur(14px); }
.apt44-ubs-active .dwbz-header.is-scrolled { background: rgba(6, 45, 73, .98); }
.apt44-ubs-active .dwbz-brand { min-width: 255px; }
.apt44-ubs-active .dwbz-brand__mark {
  width: 44px;
  height: 34px;
  color: #062d49;
  background: #d6f0fa;
  border-radius: 50%;
  font-family: "Noto Serif KR", Georgia, serif;
  font-size: 17px;
}
.apt44-ubs-active .dwbz-brand__name strong { font-size: 15px; letter-spacing: .2em; }
.apt44-ubs-active .dwbz-brand__name small { color: rgba(255,255,255,.68); letter-spacing: .16em; }
.apt44-ubs-active .dwbz-nav { gap: clamp(6px, .72vw, 13px); }
.apt44-ubs-active .dwbz-nav > a { font-size: 12px; }
.apt44-ubs-active .dwbz-nav__call { min-width: 128px; }

.apt44-ubs-active .dwbz-hero { min-height: min(790px, calc(100svh - 76px)); }
.apt44-ubs-active .dwbz-hero::before {
  background:
    linear-gradient(90deg, rgba(4, 42, 67, .9) 0%, rgba(4, 50, 79, .52) 42%, rgba(4, 50, 79, .08) 74%),
    linear-gradient(0deg, rgba(3, 38, 61, .74) 0%, transparent 58%);
}
.apt44-ubs-active .dwbz-hero__media img { object-position: 53% 50%; }
.apt44-ubs-active .dwbz-hero h1 {
  max-width: 980px;
  font-family: "Noto Serif KR", Georgia, serif;
  font-size: clamp(42px, 5.8vw, 78px);
  font-weight: 500;
  letter-spacing: -.065em;
}
.apt44-ubs-active .dwbz-kicker { color: #d6f0fa; }
.apt44-ubs-active .dwbz-section > h2,
.apt44-ubs-active .dwbz-section > .wp-block-heading {
  margin: 0;
  font-family: "Noto Serif KR", Georgia, serif;
  font-size: clamp(31px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -.055em;
}
.apt44-ubs-active .dwbz-section__lead { max-width: 880px; margin: 20px 0 0; color: var(--dwbz-muted); font-size: clamp(16px, 1.55vw, 20px); }
.apt44-ubs-active .dwbz-section--dark { color: rgba(255,255,255,.78); background: #062d49; }
.apt44-ubs-active .dwbz-section--dark h2,
.apt44-ubs-active .dwbz-section--dark h3 { color: #fff; }
.apt44-ubs-active .dwbz-section--dark .dwbz-section__lead { color: rgba(255,255,255,.72); }

.ubs-actions { margin-top: 28px; gap: 10px; }
.ubs-actions .wp-block-button__link {
  min-height: 50px;
  padding: 13px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #0b4f72;
  border: 1px solid #0b4f72;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.ubs-actions .is-style-outline .wp-block-button__link { color: #0b4f72; background: transparent; }
.dwbz-section--dark .ubs-actions .is-style-outline .wp-block-button__link,
.dwbz-hero .ubs-actions .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.64); }
.ubs-actions .wp-block-button__link:hover,
.ubs-actions .wp-block-button__link:focus-visible { transform: translateY(-2px); color: #062d49; background: #d6f0fa; border-color: #d6f0fa; }

.ubs-anchor { position: relative; top: -92px; display: block; visibility: hidden; }
.ubs-toc-section { padding-top: 40px; padding-bottom: 40px; background: #fff; border-bottom: 1px solid var(--dwbz-line); }
.ubs-toc { width: min(1180px,100%); margin: 0 auto; }
.ubs-toc strong { display: block; margin-bottom: 14px; color: #0b4f72; font-size: 12px; letter-spacing: .16em; }
.ubs-toc ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px 20px; list-style: none; counter-reset: ubs-toc; }
.ubs-toc li { counter-increment: ubs-toc; }
.ubs-toc a { min-height: 46px; display: flex; align-items: center; gap: 9px; color: #0b4f72; border-bottom: 1px solid var(--dwbz-line); text-decoration: none; }
.ubs-toc a::before { content: "0" counter(ubs-toc); color: #5da9c7; font-size: 11px; }

.ubs-vr { padding-top: clamp(58px,7vw,90px); padding-bottom: clamp(58px,7vw,90px); }
.ubs-vr-frame {
  width: 100%;
  margin-top: 32px;
  aspect-ratio: 16/9;
  min-height: 420px;
  overflow: hidden;
  background: #071b28;
  border: 1px solid rgba(214,240,250,.34);
  box-shadow: 0 28px 72px rgba(0,0,0,.3);
}
.ubs-vr-frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; background: #071b28; }
.ubs-vr-fallback { margin: 13px 0 0; color: rgba(255,255,255,.66); font-size: 12px; }
.ubs-vr-fallback a { color: #fff; }

.ubs-overview-columns,
.ubs-map-columns { margin-top: 42px; gap: clamp(28px,5vw,70px); align-items: center; }
.ubs-overview-columns > .wp-block-column,
.ubs-map-columns > .wp-block-column { min-width: 0; }
.ubs-overview-columns figure,
.ubs-map-columns figure { margin: 0; }
.ubs-overview-columns figure img { width: 100%; box-shadow: var(--dwbz-shadow); }
.ubs-map-columns figure { padding: 14px; background: #fff; border: 1px solid var(--dwbz-line); }
.wp-element-caption { margin-top: 11px; color: var(--dwbz-muted); font-size: 12px; line-height: 1.55; }

.ubs-gallery { margin-top: 42px; display: block; }
.ubs-gallery > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.ubs-gallery > .wp-block-group__inner-container > figure { min-width: 0; margin: 0; padding: 12px; background: #fff; border: 1px solid var(--dwbz-line); }
.ubs-gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ubs-floorplans > .wp-block-group__inner-container { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ubs-floorplans img { aspect-ratio: auto; object-fit: contain; background: #fff; }
.dwbz-section--dark .ubs-gallery > .wp-block-group__inner-container > figure { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); }
.dwbz-section--dark .wp-element-caption { color: rgba(255,255,255,.66); }

.ubs-check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.ubs-check-list li { position: relative; padding: 14px 8px 14px 29px; border-bottom: 1px solid var(--dwbz-line); line-height: 1.7; }
.ubs-check-list li::before { content: ""; position: absolute; top: 24px; left: 5px; width: 7px; height: 7px; background: #5da9c7; transform: rotate(45deg); }
.dwbz-section--dark .ubs-check-list li { border-color: rgba(255,255,255,.16); }
.ubs-source-list { margin-top: 36px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.ubs-source-list article { min-height: 190px; padding: 28px; background: #fff; border: 1px solid var(--dwbz-line); }
.ubs-source-list small { color: #0b719b; font-weight: 700; letter-spacing: .13em; }
.ubs-source-list h3 { margin: 13px 0 8px; }
.ubs-source-list p { color: var(--dwbz-muted); }
.ubs-source-list a { color: #0b4f72; font-weight: 700; }
.ubs-answer { padding: 22px 24px; color: #123e55; background: #fff; border-left: 3px solid #5da9c7; box-shadow: 0 16px 42px rgba(6,45,73,.08); }
.ubs-blog-intro { padding-bottom: 54px; }
.ubs-blog-intro .ubs-toc { margin-top: 32px; }
.ubs-experience { margin-top: 28px; padding: 18px 20px; color: #e7f8ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.ubs-hashtags { margin-top: 24px; color: #0b719b; font-weight: 700; word-spacing: .45em; }
.ubs-cta { text-align: center; background: linear-gradient(135deg,#eff8fb 0%,#fff 100%); }
.ubs-cta .dwbz-section__lead { margin-right: auto; margin-left: auto; }
.ubs-cta .ubs-actions { justify-content: center; }
.apt44-ubs-active .dwbz-table-hint { color: #0b5e82; }
.apt44-ubs-active .dwbz-footer-menu a { padding: 6px 10px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); animation: ubs-footer-nudge 7.8s ease-in-out infinite; }
.apt44-ubs-active .dwbz-footer-menu a:nth-child(2n) { animation-delay: 1.2s; }
.apt44-ubs-active .dwbz-floating-call { right: 18px; bottom: max(16px,env(safe-area-inset-bottom)); left: auto; width: auto; min-width: 178px; background: #062d49; border-color: #8bc9e0; }

@media (max-width:1320px) {
  .apt44-ubs-active .dwbz-header__inner { width: min(100% - 28px,1120px); }
  .apt44-ubs-active .dwbz-menu-toggle { margin-left: auto; width: 62px; min-height: 48px; padding: 6px 8px; display: grid; grid-template-columns: 1fr 18px; grid-template-rows: 1fr 1fr; align-items: center; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; cursor: pointer; animation: ubs-menu-nudge 5.4s ease-in-out infinite; }
  .apt44-ubs-active .dwbz-menu-toggle span { grid-row: 1/3; font-size: 11px; }
  .apt44-ubs-active .dwbz-menu-toggle i { display: block; width: 16px; height: 1px; background: #fff; transition: transform 180ms ease; }
  .apt44-ubs-active .dwbz-menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .apt44-ubs-active .dwbz-menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .apt44-ubs-active .dwbz-nav { position: fixed; z-index: 9991; top: 76px; right: 14px; left: 14px; max-height: calc(100dvh - 94px); margin: 0; padding: 16px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; overflow-y: auto; background: rgba(4,39,63,.99); border: 1px solid rgba(214,240,250,.25); box-shadow: 0 24px 60px rgba(0,0,0,.34); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); transition: opacity 180ms ease,visibility 180ms ease,transform 180ms ease; }
  .apt44-ubs-active .dwbz-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .apt44-ubs-active .dwbz-nav > a { justify-content: flex-start; min-height: 48px; padding: 6px 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .apt44-ubs-active .dwbz-nav__call { grid-column: 1/-1; align-items: center; justify-content: center; }
}

@keyframes ubs-menu-nudge { 0%,86%,100% { transform: translateY(0); } 91% { transform: translateY(-3px); } }
@keyframes ubs-footer-nudge { 0%,88%,100% { transform: translateX(0); } 93% { transform: translateX(3px); } }

@media (max-width:860px) {
  .ubs-toc ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ubs-overview-columns,
  .ubs-map-columns { flex-wrap: wrap !important; }
  .ubs-overview-columns > .wp-block-column,
  .ubs-map-columns > .wp-block-column { flex-basis: 100% !important; }
  .ubs-gallery > .wp-block-group__inner-container,
  .ubs-floorplans > .wp-block-group__inner-container { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ubs-source-list { grid-template-columns: 1fr; }
}

@media (max-width:600px) {
  .apt44-ubs-active { padding-bottom: 0; }
  .apt44-ubs-active .dwbz-brand { min-width: 0; }
  .apt44-ubs-active .dwbz-brand__mark { width: 40px; height: 30px; font-size: 15px; }
  .apt44-ubs-active .dwbz-brand__name strong { font-size: 12px; }
  .apt44-ubs-active .dwbz-brand__name small { max-width: 145px; overflow: hidden; font-size: 7px; white-space: nowrap; }
  .apt44-ubs-active .dwbz-nav { top: 68px; grid-template-columns: 1fr; }
  .apt44-ubs-active .dwbz-hero { min-height: calc(100svh - 68px); }
  .apt44-ubs-active .dwbz-hero__content { padding-bottom: 128px; }
  .apt44-ubs-active .dwbz-hero__media img { object-position: 53% 48%; }
  .apt44-ubs-active .dwbz-hero h1 { font-size: clamp(36px,11.5vw,50px); }
  .apt44-ubs-active .dwbz-hero__facts li { min-width: 0; padding: 9px 10px; flex-direction: column; gap: 2px; }
  .ubs-actions { display: grid; grid-template-columns: 1fr; }
  .dwbz-hero .ubs-actions { padding-right: 165px; }
  .ubs-actions .wp-block-button,
  .ubs-actions .wp-block-button__link { width: 100%; }
  .ubs-toc ol,
  .ubs-gallery > .wp-block-group__inner-container,
  .ubs-floorplans > .wp-block-group__inner-container { grid-template-columns: 1fr; }
  .ubs-vr-frame,
  .ubs-vr-frame iframe { min-height: 58svh; }
  .ubs-vr-frame { aspect-ratio: 4/5; }
  .ubs-map-columns figure { padding: 8px; }
  .apt44-ubs-active .dwbz-floating-call { right: 10px; bottom: max(10px,env(safe-area-inset-bottom)); left: auto; width: auto; min-width: 154px; min-height: 56px; padding: 9px 15px; }
  .apt44-ubs-active .dwbz-floating-call strong { font-size: 16px; }
}

@media (prefers-reduced-motion:reduce) {
  .apt44-ubs-active .dwbz-menu-toggle,
  .apt44-ubs-active .dwbz-footer-menu a { animation: none !important; }
}
