body,
button,
input,
select,
textarea {
  font-size: 13.5px;
  line-height: 1.48;
}

:root {
  --ci4-fixed-header-height: 78px;
}

#wrapper {
  padding-top: var(--ci4-fixed-header-height);
}

#header-main {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  width: 100%;
  background: var(--White);
}

#header-main .header-inner-wrap {
  justify-content: flex-start;
  gap: 32px;
  min-height: var(--ci4-fixed-header-height);
}

#header-main .main-menu {
  margin-left: 0;
  margin-right: 0;
}

#header-main .main-menu .navigation {
  margin-left: 0;
}

#header-main .header-right {
  margin-left: auto;
}

@media (min-width: 1600px) {
  #header-main .main-menu {
    position: absolute;
    top: 50%;
    left: calc(max(20px, calc((100vw - 1320px) / 2 + 20px)) - max(20px, calc((100vw - 1848px) / 2 + 20px)));
    margin: 0;
    transform: translateY(-50%);
  }

  #header-main .main-menu .navigation {
    margin-left: 0 !important;
  }
}

p {
  font-size: 13.5px;
  line-height: 1.55;
}

h1,
.h1 {
  font-size: 58px;
  line-height: 1.12;
}

h2,
.h2 {
  font-size: 34px;
  line-height: 1.22;
}

h3,
.h3 {
  font-size: 26px;
  line-height: 1.3;
}

h4,
.h4 {
  font-size: 21px;
  line-height: 1.32;
}

h5,
.h5 {
  font-size: 18px;
  line-height: 1.34;
}

h6,
.h6 {
  font-size: 16px;
  line-height: 1.38;
}

.text-display {
  font-size: 74px;
  line-height: 1.12;
}

.text-display-2 {
  font-size: 58px;
  line-height: 1.14;
}

.text-display-3 {
  font-size: 72px;
  line-height: 1.08;
}

.text-display-4 {
  font-size: 46px;
  line-height: 1.16;
}

.text-1 {
  font-size: 14px;
  line-height: 1.45;
}

.text-2 {
  font-size: 11.5px;
  line-height: 1.4;
}

.text-3,
.text-4,
.text-9,
.text-12 {
  font-size: 13px;
  line-height: 1.5;
}

.text-5,
.text-6 {
  font-size: 30px;
  line-height: 1.2;
}

.text-7 {
  font-size: 28px;
  line-height: 1.25;
}

.text-8 {
  font-size: 22px;
  line-height: 1.25;
}

.text-10,
.text-14 {
  font-size: 18px;
  line-height: 1.35;
}

.text-11 {
  font-size: 21px;
  line-height: 1.35;
}

.text-13 {
  font-size: 27px;
  line-height: 1.25;
}

.text-15 {
  font-size: 40px;
  line-height: 1.18;
}

.text-16 {
  font-size: 14px;
  line-height: 1.42;
}

.text-17 {
  font-size: 16px;
  line-height: 1.45;
}

.fs-24 {
  font-size: 21px;
}

.navigation li a,
.inner-mobile-nav #menu-mobile-menu li a {
  font-size: 14px;
  line-height: 1.35;
}

.navigation li.has-child > a::after {
  font-size: 12px;
}

.tf-btn {
  font-size: 14px;
  line-height: 1.2;
}

.header-contact-actions {
  gap: 10px;
}

.header-contact-actions .header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 82px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--Primary);
  border-radius: 8px;
  background: var(--White);
  color: var(--Primary);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-contact-actions .header-action-btn i {
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 1;
}

.header-contact-actions .header-action-btn:hover {
  background: var(--Primary);
  color: var(--White);
  transform: translateY(-1px);
}

.header-contact-actions .header-whatsapp-btn {
  min-width: 104px;
  border-color: #25d366;
  background: #25d366;
  color: #fff;
}

.header-contact-actions .header-whatsapp-btn:hover {
  border-color: #1ebe57;
  background: #1ebe57;
  color: #fff;
}

.box-house .box-tag .flat-tag,
.box-house .status .flat-tag {
  font-size: 12px;
  line-height: 1.35;
}

.box-house .content .location,
.box-house .meta-list li {
  font-size: 13px;
  line-height: 1.45;
}

.box-house .price {
  font-size: 17px;
  line-height: 1.35;
}

.listing-price-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.listing-price-note {
  margin-top: 2px;
  color: var(--Text);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
}

.box-house .bot .listing-price-stack {
  margin-right: 12px;
}

.box-house .listing-price-amount {
  margin-bottom: 0;
}

.box-house.listing-card .image-wrap > a::after,
.box-house.listing-card:hover .image-wrap > a::after {
  bottom: 100%;
  background-color: transparent;
  opacity: 0;
  visibility: hidden;
}

.heading-section .title,
.section-contact .box-contact .title,
.section-career .heading-section .title,
.section-benefits .heading-section .title,
.section-CTA .content-inner .content .title {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.18;
}

.career-item .name,
.benefit-item h5,
.contact-info-card h4,
.ci4-property-contact-card .heading-title {
  font-size: 17px;
  line-height: 1.35;
}

.box-contact .list-info li .sub,
.property-detail-row span {
  font-size: 13px;
  line-height: 1.45;
}

.box-contact .list-info li p,
.box-contact .list-info li a,
.box-contact .list-info li .phone,
.property-detail-row strong,
.contact-info-card a {
  font-size: 14px;
  line-height: 1.45;
}

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

  h1,
  .h1 {
    font-size: 38px;
    line-height: 1.16;
  }

  h2,
  .h2 {
    font-size: 28px;
    line-height: 1.22;
  }

  h3,
  .h3 {
    font-size: 23px;
    line-height: 1.28;
  }

  h4,
  .h4 {
    font-size: 19px;
  }

  h5,
  .h5 {
    font-size: 17px;
  }

  h6,
  .h6 {
    font-size: 15px;
  }

  .text-display,
  .text-display-3 {
    font-size: 46px;
  }

  .text-display-2 {
    font-size: 42px;
  }

  .text-display-4,
  .text-15 {
    font-size: 32px;
  }

  .text-5,
  .text-6,
  .text-7,
  .text-13 {
    font-size: 24px;
  }

  .heading-section .title,
  .section-contact .box-contact .title,
  .section-career .heading-section .title,
  .section-benefits .heading-section .title,
  .section-CTA .content-inner .content .title {
    font-size: 25px;
  }
}

.home-hero-ci4 {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: #f6f8fb;
}

.home-hero-ci4 .hero-content h1 {
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: 0;
}

.home-hero-ci4 .hero-content p {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--Text);
  font-size: 17px;
  line-height: 1.55;
}

.home-hero-ci4 .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero-ci4 .hero-image {
  border-radius: 8px;
  overflow: hidden;
}

.home-hero-ci4 .hero-image img,
.single-property-gallery img,
.box-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-hero-ci4 .hero-image img {
  min-height: 420px;
}

.single-property-gallery {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 32px;
  aspect-ratio: 16 / 10;
  background: #f6f8fb;
}

.ci4-property-breadcrumb {
  padding: 28px 0 0;
  background: var(--White);
}

.ci4-property-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--Text);
  font-size: 13px;
  line-height: 1.4;
}

.ci4-property-breadcrumb a {
  color: var(--Primary);
  font-weight: 700;
}

.ci4-property-gallery {
  padding-top: 28px;
}

.ci4-property-gallery .wrap-image {
  align-items: stretch;
  height: clamp(330px, 30vw, 420px);
}

.ci4-property-gallery .image-wrap,
.ci4-property-gallery img {
  width: 100%;
  height: 100%;
  display: block;
}

.ci4-property-gallery img {
  object-fit: cover;
}

.ci4-property-gallery .image-wrap {
  cursor: zoom-in;
}

.ci4-property-gallery .img-1 {
  flex: 1 1 58%;
  min-width: 0;
}

.ci4-property-gallery.is-single-image .wrap-image {
  justify-content: center;
}

.ci4-property-gallery.is-single-image .img-1 {
  flex: 0 1 100%;
}

