.wn-property-page,
.wn-property-page * {
  box-sizing: border-box;
}

.wn-property-page .wn-hero-wrapper {
  margin-top: -108px;
}

@media (max-width: 767px) {
  .wn-property-page .wn-hero-wrapper {
    margin-top: -72px;
  }
}

.wn-property-page {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: #202020;
  line-height: 1.5;
  font-size: 14px;
  background-color: transparent;
}

.wn-page-body {
  background-color: #E0E0E5;
  padding-bottom: 32px;
}

.wn-hero-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 32px 0 24px 0;
  display: flex;
  justify-content: center;
  background: transparent;
}

:root {
  --wn-hero-gutter: 48px;
}

@media (max-width: 1024px) {
  :root {
    --wn-hero-gutter: 16px;
  }
}

.wn-property-page .wn-hero-image {
  width: 100%;
  max-width: min(1600px, calc(100vw - (var(--wn-hero-gutter) * 2)));
  height: clamp(620px, 64vh, 920px);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

@media (max-width: 767px) {
  .wn-property-page .wn-hero-image {
    height: 260px;
  }
}

@media (max-width: 1440px) {
  .wn-property-page .wn-hero-image {
    height: clamp(380px, 52vh, 640px);
  }
}

@media (min-width: 1920px) {
  .wn-property-page .wn-hero-image {
    height: clamp(560px, 64vh, 920px);
  }
}

.wn-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  border-radius: 24px;
}

.wn-hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.wn-hero-left {
  display: inline-flex;
}

.wn-hero-chip {
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  line-height: 1;
}

.wn-hero-chip--tab {
  border-radius: 12px 0 0 12px;
  background-color: #ffffff;
  color: #3D40BF;
  border: 1px solid #E2E5F8;
  padding: 20px 24px;
}

.wn-hero-chip--tab + .wn-hero-chip--blur {
  border-radius: 0 12px 12px 0;
  border: 1px solid #E2E5F8;
}

.wn-hero-chip--tab-active {
  background-color: #ffffff;
  color: #3D40BF;
}

.wn-hero-chip--blur {
  background-color: rgba(224, 224, 229, 0.5);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wn-hero-chip--primary {
  background-color: #3D40BF;
  color: #ffffff;
  border-radius: 12px;
  padding: 20px 24px;
}

.wn-property-page .wn-hero-chip--tab:hover,
.wn-property-page .wn-hero-chip--tab:focus-visible {
  color: #ffffff !important;
  background-color: #3D40BF;
  border-color: #3D40BF;
}

.wn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 0 32px 0;
}

.wn-top-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.wn-breadcrumb {
  font-size: 11px;
  color: #848494;
}

.wn-breadcrumb a {
  color: #848494;
  text-decoration: none;
}

.wn-breadcrumb span {
  margin: 0 2px;
}

.wn-top-question {
  display: none;
}

.wn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.wn-main-heading-label {
  font-weight: 500;
  font-size: 20px !important;
  line-height: 1;
  margin: 0 0 8px;
  color: #4a4b63;
}

.wn-main-heading-title {
  font-weight: 500;
  font-size: 40px;
  line-height: 1.4 !important;
  margin: 0 0 16px;
  color: #000;
}

.wn-price-row {
  margin-bottom: 18px;
}

.wn-price-main {
  font-size: 32px;
  font-weight: 700;
  color: #3D40BF;
  margin-bottom: 8px;
}

.wn-price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #707080;
}

.wn-price-meta span::before {
  content: "•";
  margin-right: 6px;
  color: #c0c0d0;
}

.wn-price-meta span:first-child::before {
  content: none;
}

.wn-info-section + .wn-info-section {
  margin-top: 32px;
}

.wn-info-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 16px;
}

.wn-info-shell {
  border-radius: 24px;
  background-color: #FAFAFA;
}

.wn-info-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
}

.wn-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 8px;
  column-gap: 80px;
}

.wn-info-item-label {
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 2px;
}

.wn-info-item-value {
  font-size: 14px;
  font-weight: 600;
  color: #2b2b34;
}

.wn-info-item-value-multiline {
  white-space: pre-line;
  line-height: 1.4;
}

.wn-section-heading {
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  margin: 32px 0 16px;
}

.wn-description-text {
  font-size: 14px;
  color: #2b2b34;
  max-width: 720px;
  line-height: 1.6;
}

.wn-description-text p {
  margin: 0 0 12px;
}

.wn-advisor-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 24px;
  align-items: flex-start;
}

.wn-advisor-photo-wrap {
  width: 160px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #FAFAFA;
}

.wn-advisor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wn-advisor-header-name {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.wn-advisor-header-role {
  font-size: 12px;
  color: #747484;
  margin-bottom: 16px;
}

.wn-advisor-bio {
  font-size: 14px;
  color: #3a3a3f;
  margin-bottom: 20px;
}

.wn-advisor-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 8px;
  font-size: 13px;
}

.wn-advisor-meta-label {
  color: #7a7a8c;
  margin-bottom: 4px;
}

