/* Estate Heritage design system — shared frontend theme */
:root {
  --eh-surface: #f7f9ff;
  --eh-surface-lowest: #ffffff;
  --eh-surface-low: #f1f4f9;
  --eh-surface-container: #ebeef3;
  --eh-surface-high: #e5e8ee;
  --eh-on-surface: #181c20;
  --eh-on-surface-variant: #5c403d;
  --eh-outline: #916f6b;
  --eh-outline-variant: #e6bdb9;
  --eh-primary: #ab0013;
  --eh-primary-hover: #93000f;
  --eh-primary-soft: #fff4f3;
  --eh-primary-soft-strong: #ffe9e7;
  --eh-on-primary: #ffffff;
  --eh-secondary: #375aae;
  --eh-secondary-dark: #184295;
  --eh-on-secondary: #ffffff;
  --eh-shadow: 0 4px 20px rgba(13, 59, 142, 0.05);
  --eh-shadow-hover: 0 10px 28px rgba(13, 59, 142, 0.1);
  --eh-radius-sm: 4px;
  --eh-radius-md: 8px;
  --eh-radius-lg: 12px;
}

html {
  background: var(--eh-surface);
}

body,
button,
input,
select,
textarea {
  color: var(--eh-on-surface);
  font-family: "Work Sans", sans-serif !important;
  font-size: 16px;
  line-height: 24px;
}

body {
  background: var(--eh-surface);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.price-tag,
.price-wrap,
.prop-name-price {
  color: var(--eh-on-surface);
  font-family: "Manrope", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--eh-secondary) !important;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
}

p {
  color: var(--eh-on-surface-variant);
  font-size: 16px;
  line-height: 24px;
}

a {
  color: var(--eh-secondary);
}

a:hover,
a:focus {
  color: var(--eh-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--eh-secondary);
  outline-offset: 2px;
}

::selection {
  background: #dae2ff;
  color: #001848;
}

@media screen and (min-width: 1200px) {
  .container {
    width: calc(100% - 128px);
    max-width: 1280px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .container {
    width: calc(100% - 64px);
  }
}

/* Shared header and navigation */
.site-header {
  background: var(--eh-surface-lowest) !important;
  border-bottom: 1px solid var(--eh-surface-container) !important;
  box-shadow: 0 2px 12px rgba(13, 59, 142, 0.05);
}

.site-header .header-logo-menu {
  background: var(--eh-surface-lowest);
  padding-bottom: 10px;
  padding-top: 10px;
}

.site-header .custom-logo-link img {
  flex: 0 0 64px;
  height: 64px !important;
  max-height: 64px !important;
  width: 64px !important;
}

.site-header .header-logo-menu .head-itm.logo-left .site-branding #logo .custom-logo-link {
  align-items: center;
  color: var(--eh-secondary);
  gap: 12px;
  min-height: 64px;
}

.site-header .header-logo-menu .head-itm.right-menu .site-header-menu .head-search form p {
  margin-bottom: 0;
}

.site-header .main-navigation,
.site-header #primary-menu,
.main-navigation,
#primary-menu {
  background: var(--eh-secondary) !important;
}

.site-header .main-navigation {
  border-top: 0;
  min-height: 52px;
  position: relative;
  z-index: 1000;
}

.site-header .main-navigation ul li {
  border-bottom: 2px solid transparent !important;
}

.site-header .main-navigation ul li:hover,
.site-header .main-navigation ul li.current-menu-item {
  background: rgba(255, 255, 255, 0.1) !important;
  border-bottom-color: #ffffff !important;
}

.site-header .main-navigation ul li a,
.site-header .main-navigation li > a,
.main-navigation a,
#primary-menu li a {
  color: #ffffff !important;
  font-family: "Work Sans", sans-serif;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em;
  line-height: 20px;
  padding: 15px 18px !important;
  text-transform: none;
}

.site-header .main-navigation ul li a:hover,
.site-header .main-navigation li:hover > a,
.site-header .main-navigation li.current-menu-item > a,
.main-navigation a:hover,
#primary-menu li a:hover {
  border-bottom-color: transparent;
  color: #ffffff !important;
}

.site-header .main-navigation ul li.current-menu-item > a {
  font-weight: 600 !important;
}

.site-header .login-wrap {
  gap: 8px;
  min-height: 50px;
  white-space: nowrap;
}