.ci4-property-gallery.is-logo-fallback .wrap-image {
  align-items: center;
  min-height: 280px;
  border: 1px solid rgba(44, 46, 51, 0.08);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

.ci4-property-gallery.is-logo-fallback .image-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.ci4-property-gallery.is-logo-fallback img {
  width: min(70%, 520px);
  height: auto;
  max-height: 72%;
  object-fit: contain;
}

.ci4-property-gallery .tag-property {
  border: 1px solid rgba(15, 23, 42, 0.55);
  background: rgba(15, 23, 42, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(8px);
}

.ci4-property-gallery .tag-property i,
.ci4-property-gallery .tag-property .text_white {
  color: #fff !important;
}

.ci4-property-gallery .wrap-image-right {
  flex: 1 1 42%;
  min-width: 0;
  height: 100%;
}

.ci4-property-gallery .ci4-property-gallery-contact {
  align-items: center;
  justify-content: center;
  padding: 18px 0 18px 26px;
}

.ci4-property-gallery-contact .ci4-property-contact-card {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
}

.ci4-property-mobile-thumbs {
  display: none;
}

.ci4-property-mobile-thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 66px;
  overflow: hidden;
  border: 1px solid rgba(44, 46, 51, 0.12);
  border-radius: 8px;
  background: #f6f8fb;
}

.ci4-property-mobile-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ci4-property-gallery .wrap-image-right .img-2,
.ci4-property-gallery .wrap-image-right .bot {
  flex: 1 1 0;
  min-height: 0;
}

.ci4-property-gallery .wrap-image-right .bot .image {
  flex: 1 1 0;
  min-width: 0;
}

.ci4-photo-tag-icon {
  display: inline-flex;
  color: #fff;
}

.ci4-property-detail-v1 .wg-property {
  border: 1px solid rgba(44, 46, 51, 0.06);
}

.ci4-property-detail-v1 .row {
  row-gap: 28px;
}

.ci4-property-overview .heading .title,
.ci4-property-overview .heading .price {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
}

.ci4-property-overview .heading {
  flex-wrap: nowrap;
}

.ci4-property-overview .heading .title {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 220px);
  overflow-wrap: anywhere;
}

.ci4-property-overview .heading .price {
  flex: 0 0 auto;
  align-items: flex-end;
  text-align: right;
}

.ci4-property-overview .heading .price .listing-price-amount {
  display: block;
}

.ci4-property-overview .heading .price .listing-price-note {
  font-size: 12px;
  line-height: 1.25;
}

.ci4-property-overview .list-action i {
  color: var(--Text);
  font-size: 17px;
}

.ci4-property-overview .list-action a:hover i {
  color: var(--White);
}

.ci4-property-overview .box-icon {
  min-width: 0;
}

.ci4-property-overview .box-icon .content {
  min-width: 0;
}

.ci4-property-overview .box-icon .content div:last-child {
  overflow-wrap: anywhere;
}

.ci4-property-overview .info-detail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
  justify-content: stretch;
  margin-bottom: 0;
}

.ci4-property-overview .info-detail .wrap-box {
  gap: 22px;
  min-width: 0;
}

.ci4-property-description > p {
  margin-bottom: 24px;
  line-height: 1.75;
}

.ci4-property-section h4 {
  margin-bottom: 18px;
}

.ci4-property-highlight-list,
.ci4-nearby-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ci4-property-highlight-list {
  display: grid;
  gap: 10px;
}

.ci4-property-highlight-list li {
  position: relative;
  padding-left: 18px;
  color: var(--Text);
  font-size: 15px;
  line-height: 1.65;
}

.ci4-property-highlight-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--Primary);
}

.ci4-property-highlight-list li.is-heading {
  padding-left: 0;
  color: var(--Heading);
  font-weight: 700;
}

.ci4-property-highlight-list li.is-heading::before {
  display: none;
}

.ci4-nearby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ci4-nearby-group {
  min-width: 0;
}

.ci4-nearby-group h5 {
  margin-bottom: 12px;
  color: var(--Heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.ci4-nearby-list {
  display: grid;
  gap: 0;
}

.ci4-nearby-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(44, 46, 51, 0.1);
}

.ci4-nearby-list span {
  min-width: 0;
  color: var(--Text);
  line-height: 1.45;
}

.ci4-nearby-list strong {
  flex: 0 0 auto;
  color: var(--Heading);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.ci4-property-media-list {
  display: grid;
  gap: 18px;
}

.ci4-property-video-list + .ci4-property-media-list {
  margin-top: 18px;
}

.ci4-property-media-item {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(44, 46, 51, 0.1);
  border-radius: 8px;
  background: #fff;
}

.ci4-property-media-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--Heading);
  font-weight: 700;
  line-height: 1.35;
}

.ci4-property-media-title i {
  flex: 0 0 auto;
  color: var(--Primary);
}

.ci4-property-media-title span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ci4-map-viewer {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 21 / 8;
  min-height: 260px;
  border: 1px solid rgba(44, 46, 51, 0.08);
  border-radius: 8px;
  background: #f6f8fb;
}

.ci4-map-viewer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ci4-cadastral-viewer {
  position: relative;
  min-height: 300px;
  background: #f8f7f4;
}

.ci4-cadastral-viewer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--ci4-cadastral-watermark);
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(56%, 520px) auto;
  opacity: 0.075;
  pointer-events: none;
}

.ci4-cadastral-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.ci4-cadastral-parcel {
  fill: #93c5fd;
  fill-opacity: 0.22;
  stroke: #1d4ed8;
  stroke-width: 2.6;
  vector-effect: non-scaling-stroke;
}

.ci4-cadastral-leader {
  fill: none;
  stroke: #dc2626;
  stroke-width: 1.5;
  stroke-opacity: 0.65;
  vector-effect: non-scaling-stroke;
}

.ci4-cadastral-label rect {
  fill: #102a83;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.22));
}

.ci4-cadastral-label text {
  fill: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  dominant-baseline: middle;
  text-anchor: middle;
}

.ci4-cadastral-loading,
.ci4-cadastral-status {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--Text);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  background: rgba(248, 247, 244, 0.86);
}

.ci4-cadastral-viewer.has-parcel .ci4-cadastral-loading {
  display: none;
}

.ci4-video-viewer,
.ci4-document-preview {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(44, 46, 51, 0.08);
  border-radius: 8px;
  background: #f6f8fb;
}

.ci4-video-viewer {
  aspect-ratio: 16 / 9;
}

.ci4-document-preview {
  aspect-ratio: 4 / 3;
}

.ci4-video-viewer iframe,
.ci4-video-viewer video,
.ci4-document-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ci4-document-image-preview {
  overflow: hidden;
  border: 1px solid rgba(44, 46, 51, 0.08);
  border-radius: 8px;
  background: #f6f8fb;
}

.ci4-document-image-preview img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.ci4-document-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--Primary);
  border-radius: 8px;
  color: var(--Primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.ci4-document-link:hover,
.ci4-document-link:focus {
  background: var(--Primary);
  color: var(--White);
}

.ci4-detail-sidebar {
  top: 112px;
}

.ci4-contact-seller {
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(24, 28, 34, 0.06);
}

.ci4-contact-seller-card {
  display: grid;
  gap: 24px;
}

.ci4-contact-seller-card .heading-title,
.ci4-contact-seller-card .seller-info {
  margin-bottom: 0;
}

.ci4-contact-seller .seller-info .ci4-contact-logo-avatar {
  width: 104px;
  height: 78px;
  padding: 10px 12px;
  border: 1px solid rgba(113, 136, 249, 0.18);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(24, 28, 34, 0.06);
}

.ci4-contact-seller .seller-info .avartar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ci4-contact-seller .seller-info .ci4-contact-logo-avatar img {
  object-fit: contain;
}

.ci4-contact-seller .seller-info .content {
  min-width: 0;
}

.ci4-contact-seller .seller-info .name {
  overflow-wrap: anywhere;
}

.ci4-contact-seller .seller-info .contact li {
  min-width: 0;
}

.ci4-contact-seller .seller-info .contact li a {
  min-width: 0;
  overflow: hidden;
  color: var(--Text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ci4-contact-seller .seller-info .contact li:first-child a {
  color: var(--Primary);
}

.ci4-contact-seller .seller-info .ci4-seller-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}

.ci4-contact-seller .seller-info .ci4-seller-social-links li {
  min-width: 0;
  line-height: 1;
}

.ci4-contact-seller .seller-info .ci4-seller-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(112, 137, 253, 0.34);
  border-radius: 50%;
  background: var(--White);
  color: var(--Primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ci4-contact-seller .seller-info .ci4-seller-social-link:hover,
.ci4-contact-seller .seller-info .ci4-seller-social-link:focus {
  border-color: var(--Primary);
  background: var(--Primary);
  color: var(--White);
  transform: translateY(-1px);
}

.ci4-contact-seller .seller-info .ci4-seller-social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.ci4-contact-seller .seller-info .ci4-seller-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ci4-contact-seller .seller-info .ci4-seller-social-link span {
  font-size: 11px;
  letter-spacing: 0;
}

.ci4-contact-seller fieldset input,
.ci4-contact-seller fieldset textarea {
  width: 100%;
  border: 1px solid rgba(44, 46, 51, 0.12);
  border-radius: 8px;
  background: var(--White);
  color: var(--Heading);
  box-shadow: none;
}

.ci4-contact-seller fieldset input {
  min-height: 48px;
  padding: 0 16px;
}

.ci4-contact-seller fieldset textarea {
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;
}

.ci4-contact-seller .tf-btn {
  width: 100%;
  border: 0;
}

.ci4-property-contact-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--Line);
  border-radius: 8px;
  background: var(--White);
}

.ci4-property-contact-card .heading-title {
  margin-bottom: 0;
}

.ci4-property-contact-copy {
  margin: -6px 0 2px;
  color: var(--Text);
  font-size: 15px;
  line-height: 1.45;
}

.ci4-property-contact-actions {
  display: grid;
  gap: 12px;
}

.ci4-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--Primary);
  border-radius: 8px;
  background: var(--White);
  color: var(--Primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.ci4-contact-action:hover,
.ci4-contact-action:focus {
  background: rgba(112, 137, 253, 0.08);
  color: var(--Primary);
}

.ci4-contact-action-primary,
.ci4-contact-action-primary:hover,
.ci4-contact-action-primary:focus {
  background: var(--Primary);
  color: var(--White);
}

.ci4-contact-action span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ci4-contact-action i {
  flex: 0 0 auto;
  font-size: 17px;
}

.ci4-property-mobile-contact {
  display: none;
  box-sizing: border-box;
}

.ci4-property-mobile-contact *,
.ci4-property-mobile-contact *::before,
.ci4-property-mobile-contact *::after {
  box-sizing: border-box;
}

.ci4-property-email-modal .modal-dialog {
  width: min(520px, calc(100vw - 24px));
  max-width: 520px;
}

.ci4-property-email-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.ci4-property-email-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border: 0;
  background: #1f2328;
}

