/* 화성 조암 스위트엠 — official-project visual translation. */
.apt44-hjs-active {
  --dwbz-navy: #293535;
  --dwbz-navy-deep: #172221;
  --dwbz-ink: #242c2b;
  --dwbz-muted: #6e716c;
  --dwbz-champagne: #b59666;
  --dwbz-champagne-light: #e5d2ae;
  --dwbz-ivory: #f2eee5;
  --dwbz-paper: #fbfaf6;
  --dwbz-line: rgba(41, 53, 53, .15);
  --dwbz-shadow: 0 28px 74px rgba(23, 34, 33, .16);
}

.apt44-hjs-active .dwbz-header,
.apt44-hjs-active .dwbz-footer,
.apt44-hjs-active .dwbz-floating-call { background-color: #172221; }
.apt44-hjs-active .dwbz-header { background: rgba(23, 34, 33, .9); }
.apt44-hjs-active .dwbz-header.is-scrolled { background: rgba(23, 34, 33, .98); }
.apt44-hjs-active .dwbz-brand { min-width: 270px; }
.apt44-hjs-active .dwbz-brand__mark {
  width: 70px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(229, 210, 174, .72);
  border-radius: 999px;
  font-family: Georgia, serif;
  font-size: 10px;
  font-style: normal;
  letter-spacing: .08em;
}
.apt44-hjs-active .dwbz-brand__name strong { font-size: 13px; letter-spacing: .08em; }
.apt44-hjs-active .dwbz-nav { gap: clamp(8px, .9vw, 15px); }
.apt44-hjs-active .dwbz-nav > a { font-size: 12px; }
.apt44-hjs-active .dwbz-nav__call { min-width: 126px; }

.apt44-hjs-active .dwbz-hero::before {
  background:
    linear-gradient(90deg, rgba(17, 29, 28, .92) 0%, rgba(28, 42, 41, .5) 46%, rgba(28, 42, 41, .08) 74%),
    linear-gradient(0deg, rgba(13, 24, 23, .82) 0%, transparent 57%);
}
.apt44-hjs-active .dwbz-hero__media img { object-position: 50% 49%; }
.apt44-hjs-active .dwbz-hero h1 {
  max-width: 980px;
  font-family: "Noto Serif KR", Georgia, serif;
  font-size: clamp(43px, 6vw, 82px);
  letter-spacing: -.06em;
}
.apt44-hjs-active .dwbz-kicker { color: var(--dwbz-champagne-light); }
.apt44-hjs-active .dwbz-section > h2,
.apt44-hjs-active .dwbz-section > .wp-block-heading {
  margin: 0;
  font-family: "Noto Serif KR", Georgia, serif;
  font-size: clamp(31px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -.055em;
}
.apt44-hjs-active .dwbz-section__lead {
  max-width: 850px;
  margin: 20px 0 0;
  color: var(--dwbz-muted);
  font-size: clamp(16px, 1.55vw, 20px);
}
.apt44-hjs-active .dwbz-section--dark {
  color: rgba(255,255,255,.78);
  background: #172221;
}
.apt44-hjs-active .dwbz-section--dark h2,
.apt44-hjs-active .dwbz-section--dark h3 { color: #fff; }
.apt44-hjs-active .dwbz-section--dark .dwbz-section__lead { color: rgba(255,255,255,.72); }

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

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

.hjs-overview-columns,
.hjs-brand-columns,
.hjs-map-columns,
.hjs-layout-columns { margin-top: 44px; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hjs-overview-columns > .wp-block-column,
.hjs-brand-columns > .wp-block-column,
.hjs-map-columns > .wp-block-column,
.hjs-layout-columns > .wp-block-column { min-width: 0; }
.hjs-overview-columns figure,
.hjs-brand-columns figure,
.hjs-map-columns figure,
.hjs-layout-columns figure { margin: 0; }
.hjs-overview-columns figure img,
.hjs-brand-columns figure img,
.hjs-layout-columns figure img { width: 100%; box-shadow: var(--dwbz-shadow); }
.hjs-map-columns figure { padding: 16px; 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; }

.hjs-gallery { margin-top: 42px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.hjs-gallery > .wp-block-group__inner-container { display: contents; }
.hjs-gallery > figure,
.hjs-gallery > .wp-block-group__inner-container > figure { min-width: 0; margin: 0; padding: 12px; background: #fff; border: 1px solid var(--dwbz-line); }
.hjs-gallery img { width: 100%; object-fit: contain; background: #fff; }
.dwbz-section--dark .hjs-gallery > figure,
.dwbz-section--dark .hjs-gallery > .wp-block-group__inner-container > figure { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.dwbz-section--dark .wp-element-caption { color: rgba(255,255,255,.64); }

.hjs-check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.hjs-check-list li { position: relative; padding: 14px 8px 14px 29px; border-bottom: 1px solid var(--dwbz-line); line-height: 1.7; }
.hjs-check-list li::before { content: ""; position: absolute; top: 24px; left: 5px; width: 7px; height: 7px; background: var(--dwbz-champagne); transform: rotate(45deg); }
.dwbz-section--dark .hjs-check-list li { border-color: rgba(255,255,255,.16); }
.hjs-source-list { margin-top: 36px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.hjs-source-list article { min-height: 190px; padding: 28px; background: #fff; border: 1px solid var(--dwbz-line); }
.hjs-source-list small { color: var(--dwbz-champagne); font-weight: 700; letter-spacing: .14em; }
.hjs-source-list h3 { margin: 13px 0 8px; }
.hjs-source-list p { color: var(--dwbz-muted); }
.hjs-source-list a { color: var(--dwbz-navy); font-weight: 700; }
.hjs-answer { padding: 22px 24px; color: #283734; background: #fff; border-left: 3px solid var(--dwbz-champagne); box-shadow: 0 16px 42px rgba(41,53,53,.08); }
.hjs-blog-intro { padding-bottom: 56px; }
.hjs-blog-intro .hjs-toc { margin-top: 34px; }
.hjs-experience { margin-top: 28px; padding: 18px 20px; color: #ffe8ca; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.hjs-hashtags { margin-top: 24px; color: #9b7848; font-weight: 700; word-spacing: .5em; }
.hjs-status-note { margin-top: 22px; padding: 18px 20px; background: #fff; border-left: 3px solid var(--dwbz-navy); }
.dwbz-section--dark .hjs-source-list article { color: var(--dwbz-ink); }
.dwbz-section--dark .hjs-source-list h3 { color: var(--dwbz-ink); }
.dwbz-section--dark .hjs-source-list p { color: var(--dwbz-muted); }
.dwbz-cta { text-align: center; background: linear-gradient(135deg, var(--dwbz-ivory) 0%, #fff 100%); }
.dwbz-cta .dwbz-section__lead { margin-right: auto; margin-left: auto; }
.dwbz-cta .dwbz-actions { justify-content: center; }
.apt44-hjs-active .dwbz-footer-menu a { padding: 6px 10px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); animation: hjs-footer-link-nudge 7.6s ease-in-out infinite; }
.apt44-hjs-active .dwbz-footer-menu a:nth-child(2n) { animation-delay: 1.15s; }
.apt44-hjs-active .dwbz-footer-menu a:nth-child(3n) { animation-delay: 2.3s; }

@media (max-width: 1320px) {
  .apt44-hjs-active .dwbz-header__inner { width: min(100% - 28px,1120px); }
  .apt44-hjs-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,.06);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 0;
    cursor: pointer;
    animation: hjs-menu-nudge 5.4s ease-in-out infinite;
  }
  .apt44-hjs-active .dwbz-menu-toggle span { grid-row: 1 / 3; font-size: 11px; }
  .apt44-hjs-active .dwbz-menu-toggle i { display: block; width: 16px; height: 1px; background: #fff; transition: transform 180ms ease; }
  .apt44-hjs-active .dwbz-menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .apt44-hjs-active .dwbz-menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .apt44-hjs-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(23,34,33,.99);
    border: 1px solid rgba(229,210,174,.28);
    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-hjs-active .dwbz-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .apt44-hjs-active .dwbz-nav > a { justify-content: flex-start; min-height: 48px; padding: 6px 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .apt44-hjs-active .dwbz-nav__call { grid-column: 1 / -1; align-items: center; justify-content: center; }
}

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

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

@media (max-width: 600px) {
  .apt44-hjs-active .dwbz-brand { min-width: 0; }
  .apt44-hjs-active .dwbz-brand__mark { width: 58px; font-size: 8px; }
  .apt44-hjs-active .dwbz-brand__name strong { max-width: 150px; overflow: hidden; font-size: 11px; white-space: nowrap; }
  .apt44-hjs-active .dwbz-nav { top: 68px; grid-template-columns: 1fr; }
  .apt44-hjs-active .dwbz-hero__media img { object-position: center 44%; }
  .apt44-hjs-active .dwbz-hero h1 { font-size: clamp(29px,9vw,44px); line-height: 1.16; }
  .apt44-hjs-active .dwbz-hero__facts li { min-width: 0; padding: 9px 10px; flex-direction: column; gap: 2px; }
  .dwbz-actions { display: grid; grid-template-columns: 1fr; }
  .dwbz-actions .wp-block-button,
  .dwbz-actions .wp-block-button__link { width: 100%; }
  .hjs-toc ol,
  .hjs-gallery { grid-template-columns: 1fr; }
  .hjs-map-columns figure { padding: 8px; }
}

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