.site-header .login-wrap i,
.site-header .login-wrap .login-user-name,
.site-header .login-wrap span a,
.login-wrap i,
.login-wrap .login-user-name,
.login-wrap span a {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.site-header .login-wrap > span {
  align-items: center;
  display: flex;
  gap: 10px;
}

.site-header .login-wrap .login-user-name {
  font-size: 13px;
  font-weight: 500;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header .login-wrap .logout-link {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 13px;
  padding-left: 10px !important;
}

.site-header .login-wrap {
  position: relative;
}

.account-menu {
  margin-left: 2px;
  position: relative;
}

.site-header .account-menu-trigger {
  align-items: center;
  color: #ffffff !important;
  display: flex;
  gap: 7px;
  min-height: 50px;
  padding: 0 !important;
}

.site-header .account-menu-trigger > i {
  border: 0 !important;
  font-size: 10px;
  padding: 0 !important;
  transition: transform 160ms ease;
}

.account-menu:hover .account-menu-trigger > i,
.account-menu:focus-within .account-menu-trigger > i {
  transform: rotate(180deg);
}

.account-menu-dropdown {
  background: var(--eh-surface-lowest);
  border: 1px solid var(--eh-surface-container);
  border-radius: 0 0 var(--eh-radius-sm) var(--eh-radius-sm);
  box-shadow: 0 14px 32px rgba(13, 59, 142, 0.16);
  display: none;
  min-width: 220px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 50px;
  z-index: 1100;
}

.account-menu:hover .account-menu-dropdown,
.account-menu:focus-within .account-menu-dropdown {
  display: block;
}

.site-header .account-menu-dropdown a {
  align-items: center;
  border-radius: var(--eh-radius-sm);
  color: var(--eh-on-surface) !important;
  display: flex;
  font-size: 14px !important;
  gap: 10px;
  letter-spacing: 0;
  padding: 10px 12px !important;
}

.site-header .account-menu-dropdown a:hover {
  background: var(--eh-surface-low) !important;
  color: var(--eh-secondary) !important;
}

.site-header .account-menu-dropdown a i {
  border: 0 !important;
  color: var(--eh-secondary) !important;
  font-size: 14px;
  padding: 0 !important;
  width: 16px;
}

.site-header .account-menu-dropdown .account-logout {
  border-top: 1px solid var(--eh-surface-container);
  color: var(--eh-primary) !important;
  margin-top: 5px;
  padding-top: 12px !important;
}

.site-header .account-menu-dropdown .account-logout i {
  color: var(--eh-primary) !important;
}

@media screen and (min-width: 768px) {
  .site-header {
    display: block;
  }

  .site-header > .container:first-child,
  .site-header > .container:first-child > .header-logo-menu {
    display: block;
  }

  .site-header > .container:first-child > .header-logo-menu > .row {
    align-items: center;
    display: flex;
  }

  .site-header .header-logo-menu .head-itm.logo-left {
    align-items: center;
    background: var(--eh-surface-lowest);
    display: flex;
    min-height: 80px;
    padding: 0 15px;
    width: 20%;
  }

  .site-header .header-logo-menu .head-itm.logo-left .site-branding {
    width: 240px;
  }

  .site-header .header-logo-menu .head-itm.logo-left .site-branding #logo .custom-logo-link {
    min-height: 64px;
  }

  .site-header .main-navigation {
    order: initial;
  }

  .site-header .header-logo-menu .head-itm.right-menu {
    background: var(--eh-surface-lowest);
    border-bottom: 0;
    min-height: 48px;
    padding: 0 15px;
    width: 80%;
  }

  .site-header .header-logo-menu .head-itm.right-menu .site-header-menu {
    align-items: center;
    background: transparent;
    display: flex;
    justify-content: stretch;
    margin-left: 0;
    max-width: none;
    min-height: 48px;
  }

  .site-header .header-logo-menu .head-itm.right-menu .site-header-menu .head-search {
    max-width: none;
    width: 100%;
  }

  .site-header .head-search .controls {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    gap: 12px;
    overflow: visible;
  }

  .site-header .head-search .controls .col-md-9,
  .site-header .head-search .controls .col-md-3 {
    float: none;
    padding: 0;
  }

  .site-header .head-search .controls .col-md-9 {
    flex: 1 1 auto;
    width: auto;
  }

  .site-header .head-search .controls .col-md-3 {
    flex: 0 0 200px;
    width: 200px;
  }

  .site-header .head-search .controls p {
    padding: 0;
  }

  .site-header .head-search .controls input[type="text"] {
    background: var(--eh-surface-lowest) !important;
    border: 1px solid var(--eh-surface-high) !important;
    border-radius: var(--eh-radius-sm) !important;
    font-size: 14px !important;
    height: 48px;
    min-height: 48px;
    padding: 11px 16px !important;
  }

  .site-header .head-search .controls input[type="submit"].prop-btn {
    height: 48px !important;
    width: 100% !important;
  }
}

.site-nav-toggle {
  align-items: center;
  background: var(--eh-surface-lowest);
  border: 1px solid var(--eh-surface-high);
  border-radius: var(--eh-radius-sm);
  display: none;
  flex-direction: column;
  gap: 4px;
  height: 42px;
  justify-content: center;
  padding: 8px;
  position: absolute;
  right: 20px;
  top: 21px;
  width: 44px;
  z-index: 1002;
}

.site-nav-toggle > span:not(.sr-only) {
  background: var(--eh-secondary);
  display: block;
  height: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 24px;
}

.site-nav-toggle.is-open > span:nth-of-type(2) {
  transform: translateY(6px) rotate(45deg);
}

.site-nav-toggle.is-open > span:nth-of-type(3) {
  opacity: 0;
}

.site-nav-toggle.is-open > span:nth-of-type(4) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Forms and actions */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea,
.form-control,
.controls input[type="text"],
.controls .form__control {
  background: var(--eh-surface-lowest) !important;
  border: 1px solid var(--eh-surface-high) !important;
  border-radius: var(--eh-radius-sm) !important;
  box-shadow: none !important;
  color: var(--eh-on-surface) !important;
  font-size: 16px !important;
  min-height: 48px;
  padding: 11px 14px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="radio"],
input[type="checkbox"],
select {
  accent-color: var(--eh-primary);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.controls input[type="text"]:focus,
.controls .form__control:focus {
  border-color: var(--eh-secondary) !important;
  box-shadow: 0 0 0 1px var(--eh-secondary) !important;
  outline: 0;
}

.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single {
  align-items: center;
  background: var(--eh-surface-lowest) !important;
  border: 1px solid var(--eh-surface-high) !important;
  border-radius: var(--eh-radius-sm) !important;
  box-shadow: none;
  display: flex;
  height: 48px !important;
  padding: 9px 12px !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--eh-secondary) !important;
  box-shadow: 0 0 0 1px var(--eh-secondary);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--eh-on-surface) !important;
  font-size: 16px;
  line-height: 28px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-bottom-color: transparent !important;
  border-left-color: var(--eh-primary) !important;
  border-right-color: transparent !important;
  border-top-color: var(--eh-primary) !important;
}

.select2-dropdown {
  background: var(--eh-surface-lowest) !important;
  border: 1px solid var(--eh-outline-variant) !important;
  border-radius: var(--eh-radius-sm) !important;
  box-shadow: var(--eh-shadow-hover) !important;
  color: var(--eh-on-surface) !important;
  overflow: hidden;
}