.ci4-property-email-modal .modal-header h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.ci4-property-email-modal .modal-header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.ci4-property-email-modal .modal-body {
  display: grid;
  gap: 9px;
  padding: 20px 22px 12px;
}

.ci4-property-email-modal label {
  margin: 4px 0 0;
  color: var(--Heading);
  font-size: 13px;
  font-weight: 600;
}

.ci4-property-email-modal input.form-control,
.ci4-property-email-modal textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(44, 46, 51, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--Heading);
  font-size: 14px;
  box-shadow: none;
}

.ci4-property-email-modal textarea {
  min-height: 126px;
  padding-top: 13px;
  resize: vertical;
}

.ci4-property-email-modal .form-feedback {
  margin: 4px 0 0;
}

.ci4-recaptcha-wrap {
  display: flex;
  max-width: 100%;
  margin: 4px 0 2px;
  overflow-x: auto;
}

.ci4-recaptcha-wrap .g-recaptcha {
  flex: 0 0 auto;
}

.ci4-property-email-modal .modal-footer {
  display: block;
  padding: 10px 22px 22px;
  border: 0;
}

.ci4-property-email-modal .modal-footer .tf-btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
}

.ci4-lightbox-open {
  overflow: hidden;
}

.ci4-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(9, 12, 18, 0.92);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.ci4-lightbox[hidden] {
  display: none;
}

.ci4-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.ci4-lightbox-topbar,
.ci4-lightbox-toolbar {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ci4-lightbox-topbar {
  top: 22px;
  right: 24px;
  left: 24px;
  justify-content: space-between;
}

.ci4-lightbox-toolbar {
  right: 24px;
  bottom: 24px;
}

.ci4-lightbox-counter {
  min-height: 42px;
  padding: 11px 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  backdrop-filter: blur(12px);
}

.ci4-lightbox-button,
.ci4-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(12px);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.ci4-lightbox-button {
  min-width: 46px;
  min-height: 42px;
  padding: 0 14px;
}

.ci4-lightbox-scale {
  min-width: 70px;
}

.ci4-lightbox-button:hover,
.ci4-lightbox-button:focus,
.ci4-lightbox-nav:hover,
.ci4-lightbox-nav:focus {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.ci4-lightbox-button:active,
.ci4-lightbox-nav:active {
  transform: translateY(1px);
}

.ci4-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  font-size: 23px;
  transform: translateY(-50%);
}

.ci4-lightbox-nav:active {
  transform: translateY(calc(-50% + 1px));
}

.ci4-lightbox-nav:disabled {
  opacity: 0.38;
  pointer-events: none;
}

.ci4-lightbox-prev {
  left: 24px;
}

.ci4-lightbox-next {
  right: 24px;
}

.ci4-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 82px 96px 92px;
  overflow: hidden;
}

.ci4-lightbox-stage.is-zoomed {
  align-items: flex-start;
  justify-content: flex-start;
  overflow: auto;
}

.ci4-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.38);
  transform-origin: top left;
  transition: transform 0.16s ease;
  user-select: none;
}

.ci4-home-banner {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 320px 0 258px !important;
  overflow: visible;
}

.ci4-home-banner.has-api-banner {
  background-image: var(--ci4-home-banner-image) !important;
  background-position: center;
  background-size: cover;
}

.ci4-home-banner.has-api-banner-slider {
  background-image: var(--ci4-home-banner-image) !important;
}

.ci4-home-banner-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ci4-home-banner-slide {
  position: absolute;
  inset: 0;
  display: block;
  background-image: var(--ci4-home-banner-slide-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 6.8s ease;
}

.ci4-home-banner-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.ci4-home-banner-dots {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(28px, 5vw, 78px);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.ci4-home-banner-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.ci4-home-banner-dots button.is-active {
  width: 26px;
  background: #ffffff;
}

.ci4-home-banner-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ci4-home-banner .content-inner {
  position: relative;
  z-index: 2;
}

.ci4-home-filter-wrap {
  position: relative;
  z-index: 3;
}

.ci4-home-filter.form-title {
  width: min(840px, 100%);
  margin: 0 auto;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.ci4-home-filter .ci4-home-status {
  flex: 0 0 auto;
}

.ci4-home-filter .ci4-home-keyword {
  min-width: 0;
  margin: 0;
  flex: 1 1 auto;
}

.ci4-home-filter .ci4-home-keyword input {
  width: 100%;
  min-width: 0;
  color: var(--Heading);
}

.ci4-home-filter .wrap-btn button {
  border: 0;
}

.ci4-home-filter .btn-filter i {
  color: var(--Primary);
  font-size: 20px;
}

.ci4-home-filter .tf-btn {
  white-space: nowrap;
}

.ci4-home-filter--pills {
  flex-wrap: wrap;
}

.ci4-home-filter--pills .ci4-home-pill-row {
  flex: 1 0 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 8px 4px;
  border-top: 1px solid rgba(44, 46, 51, 0.08);
}

.ci4-home-advanced {
  text-align: left;
}

.ci4-home-filter .wd-search-form.ci4-home-advanced {
  width: min(1280px, calc(100vw - 48px));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.ci4-home-advanced .ci4-home-ranges {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ci4-home-range-card {
  min-width: 0;
}

.ci4-home-range-card .box-title-price {
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ci4-home-range-card .title-price {
  color: var(--Heading);
  font-weight: 400;
}

.ci4-home-range-card .caption-price {
  color: var(--Text);
  font-size: 13px;
}

.ci4-home-range-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ci4-home-range-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--Text);
  font-size: 13px;
  font-weight: 400;
}

.ci4-home-range-grid input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--Line);
  border-radius: 8px;
  color: var(--Heading);
}

.ci4-home-filter-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.ci4-home-filter-group {
  min-width: 0;
}

.ci4-home-filter-group .title {
  margin-bottom: 14px;
  color: var(--Heading);
}

.ci4-home-check-list {
  display: grid;
  gap: 12px;
  max-height: 175px;
  overflow-y: auto;
  padding-right: 6px;
}

.ci4-home-check-list .checkbox-item label {
  display: block;
  min-width: 0;
}

.ci4-home-check-list .checkbox-item .text-4 {
  display: block;
  overflow: hidden;
  color: var(--Text);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ci4-home-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.ci4-home-filter-actions button {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
}

.ci4-home-filter-actions button:first-child {
  border: 1px solid rgba(44, 46, 51, 0.24);
  background: #fff;
  color: var(--Heading);
}

.ci4-home-filter-actions button:last-child {
  border: 1px solid var(--Primary);
  background: var(--Primary);
  color: var(--White);
}

.ci4-home-listings {
  padding: 72px 0 88px;
  background: #fff;
}

.ci4-home-listing-section + .ci4-home-listing-section {
  margin-top: 64px;
}

.ci4-home-listing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.ci4-home-listing-head h2 {
  margin: 0;
  color: var(--Heading);
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

.ci4-home-listing-head a {
  flex: 0 0 auto;
  color: var(--Primary);
  font-size: 14px;
  font-weight: 600;
}

.ci4-home-listing-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ci4-home-listing-card {
  min-width: 0;
}

.ci4-home-listing-card .box-house {
  height: 100%;
}

.ci4-home-listing-empty {
  padding: 28px;
  text-align: left;
}

.ci4-tag-exclusive {
  background: #1f2937;
}

.ci4-tag-brand-new {
  background: #16a34a;
}

.header .header-logo {
  padding: 7px 0;
}

.header .site-logo {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent !important;
  box-shadow: none;
}

.header .header-logo img.logo_header {
  width: 100px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  background: transparent !important;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent !important;
  box-shadow: none;
}

.offcanvas-title img,
#footer .footer-logo img {
  width: 112px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  background: transparent !important;
}

.wg-property .heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.wg-property .heading .price {
  white-space: nowrap;
}

.property-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.property-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(44, 46, 51, 0.1);
}

.property-detail-row span {
  color: var(--Text);
}

.property-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card,
.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(44, 46, 51, 0.1);
  border-radius: 8px;
  background: var(--White);
}

.contact-info-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--Heading);
}