.wn-advisor-meta-value {
  font-weight: 600;
}

.wn-sidebar-header-main {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  color: #3a3a3f;
  margin-bottom: 4px;
}

.wn-sidebar-subtitle-main {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #474860;
  text-align: center;
  margin-bottom: 16px;
}

.wn-sidebar-shell {
  border-radius: 16px;
  background-color: #FAFAFA;
}

.wn-sidebar-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.wn-sidebar-photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E0E0E5;
  position: relative;
  margin-bottom: 16px;
  height: 300px;
}

.wn-sidebar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wn-sidebar-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
  pointer-events: none;
}

.wn-sidebar-photo-text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  text-align: center;
  color: #FAFAFA;
  pointer-events: none;
}

.wn-sidebar-photo-name-main {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
}

.wn-sidebar-photo-role {
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.9;
}

.wn-sidebar-btn {
  width: 100%;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
  font-weight: 600;
}

.wn-sidebar-btn-primary {
  border: none;
  background-color: #3D40BF;
  color: #ffffff;
}

.wn-sidebar-btn-primary:hover,
.wn-sidebar-btn-primary:focus-visible,
.wn-sidebar-btn-ghost:hover,
.wn-sidebar-btn-ghost:focus-visible {
  background-color: #3D40BF;
  color: #FAFAFA;
  border-color: #3D40BF;
}

.wn-sidebar-btn-ghost {
  background-color: transparent;
  color: #3D40BF;
  border: 2px solid #3D40BF;
}

.wn-sidebar-note {
  font-size: 14px;
  color: #1E1E24;
  margin-top: 10px;
  line-height: 1.4;
  font-weight: 400;
}

.wn-sidebar-shell-secondary {
  border-radius: 24px;
  background-color: #FAFAFA;
  margin-top: 16px;
}

.wn-price-feedback-inner {
  border-radius: 16px;
  background-color: #ffffff;
  padding: 32px;
  text-align: center;
}

.wn-price-feedback-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.wn-price-feedback-btn {
  margin-top: 6px;
  font-size: 14px;
  padding: 16px 24px;
  border-radius: 12px;
  border: 2px solid #3D40BF;
  background: transparent;
  color: #3D40BF;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
}

.wn-price-feedback-btn:hover {
  background-color: #3D40BF;
  color: #FAFAFA;
  border-color: #3D40BF;
}

@media (max-width: 767px) {
  .wn-hero-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
  }

  .wn-info-card {
    padding: 20px 16px;
  }

  .wn-info-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .wn-advisor-card {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .wn-advisor-photo-wrap {
    width: 120px;
  }

  .wn-main-heading-title {
    font-size: 28px;
  }

  .wn-price-main {
    font-size: 28px;
  }
}

@media (min-width: 768px) {
  .wn-top-row {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: center;
  }

  .wn-layout {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    align-items: flex-start;
    column-gap: 32px;
  }
}

@media (max-width: 1024px) {
  .wn-property-page .wn-hero-left {
    display: none !important;
  }

  .wn-property-page .wn-hero-inner {
    justify-content: center;
  }

  .wn-property-page .wn-hero-chip--primary {
    width: 100%;
    max-width: 420px;
  }
}

html, body {
  overflow-x: hidden;
}

@media (min-width: 1025px) {
  [data-wn-gallery-modal] [data-wn-gallery-lightbox] {
    width: 100%;
    padding: 12px 24px 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  [data-wn-gallery-modal] [data-wn-gallery-lightbox] > * {
    box-sizing: border-box;
  }

  [data-wn-gallery-modal] [data-wn-gallery-lightbox] [data-wn-gallery-image] {
    display: block;
    margin: 0 auto;
    max-width: min(92vw, 1500px);
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
  }

  [data-wn-gallery-modal] [data-wn-gallery-counter] {
    position: absolute;
    right: 24px;
    bottom: 18px;
  }

  [data-wn-gallery-modal] [data-wn-gallery-prev],
  [data-wn-gallery-modal] [data-wn-gallery-next] {
    width: 56px;
    height: 56px;
    border-radius: 999px;
  }
}

@media (max-width: 1024px) {
  [data-wn-gallery-modal] [data-wn-gallery-lightbox] {
    padding: 12px 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  [data-wn-gallery-modal] [data-wn-gallery-lightbox] [data-wn-gallery-image] {
    display: block;
    margin: 0 auto;
    max-width: 96vw;
    max-height: 70vh;
    border-radius: 16px;
    object-fit: contain;
  }
}

[data-wn-gallery-modal] {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

[data-wn-gallery-modal] .wn-gallery-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

[data-wn-gallery-modal] .wn-gallery-dialog {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

[data-wn-gallery-modal] .wn-gallery-header,
[data-wn-gallery-modal] .wn-gallery-tabs,
[data-wn-gallery-modal] .wn-gallery-tab,
[data-wn-gallery-modal] .wn-gallery-close {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  touch-action: manipulation;
}