.select2-container--default .select2-results__option {
  background: var(--eh-surface-lowest) !important;
  color: var(--eh-on-surface) !important;
  font-family: "Work Sans", sans-serif !important;
  font-size: 14px;
  line-height: 20px;
  padding: 10px 14px;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background: var(--eh-primary-soft-strong) !important;
  color: var(--eh-primary-hover) !important;
  font-weight: 600;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected="true"] {
  background: var(--eh-primary) !important;
  color: var(--eh-on-primary) !important;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-thumb,
.select2-container--default .select2-results__options::-webkit-scrollbar-thumb:hover {
  background: var(--eh-primary) !important;
}

.select2-search--dropdown .select2-search__field {
  border-color: var(--eh-outline-variant) !important;
}

.prop-btn,
input[type="submit"].prop-btn,
.contact-wrapper input[type="submit"],
.secondary-enquiry-holder input[type="submit"] {
  background: var(--eh-secondary) !important;
  border: 1px solid var(--eh-secondary) !important;
  border-radius: var(--eh-radius-sm) !important;
  box-shadow: none !important;
  color: var(--eh-on-secondary) !important;
  font-family: "Work Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  height: 48px !important;
  letter-spacing: 0.04em;
  line-height: 20px !important;
  padding: 13px 24px !important;
  text-transform: none;
  transform: none !important;
}

.prop-btn:hover,
.prop-btn:focus,
input[type="submit"].prop-btn:hover,
.contact-wrapper input[type="submit"]:hover,
.secondary-enquiry-holder input[type="submit"]:hover {
  background: var(--eh-primary) !important;
  border-color: var(--eh-primary) !important;
  color: var(--eh-on-secondary) !important;
  transform: none !important;
}

.prop-btn.reverse-button {
  background: var(--eh-surface-lowest) !important;
  border-color: var(--eh-secondary) !important;
  color: var(--eh-secondary) !important;
}

.frontend-form-alert {
  align-items: flex-start;
  border: 1px solid transparent !important;
  border-left-width: 4px !important;
  border-radius: var(--eh-radius-sm) !important;
  box-shadow: none !important;
  display: flex;
  font-family: "Work Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500;
  gap: 10px;
  line-height: 20px !important;
  margin: 0 0 22px !important;
  padding: 12px 14px !important;
  text-align: left !important;
  width: 100%;
}

.frontend-form-alert::before {
  flex: 0 0 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.frontend-form-alert.alert-success {
  background: #edf8f0 !important;
  border-color: #a9d7b5 !important;
  border-left-color: #218442 !important;
  color: #176632 !important;
}

.frontend-form-alert.alert-success::before {
  content: "\2713";
}

.frontend-form-alert.alert-danger {
  background: #fff0ef !important;
  border-color: #f3bbb7 !important;
  border-left-color: var(--eh-primary) !important;
  color: #8f1712 !important;
}

.frontend-form-alert.alert-danger::before {
  content: "!";
}

/* Shared sections, titles, breadcrumbs, cards */
.home-wrap,
.listing-wrap,
.page-content,
.detail-wrap {
  background: var(--eh-surface);
}

.breadcrumb-wrap {
  background: linear-gradient(90deg, var(--eh-primary-soft-strong), var(--eh-surface-low) 42%);
  border-bottom: 1px solid var(--eh-outline-variant);
  padding: 12px 0;
}

.breadcrumb-wrap .trail-items {
  margin: 0;
}

.breadcrumb-wrap .trail-item,
.breadcrumb-wrap .trail-item a,
.breadcrumb-wrap .trail-item span {
  color: var(--eh-on-surface-variant);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.breadcrumb-wrap .trail-item a {
  color: var(--eh-on-surface-variant) !important;
}

.breadcrumb-wrap .trail-item:last-child span {
  color: var(--eh-secondary);
}

.section-content {
  padding-bottom: 64px;
  padding-top: 64px;
}

.section-title {
  align-items: center;
  border-bottom: 1px solid var(--eh-surface-container);
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title h3 {
  border-bottom: 2px solid var(--eh-primary) !important;
  color: var(--eh-secondary) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 32px !important;
  margin: 0;
  padding-bottom: 12px;
  text-transform: none !important;
}

.section-title .view-btn,
.section-title a {
  border-bottom-color: var(--eh-primary) !important;
  color: var(--eh-secondary) !important;
  font-size: 14px;
  font-weight: 600;
}

.launch-single,
.prop-single-wrap,
.news-single,
.contact-wrapper .section-content,
.detail-content-section .secondary-enquiry-holder,
.news-detail-card {
  background: var(--eh-surface-lowest) !important;
  border: 1px solid var(--eh-surface-container) !important;
  border-radius: var(--eh-radius-md) !important;
  box-shadow: var(--eh-shadow) !important;
  overflow: hidden;
  position: relative;
}

.launch-single::before,
.prop-single-wrap::before,
.news-single::before,
.contact-wrapper .section-content::before,
.news-detail-card::before {
  background: var(--eh-primary);
  content: "";
  height: 3px;
  left: 0;
  opacity: 0.8;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.launch-single,
.prop-single-wrap,
.news-single {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.launch-single:hover,
.prop-single-wrap:hover,
.news-single:hover {
  border-color: #b2c5ff !important;
  box-shadow: var(--eh-shadow-hover) !important;
  transform: translateY(-2px);
}

/* Home */
.banner-wrap-section .banner-wrap {
  min-height: 520px;
}

.banner-wrap h3 {
  color: var(--eh-surface-lowest) !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 56px !important;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 24, 72, 0.35) !important;
}

.search-tab .nav-tabs > li > a {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 0 !important;
  border-radius: var(--eh-radius-sm) var(--eh-radius-sm) 0 0 !important;
  color: var(--eh-secondary) !important;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 12px 24px !important;
}

.search-tab .nav-tabs > li.active > a,
.search-tab .nav-tabs > li.active > a:focus,
.search-tab .nav-tabs > li.active > a:hover {
  background: var(--eh-surface-lowest) !important;
  border: 0 !important;
  box-shadow: inset 0 -2px 0 var(--eh-primary) !important;
  color: var(--eh-primary) !important;
}

.search-tab > .tab-content,
.search-tab .tab-content {
  background: var(--eh-surface-lowest) !important;
  border: 1px solid var(--eh-surface-container) !important;
  border-radius: 0 var(--eh-radius-md) var(--eh-radius-md) var(--eh-radius-md) !important;
  box-shadow: 0 12px 32px rgba(0, 24, 72, 0.14) !important;
  padding: 24px 16px 8px !important;
}

.form-filter {
  border-top-color: var(--eh-surface-container);
}

.launch-section:nth-of-type(even) {
  background: linear-gradient(135deg, var(--eh-primary-soft) 0%, var(--eh-surface-low) 58%);
}

.launch-single .launch-single-content,
.launch-single-content {
  padding: 20px !important;
}

.launch-single h4,
.prop-single-wrap h4,
.news-single h4 {
  color: var(--eh-secondary) !important;
}

.property-card-title {
  display: -webkit-box;
  line-height: 24px;
  min-height: 48px;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.launch-single .property-card-description {
  display: -webkit-box;
  height: 44px !important;
  line-height: 22px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.launch-single .price-tag span,
.prop-single-wrap .price-tag span {
  background: #ffe9e7 !important;
  border-color: var(--eh-outline-variant) !important;
  border-radius: var(--eh-radius-lg) !important;
  color: var(--eh-primary) !important;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

/* Search / Buy / Rent */
.listing-wrap .breadcrumb-wrap {
  background: linear-gradient(90deg, var(--eh-surface-lowest), #eef3ff) !important;
  border-bottom: 1px solid #b2c5ff;
}

.listing-section-wrap {
  background: linear-gradient(180deg, #f3f6ff 0, var(--eh-surface) 280px);
  padding: 48px 0 72px;
}

.listing-section-wrap .primary-wrap,
.listing-section-wrap .filter-wrap {
  background: var(--eh-surface-lowest) !important;
  border-radius: var(--eh-radius-md);
}

.listing-section-wrap .primary-wrap {
  border: 1px solid #dae2ff;
  border-top: 3px solid var(--eh-primary);
  box-shadow: var(--eh-shadow);
  overflow: hidden;
}

.listing-section-wrap .filter-wrap > h4 {
  background: var(--eh-secondary) !important;
  border-left: 6px solid var(--eh-primary);
  color: #ffffff !important;
  font-size: 18px !important;
  line-height: 26px;
  margin: 0;
  padding: 16px 18px !important;
}

.listing-section-wrap .filter-wrap h4 {
  color: var(--eh-secondary) !important;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
}

.listing-section-wrap .filter-wrap > h4 {
  color: #ffffff !important;
}

.listing-section-wrap .filter-select-wrap,
.listing-section-wrap .filter-range-wrap {
  padding-left: 20px;
  padding-right: 20px;
}

.listing-section-wrap .filter-select-wrap {
  padding-top: 12px;
}

.listing-section-wrap .filter-select-wrap ul li,
.listing-section-wrap .widget_filter {
  border-bottom-color: var(--eh-surface-container) !important;
}

.listing-section-wrap .filter-select-wrap ul li h4,
.listing-section-wrap .filter-range-wrap h4 {
  color: var(--eh-secondary) !important;
  font-size: 14px !important;
  letter-spacing: 0.01em;
}

.prop-single-wrap {
  border-color: #dae2ff !important;
  margin-bottom: 24px !important;
}

.listing-section-wrap .prop-single-wrap::before {
  background: linear-gradient(90deg, var(--eh-secondary) 0 82%, var(--eh-primary) 82% 100%);
  height: 3px;
  opacity: 1;
}

@media screen and (min-width: 992px) {
  .listing-section-wrap > .container > .row {
    align-items: flex-start;
    display: flex;
  }

  .listing-section-wrap > .container > .row > .col-md-4 {
    align-self: flex-start;
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--detail-menu-top, 0px) + 16px);
  }

  .listing-section-wrap #wapper-content {
    max-height: min(680px, calc(100vh - var(--detail-menu-top, 0px) - 32px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 10px;
    scrollbar-color: var(--eh-secondary) var(--eh-surface-container);
    scrollbar-width: thin;
  }

  .listing-section-wrap #wapper-content::-webkit-scrollbar {
    width: 7px;
  }

  .listing-section-wrap #wapper-content::-webkit-scrollbar-track {
    background: var(--eh-surface-container);
    border-radius: 999px;
  }

  .listing-section-wrap #wapper-content::-webkit-scrollbar-thumb {
    background: var(--eh-secondary);
    border-radius: 999px;
  }

  .listing-section-wrap #wapper-content::-webkit-scrollbar-thumb:hover {
    background: var(--eh-primary);
  }
}

.prop-single-wrap .prop-in-content {
  padding: 20px !important;
}

.prop-single-wrap .entry-address span,
.prop-single-wrap .prop-in-content > a > p,
.prop-single-wrap .fea-price-wrap li span {
  color: var(--eh-on-surface-variant) !important;
  font-size: 14px;
  line-height: 20px;
}

.prop-single-wrap .prop-in-content > a > p,
.prop-single-wrap .fea-price-wrap li span {
  font-style: normal !important;
}

.pagination ul li a {
  align-items: center;
  background: var(--eh-surface-lowest) !important;
  border: 1px solid var(--eh-surface-container) !important;
  border-radius: var(--eh-radius-sm);
  color: var(--eh-secondary) !important;
  display: flex;
  height: 40px;
  justify-content: center;
  min-width: 40px;
}

.pagination ul li.active a,
.pagination ul li a:hover {
  background: var(--eh-primary) !important;
  border-color: var(--eh-primary) !important;
  color: var(--eh-on-secondary) !important;
}

/* Contact */
.registration-section {
  background: linear-gradient(135deg, #eef3ff 0%, var(--eh-surface) 58%, var(--eh-primary-soft) 100%);
  padding: 64px 0 80px;
}

.registration-layout {
  align-items: stretch;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  margin: 0 auto;
  max-width: 1120px;
}

.registration-intro {
  align-self: center;
  padding: 40px 24px 40px 0;
}

.registration-kicker {
  color: var(--eh-primary);
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.registration-intro h1 {
  color: var(--eh-secondary) !important;
  font-size: 40px;
  line-height: 48px;
  margin: 0 0 20px;
}

.registration-intro > p {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 28px;
  max-width: 600px;
}

.registration-intro ul {
  margin: 0;
}

.registration-intro li {
  color: var(--eh-on-surface);
  display: flex;
  font-size: 16px;
  gap: 12px;
  line-height: 24px;
  margin-bottom: 14px;
}

.registration-intro li i {
  align-items: center;
  background: var(--eh-primary-soft-strong);
  border-radius: 50%;
  color: var(--eh-primary);
  display: flex;
  flex: 0 0 24px;
  font-size: 11px;
  height: 24px;
  justify-content: center;
}

.registration-section .registration-form {
  background: var(--eh-surface-lowest);
  border: 1px solid #dae2ff;
  border-top: 4px solid var(--eh-primary);
  border-radius: var(--eh-radius-md);
  box-shadow: 0 14px 40px rgba(13, 59, 142, 0.1);
  margin: 0;
  padding: 36px;
  width: 100%;
}

.registration-form-heading {
  border-bottom: 1px solid var(--eh-surface-container);
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.registration-form-heading h2 {
  color: var(--eh-secondary) !important;
  font-size: 28px;
  line-height: 36px;
  margin: 0 0 6px;
}

.registration-form-heading p {
  margin: 0;
}

.registration-field {
  margin-bottom: 18px;
}

.registration-section .registration-field label {
  color: var(--eh-on-surface);
  display: block;
  float: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 7px;
  padding: 0;
  text-align: left !important;
  width: auto;
}

.registration-field input {
  border: 1px solid #d8deeb;
  border-radius: var(--eh-radius-sm);
  color: var(--eh-on-surface);
  font-size: 15px;
  height: 48px;
  padding: 0 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.registration-field input:focus {
  border-color: var(--eh-secondary);
  box-shadow: 0 0 0 3px rgba(55, 90, 174, 0.14);
  outline: 0;
}

.registration-field.has-error input {
  background: #fffafa;
  border-color: var(--eh-primary);
}

.registration-field.has-error input:focus {
  box-shadow: 0 0 0 3px rgba(171, 0, 19, 0.12);
}

.registration-field ul,
.registration-field .form-error-message,
.registration-form form > ul {
  background: #fff1f2;
  border-left: 3px solid var(--eh-primary);
  border-radius: 0 var(--eh-radius-sm) var(--eh-radius-sm) 0;
  color: #8f0010;
  font-size: 13px;
  line-height: 20px;
  list-style: none;
  margin: 8px 0 0;
  padding: 7px 10px;
}

.registration-field ul li + li,
.registration-form form > ul li + li {
  margin-top: 4px;
}

.registration-section .registration-submit {
  margin-top: 6px;
  width: 100% !important;
}

.registration-login-link {
  margin: 20px 0 0;
  text-align: center;
}

.registration-login-link a {
  color: var(--eh-primary);
  font-weight: 600;
}

/* Registration success */
.registration-success-section {
  background: linear-gradient(135deg, #eef3ff 0%, var(--eh-surface) 58%, var(--eh-primary-soft) 100%);
  min-height: 620px;
  padding: 72px 0 88px;
}

.registration-success-card {
  background: var(--eh-surface-lowest);
  border: 1px solid #dae2ff;
  border-top: 4px solid var(--eh-primary);
  border-radius: var(--eh-radius-md);
  box-shadow: 0 14px 40px rgba(13, 59, 142, 0.1);
  margin: 0 auto;
  max-width: 680px;
  padding: 48px;
  text-align: center;
}

.registration-success-icon {
  align-items: center;
  background: #e8f7ee;
  border: 1px solid #bde7ca;
  border-radius: 50%;
  color: #16733a;
  display: flex;
  font-size: 28px;
  height: 72px;
  justify-content: center;
  margin: 0 auto 22px;
  width: 72px;
}

.registration-success-kicker {
  color: var(--eh-primary);
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.registration-success-card h1 {
  color: var(--eh-secondary) !important;
  font-size: 34px;
  line-height: 42px;
  margin: 0 0 14px;
}

.registration-success-card > p {
  font-size: 16px;
  line-height: 25px;
  margin: 0 auto;
  max-width: 540px;
}

.registration-success-actions {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 30px auto 0;
}

.registration-success-actions .prop-btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  width: auto !important;
}

.registration-secondary-action {
  color: var(--eh-secondary);
  font-weight: 600;
}

.registration-success-card .registration-account-note {
  border-top: 1px solid var(--eh-surface-container);
  color: var(--eh-on-surface-muted);
  font-size: 13px;
  margin-top: 30px;
  padding-top: 20px;
}

.registration-account-note span {
  margin: 0 6px;
}

.registration-account-note a {
  color: var(--eh-primary);
  font-weight: 600;
}

/* Customer account */
.account-section {
  background: linear-gradient(135deg, #eef3ff 0%, var(--eh-surface) 62%, var(--eh-primary-soft) 100%);
  min-height: 650px;
  padding: 56px 0 76px;
}

.account-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 260px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 980px;
}

.account-sidebar,
.account-card,
.account-form-card {
  background: var(--eh-surface-lowest);
  border: 1px solid #dae2ff;
  border-radius: var(--eh-radius-md);
  box-shadow: 0 14px 40px rgba(13, 59, 142, 0.08);
}

.account-sidebar {
  padding: 28px 20px 20px;
  text-align: center;
}

.account-avatar {
  align-items: center;
  background: var(--eh-secondary);
  border: 4px solid #e8edfb;
  border-radius: 50%;
  color: var(--eh-on-secondary);
  display: flex;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 700;
  height: 72px;
  justify-content: center;
  margin: 0 auto 14px;
  width: 72px;
}

.account-sidebar h2 {
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 3px;
}

.account-sidebar > p {
  color: var(--eh-on-surface-variant);
  font-size: 13px;
  margin: 0 0 22px;
}

.account-nav {
  border-top: 1px solid var(--eh-surface-container);
  padding-top: 14px;
  text-align: left;
}

.account-nav a {
  align-items: center;
  border-left: 3px solid transparent;
  border-radius: 0 var(--eh-radius-sm) var(--eh-radius-sm) 0;
  color: var(--eh-on-surface);
  display: flex;
  font-size: 14px;
  gap: 10px;
  margin-bottom: 4px;
  padding: 10px 12px;
}

.account-nav a:hover,
.account-nav a.active {
  background: var(--eh-surface-low);
  border-left-color: var(--eh-primary);
  color: var(--eh-secondary);
}

.account-nav i {
  color: var(--eh-secondary);
  width: 16px;
}

.account-card {
  border-top: 4px solid var(--eh-primary);
  padding: 36px;
}

.account-form-card {
  border-top: 4px solid var(--eh-primary);
  margin: 0 auto;
  max-width: 650px;
  padding: 36px;
}

.account-card-heading {
  border-bottom: 1px solid var(--eh-surface-container);
  margin-bottom: 26px;
  padding-bottom: 20px;
}

.account-card-heading > span {
  color: var(--eh-primary);
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.account-card-heading h1 {
  color: var(--eh-secondary) !important;
  font-size: 30px;
  line-height: 38px;
  margin: 0 0 6px;
}

.account-card-heading p {
  margin: 0;
}

.account-details {
  margin: 0;
}

.account-details > div {
  border-bottom: 1px solid var(--eh-surface-container);
  display: grid;
  gap: 20px;
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 18px 0;
}

.account-details > div:first-child {
  padding-top: 4px;
}

.account-details dt {
  color: var(--eh-on-surface-variant);
  font-size: 14px;
  font-weight: 500;
}

.account-details dd {
  color: var(--eh-on-surface);
  font-weight: 600;
  margin: 0;
  overflow-wrap: anywhere;
}

.account-card-actions,
.account-form-actions {
  align-items: center;
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

.account-card-actions .prop-btn,
.account-form-actions .prop-btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  width: auto !important;
}

.account-secondary-button,
.account-form-actions a {
  color: var(--eh-secondary);
  font-weight: 600;
}

.account-field {
  margin-bottom: 19px;
}

.account-form-card .account-field label {
  color: var(--eh-on-surface);
  display: block;
  float: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 7px;
  padding: 0;
  text-align: left !important;
  width: auto;
}

.account-field input {
  border: 1px solid #d8deeb;
  border-radius: var(--eh-radius-sm);
  color: var(--eh-on-surface);
  font-size: 15px;
  height: 48px;
  padding: 0 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.account-field input:focus {
  border-color: var(--eh-secondary);
  box-shadow: 0 0 0 3px rgba(55, 90, 174, 0.14);
  outline: 0;
}

.account-field small {
  color: var(--eh-on-surface-variant);
  display: block;
  font-size: 12px;
  line-height: 18px;
  margin-top: 6px;
}

.account-field.has-error input {
  background: #fffafa;
  border-color: var(--eh-primary);
}

.account-field ul,
.account-form form > ul {
  background: #fff1f2;
  border-left: 3px solid var(--eh-primary);
  border-radius: 0 var(--eh-radius-sm) var(--eh-radius-sm) 0;
  color: #8f0010;
  font-size: 13px;
  line-height: 20px;
  list-style: none;
  margin: 8px 0 0;
  padding: 7px 10px;
}

/* Authentication */
.login-page-section {
  background: linear-gradient(135deg, #eef3ff 0%, var(--eh-surface) 58%, var(--eh-primary-soft) 100%);
  min-height: 620px;
  padding: 64px 0 80px;
}

.login-page-card {
  background: var(--eh-surface-lowest);
  border: 1px solid #dae2ff;
  border-top: 4px solid var(--eh-primary);
  border-radius: var(--eh-radius-md);
  box-shadow: 0 14px 40px rgba(13, 59, 142, 0.1);
  margin: 0 auto;
  max-width: 500px;
  padding: 36px;
}

.login-page-heading {
  border-bottom: 1px solid var(--eh-surface-container);
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.login-page-heading > span {
  color: var(--eh-primary);
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.login-page-heading h1 {
  color: var(--eh-secondary) !important;
  font-size: 30px;
  line-height: 38px;
  margin: 0 0 6px;
}

.login-page-heading p {
  margin: 0;
}

.auth-alert {
  align-items: flex-start;
  background: #fff1f2;
  border: 1px solid #ffc8cf;
  border-left: 4px solid var(--eh-primary);
  border-radius: var(--eh-radius-sm);
  color: #8f0010;
  display: flex;
  font-size: 14px;
  gap: 10px;
  line-height: 21px;
  margin-bottom: 22px;
  padding: 12px 14px;
}

.auth-alert i {
  margin-top: 3px;
}

.login-field {
  margin: 0 0 18px;
}

.login-field label {
  color: var(--eh-on-surface);
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 7px;
}

.login-field input[type="text"],
.login-field input[type="password"] {
  background: var(--eh-surface-lowest);
  border: 1px solid #d8deeb !important;
  border-radius: var(--eh-radius-sm);
  color: var(--eh-on-surface);
  font-size: 15px;
  height: 48px;
  padding: 0 14px;
  width: 100%;
}

.login-field input[type="text"]:focus,
.login-field input[type="password"]:focus {
  border-color: var(--eh-secondary) !important;
  box-shadow: 0 0 0 3px rgba(55, 90, 174, 0.14);
  outline: 0;
}

.login-options {
  align-items: center;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  margin: -2px 0 22px;
}

.login-options label {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
}

.login-options input {
  accent-color: var(--eh-secondary);
  flex: 0 0 18px;
  height: 18px !important;
  margin: 0;
  width: 18px !important;
}

.login-options a,
.login-register-link a {
  color: var(--eh-primary);
  font-weight: 600;
}

.login-page-card .login-submit {
  width: 100% !important;
}

.login-register-link {
  margin: 20px 0 0;
  text-align: center;
}

/* Login modal overrides for the legacy purple styles. */
.login-modal .modal-dialog .modal-content {
  border: 0;
  border-radius: 0;
  box-shadow: -10px 0 35px rgba(13, 59, 142, 0.14);
}

.login-modal .modal-dialog .modal-content .modal-header button.close,
.login-modal .modal-dialog .modal-content .modal-header button.close:hover {
  color: var(--eh-primary) !important;
}

.login-modal .modal-dialog .modal-content .modal-body {
  padding: 54px 32px 32px;
}

.login-modal .modal-dialog .modal-content .modal-body .user-profile h2 {
  border-bottom: 3px solid var(--eh-primary);
  color: var(--eh-secondary) !important;
  font-size: 30px;
  margin-bottom: 28px;
  padding-bottom: 14px;
}

.login-modal .login-field input[type="text"],
.login-modal .login-field input[type="password"] {
  margin-bottom: 0 !important;
}

.login-modal .modal-dialog .modal-content .modal-body .user-profile a {
  color: var(--eh-primary) !important;
}

.login-modal .modal-dialog .modal-content .modal-body .user-profile .prop-btn.reverse-button {
  background: var(--eh-surface-lowest) !important;
  border: 1px solid var(--eh-secondary) !important;
  box-shadow: none;
  color: var(--eh-secondary) !important;
}

.login-modal .modal-dialog .modal-content .modal-body .user-profile .prop-btn.reverse-button:hover {
  background: var(--eh-secondary) !important;
  color: var(--eh-on-secondary) !important;
}

@media screen and (max-width: 991px) {
  .registration-layout {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .registration-intro {
    padding: 16px 0 0;
  }

  .account-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .registration-section {
    padding: 40px 0 56px;
  }

  .registration-intro h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .registration-intro > p {
    font-size: 16px;
    line-height: 24px;
  }

  .registration-section .registration-form {
    padding: 24px;
  }

  .registration-success-section {
    min-height: 0;
    padding: 40px 0 56px;
  }

  .registration-success-card {
    padding: 32px 22px;
  }

  .registration-success-card h1 {
    font-size: 27px;
    line-height: 35px;
  }

  .registration-success-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .registration-success-actions .prop-btn {
    width: 100% !important;
  }

  .account-section {
    min-height: 0;
    padding: 40px 0 56px;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    display: none;
  }

  .account-card,
  .account-form-card {
    padding: 24px;
  }

  .account-details > div {
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .account-card-actions,
  .account-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-card-actions .prop-btn,
  .account-form-actions .prop-btn {
    width: 100% !important;
  }

  .login-page-section {
    min-height: 0;
    padding: 40px 0 56px;
  }

  .login-page-card {
    padding: 24px;
  }

  .login-page-heading h1 {
    font-size: 26px;
    line-height: 34px;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

.contact-wrapper {
  background: linear-gradient(145deg, var(--eh-primary-soft) 0%, var(--eh-surface) 55%);
  padding: 56px 0 72px;
}

.contact-wrapper .section-content {
  padding: 32px !important;
}

.contact-wrapper .contact-form,
.contact-wrapper .contact-sidebar {
  min-height: 100%;
}

.contact-wrapper .contact-sidebar .contact-widget ul li i {
  color: var(--eh-primary) !important;
}

.contact-wrapper .contact-sidebar .contact-widget ul li span {
  color: var(--eh-on-surface-variant);
  font-size: 16px;
  line-height: 24px;
}

.contact-wrapper .contact-sidebar.section-content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
  padding: 0 !important;
}

.contact-wrapper .contact-sidebar .contact-widget,
.contact-wrapper .contact-sidebar .prop-social {
  background: var(--eh-surface-lowest);
  border: 1px solid var(--eh-surface-container);
  border-radius: var(--eh-radius-md) !important;
  box-shadow: var(--eh-shadow) !important;
  padding: 24px;
}

.contact-wrapper .contact-sidebar .prop-social a.tiktok-icon {
  background: #000000;
}

.contact-map iframe {
  display: block;
  filter: saturate(0.8) contrast(0.95);
  width: 100%;
}

/* About page */
.about-page {
  clear: both;
  display: flow-root;
  width: 100%;
  color: var(--eh-on-surface);
  background: #f7f9ff;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 82px;
  color: #fff;
  background:
    linear-gradient(115deg, #0d316d 0%, #214b94 62%, #375aae 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.14);
}

.about-hero::after {
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 390px;
  height: 390px;
  border: 54px solid rgba(255, 218, 214, 0.1);
  border-radius: 50%;
  content: "";
}

.about-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 64px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.about-breadcrumb a {
  color: #fff;
}

.about-breadcrumb i {
  font-size: 9px;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.about-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #df2237;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.about-hero .about-eyebrow {
  color: #ffd7d2;
}

.about-hero h1 {
  max-width: 700px;
  margin: 0 0 22px;
  color: #fff !important;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.about-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.7;
}

.about-story-section {
  padding: 88px 0;
  background: #fff;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.7fr);
  gap: 80px;
}

.about-story-heading {
  position: relative;
}

.about-section-number {
  display: block;
  margin-bottom: 12px;
  color: #ab0013;
  font-size: 13px;
  font-weight: 700;
}

.about-story-heading h2,
.about-section-intro h2,
.about-contact-strip h2 {
  margin: 0;
  color: #001848 !important;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

.about-story-heading h2 {
  font-size: 32px;
}

.about-heading-line {
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 20px;
  background: #ab0013;
}

.about-story-copy {
  color: #4d5a70;
  font-size: 16px;
  line-height: 1.85;
}

.about-story-copy h2,
.about-story-copy h3,
.about-story-copy h4 {
  margin: 0 0 16px;
  color: #001848;
  font-family: "Manrope", sans-serif;
}

.about-story-copy p {
  margin: 0 0 22px;
}

.about-story-copy p:last-child {
  margin-bottom: 0;
}

.about-team-section {
  padding: 80px 0 96px;
  background: linear-gradient(180deg, #f7f9ff 0%, #f1f4f9 100%);
}

.about-section-intro {
  max-width: 720px;
  margin: 0 0 40px;
  text-align: left;
}

.about-section-intro h2 {
  margin-bottom: 12px;
  font-size: 38px;
}

.about-section-intro p {
  margin: 0;
  color: #536078;
  font-size: 16px;
  line-height: 24px;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0;
}

.about-team-card {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(13, 59, 142, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-team-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #ab0013 0%, #d31e24 72%, #375aae 72%, #375aae 100%);
  content: "";
}

.about-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 59, 142, 0.13);
}

.about-team-portrait {
  min-height: 200px;
  overflow: hidden;
  background: #e8edfb;
}

.about-team-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.about-team-portrait-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #375aae;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(218, 226, 255, 0.82) 68%, rgba(255, 218, 214, 0.72) 100%),
    #e8edfb;
  font-size: 42px;
}

.about-team-details {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 32px;
}

.about-team-role {
  display: block;
  margin-bottom: 5px;
  color: #ab0013;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-team-card h3 {
  margin: 0 0 10px;
  color: #001848 !important;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.about-team-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #375aae;
  font-size: 14px;
  font-weight: 600;
}

.about-team-phone:hover {
  color: #ab0013;
}

.about-contact-strip {
  padding: 54px 0;
  color: #fff;
  background: linear-gradient(105deg, #001848 0%, #12346e 62%, #214b94 100%);
}

.about-contact-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.about-contact-strip .about-eyebrow {
  margin-bottom: 8px;
  color: #ffdad6;
}

.about-contact-strip h2 {
  color: #fff !important;
  font-size: 27px;
}

.about-contact-button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 7px;
  color: #fff !important;
  background: #ab0013;
  font-weight: 700;
}

.about-contact-button:hover {
  color: #fff !important;
  background: #d20b23;
}

@media (max-width: 767px) {
  .about-hero {
    padding: 24px 0 58px;
  }

  .about-breadcrumb {
    margin-bottom: 42px;
  }

  .about-hero h1 {
    font-size: 37px;
    letter-spacing: -1px;
  }

  .about-hero p {
    font-size: 16px;
  }

  .about-story-section,
  .about-team-section {
    padding: 58px 0;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .about-team-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .about-team-portrait {
    min-height: 176px;
  }

  .about-team-details {
    padding: 24px 18px;
  }

  .about-section-intro h2 {
    font-size: 32px;
  }

  .about-contact-strip .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* News */
.news-section {
  background: linear-gradient(180deg, var(--eh-primary-soft) 0%, var(--eh-surface) 320px);
}

.news-section .news-single {
  margin-bottom: 24px;
}

.news-single .news-content {
  background: var(--eh-surface-lowest) !important;
  padding: 20px !important;
}

.news-single .date-time li,
.news-single .news-content > span,
.news-entry li {
  color: var(--eh-on-surface-variant) !important;
  font-size: 14px !important;
  line-height: 20px;
}

.news-single .news-icons i,
.news-entry .news-icons i {
  color: var(--eh-secondary) !important;
}

.news-detail-page .detail-news-wrap {
  background: var(--eh-surface);
  padding: 56px 0 72px;
}

.news-detail-card {
  padding: 32px;
}

.news-detail-card .news-title h2 {
  color: var(--eh-secondary) !important;
}

.entry__meta-category {
  background: var(--eh-primary) !important;
  border-radius: var(--eh-radius-lg) !important;
}

/* Property detail */
.prop-name-price {
  background: linear-gradient(90deg, var(--eh-surface-lowest), var(--eh-primary-soft));
  border-bottom: 1px solid var(--eh-surface-container);
  padding: 72px 0 38px !important;
}

.prop-name-price > .container {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.prop-name-price > .container::before,
.prop-name-price > .container::after {
  display: none;
}

.prop-name-price .name-location-wrap {
  flex: 1 1 auto;
  float: none;
  min-width: 0;
  width: auto;
}

.prop-name-price .name-location-wrap h3 {
  line-height: 1.2;
  margin: 0 0 12px;
  max-width: 1024px;
}

.prop-name-price .name-location-wrap .entry-address {
  margin-bottom: 0;
}

.prop-name-price .price-wrap {
  flex: 0 0 auto;
  float: none;
  margin-left: auto;
  padding-top: 5px;
  text-align: right;
  white-space: nowrap;
  width: auto;
}

.prop-name-price .price-wrap span {
  display: block;
  padding: 0 !important;
}

.prop-name-price h3 {
  color: var(--eh-secondary) !important;
}

.prop-name-price .price-wrap span {
  color: var(--eh-primary) !important;
  font-size: 24px !important;
  font-weight: 700;
  line-height: 1.25;
}

.detail-header,
.detail-header.detail-header-fixed {
  background: var(--eh-surface-lowest) !important;
  border-bottom: 1px solid var(--eh-surface-container);
  box-shadow: 0 4px 16px rgba(13, 59, 142, 0.06);
  padding-bottom: 18px;
  padding-top: 18px;
}

.detail-header .detail-head-wrap .detail-menu ul,
.detail-header.detail-header-fixed .detail-head-wrap .detail-menu ul {
  margin-bottom: 0;
}

.detail-header .detail-head-wrap .detail-menu,
.detail-header.detail-header-fixed .detail-head-wrap .detail-menu {
  overflow-y: hidden;
  scrollbar-width: none;
}

.detail-header .detail-head-wrap .detail-menu::-webkit-scrollbar,
.detail-header.detail-header-fixed .detail-head-wrap .detail-menu::-webkit-scrollbar {
  display: none;
}

.detail-header .detail-head-wrap .detail-menu ul li a,
.detail-header.detail-header-fixed .detail-head-wrap .detail-menu ul li a {
  color: var(--eh-secondary) !important;
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.detail-header .detail-head-wrap .detail-menu ul li.active a,
.detail-header.detail-header-fixed .detail-head-wrap .detail-menu ul li.active a {
  box-shadow: inset 0 -2px 0 var(--eh-primary);
  color: var(--eh-primary) !important;
}

.detail-content-section {
  background: linear-gradient(180deg, var(--eh-primary-soft) 0, var(--eh-surface) 360px);
}

.detail-content-section .dt-primary-wrap .dt-section-wrap .dt-title h4 {
  border-bottom-color: var(--eh-primary) !important;
  color: var(--eh-secondary) !important;
  font-size: 24px;
  line-height: 32px;
}

.detail-content-section .prop-brf,
.detail-content-section .dt-primary-wrap .dt-section-wrap .dt-title {
  border-color: var(--eh-surface-container) !important;
}

.detail-content-section .amenities-content .amneties-list {
  padding: 24px 0 !important;
}

.detail-content-section .amenities-content .amneties-list .list-title {
  color: var(--eh-secondary) !important;
  display: block;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 26px;
  margin: 0 0 14px;
}

.detail-content-section .amenities-content .amneties-list ul {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 28px !important;
}

.detail-content-section .amenities-content .amneties-list ul:last-child {
  margin-bottom: 0 !important;
}

.detail-content-section .amenities-content .amneties-list ul li {
  align-items: center;
  background: var(--eh-surface-lowest);
  border: 1px solid var(--eh-outline-variant);
  border-radius: var(--eh-radius-md);
  display: flex !important;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px !important;
  width: auto !important;
}

.detail-content-section .amenities-content .amneties-list ul li .icon-holder {
  border-radius: 8px;
  flex: 0 0 44px;
  height: 44px;
  margin: 0 !important;
  overflow: hidden;
  padding: 0 !important;
  width: 44px !important;
}

.detail-content-section .amenities-content .amneties-list ul li .icon-holder img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.detail-content-section .amenities-content .amneties-list ul li span {
  color: var(--eh-on-surface) !important;
  float: none !important;
  font-size: 14px !important;
  line-height: 20px;
  overflow-wrap: anywhere;
  padding: 0 !important;
  width: auto !important;
}

.detail-content-section .locality-content #map {
  border-radius: var(--eh-radius-lg);
  min-height: 420px;
  overflow: hidden;
  width: 100%;
}

.detail-content-section .secondary-enquiry-holder {
  border-top: 4px solid var(--eh-primary) !important;
}

.detail-content-section .secondary-enquiry-holder .enquiry-title h3 {
  color: var(--eh-secondary) !important;
  font-size: 24px !important;
  line-height: 32px;
  text-transform: none;
}

.detail-content-section .secondary-enquiry-holder .enquiry-title {
  border-bottom-color: var(--eh-surface-container);
}

.detail-content-section .secondary-enquiry-holder .enquiry-title h3 + p {
  color: var(--eh-on-surface-variant) !important;
  font-family: "Work Sans", sans-serif;
  font-size: 14px !important;
  line-height: 20px;
}

.detail-content-section .secondary-enquiry-holder .frontend-form-alert {
  margin-bottom: 18px !important;
  margin-top: 16px !important;
}

.detail-content-section .secondary-enquiry-holder .form-card textarea {
  height: 132px !important;
  min-height: 132px !important;
  max-height: 280px;
  line-height: 1.5;
  overflow-y: auto !important;
  resize: vertical;
}

/* Footer */
.footer,
.main-footer,
.footer-browse {
  background: var(--eh-secondary) !important;
}

.footer,
.footer p,
.footer a,
.footer h6 {
  color: var(--eh-on-secondary) !important;
}

.footer a:hover {
  color: #ffb4ac !important;
}

.footer .footer-widget-single {
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.footer .copyright {
  background: #001848 !important;
}

.footer .copyright p {
  color: #eef1f6 !important;
}

.footer input[type="submit"].prop-btn {
  background: var(--eh-surface-lowest) !important;
  border-color: var(--eh-surface-lowest) !important;
  color: var(--eh-secondary) !important;
}

.footer input[type="submit"].prop-btn:hover {
  background: #dae2ff !important;
  border-color: #dae2ff !important;
  color: #001848 !important;
}

@media screen and (max-width: 991px) {
  h1,
  .banner-wrap h3 {
    font-size: 32px !important;
    line-height: 40px !important;
  }

  .section-content {
    padding-bottom: 48px;
    padding-top: 48px;
  }

  .contact-wrapper .contact-form {
    margin-bottom: 24px;
  }

  .detail-content-section .amenities-content .amneties-list ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  body,
  button,
  input,
  select,
  textarea {
    font-size: 16px;
  }

  .container {
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 0;
    padding-right: 0;
    width: auto;
  }

  h2 {
    font-size: 28px;
    line-height: 36px;
  }

  h3,
  .section-title h3,
  .detail-content-section .dt-primary-wrap .dt-section-wrap .dt-title h4 {
    font-size: 22px !important;
    line-height: 30px !important;
  }

  .banner-wrap-section {
    height: auto !important;
    min-height: 0 !important;
    padding: 44px 0 !important;
  }

  .banner-wrap-section .banner-wrap {
    min-height: 0;
  }

  .banner-wrap-section .banner-wrap .drop-wrap {
    width: 100%;
  }

  .banner-wrap-section .banner-wrap .drop-wrap h3 {
    font-size: 28px !important;
    line-height: 36px !important;
    margin: 0 0 22px;
  }

  .banner-wrap-section .search-tab .nav-tabs {
    margin-bottom: 12px !important;
  }

  .banner-wrap-section .search-tab .tab-content {
    padding: 16px 10px 2px !important;
  }

  .launch-section {
    overflow: hidden;
  }

  .launch-section .section-content {
    margin-bottom: 0;
    padding: 36px 0 !important;
  }

  .homepage-top-rated-section .section-content {
    padding-bottom: 12px !important;
  }

  .homepage-latest-section .section-content {
    padding-top: 12px !important;
  }

  .homepage-latest-section {
    padding-top: 0;
  }

  .homepage-latest-section .section-title h3 {
    margin-top: 0;
  }

  .launch-section .section-content .section-title {
    margin-bottom: 20px;
  }

  .launch-section .launch-slider {
    margin: 0 !important;
  }

  .launch-section .launch-slider .slick-list {
    margin: 0 !important;
    padding: 10px 0 !important;
  }

  .launch-section .launch-slider .slick-slide {
    padding-left: 4px;
    padding-right: 4px;
  }

  .launch-section .launch-slider button.slick-arrow,
  .latest-section .latest-slider button.slick-arrow {
    display: none !important;
  }

  .launch-section .launch-contents .launch-listing .launch-single {
    margin: 0 !important;
  }

  .launch-section .launch-single .launch-single-content,
  .launch-section .launch-single-content {
    padding: 18px !important;
  }

  .detail-content-section .amenities-content .amneties-list ul {
    grid-template-columns: 1fr;
  }

  .detail-content-section .locality-content #map {
    min-height: 300px;
  }

  .site-header .header-logo-menu {
    min-height: 84px;
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .site-header .header-logo-menu .head-itm.logo-left {
    width: 100%;
  }

  .site-header .custom-logo-link img {
    flex-basis: 52px;
    height: 52px !important;
    max-height: 52px !important;
    width: 52px !important;
  }

  .site-header .custom-logo-link > div {
    font-size: 18px !important;
  }

  .site-header .header-logo-menu .head-itm.logo-left .site-branding #logo .custom-logo-link {
    justify-content: center;
    min-height: 68px;
    padding: 8px 60px 8px 0;
  }

  .site-header .header-logo-menu .head-itm.right-menu {
    display: none;
  }

  .site-nav-toggle {
    display: flex;
  }

  .site-header .main-navigation {
    border-top: 1px solid var(--eh-surface-container);
    display: none !important;
    float: none;
    height: auto;
    min-height: 0;
    width: 100%;
  }

  .site-header .main-navigation.menu-open {
    display: block !important;
  }

  .site-header .main-navigation .container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .site-header .main-navigation li,
  .site-header .main-navigation ul li {
    display: block;
    float: none;
    width: 100%;
  }

  .site-header .main-navigation ul li a {
    padding: 12px 4px !important;
  }

  .site-header .login-wrap {
    border-top: 1px solid var(--eh-surface-container);
    min-height: 48px;
  }

  .site-header .account-menu {
    width: 100%;
  }

  .site-header .account-menu-trigger {
    justify-content: space-between;
    width: 100%;
  }

  .site-header .account-menu-dropdown {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    min-width: 0;
    padding: 0 0 10px 22px;
    position: static;
    width: 100%;
  }

  .site-header .account-menu-dropdown a {
    color: #ffffff !important;
    padding: 9px 8px !important;
  }

  .site-header .account-menu-dropdown a i,
  .site-header .account-menu-dropdown .account-logout,
  .site-header .account-menu-dropdown .account-logout i {
    color: #ffffff !important;
  }

  .site-header .account-menu-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
  }

  .site-header .account-menu-dropdown .account-logout {
    border-top-color: rgba(255, 255, 255, 0.2);
  }

  .banner-wrap-section .banner-wrap {
    min-height: 0;
  }

  .banner-wrap h3 {
    margin-bottom: 24px;
  }

  .search-tab .nav-tabs > li > a {
    padding: 10px 20px !important;
  }

  .search-tab > .tab-content,
  .search-tab .tab-content {
    padding: 20px 12px 4px !important;
  }

  .banner-wrap-section .search-tab .nav-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
  }

  .banner-wrap-section .search-tab .nav-tabs > li {
    margin: 0 !important;
  }

  .banner-wrap-section .search-tab .nav-tabs > li > a {
    min-width: 82px;
    text-align: center;
  }

  .banner-wrap-section .search-tab .tab-content {
    border-radius: var(--eh-radius-md) !important;
    padding: 16px !important;
  }

  .banner-wrap-section .home-search-primary-field {
    float: none;
    margin-bottom: 12px;
    padding: 0 !important;
    width: 100%;
  }

  .banner-wrap-section .search-tab form p {
    margin-bottom: 0;
  }

  .banner-wrap-section .search-tab form input[type="text"],
  .banner-wrap-section .search-tab form .select2-container {
    width: 100% !important;
  }

  .banner-wrap-section .search-tab form input[type="text"],
  .banner-wrap-section .search-tab form .select2-selection--single {
    border-radius: var(--eh-radius-sm) !important;
    height: 48px !important;
  }

  .banner-wrap-section .search-tab form .select2-selection__rendered {
    line-height: 28px !important;
    padding-right: 38px !important;
  }

  .banner-wrap-section .form-filter {
    border-top: 1px solid var(--eh-surface-container);
    clear: both;
    margin-top: 2px;
    padding-top: 16px;
  }

  .banner-wrap-section .form-filter > [class*="col-"] {
    float: none;
    margin-bottom: 12px;
    padding: 0 !important;
    width: 100%;
  }

  .banner-wrap-section .form-filter .item-sm {
    margin-bottom: 0;
    margin-top: 4px;
  }

  .banner-wrap-section .form-filter .prop-btn {
    border-radius: var(--eh-radius-sm) !important;
    width: 100% !important;
  }

  .section-content,
  .listing-section-wrap,
  .contact-wrapper,
  .news-detail-page .detail-news-wrap {
    padding-bottom: 40px;
    padding-top: 40px;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .listing-section-wrap .primary-wrap {
    margin-bottom: 24px;
  }

  .contact-wrapper .section-content,
  .news-detail-card {
    padding: 24px !important;
  }

  .detail-header .detail-head-wrap .detail-menu ul li a,
  .detail-header.detail-header-fixed .detail-head-wrap .detail-menu ul li a {
    font-size: 12px !important;
    padding: 11px 7px !important;
  }

  .prop-name-price {
    padding: 32px 0 26px !important;
  }

  .prop-name-price > .container {
    display: grid;
    gap: 16px;
  }

  .prop-name-price .name-location-wrap,
  .prop-name-price .price-wrap {
    float: none;
    width: 100%;
  }

  .prop-name-price .name-location-wrap h3 {
    float: none;
    font-size: 22px !important;
    line-height: 30px;
    margin: 0 0 8px;
  }

  .prop-name-price .name-location-wrap .entry-address {
    margin-bottom: 0;
  }

  .prop-name-price .name-location-wrap .entry-address .icon-holder {
    min-width: 20px;
    padding-bottom: 20px;
    width: 20px;
  }

  .prop-name-price .price-wrap span {
    display: inline-block;
    font-size: 20px !important;
    float: none;
    padding: 0;
    text-align: right;
  }

  .prop-name-price .price-wrap {
    border-top: 1px solid var(--eh-outline-variant);
    margin-left: 0;
    padding-top: 14px;
    text-align: right;
  }

  .detail-header,
  .detail-header.detail-header-fixed {
    padding-bottom: 11px;
    padding-top: 11px;
  }
}