.ci4-contact-section {
  padding: 96px 0 84px;
  background: #f6f8fb;
}

.ci4-contact-section .box {
  margin-top: 0;
}

.ci4-contact-section .form-contact {
  padding: 40px;
  border-radius: 8px;
}

.ci4-contact-section .form-contact .heading-section {
  margin-bottom: 36px;
}

.ci4-contact-section .form-contact .heading-section .title {
  max-width: 660px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.ci4-contact-section .form-contact .cols {
  align-items: flex-start;
  gap: 24px 32px;
  margin-bottom: 28px;
}

.ci4-contact-section .form-contact .cols > fieldset {
  flex: 1 1 0;
  width: auto;
}

.ci4-contact-section .form-contact .phone {
  width: auto;
}

.ci4-contact-section .form-contact input.form-control,
.ci4-contact-section .form-contact select.form-control {
  min-height: 54px;
  padding: 0 16px;
  border-color: rgba(44, 46, 51, 0.12);
  border-radius: 8px;
  background-color: #fff;
  color: var(--Heading);
  font-size: 14px;
  box-shadow: none;
}

.ci4-contact-section .form-contact select.form-control {
  appearance: auto;
  -moz-appearance: auto;
  -webkit-appearance: auto;
}

.ci4-contact-section .form-contact textarea {
  width: 100%;
  min-height: 148px;
  padding: 16px;
  border-color: rgba(44, 46, 51, 0.12);
  border-radius: 8px;
  box-shadow: none;
}

.ci4-contact-section .contact-info-card {
  position: sticky;
  top: 104px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.06);
}

.ci4-contact-map-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - var(--ci4-fixed-header-height));
  background: #dfe7ee;
}

.ci4-contact-map-section .box,
.ci4-contact-map-section .tf-container {
  position: relative;
  z-index: 2;
}

.ci4-contact-map-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #dfe7ee;
}

.ci4-contact-map-canvas {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.ci4-contact-map-canvas.leaflet-container {
  background: #e5edf2;
  font-family: inherit;
}

.ci4-contact-map-canvas .leaflet-control-container {
  font-family: inherit;
}

.ci4-contact-map-canvas .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgba(21, 66, 99, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 30, 45, 0.14);
}

.ci4-contact-map-canvas .leaflet-control-zoom a {
  color: #154263;
  border-color: rgba(21, 66, 99, 0.12);
}

.ci4-contact-map-canvas .leaflet-control-attribution {
  color: #44515c;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 6px 0 0 0;
  font-size: 10px;
}

.ci4-contact-map-canvas .leaflet-control-attribution a {
  color: #154263;
  font-weight: 700;
}

.ci4-onemap-brand {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: #154263;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 66, 99, 0.16);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 30, 45, 0.14);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.ci4-onemap-brand:hover {
  color: var(--Primary);
}

.ci4-contact-map-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(246, 248, 251, 0.94) 0%, rgba(246, 248, 251, 0.78) 43%, rgba(246, 248, 251, 0.38) 100%),
    linear-gradient(180deg, rgba(246, 248, 251, 0.82) 0%, rgba(246, 248, 251, 0.18) 52%, rgba(246, 248, 251, 0.72) 100%);
}

.ci4-contact-map-fallback {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  display: flex;
  justify-content: center;
  pointer-events: none;
  color: var(--Heading);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.ci4-contact-map-fallback[hidden] {
  display: none;
}

.ci4-contact-map-section .form-contact,
.ci4-contact-map-section .contact-info-card {
  border-color: rgba(44, 46, 51, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 70px rgba(15, 30, 45, 0.16);
  backdrop-filter: blur(10px) saturate(112%);
  -webkit-backdrop-filter: blur(10px) saturate(112%);
}

.ci4-contact-map-section .contact-info-card {
  box-shadow: 0 26px 64px rgba(15, 30, 45, 0.14);
}

.ci4-contact-map-popup {
  display: grid;
  gap: 6px;
  min-width: 190px;
  max-width: 240px;
  color: #2c2e33;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
}

.ci4-contact-map-canvas .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 30, 45, 0.2);
}

.ci4-contact-map-canvas .leaflet-popup-content {
  margin: 12px 14px;
}

.ci4-contact-map-popup strong {
  color: #154263;
  font-size: 14px;
  line-height: 1.25;
}

.ci4-contact-map-popup span {
  color: #5c636d;
}

.ci4-contact-map-popup a {
  width: fit-content;
  color: var(--Primary);
  font-weight: 700;
}

.empty-listing-state {
  padding: 48px;
  border: 1px solid rgba(44, 46, 51, 0.1);
  border-radius: 8px;
  background: var(--White);
  text-align: center;
}

.ci4-property-filter {
  display: block;
  margin: 0 0 32px;
  padding: 14px 16px;
  border: 1px solid rgba(44, 46, 51, 0.1);
  border-radius: 8px;
  background: var(--White);
}

.ci4-property-search-panel {
  display: grid;
  gap: 13px;
}

.ci4-property-search-main {
  display: grid;
  grid-template-columns: 150px minmax(220px, 1fr) 56px minmax(150px, 190px) 168px;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(44, 46, 51, 0.1);
  border-radius: 8px;
  background: #fff;
}

.ci4-filter-status-pill,
.ci4-filter-icon-button,
.ci4-property-search-submit,
.ci4-filter-pill {
  min-width: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.ci4-filter-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 0 15px;
  color: var(--Heading);
}

.ci4-filter-status-pill i {
  color: var(--Text);
  font-size: 14px;
}

.ci4-property-search-input {
  position: relative;
  min-width: 0;
}

.ci4-property-lookup {
  position: relative;
}

.ci4-property-search-input input {
  width: 100%;
  height: 48px;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  border-left: 1px solid rgba(44, 46, 51, 0.1);
  background: transparent;
  color: var(--Heading);
  font-size: 14px;
  font-weight: 400;
}

.ci4-property-lookup-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: min(440px, 62vh);
  padding: 8px;
  overflow-y: auto;
  border: 1px solid rgba(44, 46, 51, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.ci4-property-lookup-group {
  padding: 10px 10px 6px;
  color: var(--Text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.ci4-property-lookup-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--Heading);
  text-align: left;
}

.ci4-property-lookup-option span {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ci4-property-lookup-option small {
  color: var(--Text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.ci4-property-lookup-option.is-active,
.ci4-property-lookup-option:hover {
  background: rgba(21, 66, 99, 0.08);
  color: var(--Primary);
}

.ci4-filter-icon-button,
.ci4-property-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
}

.ci4-filter-icon-button {
  position: relative;
  width: 50px;
  background: #e7eff7;
  color: var(--Primary);
}

.ci4-filter-icon-button i {
  font-size: 18px;
}

.ci4-property-search-submit {
  gap: 9px;
  padding: 0 22px;
  background: var(--Primary);
  color: var(--White);
}

.ci4-property-search-submit i {
  font-size: 20px;
}

.ci4-filter-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.ci4-filter-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: 100%;
  padding: 0 15px;
  border: 1px solid rgba(44, 46, 51, 0.14);
  background: #fff;
  color: var(--Heading);
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.ci4-filter-pill span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ci4-filter-pill.is-active {
  border-color: rgba(21, 66, 99, 0.42);
  background: rgba(21, 66, 99, 0.08);
  color: var(--Primary);
}

.ci4-flag-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ci4-flag-pill:focus-within,
.ci4-filter-pill:focus-visible,
.ci4-filter-icon-button:focus-visible,
.ci4-property-search-submit:focus-visible {
  outline: 2px solid rgba(21, 66, 99, 0.28);
  outline-offset: 2px;
}

.ci4-property-filter-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.ci4-active-filter-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(21, 66, 99, 0.08);
  color: var(--Primary);
  font-size: 12px;
  font-weight: 700;
}

.ci4-filter-toolbar {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) minmax(0, 0.9fr) 190px;
  gap: 14px;
  align-items: center;
}

.ci4-filter-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(44, 46, 51, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--Heading);
  font-size: 14px;
  font-weight: 400;
}

