/* Shared header: one quiet, responsive buyer-research menu on every public page. */
#masthead .site-title > a[rel="home"] {
  font-size: 0 !important;
  line-height: 1 !important;
  white-space: nowrap;
}
#masthead .site-title > a[rel="home"]::before {
  content: "Estaluxia";
  display: inline-block;
  font-size: 26px !important;
  font-weight: 600;
  line-height: 1.2 !important;
  letter-spacing: -.02em;
}
#masthead:not(.elxhr-header-ready) .site-header-primary-section-right {
  opacity: 0;
  animation: elxhrHeaderFallback .01s 1.2s forwards;
}
#masthead.elxhr-header-ready .site-header-primary-section-right {
  opacity: 1;
  transition: opacity .12s ease-out;
}
@keyframes elxhrHeaderFallback { to { opacity: 1; } }

.elxhr-hidden-nav-item { display: none !important; }
.elxhr-research-menu { position: relative !important; display: flex !important; }
.elxhr-research-menu details { position: relative; }
.elxhr-research-menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  color: #242321;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  white-space: nowrap;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.elxhr-research-menu summary:hover,
.elxhr-research-menu summary:focus,
.elxhr-research-menu summary:focus-visible,
.elxhr-research-menu details[open] > summary {
  color: #242321 !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.elxhr-research-menu summary::-webkit-details-marker { display: none; }
.elxhr-research-menu summary span { font-size: 12px; line-height: 1; }
.elxhr-research-panel {
  position: absolute;
  z-index: 9999;
  top: calc(100% + 14px);
  right: 0;
  left: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr));
  width: min(552px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  background: #242321;
  border: 0;
  box-shadow: 0 20px 48px rgba(36, 35, 33, .22);
}
.elxhr-research-panel a {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.elxhr-research-panel a + a { border-left: 1px solid rgba(255,255,255,.12); }
.elxhr-research-panel a:hover,
.elxhr-research-panel a:focus {
  color: #ffffff !important;
  background: #242321 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.elxhr-research-panel strong { color: #ffffff; font-size: 14px; line-height: 1.35; }
.elxhr-research-panel em {
  margin-top: 7px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

/* Homepage only. */
html[lang^="zh"] body.home.page-id-2093:not(.elxhr-zh-home-stable) [data-id="4cb2e10b"] > .elementor-container,
html[lang^="zh"] body.home.page-id-2093:not(.elxhr-zh-home-stable) .entry-content > h1 {
  visibility: hidden !important;
  opacity: 0 !important;
}
html[lang^="zh"] body.home.page-id-2093.elxhr-zh-home-stable [data-id="4cb2e10b"] > .elementor-container {
  animation: elxhrZhHomeReveal .18s ease-out both;
}
@keyframes elxhrZhHomeReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html[lang^="zh"] body.home.page-id-2093.elxhr-zh-home-stable [data-id="4cb2e10b"] > .elementor-container { animation: none; }
}
.elxhr-hero-trust { margin: 20px 0 0 !important; color: rgba(255,255,255,.86) !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .14em !important; text-transform: uppercase; }
#elx-home-advisor .elx-ha-mark.elxhr-advisor-photo,
#elx-advisor .elx-project__monogram.elxhr-advisor-photo {
  overflow: hidden;
  padding: 0 !important;
  background: #f4f2ee !important;
}

.elx-advisor-mark.elxhr-advisor-photo {
    overflow: hidden;
    background: #f5f0e7;
}
#elx-home-advisor .elx-ha-mark.elxhr-advisor-photo img,
#elx-advisor .elx-project__monogram.elxhr-advisor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
}

.elx-advisor-mark.elxhr-advisor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 14%;
}
.elxhr-tight-section { padding-top: clamp(52px, 6vw, 78px) !important; padding-bottom: clamp(52px, 6vw, 78px) !important; }
.elxhr-featured-residences { padding-bottom: 28px !important; }
.elxhr-view-all-properties {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  align-self: flex-end;
  margin: 26px 0 0 auto;
  padding: 0 0 5px;
  color: #242321 !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-decoration: none !important;
  text-transform: uppercase;
  border: 0 !important;
  border-bottom: 1px solid #242321 !important;
}
.elxhr-view-all-properties:hover,
.elxhr-view-all-properties:focus { color: #242321 !important; background: transparent !important; }
#elx-home-area-guide { margin-top: 24px !important; margin-bottom: 34px !important; }
.elxhr-area-research-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  width: 100%;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.elxhr-area-research-links a {
  margin: 0 !important;
  padding: 0 0 4px !important;
  color: #ffffff !important;
  font-size: 9px !important;
  letter-spacing: .1em !important;
  border-bottom: 1px solid rgba(255,255,255,.46) !important;
}
#elx-home-video { margin-top: 36px !important; margin-bottom: 30px !important; }
.elxhr-consultation-intro { padding-bottom: 36px !important; }
.elxhr-consultation-intro .elementor-container { max-width: 1180px !important; }
.elxhr-consultation-intro .elementor-widget-wrap { max-width: 740px; }
.elxhr-consultation-intro .elementor-heading-title { letter-spacing: -.045em; }
#elx-home-brief { margin: 0 !important; padding: 28px 0 70px !important; background: #fff !important; }
#elx-home-brief .elementor-element-13afbc4d, #elx-home-brief .elementor-element-2e865c6c { display: none !important; }
#elx-home-brief .elementor-container { max-width: 1040px !important; }
#elx-home-brief .estaluxia-shortlist-form { margin-top: 0 !important; }

/* The homepage brief stays understated: no boxed-in default-form appearance. */
#elx-home-brief .estaluxia-shortlist-form .forminator-custom-form[data-form-id="1746"] {
  gap: 16px 24px !important;
  max-width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
#elx-home-brief .estaluxia-shortlist-form input,
#elx-home-brief .estaluxia-shortlist-form select,
#elx-home-brief .estaluxia-shortlist-form textarea {
  min-height: 50px !important;
  padding: 12px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #d9d5ce !important;
  border-radius: 0 !important;
}
#elx-home-brief .estaluxia-shortlist-form textarea { min-height: 92px !important; }
#elx-home-brief .estaluxia-shortlist-form input:focus,
#elx-home-brief .estaluxia-shortlist-form select:focus,
#elx-home-brief .estaluxia-shortlist-form textarea:focus {
  border-color: #242321 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
