/* Reference design restoration: editorial spacing and scoped component layouts. */
body {
  margin: 0;
  background: var(--body-bg-color, #f4f4f4);
}

[data-aos]:not(.aos-animate) {
  transform: translate3d(0, 14px, 0) !important;
}

[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

rechat-listings-count p {
  padding: 15px 0;
}

.agent-website-7 {
  max-width: none;
}

.hero {
  min-height: clamp(600px, 61vw, 820px);
  padding: clamp(56px, 7vw, 96px) 24px;
  justify-content: center;
  gap: 30px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 12, 19, .66), rgba(5, 12, 19, .34) 52%, rgba(5, 12, 19, .52));
}

.modal:not(.active) {
  visibility: hidden;
  pointer-events: none;
}

.modal.active {
  visibility: visible;
}

.hero > a:first-child {
  padding: 0 !important;
}

.hero .logo {
  max-width: 170px;
  max-height: 64px;
}

.hero .frame-1171275612 {
  gap: 18px;
}

.hero .header {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05;
}

.hero .this-is-a-paragraph {
  font-size: clamp(14px, 1.25vw, 18px);
  letter-spacing: .04em;
}

.hero .button {
  min-width: 230px;
  padding: 15px 28px;
  border-width: 1px;
  font-size: 13px;
  text-transform: none;
}

.hero2,
.success,
.frame-1171275443,
.about,
.footer {
  width: 100%;
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: clamp(24px, 6vw, 96px);
}

.hero2 {
  padding-top: 110px;
  padding-bottom: 110px;
  gap: clamp(44px, 6vw, 78px);
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}

.hero2 .image {
  width: 280px;
  min-width: 280px;
  height: 390px;
  aspect-ratio: auto;
}

.hero2 .frame-1171275553 {
  max-width: 650px;
  gap: 26px;
}

.hero2 .frame-1171275612 {
  align-items: flex-start;
  gap: 20px;
}

.hero2 .title2,
.hero2 .paragraph2,
.hero2 .header2,
.hero2 .this-is-a-paragraph2 {
  justify-content: flex-start;
  text-align: left;
}

.hero2 .header2 {
  font-size: clamp(32px, 3vw, 42px);
}

.hero2 .this-is-a-paragraph2 {
  font-size: 15px;
  line-height: 1.55;
}

.hero2 .frame-1171275613 {
  gap: 24px;
}

.hero2 .frame-1171275593 svg,
.hero2 .frame-1171275593 img {
  width: 24px;
  height: 24px;
}

.hero2 .button2 {
  min-height: 42px;
  padding: 11px 24px;
  font-size: 12px;
}

.testimonial {
  background: var(--body-bg-color);
  width: 100%;
  padding: 80px 72px;
  display: flex;
  flex-direction: row;
  gap: 64px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.testimonial-header {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 19px;
}

.testimonial-ttl {
  letter-spacing: -.5px;
}

.success,
.frame-1171275443,
.about {
  border-bottom: 1px solid color-mix(in srgb, var(--container-text-color) 12%, transparent);
}

.success {
  border-top: 0;
  padding-top: 72px;
  padding-bottom: 100px;
  gap: 42px;
}

.success > .title4 {
  gap: 16px;
}

.success .title5,
.frame-1171275443 .title5,
.about .title5 {
  justify-content: flex-start;
}

.success .header4,
.frame-1171275443 .header4 {
  font-size: clamp(32px, 3vw, 42px);
}

.success .paragraph3 {
  max-width: 620px;
}

.success-listings-sdk .map-listing-grid__root,
#LISTING .map-listing-grid__root {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.success-listings-sdk .map-listing-grid__list,
#LISTING .map-listing-grid__list {
  display: grid;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0;
}

.success-listings-sdk .map-listing-grid__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
}

.success-listings-sdk .rechat-listing-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.success-listings-sdk .rechat-listing-card__media,
.success-listings-sdk .rechat-listing-card__photo,
.success-listings-sdk .rechat-listing-card__photo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.9 / 1;
  border-radius: 0;
  object-fit: cover;
  filter: grayscale(1);
}

.success-listings-sdk .rechat-listing-card__content {
  padding-top: 18px;
}

.frame-1171275443 {
  padding-top: 70px;
  padding-bottom: 90px;
}

.frame-1171275441 {
  gap: 36px;
}

#LISTING .map-listing-grid__list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: none;
  justify-content: start;
}