.ci4-filter-open i {
  color: var(--Primary);
  font-size: 18px;
}

.ci4-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--Primary);
  color: var(--White);
  font-size: 12px;
  font-weight: 400;
}

.ci4-filter-icon-button .ci4-filter-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  font-size: 11px;
}

.ci4-active-filter-summary {
  min-width: 0;
  overflow: hidden;
  color: var(--Text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ci4-filter-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.ci4-filter-search label {
  margin: 0;
  color: var(--Text);
  font-size: 13px;
  font-weight: 400;
}

.ci4-filter-search input {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid rgba(44, 46, 51, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--Heading);
  font-size: 14px;
  font-weight: 400;
}

.ci4-sort-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  min-width: 0;
}

.ci4-property-search-main .ci4-sort-control {
  height: 48px;
}

.ci4-sort-control label {
  margin: 0;
  color: var(--Text);
  font-size: 13px;
  font-weight: 400;
}

.ci4-sort-control select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(44, 46, 51, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--Heading);
  font-size: 14px;
  font-weight: 400;
}

.ci4-property-search-main .ci4-sort-control select {
  height: 48px;
  min-width: 0;
}

.ci4-filter-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.ci4-filter-field label {
  color: var(--Heading);
  font-size: 13px;
  font-weight: 400;
}

.ci4-filter-field input,
.ci4-filter-field select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(44, 46, 51, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--Heading);
  font-size: 14px;
  font-weight: 400;
}

.ci4-filter-modal .modal-dialog {
  width: min(560px, calc(100vw - 28px));
  max-width: 560px;
}

.ci4-filter-modal {
  z-index: 1090;
}

.ci4-filter-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.ci4-filter-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border: 0;
  background: #1f2328;
}

.ci4-filter-modal .modal-header h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
}

.ci4-filter-modal .modal-header button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.ci4-filter-modal .modal-body {
  padding: 18px 22px 22px;
}

.ci4-filter-tabs {
  gap: 18px;
  border: 0;
  margin-bottom: 22px;
}

.ci4-filter-tabs .nav-link {
  padding: 0 0 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #7a838f;
  font-size: 14px;
  font-weight: 400;
}

.ci4-filter-tabs .nav-link.active {
  border-bottom-color: var(--Primary);
  color: var(--Heading);
  background: transparent;
}

.ci4-filter-tab-content {
  min-height: 310px;
  max-height: min(52vh, 430px);
  overflow-y: auto;
  padding-right: 4px;
}

.ci4-modal-check-grid,
.ci4-modal-check-list {
  display: grid;
  gap: 10px 18px;
}

.ci4-modal-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ci4-modal-check-list {
  grid-template-columns: 1fr;
}

.ci4-modal-check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  color: var(--Heading);
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.ci4-modal-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--Primary);
}

.ci4-modal-check span {
  overflow-wrap: anywhere;
}

.ci4-modal-check small {
  color: var(--Text);
  font-size: 12px;
  font-weight: 400;
}

.ci4-modal-check.is-checked span {
  color: var(--Primary);
}

.ci4-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ci4-range-stack {
  display: grid;
  gap: 18px;
}

.ci4-range-block {
  display: grid;
  gap: 10px;
}

.ci4-range-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 2px;
  color: var(--Heading);
  font-size: 14px;
  font-weight: 400;
}

.ci4-range-heading small {
  color: var(--Text);
  font-size: 12px;
  font-weight: 400;
}

.ci4-empty-filter-note {
  margin: 0;
  color: var(--Text);
  font-size: 14px;
}

.ci4-filter-modal .modal-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 22px 20px;
  border: 0;
}

.ci4-filter-clear,
.ci4-filter-apply {
  min-height: 46px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
}

.ci4-filter-clear {
  border: 1px solid rgba(44, 46, 51, 0.24);
  background: #fff;
  color: var(--Heading);
}

.ci4-filter-apply {
  border: 1px solid var(--Primary);
  background: var(--Primary);
  color: var(--White);
}

.button-go {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  z-index: 200;
  background: var(--Primary);
  color: var(--White);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.button-go.show {
  opacity: 1;
  visibility: visible;
}

#footer .footer-col-block .title {
  color: var(--Text-white);
}

#footer .footer-col-block p,
#footer .footer-menu-list li a,
#footer .footer-bottom p {
  color: var(--Note);
}

#footer .footer-menu-list li:not(:last-child) {
  margin-bottom: 15px;
}

#footer .footer-menu-list li a {
  position: relative;
}

#footer .footer-menu-list li a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  background-color: var(--Primary);
  transition: width 0.3s ease;
}

#footer .footer-menu-list li:hover a,
#footer .footer-menu-list li a:focus {
  color: var(--Primary);
}

#footer .footer-menu-list li:hover a::before,
#footer .footer-menu-list li a:focus::before {
  width: 100%;
}

#footer .tf-social.style-1 li a {
  border-color: rgba(255, 255, 255, 0.65) !important;
  color: var(--Text-white) !important;
}

#footer .tf-social.style-1 li a img,
.mobile-nav-wrap .tf-social li a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

#footer .tf-social.style-1 li a svg,
.mobile-nav-wrap .tf-social li a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

#footer .tf-social.style-1 li a .ci4-social-icon-fallback,
.mobile-nav-wrap .tf-social li a .ci4-social-icon-fallback {
  align-items: center;
  justify-content: center;
}

#footer .tf-social.style-1 li a .ci4-social-icon-fallback:not([hidden]),
.mobile-nav-wrap .tf-social li a .ci4-social-icon-fallback:not([hidden]) {
  display: inline-flex;
}

#footer .tf-social.style-1 li a span,
.mobile-nav-wrap .tf-social li a span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