#elx-home-brief .estaluxia-shortlist-form .forminator-select,
#elx-home-brief .estaluxia-shortlist-form .select2-container {
  width: 100% !important;
}
#elx-home-brief .estaluxia-shortlist-form .select2-selection--single {
  min-height: 50px !important;
  padding: 12px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #d9d5ce !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
#elx-home-brief .estaluxia-shortlist-form .select2-selection__rendered {
  padding: 0 !important;
  color: #242321 !important;
  line-height: 25px !important;
}
#elx-home-brief .estaluxia-shortlist-form .select2-selection__arrow {
  top: 13px !important;
  right: 0 !important;
}
#elx-home-brief .estaluxia-shortlist-form .forminator-button-submit {
  min-width: 184px !important;
  min-height: 50px !important;
  margin-top: 10px !important;
  padding: 14px 20px !important;
  background: #242321 !important;
  border-color: #242321 !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
}
#elx-home-brief .estaluxia-shortlist-form .forminator-button-submit:hover,
#elx-home-brief .estaluxia-shortlist-form .forminator-button-submit:focus {
  color: #ffffff !important;
  background: #242321 !important;
  border-color: #242321 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 921px) {
  .elxhr-research-panel { grid-template-columns: 1fr; width: min(340px, calc(100vw - 28px)); }
  .elxhr-research-panel a { min-height: 0; padding: 16px 18px !important; }
  .elxhr-research-panel a + a { border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }
}
@media (max-width: 544px) {
  .elxhr-research-menu { width: 100%; }
  .elxhr-research-menu details { width: 100%; }
  .elxhr-research-menu summary { justify-content: space-between; padding: 0 16px; }
  .elxhr-research-panel { position: static; width: 100%; max-width: none; margin: 0; border: 0; box-shadow: none; }
  .elxhr-hero-trust { font-size: 10px !important; letter-spacing: .1em !important; }
  [data-id="4cb2e10b"] {
    min-height: 0 !important;
    padding: 58px 22px 54px !important;
  }
  [data-id="4cb2e10b"] > .elementor-container { width: 100% !important; }
  [data-id="3df04ebd"] .elementor-heading-title {
    font-size: 25px !important;
    line-height: 1.2 !important;
    letter-spacing: -.035em !important;
  }
  [data-id="1c68e50a"] p:not(.elxhr-hero-trust) {
    font-size: 14px !important;
    line-height: 1.62 !important;
  }
  .elxhr-hero-trust { margin-top: 14px !important; line-height: 1.55 !important; }
  [data-id="23132b2a"] { margin-top: 20px !important; }
  [data-id="23132b2a"] > .elementor-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  [data-id="23132b2a"] .elementor-column { width: 100% !important; }
  [data-id="23132b2a"] .elementor-widget-wrap { padding: 0 !important; }
  [data-id="23132b2a"] .elementor-button {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #elx-home-brief { padding: 22px 0 52px !important; }
  .elxhr-featured-residences { padding-bottom: 18px !important; }
  .elxhr-view-all-properties { align-self: flex-start; margin-top: 22px; }
  #elx-home-area-guide { margin-top: 18px !important; margin-bottom: 26px !important; }
  .elxhr-area-research-links { display: grid; gap: 12px; }
  .elxhr-area-research-links a { width: max-content; }
  #elx-home-video { margin-top: 28px !important; margin-bottom: 24px !important; }
  #elx-home-brief .estaluxia-shortlist-form .forminator-custom-form[data-form-id="1746"] { grid-template-columns: 1fr !important; }
  #elx-home-brief .estaluxia-shortlist-form .forminator-button-submit { width: 100% !important; }
}