#LISTING .rechat-listing-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

#LISTING .rechat-listing-card__media,
#LISTING .rechat-listing-card__photo,
#LISTING .rechat-listing-card__photo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.45 / 1;
  border-radius: 0;
  object-fit: cover;
}

#LISTING .rechat-listing-card__content {
  padding-top: 12px;
}

#LISTING .rechat-listing-card__price {
  font-size: clamp(18px, 1.5vw, 24px);
}

#LISTING .rechat-listing-card__property-info,
#LISTING .rechat-listing-card__address,
#LISTING .rechat-listing-card__mls {
  font-size: 12px;
}

.about {
  padding-top: 72px;
  padding-bottom: 90px;
}

.about > .title5 {
  margin-bottom: 28px;
}

.about > .title7,
.about > .title8 {
  padding: 42px 0;
  border-top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--container-text-color) 12%, transparent);
}

.about > .title7:last-child,
.about > .title8:last-child {
  border-bottom: 0;
}

.about .header2 {
  font-size: 30px;
}

.about .header4,
.about .header6 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
}

.footer {
  padding-top: 80px;
  padding-bottom: 36px;
}

.footer .lead-capture-wrapper,
.footer .contact-section {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.footer .contact-section {
  padding: 0 0 80px !important;
  border-top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--container-text-color) 14%, transparent);
}

.footer .agent-light {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 46px 0;
  align-items: flex-start;
}

.agent-profile {
  width: 100%;
  margin: 0;
  align-items: center;
  text-align: left;
}

.agent-profile--horizontal {
  display: flex;
  width: 100%;
  align-items: center;
}

.agent-profile__identity {
  display: flex;
  align-items: center;
  gap: 22px;
}

.agent-profile__identity .agent-profile__photo {
  width: min(48%, 220px);
  flex: 0 0 min(48%, 220px);
  aspect-ratio: 1.5 / 1;
}

.agent-profile__identity-copy,
.agent-profile__contact-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.agent-profile__identity .agent-profile__name {
  font-size: clamp(24px, 2vw, 34px);
}

.agent-profile__contact-label {
  font-size: 12px;
  font-weight: 500;
}

.agent-profile__contact-unit {
  display: flex;
  align-items: center;
}

.agent-profile > [class*="pure-u"] {
  box-sizing: border-box;
  padding: 12px;
  vertical-align: middle;
}

.agent-profile__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.agent-profile__details,
.agent-profile__actions {
  display: flex;
  flex-direction: column;
}

.agent-profile__details {
  gap: 10px;
  align-items: flex-start;
}

.agent-profile__name {
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1.1;
}

.agent-profile__contact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.agent-profile__contact-value {
  color: inherit;
  font-size: 13px;
  text-decoration: none;
}

.agent-profile__actions {
  min-height: 130px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.agent-profile__actions .bma__socials {
  justify-content: flex-end;
}

.agent-profile__cta {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer .credits {
  padding: 24px 0 0;
}

.footer .frame-1171275476 {
  gap: 28px;
}

.footer .this-is-a-paragraph4 {
  font-size: 11px;
}

.footer .powered-by-rechat {
  width: 108px;
}

@media (max-width: 1100px) {
  #LISTING .map-listing-grid__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  #LISTING .map-listing-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 620px;
  }

  .hero2 {
    padding-top: 72px;
    padding-bottom: 72px;
    flex-wrap: wrap;
  }

  .hero2 .image {
    width: min(100%, 360px);
    min-width: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .testimonial {
    padding: 64px 40px;
  }

  .success-listings-sdk .map-listing-grid__list {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .agent-profile > [class*="pure-u"] {
    padding: 12px 0;
  }

  .agent-profile__photo {
    max-height: 360px;
  }

  .agent-profile__actions {
    min-height: 0;
    align-items: flex-start;
  }

  .agent-profile__actions .bma__socials {
    justify-content: flex-start;
  }

  .agent-profile__identity {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 560px;
  }

  .hero .header {
    overflow-wrap: anywhere;
  }

  .testimonial {
    padding: 56px 24px;
  }

  .agent-profile__identity {
    flex-direction: column;
  }

  .agent-profile__identity .agent-profile__photo {
    width: 100%;
    max-width: 320px;
    flex-basis: auto;
  }

  #LISTING .map-listing-grid__list {
    grid-template-columns: 1fr;
  }
}