@media (max-width: 991px) {
  .home-hero-ci4 {
    min-height: auto;
    padding-top: 90px;
  }

  .home-hero-ci4 .hero-image {
    margin-top: 36px;
  }

  .wg-property .heading,
  .property-detail-row {
    display: block;
  }

  .property-detail-grid {
    grid-template-columns: 1fr;
  }

  .ci4-filter-toolbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ci4-property-search-main {
    grid-template-columns: 140px minmax(0, 1fr) 56px minmax(150px, 180px);
  }

  .ci4-property-search-submit {
    grid-column: 1 / -1;
  }

  .ci4-property-filter-meta {
    grid-template-columns: 1fr;
  }

  .ci4-filter-search {
    grid-column: 1 / -1;
    width: min(420px, 100%);
  }

  .ci4-home-banner {
    min-height: auto;
    padding: 220px 0 258px !important;
  }

  .ci4-home-advanced .ci4-home-ranges,
  .ci4-home-filter-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ci4-home-listing-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ci4-property-gallery .wrap-image {
    height: clamp(320px, 42vw, 440px);
  }

  .section-property-image.ci4-property-gallery .wrap-image .ci4-property-gallery-contact {
    display: none;
  }

  .ci4-property-overview .info-detail {
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ci4-property-overview .heading {
    flex-wrap: wrap;
  }

  .ci4-property-overview .heading .title {
    max-width: 100%;
  }

  .ci4-property-overview .heading .price {
    margin-top: 8px;
    text-align: left;
  }

  .ci4-detail-sidebar {
    display: none;
  }

  .ci4-nearby-grid {
    grid-template-columns: 1fr;
  }

  .ci4-map-viewer {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }

  .ci4-property-mobile-contact {
    position: fixed;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 50%;
    width: min(calc(100vw - 24px), 640px);
    max-width: min(calc(100vw - 24px), 640px);
    transform: translateX(-50%);
    z-index: 1020;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 9px;
    border: 1px solid rgba(44, 46, 51, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
  }

  .ci4-property-mobile-contact a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 48px;
    border: 1px solid rgba(112, 137, 253, 0.38);
    border-radius: 8px;
    background: var(--White);
    color: var(--Heading);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
  }

  .ci4-property-mobile-contact a:first-child {
    border-color: var(--Primary);
    background: var(--Primary);
    color: var(--White);
  }

  .ci4-property-mobile-contact span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ci4-property-mobile-contact i {
    font-size: 18px;
  }

  body:has(.ci4-property-mobile-contact) #footer {
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  body:has(.ci4-property-mobile-contact) .button-go {
    bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .ci4-contact-section {
    padding: 72px 0 56px;
  }

  .ci4-contact-map-section {
    min-height: auto;
  }

  .ci4-contact-map-scrim {
    background: rgba(246, 248, 251, 0.82);
  }

  .ci4-contact-section .contact-info-card {
    position: static;
  }
}

@media (max-width: 767px) {
  .ci4-property-gallery {
    padding-top: 18px;
    margin-bottom: 22px;
  }

  .ci4-property-gallery .wrap-image {
    display: block;
    height: auto;
  }

  .ci4-property-gallery .img-1 {
    aspect-ratio: 16 / 10;
  }

  .ci4-property-gallery .wrap-image-right {
    display: none;
  }

  .ci4-detail-sidebar {
    display: none;
  }

  .ci4-property-mobile-contact {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 1020;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 9px;
    border: 1px solid rgba(44, 46, 51, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
  }

  .ci4-property-mobile-contact a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 48px;
    border-radius: 8px;
    color: var(--Heading);
    font-size: 12px;
    font-weight: 600;
  }

  .ci4-property-mobile-contact a:first-child {
    background: var(--Primary);
    color: var(--White);
  }

  .ci4-property-mobile-contact i {
    font-size: 18px;
  }

  .ci4-lightbox-topbar {
    top: 12px;
    right: 12px;
    left: 12px;
  }

  .ci4-lightbox-stage {
    padding: 70px 14px 90px;
  }

  .ci4-lightbox-image {
    max-height: calc(100vh - 170px);
  }

  .ci4-lightbox-prev {
    left: 12px;
  }

  .ci4-lightbox-next {
    right: 12px;
  }

  .ci4-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .ci4-lightbox-toolbar {
    right: 12px;
    bottom: 14px;
    left: 12px;
    justify-content: center;
  }

  .ci4-lightbox-button {
    min-width: 42px;
    min-height: 40px;
    padding: 0 12px;
  }
}

@media (max-width: 575px) {
  .header-contact-actions {
    display: none;
  }

  .home-hero-ci4 .hero-content h1 {
    font-size: 34px;
  }

  .home-hero-ci4 .hero-actions .tf-btn {
    width: 100%;
  }

  .sidebar-card,
  .contact-info-card,
  .empty-listing-state {
    padding: 22px;
  }

  .ci4-contact-section .tf-container {
    width: 100%;
    max-width: 100%;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .ci4-contact-section .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .ci4-contact-section .row > * {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .ci4-contact-section .form-contact {
    width: min(calc(100vw - 32px), 358px);
    max-width: min(calc(100vw - 32px), 358px);
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
    padding: 24px;
  }

  .ci4-contact-map-section .contact-info-card {
    width: min(calc(100vw - 32px), 358px);
    max-width: min(calc(100vw - 32px), 358px);
  }

  .ci4-contact-map-scrim {
    background: rgba(246, 248, 251, 0.9);
  }

  .ci4-contact-section .form-contact .heading-section {
    overflow: visible;
  }

  .ci4-contact-section .form-contact .heading-section .title {
    width: min(calc(100vw - 80px), 310px);
    max-width: 100%;
    font-size: 25px;
    line-height: 1.15;
  }

  .ci4-contact-section .form-contact .heading-section p {
    width: min(calc(100vw - 80px), 310px);
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .ci4-contact-section .form-contact input.form-control,
  .ci4-contact-section .form-contact select.form-control,
  .ci4-contact-section .form-contact textarea {
    width: min(calc(100vw - 80px), 310px);
    max-width: 100%;
  }

  .ci4-contact-section .form-contact .cols {
    display: block;
    margin-bottom: 0;
  }

  .ci4-contact-section .form-contact .cols > fieldset {
    margin-bottom: 22px;
  }

  .ci4-property-filter {
    padding: 14px;
  }

  .ci4-property-search-main {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .ci4-filter-status-pill,
  .ci4-property-search-input,
  .ci4-property-search-submit {
    grid-column: 1 / -1;
  }

  .ci4-filter-icon-button {
    grid-column: 1;
    width: 52px;
  }

  .ci4-property-search-main .ci4-sort-control {
    grid-column: 2;
  }

  .ci4-filter-status-pill,
  .ci4-property-search-submit,
  .ci4-property-search-main .ci4-sort-control {
    width: 100%;
  }

  .ci4-property-search-input input {
    border-left: 0;
    padding-left: 10px;
  }

  .ci4-filter-pill-row {
    gap: 8px;
  }

  .ci4-filter-pill {
    flex: 1 1 calc(50% - 8px);
    padding: 0 10px;
  }

  .ci4-filter-toolbar {
    grid-template-columns: 1fr;
  }

  .ci4-filter-open,
  .ci4-filter-search,
  .ci4-sort-control {
    width: 100%;
  }

  .ci4-active-filter-summary {
    white-space: normal;
  }

  .ci4-modal-check-grid,
  .ci4-price-grid {
    grid-template-columns: 1fr;
  }

  .ci4-filter-tabs {
    gap: 12px;
  }

  .ci4-filter-tabs .nav-link {
    font-size: 14px;
  }

  .ci4-home-banner {
    padding: 104px 0 54px !important;
  }

  .ci4-home-filter-wrap {
    width: min(100%, calc(100vw - 30px));
    max-width: calc(100vw - 30px);
    margin-right: auto;
    margin-left: auto;
  }

  .page-title.home05 .ci4-home-filter.form-title {
    flex: 0 1 calc(100vw - 60px);
    width: calc(100vw - 60px) !important;
    max-width: calc(100vw - 60px) !important;
  }

  .ci4-home-filter.form-title {
    display: grid;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    padding: 14px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .page-title.home05 .ci4-home-filter.form-title > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .page-title.home05 .ci4-home-filter.form-title > .ci4-home-keyword,
  .page-title.home05 .ci4-home-filter.form-title > .wrap-btn,
  .page-title.home05 .ci4-home-filter.form-title > .ci4-home-pill-row {
    width: calc(100vw - 76px) !important;
    max-width: calc(100vw - 76px) !important;
  }

  .ci4-home-filter .ci4-home-keyword,
  .ci4-home-filter .wrap-btn {
    min-width: 0;
  }

  .ci4-home-filter--pills .ci4-home-pill-row {
    justify-content: flex-start;
    padding: 8px 0 0;
  }

  .ci4-home-filter--pills .ci4-home-pill-row .ci4-filter-pill {
    flex-basis: 100%;
  }

  .ci4-home-filter .ci4-home-status {
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--Line);
  }

  .ci4-home-filter .wrap-btn {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    width: 100%;
  }

  .ci4-home-filter .wrap-btn .tf-btn {
    width: 100%;
    min-width: 0;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .ci4-home-filter .wd-search-form.ci4-home-advanced {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    transform: none;
  }

  .ci4-home-advanced .ci4-home-ranges,
  .ci4-home-filter-groups,
  .ci4-home-range-grid {
    grid-template-columns: 1fr;
  }

  .ci4-home-check-list {
    max-height: 220px;
  }

  .ci4-home-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ci4-property-gallery {
    padding-top: 18px;
    margin-bottom: 22px;
  }

  .ci4-property-gallery .wrap-image {
    display: block;
    height: auto;
  }

  .ci4-property-gallery .img-1 {
    aspect-ratio: 16 / 10;
  }

  .ci4-property-gallery .wrap-image-right {
    display: none;
  }

  .ci4-property-overview .heading {
    padding-bottom: 22px;
    margin-bottom: 22px;
  }

  .ci4-property-mobile-contact {
    left: 12px;
    width: min(calc(100vw - 24px), 366px);
    max-width: min(calc(100vw - 24px), 366px);
    transform: none;
  }

  .ci4-property-overview .info {
    margin-bottom: 26px;
  }

  .ci4-property-overview .info-detail {
    grid-template-columns: 1fr;
    margin-bottom: 28px;
  }

  .ci4-property-overview .info-detail .wrap-box {
    width: 100%;
  }

  .ci4-detail-sidebar {
    display: none;
  }

  .ci4-property-mobile-contact {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 1020;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 9px;
    border: 1px solid rgba(44, 46, 51, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
  }

  .ci4-property-mobile-contact a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 48px;
    border-radius: 8px;
    color: var(--Heading);
    font-size: 12px;
    font-weight: 600;
  }

  .ci4-property-mobile-contact a:first-child {
    background: var(--Primary);
    color: var(--White);
  }

  .ci4-property-mobile-contact i {
    font-size: 18px;
  }

  .ci4-home-listings {
    padding: 46px 0 64px;
  }

  .ci4-home-listing-section + .ci4-home-listing-section {
    margin-top: 46px;
  }

  .ci4-home-listing-head {
    margin-bottom: 16px;
  }

  .ci4-home-listing-head h2 {
    font-size: 24px;
  }

  .ci4-home-listing-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-right: -16px;
    padding: 2px 16px 12px 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
  }

  .ci4-home-listing-card {
    flex: 0 0 min(82vw, 330px);
    scroll-snap-align: start;
  }
}

@media (max-width: 991px) {
  .ci4-property-mobile-contact {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    gap: 0;
    padding: 0;
    border-width: 1px 0 0;
    border-radius: 0;
    transform: none;
  }

  .ci4-property-mobile-contact a {
    min-height: 58px;
    border: 0;
    border-left: 1px solid rgba(112, 137, 253, 0.28);
    border-radius: 0;
  }

  .ci4-property-mobile-contact a:first-child {
    border-left: 0;
  }

  body:has(.ci4-property-mobile-contact) #footer {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  body:has(.ci4-property-mobile-contact) .button-go {
    bottom: calc(70px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 767px) {
  .ci4-property-mobile-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 10px;
    padding: 0 0 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ci4-property-mobile-thumbs::-webkit-scrollbar {
    display: none;
  }

  .ci4-property-mobile-thumb {
    scroll-snap-align: start;
  }

  .ci4-property-email-modal .modal-dialog {
    width: calc(100vw - 24px);
    margin-right: auto;
    margin-left: auto;
  }
}

#wrapper,
.offcanvas {
  transition:
    opacity 0.24s ease,
    filter 0.24s ease,
    transform 0.24s ease;
}

.route-loading-feedback {
  display: grid;
  place-items: center;
  background: rgba(247, 249, 252, 0.72);
  backdrop-filter: blur(7px) saturate(112%);
  -webkit-backdrop-filter: blur(7px) saturate(112%);
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}

.route-loading-feedback.is-active {
  pointer-events: auto;
}

.route-loading-bar {
  height: 2px;
  background: rgba(21, 66, 99, 0.1);
}

.route-loading-bar::before {
  width: 38%;
  background: #154263;
  box-shadow: 0 0 18px rgba(112, 137, 253, 0.35);
}

.route-loading-brand {
  position: relative;
  display: grid;
  width: clamp(128px, 14vw, 172px);
  aspect-ratio: 1;
  place-items: center;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.route-loading-feedback.is-active .route-loading-brand {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.route-loading-brand::before,
.route-loading-brand::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.route-loading-brand::before {
  inset: 9px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(21, 66, 99, 0.12);
  box-shadow:
    0 28px 70px rgba(13, 33, 58, 0.18),
    0 8px 26px rgba(112, 137, 253, 0.16);
}

.route-loading-brand::after {
  inset: 0;
  border: 1px solid rgba(112, 137, 253, 0.22);
  border-top-color: rgba(21, 66, 99, 0.82);
  border-right-color: rgba(21, 66, 99, 0.42);
  animation: routeLogoOrbit 1.35s cubic-bezier(0.55, 0.08, 0.34, 0.96) infinite;
}

.route-loading-brand-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 74%;
  height: 74%;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

.route-loading-brand-mark img {
  display: block;
  width: 84%;
  max-height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(21, 66, 99, 0.16));
  animation: routeLogoBreathe 1.8s ease-in-out infinite;
}

body.is-route-loading #wrapper,
body.is-route-loading .offcanvas {
  opacity: 0.34;
  filter: blur(1.6px) saturate(0.85);
  transform: scale(0.998);
}

@keyframes routeLogoOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes routeLogoBreathe {
  0%,
  100% {
    opacity: 0.88;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@media (max-width: 575px) {
  .route-loading-brand {
    width: 124px;
  }
}

.cms-api-page {
  background: #f6f7fb;
  padding: 132px 0 72px;
}

.cms-api-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.cms-api-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border: 1px solid rgba(39, 86, 129, 0.32);
  border-radius: 8px;
  background: #ffffff;
  color: var(--Primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cms-api-heading h1 {
  margin: 12px 0 10px;
  color: var(--Heading);
  font-size: 42px;
  line-height: 1.16;
}

.cms-api-heading p,
.cms-panel-heading p,
.cms-preview-section p {
  color: #5d6472;
}

.cms-api-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.cms-api-alert.is-success {
  background: #e9f8ef;
  color: #166534;
}

.cms-api-alert.is-error {
  background: #fff0f0;
  color: #b42318;
}

.cms-api-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.cms-api-panel {
  border: 1px solid #e1e5ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(31, 41, 55, 0.08);
}

.cms-panel-heading {
  padding: 22px 22px 0;
}

.cms-panel-heading h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
}

.cms-api-form {
  margin: 18px 22px 22px;
  padding: 16px;
  border: 1px solid #e5e8f0;
  border-radius: 8px;
  background: #fafbff;
}

.cms-api-form-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  margin-bottom: 14px;
}

.cms-api-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.cms-api-form input,
.cms-api-form textarea {
  width: 100%;
  border: 1px solid #ccd3df;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
  font: inherit;
}

.cms-api-form input {
  min-height: 46px;
  padding: 0 12px;
}

.cms-api-form textarea {
  min-height: 46px;
  padding: 12px;
  resize: vertical;
}

.cms-api-page .tf-btn {
  min-height: 42px;
  border-radius: 8px;
}

.cms-api-page .tf-btn.secondary {
  border: 1px solid #d4daea;
  background: #ffffff;
  color: #263142;
}

.cms-api-table-wrap {
  overflow-x: auto;
}

.cms-api-table {
  width: 100%;
  border-collapse: collapse;
}

.cms-api-table th,
.cms-api-table td {
  padding: 14px 18px;
  border-top: 1px solid #edf0f6;
  text-align: left;
  vertical-align: top;
}

.cms-api-table th {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cms-api-table td strong,
.cms-api-table td span,
.cms-api-table td small {
  display: block;
}

.cms-api-table td strong {
  color: #1f2937;
  font-size: 13px;
  word-break: break-word;
}

.cms-api-table td span {
  margin-top: 4px;
  color: #475467;
  font-size: 13px;
}

.cms-api-table td small {
  max-width: 420px;
  margin-top: 5px;
  color: #667085;
  line-height: 1.45;
}

.cms-api-table code,
.cms-preview-block code,
.cms-preview-section code {
  display: block;
  max-width: 360px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f1f4f9;
  color: #1f2937;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.cms-api-table code.is-empty {
  color: #98a2b3;
}

.cms-source-pill {
  display: inline-flex !important;
  width: max-content;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 8px;
  background: #eef3ff;
  color: #2f54c5 !important;
  font-size: 12px !important;
  font-weight: 800;
}

.cms-inline-form {
  margin: 0;
}

.cms-link-button {
  border: none;
  background: transparent;
  color: #b42318;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cms-preview-stack {
  display: grid;
  gap: 12px;
  padding: 18px 22px 0;
}

.cms-preview-block {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #e5e8f0;
  border-radius: 8px;
}

.cms-preview-block span,
.cms-preview-section h3 {
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
}

.cms-preview-block small {
  color: #667085;
}

.cms-preview-section {
  padding: 20px 22px 0;
}

.cms-preview-section h3 {
  margin: 0 0 10px;
}

.cms-banner-preview {
  display: block;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #e9edf5;
  aspect-ratio: 16 / 7;
}

.cms-banner-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-empty-preview {
  padding: 18px;
  border: 1px dashed #cfd6e4;
  border-radius: 8px;
  color: #667085;
  text-align: center;
}

.cms-preview-count {
  margin-bottom: 10px;
  font-size: 13px;
}

.cms-listing-preview-grid {
  display: grid;
  gap: 10px;
}

.cms-listing-preview-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e5e8f0;
  border-radius: 8px;
}

.cms-listing-preview-item img {
  width: 82px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: #e9edf5;
}

.cms-listing-preview-item strong,
.cms-listing-preview-item span,
.cms-listing-preview-item small {
  display: block;
}

.cms-listing-preview-item strong {
  color: #1f2937;
  font-size: 13px;
  line-height: 1.35;
}

.cms-listing-preview-item span,
.cms-listing-preview-item small {
  color: #667085;
  font-size: 12px;
  line-height: 1.4;
}

.cms-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 22px 0;
}

.cms-raw-preview {
  margin: 20px 22px 22px;
  border: 1px solid #e5e8f0;
  border-radius: 8px;
  background: #fafbff;
}

.cms-raw-preview summary {
  padding: 12px 14px;
  color: #1f2937;
  font-weight: 800;
  cursor: pointer;
}

.cms-raw-preview pre {
  max-height: 420px;
  margin: 0;
  padding: 14px;
  border-top: 1px solid #e5e8f0;
  color: #1f2937;
  font-size: 12px;
  line-height: 1.5;
  overflow: auto;
  white-space: pre-wrap;
}

@media (max-width: 991px) {
  .cms-api-layout,
  .cms-api-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .cms-api-page {
    padding: 104px 0 48px;
  }

  .cms-api-heading h1 {
    font-size: 32px;
  }

  .cms-panel-heading,
  .cms-preview-stack,
  .cms-preview-section,
  .cms-preview-actions {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cms-api-form,
  .cms-raw-preview {
    margin-left: 14px;
    margin-right: 14px;
  }

  .cms-api-table th,
  .cms-api-table td {
    padding: 12px 14px;
  }
}

.lbadmin-page {
  min-height: 100vh;
  padding: 132px 0 72px;
  background: #f5f7fb;
}

.lbadmin-shell {
  display: block;
}

.lbadmin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.lbadmin-kicker {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid rgba(39, 86, 129, 0.32);
  border-radius: 8px;
  background: #fff;
  color: var(--Primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lbadmin-header h1 {
  margin: 12px 0 8px;
  color: var(--Heading);
  font-size: 42px;
  line-height: 1.16;
}

.lbadmin-header p,
.lbadmin-panel-head p,
.lbadmin-preview-block small,
.lbadmin-fields small {
  color: #667085;
}

.lbadmin-actions,
.lbadmin-panel-head.inline,
.lbadmin-copy-row,
.lbadmin-api-preview-head,
.lbadmin-social-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lbadmin-actions,
.lbadmin-panel-head.inline,
.lbadmin-api-preview-head {
  justify-content: space-between;
}

.lbadmin-page .tf-btn {
  min-height: 42px;
  border-radius: 8px;
}

.lbadmin-page .tf-btn.secondary {
  border: 1px solid #d4daea;
  background: #fff;
  color: #263142;
}

.lbadmin-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.lbadmin-alert.is-success {
  background: #e9f8ef;
  color: #166534;
}

.lbadmin-alert.is-error {
  background: #fff0f0;
  color: #b42318;
}

.lbadmin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.lbadmin-tabs a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #dce2ee;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-weight: 800;
}

.lbadmin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.35fr);
  gap: 20px;
  align-items: start;
}

.lbadmin-main {
  display: grid;
  gap: 20px;
}

.lbadmin-panel {
  border: 1px solid #e1e5ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(31, 41, 55, 0.08);
}

.lbadmin-panel-head {
  padding: 22px 22px 0;
}

.lbadmin-panel-head h2 {
  margin: 0 0 6px;
  color: #1f2937;
  font-size: 22px;
  line-height: 1.25;
}

.lbadmin-fields {
  display: grid;
  gap: 14px;
  padding: 18px 22px 0;
}

.lbadmin-fields.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lbadmin-fields label,
.lbadmin-media-card label,
.lbadmin-social-row label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.lbadmin-fields input,
.lbadmin-fields textarea,
.lbadmin-fields select,
.lbadmin-media-card input,
.lbadmin-social-row input {
  width: 100%;
  border: 1px solid #ccd3df;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font: inherit;
}

.lbadmin-fields input,
.lbadmin-fields select,
.lbadmin-media-card input,
.lbadmin-social-row input {
  min-height: 44px;
  padding: 0 12px;
}

.lbadmin-fields textarea {
  min-height: 86px;
  padding: 12px;
  resize: vertical;
}

.lbadmin-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  padding: 18px 22px 22px;
}

.lbadmin-media-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5e8f0;
  border-radius: 8px;
  background: #fafbff;
}

.lbadmin-media-card.is-wide {
  grid-column: 1 / -1;
}

.lbadmin-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.lbadmin-card-title-row p {
  margin: 4px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.lbadmin-media-card h3,
.lbadmin-api-preview h3 {
  margin: 0;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.3;
}

.lbadmin-logo-preview,
.lbadmin-banner-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dce2ee;
  border-radius: 8px;
  background: #eef2f8;
  color: #667085;
  font-weight: 800;
}

.lbadmin-logo-preview {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 5 / 3;
}

.lbadmin-banner-preview {
  width: 100%;
  aspect-ratio: 6 / 1;
}

.lbadmin-banner-list {
  display: grid;
  gap: 14px;
}

.lbadmin-banner-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid #e5e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.lbadmin-banner-row[hidden] {
  display: none;
}

.lbadmin-banner-row .lbadmin-banner-preview {
  min-height: 128px;
  aspect-ratio: 16 / 7;
}

.lbadmin-banner-fields {
  display: grid;
  gap: 12px;
}

.lbadmin-banner-fields label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.lbadmin-banner-fields input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #ccd3df;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font: inherit;
}

.lbadmin-banner-options {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(120px, 0.55fr);
  gap: 12px;
  align-items: end;
}

.lbadmin-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lbadmin-logo-preview.is-empty,
.lbadmin-banner-preview.is-empty {
  border-style: dashed;
}

.lbadmin-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.lbadmin-banner-preview img,
.lbadmin-preview-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lbadmin-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  color: #475467;
}

.lbadmin-check input {
  width: 18px !important;
  min-height: 18px !important;
}

.lbadmin-social-list {
  display: grid;
  gap: 12px;
  padding: 18px 22px 22px;
}

.lbadmin-social-row {
  display: grid;
  grid-template-columns: 64px minmax(110px, 0.7fr) minmax(180px, 1.2fr) minmax(160px, 0.9fr) auto;
  gap: 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid #e5e8f0;
  border-radius: 8px;
  background: #fafbff;
}

.lbadmin-social-preview {
  display: flex;
  width: 56px;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dce2ee;
  border-radius: 8px;
  background: #fff;
  color: #667085;
  font-weight: 900;
}

.lbadmin-social-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}

.lbadmin-icon-button {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #d4daea;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lbadmin-icon-button.danger {
  color: #b42318;
}

.lbadmin-copy-row input {
  flex: 1;
}

.lbadmin-api-preview {
  margin: 18px 22px 22px;
  border: 1px solid #e5e8f0;
  border-radius: 8px;
  background: #fafbff;
  overflow: hidden;
}

.lbadmin-api-preview-head {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e8f0;
}

.lbadmin-api-preview-head div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lbadmin-api-preview pre {
  max-height: 460px;
  margin: 0;
  padding: 14px;
  background: #0b1220;
  color: #dbeafe;
  font-size: 12px;
  line-height: 1.5;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.lbadmin-preview {
  position: sticky;
  top: 102px;
}

.lbadmin-preview-block {
  display: grid;
  gap: 8px;
  padding: 18px 22px;
  border-top: 1px solid #edf0f6;
}

.lbadmin-preview-block span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lbadmin-preview-block strong {
  color: #1f2937;
  font-size: 15px;
  line-height: 1.35;
}

.lbadmin-preview-banner {
  display: block;
  aspect-ratio: 16 / 7;
  border-radius: 8px;
  background: #eef2f8;
}

.lbadmin-preview-banner-stack {
  display: grid;
  gap: 8px;
}

@media (max-width: 1100px) {
  .lbadmin-grid,
  .lbadmin-media-grid {
    grid-template-columns: 1fr;
  }

  .lbadmin-preview {
    position: static;
  }
}

@media (max-width: 767px) {
  .lbadmin-page {
    padding: 104px 0 48px;
  }

  .lbadmin-header,
  .lbadmin-panel-head.inline,
  .lbadmin-api-preview-head {
    align-items: stretch;
    flex-direction: column;
  }

  .lbadmin-header h1 {
    font-size: 32px;
  }

  .lbadmin-fields.two,
  .lbadmin-social-row,
  .lbadmin-banner-row,
  .lbadmin-banner-options {
    grid-template-columns: 1fr;
  }

  .lbadmin-card-title-row {
    flex-direction: column;
  }

  .lbadmin-panel-head,
  .lbadmin-fields,
  .lbadmin-media-grid,
  .lbadmin-social-list,
  .lbadmin-preview-block {
    padding-left: 14px;
    padding-right: 14px;
  }

  .lbadmin-api-preview {
    margin-left: 14px;
    margin-right: 14px;
  }
}
