/* @media print {
  #ham-list {
    display: none !important;
    visibility: hidden !important;
  }
} */


html {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  max-width: 100%;
}

.consent-label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  text-align:left;
}

.consent-checkbox{
  flex:0 0 18px;
}

.consent-label span{
  flex:1;
  text-align:left;
  font-size: 11px;
}

@media (max-width: 1024px) {
  .paragraf {
    font-size: 22px !important;
  }

  .sec-2-text {
    align-items: center;
    padding: 0 88px 88px;
  }

  .sec-2-h {
    text-align: center !important;
  }

  .sec-2-p {
    text-align: center !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .sec-7-logo-column {
    padding-left: 50px !important;
  }

  .sec-7-logo {
    width: 200px;
  }

  .sec-2>div {
    padding: 60px;
  }
}

@media (max-width: 768px) {
  .hero-h {
    font-size: 50px !important;
  }
  #searchInput{
    width: 350px !important;
    height: 35px !important;
  }

  .hero-p {
    font-size: 24px !important;
  }

  .header {
    font-size: 36px !important;
  }

  .paragraf {
    font-size: 18px !important;
  }

  .nav-logo {
    width: 40% !important;
  }

  .nav-logo img {
    width: 90% !important;
    height: 80px;
  }

  .vertical-menu ul, .vertical-menu-search ul {
    width: 250px !important;
  }

  .vertical-menu li a, .vertical-menu-search li a {
    font-size: 17px !important;
  }

  .sec-2>div {
    padding: 30px;
  }

  .sec-3>.header {
    padding-top: 50px;
  }

  .mySlides img {
    margin: 50px auto 12px !important;
  }

  .slideshow-container {
    height: 570px !important;
  }

  .sec-7-column {
    text-align: center !important;
    padding: 40px !important;
  }

  .sec-7-logo {
    width: 350px;
    max-width: 80%;
  }

  /* .sec-7-social {
    padding-right: 15% !important;
    padding-left: 15% !important;
  } */
}
@media (max-width: 568px) {
  .button-width {
    max-width: 90% !important;
  }
}

@media (max-width: 480px) {
  .sec-2-p-designation {
    font-size: 20px !important;
  }
  .hero-h {
    font-size: 26px !important;
  }
  #searchInput{
    width: 250px !important;
    height: 30px !important;
  }

  .hero-p {
    font-size: 18px !important;
  }

  .header {
    font-size: 30px !important;
  }

  .paragraf {
    font-size: 15px !important;
  }

  .vertical-menu ul, .vertical-menu-search ul {
    width: 240px !important;
  }

  .vertical-menu li a, .vertical-menu-search li a {
    font-size: 16px !important;
  }
  .ham-btn {
    right: 15% !important;
  }
  
  .vertical-menu #ham-checkbox, .vertical-menu-search #ham-checkbox-2 {
    right: 15% !important;
  }

  .sec-2-p {
    font-size: 14px !important;
  }

  .mySlides img {
    margin: 30px auto 12px !important;
  }

  .slideshow-container .txt div:first-child {
    max-height: 340px !important;
  }

  .slideshow-container {
    height: 650px !important;
  }
  .mySlides-img {
    margin: 10px auto 16px !important;
  }
  .s5-widget {
    margin: 0 !important;
  }
}
@media (max-width:320px) {
  #searchInput{
    width: 150px !important;
    height: 30px !important;
  }
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  width: 100% !important;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

.header {
  font-size: 50px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 30px 0;
  text-align: center;
}

.paragraf {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.25px;
  text-align: center;
  margin: 32px auto;
}


/* navbar */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 100;
  padding: 20px 0;
  /* padding: 0 0 0 8%; */
}

.nav-logo {
  width: 20%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 20px 0;
  padding: 0 20px;
}

.left-logo,
.nav-logo--left {
  justify-content: flex-start;
}

.nav-logo--right {
  justify-content: flex-end;
}

.nav-logo img {
  width: 50%;
  margin: 0;
  object-fit: contain;
  max-height: 130px;
}

/* hamurger menu */
.vertical-menu, .vertical-menu-search {
  width: 10%;
  position: relative;
  transition: all 0.5s ease-out;
}

/* ham-button */
.ham-btn {
  height: 33px;
  width: 35px;
  padding: 4px 9px;
  margin: 0;
  position: absolute;
  top: 55px;
  right: 10%;
  background-color: transparent;
  border-radius: 7px;
  transition: background-color 0.3s ease-out;
}

.line-3 {
  border-style: solid;
  border-color: #022c8e;
  border-width: 14px 0 0 0;
  width: 186px;
  height: 0px;
}

.sec-2-agentInfo {
  color: inherit;
  text-align: left;
  font-size: 20px;
  line-height: 33.1px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  margin: 30px 0;
}

/* .modal .vertical-menu-search {
  display: none !important;
} */

.vertical-menu,
.vertical-menu-search {
  display: none !important;
}

.vertical-menu #ham-checkbox, .vertical-menu-search #ham-checkbox-2 {
  display: block;
  height: 30px;
  width: 37px;
  position: absolute;
  top: 55px;
  right: 10%;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  -webkit-touch-callout: none;
}

.search-sec {
  /* height: 600px !important; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.search-sec  .hero-text{
  margin: 0;
  width: 100%;
}

.ham-checkbox-close, .ham-checkbox-close2 {
  z-index: 0 !important;
}

.vertical-menu .show, .vertical-menu-search .show2 {
  opacity: 1;
  right: 0;
}
.vertical-menu .ham-btn-hidden, .vertical-menu-search .ham-btn-hidden {
  visibility: hidden;
}

#ham-checkbox:hover~.ham-btn, #ham-checkbox-2:hover~.ham-btn {
  background-color: rgba(0, 0, 0, 0.2);
}

.ham-list {
  position: absolute;
  opacity: 0;
  right: -350px;
  top: 0;
  background-color: #fff;
  color: #2E3033;
  margin: 0;
  overflow: hidden;
  height: 880px;
  width: 350px;
  transition: all 0.5s ease-out;
  /* display: flex;
  flex-direction: column;
  justify-content: center; */
  z-index: 100;
  padding: 200px 0 0;
}

.sec-2-link {
  transform-origin: 0 50%;
  line-height: 1.3;
  word-break: break-all;
}

.ham-list-2 {
  position: fixed;
  opacity: 0;
  right: -350px;
  top: 0;
  background-color: #fff;
  color: #2E3033;
  margin: 0;
  overflow: hidden;
  height: 100vh;
  width: 350px;
  transition: all 0.5s ease-out;
  padding: 200px 0 0;
  display: block;
  z-index: 100;
}

.vertical-menu li, .vertical-menu-search li  {
  /* font-family: "CircularXXTT"; */
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0px;
  text-align: left;
  height: 48px;
  margin-bottom: 10px;
  display: flex;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.vertical-menu li a, .vertical-menu-search li a {
  padding: 8px 32px 0;
  height: 48px;
  text-decoration: none;
  color: #2E3033;
  /* font-family: "CircularXXTT"; */
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0px;
  text-align: left;
  transition: all 0.4s ease-out;
}

.menu-hover {
  width: 7px;
  height: 100%;
  /* background-color: #D7847B; */
  opacity: 0;
  transition: all 0.4s ease-out;
}

.vertical-menu li:hover, .vertical-menu-search li:hover {
  background-color: #E7E9EC;
}

.vertical-menu li:hover .menu-hover, .vertical-menu-search li:hover .menu-hover {
  opacity: 1;
}

/* .vertical-menu li:hover a {
  font-family: "CircularXXTT-Bold";
} */

.vertical-menu .close-button, .vertical-menu-search .close-button {
  position: absolute;
  top: 55px;
  right: 15%;
  border: none;
  border-radius: 5px;
  background-color: #fff;
  padding: 10px 10px 9px;
  line-height: 0.8;
  transition: all 0.3s ease-out;
}

.vertical-menu .close-button:hover, .vertical-menu-search .close-button:hover {
  background-color: #eee;
}

.vertical-menu .fade {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: 880px;
  background-color: transparent;
  opacity: 0;
  z-index: -1;
  transition: all 0.5s ease-out;
}
.vertical-menu-search .fade {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: 100vh;
  background-color: transparent;
  opacity: 0;
  z-index: -1;
  transition: all 0.5s ease-out;
}

.fade-active, .fade-active2 {
  background-color: #000 !important;
  opacity: 0.6 !important;
  z-index: 0 !important;
}


.list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 30px;
}

.list .item {
  font-size: 16px;
  line-height: 30.4px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.list .item a {
  text-decoration: none;
  letter-spacing: normal;
}

/* hero section */
.hero-sec {
  background-color: #305974;
  /* background-image: url(../images/hero-image.jpg); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 880px;
  width: 100%;
  overflow: hidden;
}

.hero-text {
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin: 200px auto 0;
  padding: 30px 50px;
  /* background-color: rgba(0, 0, 0, 0.2); */
  background-image:  radial-gradient(closest-side, rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0.1) 80%, transparent);
}

.hero-h {
  /* font-family: "Reckless Neue"; */
  font-size: 64px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0px;
  text-align: center;
  margin: 0;
  mix-blend-mode: color-dodge;
  /* text-transform: capitalize; */
}

.link {
  transition: .3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.link:hover {
  transform: scale(1.1);
}

.hero-p {
  /* font-family: "CircularXXTT"; */
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-align: center;
  margin: 0;
}

/* section 2 */
.sec-2-img {
  padding: 88px;
  display: flex;
  justify-content: center;
  /* align-items: center; */
}

.sec-2-img img {
  max-height: 500px;
  /* width: 100%; */
  /* height: 100%; */
  box-sizing: border-box;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  padding: 0 20px;
}

.sec-2-text {
  padding: 88px 88px 88px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.sec-2-h {
  text-align: left;
  margin: 16px 0;
}

.sec-2-p {
  /* font-family: "CircularXXTT"; */
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.5px;
  text-align: left;
  margin: 20px 0;
}
.sec-2-p-designation {
  color: var(--brand-colors-texts-dark-light-text, #b4b4b4);
  text-align: left;
  font-size: 26px;
  font-weight: 400;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-transform: uppercase;
  margin-bottom: 20px;
}
/* section 4 agent state */
.sec-4 {
  padding: 70px 20px;
}

.sec-4-title {
  text-align: center;
  padding: 0 20px;
}

.sec-4-column {
  padding: 0 20px 30px;
}

.sec-4-p {
  /* font-family: "CircularXXTT"; */
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.25px;
  text-align: center;
  margin: 32px auto;
}

.sec-4-small-p {
  font-size: 16px;
  max-width: 300px;
  margin: 28px auto;
}

/* section 5 work with me */
.sec-5 {
  /* background-image: url(../images/pic-2.jpg); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  width: 100%;
  text-align: center;
}

.sec-5-column {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 136px auto 124px;
  width: fit-content;
  padding: 30px;
  background-image:  radial-gradient(closest-side, rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0.1) 80%, transparent);
}

.sec-5-h {
  color: #fff;
}

.sec-5-p {
  max-width: 490px;
  color: #fff;
}

.sec-5-button {
  max-width: 154px;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 28px;
  padding: 18px 25px;
  text-decoration: none;
  cursor: pointer;
}

/* section 6 listing */
.sec-6 {
  width: 100%;
  padding: 50px 0;
}
.sec-6-title{
  padding: 0 5%;
}

.sec-6 .header,
.sec-6 .paragraf {
  text-align: center;
}

/* section 7 footer */
.sec-7 {
  background-color: #000 !important;
  color: #fff !important;
  text-align: left;
}

.sec-7-logo {
  width: 244px;
  margin: 0;
}

.sec-7-column {
  padding: 70px 0 0 98px;
}

.sec-7-p {
  /* font-family: "CircularXXTT"; */
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.5px;
  margin: 32px auto;
}

.sec-7-social {
  display: flex;
  justify-content: flex-start;
  /* padding-right: 20%; */
  flex-wrap: wrap;
}

.sec-7-social a {
  /* height: 30px; */
  /* max-width: 15%; */
  margin-right: 10px;
  margin-bottom: 10px;
}

.sec-7-social img {
  max-height: 20px;
  max-width: 100%;
  object-fit: contain;
}

.sec-7-footer {
  text-align: center;
  padding: 100px 20px 50px;
}

.rechat-logo {
  width: 63px;
  margin-left: 2px;
}

.footer {
  /* font-family: "CircularXXTT"; */
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  margin: 0 auto;
}
#searchInput{
  width: 500px;
  height: 40px;
  border-radius: 30px;
  border: none;
  padding: 10px 20px 10px 45px;
  color: #000;
  margin-top: 25px;
  box-sizing: border-box;
  background-image: url('../images/search-icon.png');
  background-position: 10px center;
  background-size: contain;
  background-repeat: no-repeat;
}



.agent-light,
.agent-light * {
  box-sizing: border-box;
}
.agent-light {
  padding: 64px 20px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
  justify-content: flex-end;
  max-width: 2400px;
  position: relative;
  width: 100%;
}
.frame-2085664017 {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  /* width: 1280px; */
  max-width: 1280px;
  position: relative;
}
.listing-title {
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
  max-width: 1600px;
  position: relative;
}
.get-in-touch {
  text-align: left;
  font-size: 64px;
  letter-spacing: -3px;
  font-weight: 500;
  position: relative;
  align-self: stretch;
}
.frame-2085664016 {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  flex-wrap: wrap;
}
.frame-2085664027 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.slider3 {
  flex-shrink: 0;
  width: 396px;
  height: 500px;
  position: relative;
  object-fit: contain;
}
.frame-1171275523 {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
  letter-spacing: normal;
}
.name-designation {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-2085664023 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.team-name {
  text-align: left;
  font-size: 24px;
  letter-spacing: -0.5px;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}
.sarah-sanders {
  text-align: left;
  font-size: 42px;
  letter-spacing: -2.5px;
  font-weight: 400;
  position: relative;
}
.sales-representative {
  text-align: left;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 400;
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.frame-2085664024 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.frame-1171275508 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-2085664019 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.phone {
  text-align: left;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 400;
  opacity: 0.5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
._555-867-5309 {
  color: inherit;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.frame-2085664020 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.emailEmail {
  text-align: left;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 400;
  opacity: 0.5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.sarah-adler-associates-com {
  color: inherit;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.frame-2085664025 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.license {
  text-align: left;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 400;
  opacity: 0.5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
._01234567 {
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.frame-2085664022 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.vector-148 {
  align-self: stretch;
  flex-shrink: 0;
  height: 1px;
  position: relative;
  overflow: visible;
}
.office {
  text-align: left;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 400;
  opacity: 0.5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
._555-367-2389 {
  color: inherit;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.frame-2085664026 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.address {
  text-align: left;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 400;
  opacity: 0.5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
._1234-maplewood-lane-springfield-ca-90210 {
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.frame-20856640262 {
  display: flex;
  flex-direction: row;
  gap: 34px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.instagram-line {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  position: relative;
  overflow: visible;
}
.tiktok-fill {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  position: relative;
  overflow: visible;
}
.facebook-circle-fill {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  position: relative;
  overflow: visible;
}
.twitter-x-fill {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  position: relative;
  overflow: visible;
}
.linkedin-fill {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  position: relative;
  overflow: visible;
}
.youtube-fill {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  position: relative;
  overflow: visible;
}


@media (max-width: 480px) {
    .slider3 {
        width: 300px;
        height: 350px;
    }
    .get-in-touch {
        font-size: 54px;
        text-align: center;
    }

    .frame-1171275523 {
        max-width: 90%;
    }
    .frame-20856640262 {
        gap: 15px;
    }

    .vector-148 {
        width: 280px;
    }
}

@media print {
    .agent-light {
        page-break-inside: avoid !important;
        padding: 0;
    }

    .slider3 {
        height: 350px;
        width: 300px;
    }

    .frame-20856640262 {
        display: none;
    }

    .get-in-touch {
        text-align: center;
    }

    .frame-2085664016 {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
  .vertical-menu  {
    display: block;
  }
  .list {
    display: none;
  }
  .selling-image-wrap {
    min-height: 400px;
    max-height: 400px;
  }
}

@media (max-width: 1024px) {
  .sec-2-img {
    display: flex;
    justify-content: center;
  }
  .sec-2-p-designation,
  .sec-2-agentInfo {
    text-align: center;
  }
  .sec-2-link {
    transform-origin: 50% 50%;
  }
}

@media (min-width: 420px) and (max-width: 1024px) {
  .sec-2-img img {
    /* height: 450px; */
    width: 400px;
    padding: 0;
  }
}

@media (max-width: 419px) {
  .sec-2-img img {
    /* height: 450px; */
    width: 90%;
    padding: 0;
  }
}

@media (max-width: 420px) {
  .sec-7-social {
    justify-content: center;
  }
  .sec-7-social a {
    margin-right: 4px;
    margin-left: 4px;
  }
  .custom-search-label {
    font-size: 13px !important;
  }

  .listing-card {
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 320px) {
  .sec-7-social a {
    margin-right: 2px;
    margin-left: 2px;
  }
}




.sec-buy-sell {
  padding: 60px 20px;
  background: #000;
  color: #fff;
  text-align: center;
}

.sec-buy-sell-header .title {
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 10px;
}

.sec-buy-sell-header .subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 50px;
}

.sec-buy-sell-columns {
  max-width: 1200px;
  margin: 0 auto;
}

.sec-buy-sell-column {
  padding: 10px;
}

.sec-buy-sell-box {
  display: flex;
  flex-direction: row;
  background: #111;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: -10.3px 0px 23.69px 0px rgba(255, 255, 255, 0.1),
    -43.25px 0px 43.25px 0px rgba(255, 255, 255, 0.09),
    -96.8px 0px 58.7px 0px rgba(255, 255, 255, 0.05),
    -173px 0px 69px 0px rgba(255, 255, 255, 0.01),
    -269.8px 0px 75.17px 0px rgba(255, 255, 255, 0);
  margin-bottom: 30px;
}

.sec-buy-sell-text {
  padding: 40px 30px;
  width: 45%;
  text-align: left;
}

.box-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
}

.box-desc {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.45;
}

.box-btn {
  display: inline-block;
  background: #022c8e;
  padding: 10px 20px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.sec-buy-sell-image {
  width: 55%;
  height: 100%;
}

.sec-buy-sell-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 880px;
  background: #000;
  opacity: .29;
  pointer-events: none;
}

.width50 {
  width: 50% !important;
}

/* Mobile */


@media (max-width: 1024px) {
  .sec-buy-sell-columns {
    align-items: center;
    flex-flow: column;
  }

  .sec-buy-sell .pure-u-md-1-2 {
    width: 100%;
  }

  .sec-buy-sell-columns {
    gap: 30px;
  }

  .sec-buy-sell-column, .sec-buy-sell-box {
    height: 300px;
  }
}

@media (max-width: 648px) {
  .sec-buy-sell-box {
    flex-direction: column;
  }

  .sec-buy-sell-text,
  .sec-buy-sell-image {
    width: 100%;
  }

  .sec-buy-sell-text {
    text-align: center;
  }

  .sec-buy-sell-column, .sec-buy-sell-box {
    height: 500px;
  }

  .sec-buy-sell-column {
    padding: 0;
  }

  .sec-buy-sell-image {
    height: 230px;
  }
}


.sec-8 {
  background: #000000;
  color: #ffffff;
  padding: 60px 20px 40px;
  font-size: 14px;
}

.sec-8-top {
  max-width: 1200px;
  margin: 0 auto 40px;
  align-items: flex-start;
  padding: 0px 50px;
}

.sec-8-column {
  padding: 0 20px;
}

/* Agent column */
.sec-8-agent {
  text-align: left;
}

.sec-8-agent-name {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 6px;
}

.sec-8-agent-title {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.sec-8-agent-phone,
.sec-8-agent-email {
  font-size: 18px;
  line-height: 1.4;
  transform-origin: 0 50%;
}

/* Center logo */
.sec-8-logo-column {
  text-align: center;
}

.sec-8-logo {
  max-width: 130px;
  width: 100%;
}

.sec-8-brokerage-name {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.sec-8-brokerage-address {
  font-size: 14px;
  line-height: 1.4;
}

/* Divider */
.sec-8-divider {
  max-width: 1100px;
  height: 1px;
  margin: 0 auto 40px;
  background: rgba(255, 255, 255, 0.18);
}

/* Bottom block */
.sec-8-bottom {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.sec-8-about-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.sec-8-about-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.sec-8-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.sec-8-copyright {
  font-size: 12px;
  margin-bottom: 12px;
}

.sec-8-mls-logo img {
  max-width: 90px;
}

/* Mobile */
@media (max-width: 768px) {
  .sec-8-top {
    text-align: center;
  }

  .sec-8-agent,
  .sec-8-brokerage {
    text-align: center;
    margin-bottom: 30px;
  }

  .sec-8-column {
    padding: 10px 10px;
  }

  .sec-8-divider {
    margin: 10px auto 30px;
  }

  .sec-8-agent-phone,
  .sec-8-agent-email {
    transform-origin: 50% 50%;
    overflow-wrap: break-word;
    white-space: normal;
  }
}

.test-section {
  padding: 80px 0;
  color: #fff;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
}

/* Main section */
.sec-selling {
  background: #f5f5f5;
  padding: 0;
}

.sec-selling-row {
  /* max-width: 1200px; */
  margin: 0 auto;
  align-items: stretch;
}

/* Left side: image + overlay text */
.sec-selling-left {
  padding: 0;
}

.selling-image-wrap {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
}

.selling-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.selling-overlay {
  position: absolute;
  left: 40px;
  top: 40%;
  max-width: 320px;
  color: #ffffff;
  text-align: left;

}

.selling-overlay h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 16px;
}

.selling-overlay p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Right side: form card */
.sec-selling-right {
  padding: 0;
  display: flex;
  align-items: stretch;
}

.selling-form-card {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
  padding: 40px 40px 30px;
  width: 100%;
}

/* Form fields */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #d3d3d3;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #1240e7;
}

.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

/* Button + status */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 8px;
}

.message-status {
  font-size: 13px;
  color: #2e7d32;
}

.submit-btn {
  background: #022C8E !important;
  color: #ffffff !important;
  width: 186px;
  height: 66px;
  border: none;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.submit-btn:hover {
  opacity: 0.9;
}

/* Errors */
.error-message {
  font-size: 12px;
  color: #c62828;
  margin: -10px 0 0;
}

/* Accessibility helper */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Responsive */
@media (max-width: 768px) {
  /* .sec-selling {
    padding: 20px 10px 30px;
  } */

  .selling-image-wrap {
    min-height: 260px;
  }

  .selling-overlay {
    left: 20px;
    bottom: 20px;
    max-width: 260px;
  }

  .selling-overlay h2 {
    font-size: 22px;
  }

  .selling-form-card {
    padding: 24px 20px 20px;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .submit-btn {
    width: 100%;
    text-align: center;
  }
}


.test-green {
  background: green;
}



  .custom-search-hero {
    width: 100%;
  }

  .custom-search-shell {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    position: relative;
  }

  .custom-search-label {
    width: max-content;
    margin: 0 auto 0;
    padding: 16px 42px 18px;
    border-radius: 20px 20px 0 0;
    background: rgba(255, 255, 255, 0.96);
    color: #2d2d2d;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    letter-spacing: 0;
  }

  .custom-search-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.14);
    padding: 18px;
  }

  .custom-search-main {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 140px 130px;
    gap: 12px;
    align-items: center;
  }

  .custom-search-type,
  .custom-search-input-wrap,
  .custom-search-filters-toggle,
  .custom-search-submit,
  .custom-search-adv-field {
    min-height: 62px;
  }

  .custom-search-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
  }

  .custom-search-type label,
  .custom-search-adv-field label {
    display: block;
    margin-bottom: 6px;
    color: rgba(17, 17, 17, 0.55);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
  }

  .custom-search-type select,
  .custom-search-adv-field select {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #111;
    font-size: 16px;
    font-family: inherit;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
  }

  .custom-search-input-wrap {
    display: flex;
    align-items: center;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    padding: 0 18px;
  }

  .custom-search-input-wrap input {
    width: 100%;
    height: 62px;
    border: 0;
    outline: none;
    background: transparent;
    color: #111;
    font-size: 18px;
    font-family: inherit;
  }

  .custom-search-input-wrap input::placeholder {
    color: rgba(17, 17, 17, 0.45);
  }

  .custom-search-filters-toggle,
  .custom-search-submit {
    border: 0;
    outline: none;
    border-radius: 16px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
  }

  .custom-search-filters-toggle {
    background: #fff;
    color: #2d2d2d;
    border: 1px solid rgba(17, 17, 17, 0.08);
  }

  .custom-search-submit {
    background: #1237a6;
    color: #fff;
  }

  .custom-search-submit:hover {
    background: #0f2f8d;
  }

  .custom-search-advanced {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
  }

  .custom-search-advanced-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .custom-search-adv-field {
    padding: 12px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
  }

  .pac-container {
    border-radius: 14px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    margin-top: 8px;
    font-family: inherit;
  }

  .pac-item {
    padding: 10px 14px;
    font-size: 14px;
  }

  @media (max-width: 1024px) {
    .custom-search-shell {
      max-width: 920px;
    }

    .custom-search-main {
      grid-template-columns: 1fr 1fr;
    }

    .custom-search-input-wrap {
      grid-column: 1 / -1;
      order: -1;
    }

    .custom-search-advanced-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (max-width: 768px) {
    .custom-search-shell {
      max-width: 430px;
    }

    .custom-search-label {
      padding: 14px 28px 6px;
      font-size: 18px;
      margin-bottom: 0;
    }

    .custom-search-card {
      padding: 14px;
      border-radius: 24px;
    }

    .custom-search-main {
      grid-template-columns: 1fr;
    }

    .custom-search-advanced-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 480px) {
    .custom-search-shell {
      max-width: 360px;
    }

    .custom-search-advanced-grid {
      grid-template-columns: 1fr;
    }
  }

  .custom-search-adv-range {
    padding: 12px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
  }

  .custom-search-range-title {
    margin-bottom: 12px;
    color: #111;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
  }

  .custom-search-range-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .custom-search-range-row select {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(17, 17, 17, 0.18);
    outline: none;
    background: #fff;
    color: #666;
    font-size: 18px;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
  }

  .custom-search-range-sep {
    color: #222;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
  }

  @media (max-width: 768px) {
    .custom-search-range-row {
      gap: 10px;
    }

    .custom-search-range-row select {
      height: 50px;
      font-size: 16px;
      padding: 0 14px;
    }

    .custom-search-range-sep {
      font-size: 18px;
    }
  }


.sec-2-p.container-p {
  overflow: hidden;
  transition: height 0.45s ease;
}

.sec-2-see-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  margin: 0 0 20px;
  padding: 0;

  border: 0;
  background: transparent;
  color: inherit;

  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: underline;
  cursor: pointer;
}

.sec-2-see-more-btn:hover {
  opacity: 0.75;
}

.sec-2-see-more-btn:focus {
  outline: none;
}


/* Rechat SDK components, shaped to preserve the original Macdonald template. */
.custom-search-sdk-input-wrap {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 62px;
  height: 62px;
  padding: 0 18px !important;
  overflow: visible !important;
}

.custom-search-sdk-input-wrap #custom-search-q {
  display: none;
}

.custom-search-sdk-root,
.custom-search-sdk-root rechat-listings,
.custom-search-sdk-root rechat-filter-search {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 62px;
  height: 62px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.custom-search-sdk-root {
  flex: 1 1 auto;
}

/* The SDK renders these elements inside the host. Reset its standalone field
   chrome so the original Macdonald search shell remains the only visible box. */
.custom-search-sdk-root .search_address_input {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 62px;
}

.custom-search-sdk-root .search_address_input__field_wrapper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 62px;
  height: 62px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.custom-search-sdk-root .search_address_input__field_wrapper:hover,
.custom-search-sdk-root .search_address_input__field_wrapper:focus-within {
  border: 0;
  outline: 0;
  box-shadow: none;
}

.custom-search-sdk-root .search_address_input__field_wrapper::before {
  content: none;
  display: none;
}

.custom-search-sdk-root .search_address_input__field {
  flex: 1 1 auto;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 62px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
  font: 18px var(--template-container-font-family, inherit);
}

.custom-search-sdk-root .search_address_input__field::placeholder {
  color: rgba(17, 17, 17, 0.45);
  opacity: 1;
}

.custom-search-sdk-root .search_address_input__suggestions {
  z-index: 99999;
  top: calc(100% + 8px);
  left: -18px;
  box-sizing: border-box;
  width: calc(100% + 36px);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  font-family: var(--template-container-font-family, inherit);
  max-height: 430px;
  padding: 4px 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: #18181b;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: left;
}

.custom-search-sdk-root .search_address_input__suggestions * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.custom-search-sdk-root .search_address_input__group_label {
  position: static;
  margin: 0;
  padding: 8px 12px 5px;
  color: #71717a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.custom-search-sdk-root .search_address_input__suggestion_item {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: transparent;
  color: #18181b;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

.custom-search-sdk-root .search_address_input__suggestion_item:last-child {
  border-bottom: 0;
}

.custom-search-sdk-root .search_address_input__listing_row_inner {
  position: static;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  margin: 0;
  padding: 0;
}

.custom-search-sdk-root .search_address_input__listing_avatar {
  position: static;
  display: flex;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
}

.custom-search-sdk-root .search_address_input__listing_avatar img {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0;
  object-fit: cover;
}

.custom-search-sdk-root .search_address_input__listing_body {
  position: static;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.custom-search-sdk-root .search_address_input__listing_title,
.custom-search-sdk-root .search_address_input__listing_subtitle,
.custom-search-sdk-root .search_address_input__suggestion_item__primary_text,
.custom-search-sdk-root .search_address_input__suggestion_item__secondary_text {
  position: static !important;
  inset: auto !important;
  display: block;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  transform: none !important;
  overflow: hidden;
  color: #18181b;
  font-family: var(--template-container-font-family, inherit);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.custom-search-sdk-root .search_address_input__listing_subtitle,
.custom-search-sdk-root .search_address_input__suggestion_item__secondary_text {
  margin-top: 4px;
  color: #71717a;
  font-size: 13px;
  font-weight: 400;
}

.custom-search-sdk-root .search_address_input__listing_trailing {
  position: static;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  width: auto;
  margin: 0 0 0 12px;
  padding: 0;
}

.custom-search-sdk-root .search_address_input__listing_status {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.custom-search-sdk-root .search_address_input__listing_mls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  margin: 0;
  padding: 0;
  color: #71717a;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.custom-search-sdk-root .search_address_input__suggestions button {
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.custom-search-sdk-root {
  --rechat-theme-text-font-family: var(--template-container-font-family, inherit);
  --rechat-listing-heading-font-family: var(--template-h1-font-family, var(--template-container-font-family, inherit));
  --rechat-theme-secondary-9: var(--button-bg-color);
  --rechat-theme-secondary-10: var(--container-header-color);
  --rechat-theme-secondary-11: var(--container-header-color);
  --rechat-theme-text-primary: var(--container-text-color);
  --rechat-theme-text-secondary: var(--container-text-color);
  --rechat-theme-background-color: transparent;
}

.custom-search-sdk-input-wrap input,
.custom-search-sdk-input-wrap [type="text"],
.custom-search-sdk-input-wrap [role="combobox"] {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 62px !important;
  height: 62px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #111 !important;
  font: 18px var(--template-container-font-family, inherit) !important;
}

.custom-search-sdk-input-wrap input::placeholder {
  color: rgba(17, 17, 17, 0.45) !important;
  opacity: 1;
}

.custom-search-sdk-input-wrap [role="listbox"],
.custom-search-sdk-input-wrap [data-radix-popper-content-wrapper] {
  z-index: 99999 !important;
  font-family: var(--template-container-font-family, inherit) !important;
}

/* Complete Rechat SDK form, retaining the Macdonald search-bar appearance. */
.custom-search-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.29;
  pointer-events: none;
}

.custom-search-card--sdk,
.custom-search-sdk-form-root,
.custom-search-sdk-form-root rechat-listings,
.custom-search-sdk-form-root rechat-property-search-form {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: visible;
}

/* The search-only listings context also mounts the SDK's MLS disclaimer.
   Featured listing sections render their own disclosures; keep this duplicate
   out of the compact hero card so published pages match the editor layout. */
#custom-listings-search-form rechat-listings-disclaimer,
#custom-listings-search-form .rechat-mls-disclaimers {
  display: none !important;
}

#custom-listings-search-form .macdonald-control-visual {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 62px;
  min-height: 62px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
}

#custom-listings-search-form .macdonald-control-visual--type {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 16px;
}

#custom-listings-search-form .macdonald-control-visual--filter {
  align-items: center;
  justify-content: center;
}

#custom-listings-search-form .macdonald-control-visual__caption {
  margin-bottom: 6px;
  color: rgba(17, 17, 17, 0.55);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

#custom-listings-search-form .macdonald-control-visual__value {
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

#custom-listings-search-form .macdonald-control-visual--filter .macdonald-control-visual__value {
  color: #2d2d2d;
  font-size: 17px;
  font-weight: 500;
}

.custom-search-sdk-form-root .property-search-form {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--template-container-font-family, inherit);
}

.custom-search-sdk-form-root .macdonald-sdk-search-bar {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 140px 130px;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.custom-search-sdk-form-root .macdonald-sdk-search-bar > * {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.custom-search-sdk-form-root .macdonald-sdk-address,
.custom-search-sdk-form-root .macdonald-sdk-address rechat-filter-search,
.custom-search-sdk-form-root .macdonald-sdk-property-type,
.custom-search-sdk-form-root .macdonald-sdk-advanced,
.custom-search-sdk-form-root .macdonald-sdk-submit {
  min-height: 62px;
  height: 62px;
}

.custom-search-sdk-form-root .macdonald-sdk-address {
  display: block;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: #fff;
}

.custom-search-sdk-form-root .macdonald-sdk-property-type,
.custom-search-sdk-form-root .macdonald-sdk-advanced {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 62px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: #fff;
  color: #111;
  font-family: var(--template-container-font-family, inherit);
}

.custom-search-sdk-form-root .macdonald-sdk-property-type {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 16px;
}

.custom-search-sdk-form-root .macdonald-search-control-label {
  display: block;
  position: relative;
  z-index: 10;
  margin-bottom: 6px;
  color: rgba(17, 17, 17, 0.55);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.custom-search-sdk-form-root .macdonald-search-control-value {
  display: block;
  position: relative;
  z-index: 10;
  margin: 0;
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.custom-search-sdk-form-root .macdonald-sdk-property-type .rcw-pop,
.custom-search-sdk-form-root .macdonald-sdk-advanced .rcw-pop {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.custom-search-sdk-form-root .macdonald-sdk-property-type .rcw-trigger,
.custom-search-sdk-form-root .macdonald-sdk-advanced .rcw-trigger {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111;
  font-family: var(--template-container-font-family, inherit);
}

.custom-search-sdk-form-root .macdonald-sdk-property-type .rcw-trigger {
  justify-content: flex-start;
  padding: 0 !important;
  color: transparent !important;
  font-size: 0;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}

.custom-search-sdk-form-root .macdonald-sdk-property-type .rcw-trigger > * {
  opacity: 0;
}

.custom-search-sdk-form-root .macdonald-sdk-property-type .rcw-chevron {
  display: none;
}

.custom-search-sdk-form-root .macdonald-sdk-advanced {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.custom-search-sdk-form-root .macdonald-search-filter-label {
  display: block;
  position: relative;
  z-index: 10;
  color: #2d2d2d;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.custom-search-sdk-form-root .macdonald-sdk-control,
.custom-search-sdk-form-root .macdonald-sdk-property-type > rechat-filter-property-type,
.custom-search-sdk-form-root .macdonald-sdk-advanced > rechat-filter-advanced {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.custom-search-sdk-form-root .macdonald-sdk-control .rcw-trigger,
.custom-search-sdk-form-root .macdonald-sdk-property-type .map-listings-filters__dropdown_trigger,
.custom-search-sdk-form-root .macdonald-sdk-advanced .rechat-advanced-filters__trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 62px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
}

.custom-search-sdk-form-root .macdonald-sdk-property-type .map-listings-filters__dropdown_trigger > .rechat-component,
.custom-search-sdk-form-root .macdonald-sdk-property-type .map-listings-filters__dropdown_trigger > .rechat-component *,
.custom-search-sdk-form-root .macdonald-sdk-advanced .rechat-advanced-filters__trigger > .rechat-component,
.custom-search-sdk-form-root .macdonald-sdk-advanced .rechat-advanced-filters__trigger > .rechat-component * {
  display: none !important;
}

.custom-search-sdk-form-root .macdonald-sdk-property-type > rechat-filter-property-type > .map-listings-filters__dropdown_trigger > .rechat-component,
.custom-search-sdk-form-root .macdonald-sdk-advanced > rechat-filter-advanced > .rechat-advanced-filters__trigger > .rechat-component {
  display: none !important;
}

.custom-search-sdk-form-root .macdonald-sdk-property-type .map-listings-filters__dropdown_chevron,
.custom-search-sdk-form-root .macdonald-sdk-property-type .map-listings-filters__dropdown_trigger_badge,
.custom-search-sdk-form-root .macdonald-sdk-advanced .map-listings-filters__dropdown_chevron,
.custom-search-sdk-form-root .macdonald-sdk-advanced .map-listings-filters__dropdown_trigger_badge {
  display: none !important;
}

.custom-search-sdk-form-root .macdonald-sdk-advanced .rcw-trigger {
  justify-content: center;
  padding: 0 16px !important;
  color: transparent !important;
  font-size: 0;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.custom-search-sdk-form-root .macdonald-sdk-advanced .rcw-trigger > * {
  opacity: 0;
}

.custom-search-sdk-form-root .macdonald-sdk-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: #1237a6;
  color: #fff;
  font-family: var(--template-container-font-family, inherit);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
}

.custom-search-sdk-form-root .macdonald-sdk-submit:hover {
  background: #0f2f8d;
}

/* Published pages can fall back to the SDK's standard form markup. Keep every
   SDK filter inside the search card instead of allowing its intrinsic width to
   push the .rcw-filters group beyond the right edge. */
#custom-listings-search-form .property-search-form > .rcw-search-bar:not(.macdonald-sdk-search-bar) {
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
}

#custom-listings-search-form .property-search-form > .rcw-search-bar:not(.macdonald-sdk-search-bar) > .rcw-search {
  flex: 1 1 42% !important;
  width: auto !important;
  min-width: 240px !important;
}

#custom-listings-search-form .property-search-form > .rcw-search-bar:not(.macdonald-sdk-search-bar) > .rcw-filters {
  display: flex !important;
  flex: 1 1 46% !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
}

#custom-listings-search-form .property-search-form > .rcw-search-bar:not(.macdonald-sdk-search-bar) > .rcw-filters > * {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

#custom-listings-search-form .property-search-form > .rcw-search-bar:not(.macdonald-sdk-search-bar) > .rcw-search-btn {
  flex: 0 0 130px !important;
  width: 130px !important;
  min-width: 130px !important;
}

@media (max-width: 1100px) {
  #custom-listings-search-form .property-search-form > .rcw-search-bar:not(.macdonald-sdk-search-bar) {
    flex-wrap: wrap !important;
  }

  #custom-listings-search-form .property-search-form > .rcw-search-bar:not(.macdonald-sdk-search-bar) > .rcw-search {
    flex-basis: calc(100% - 142px) !important;
  }

  #custom-listings-search-form .property-search-form > .rcw-search-bar:not(.macdonald-sdk-search-bar) > .rcw-filters {
    flex-basis: 100% !important;
    order: 3 !important;
  }
}

.rechat-body-sections {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

html.sdk-search-results-mode body > .rechat-body-sections > :not(#sdk-search-results-page):not(.site-footer),
body.sdk-search-results-mode > .rechat-body-sections > :not(#sdk-search-results-page):not(.site-footer),
html.sdk-search-results-mode body > section:not(#sdk-search-results-page):not(.site-footer),
body.sdk-search-results-mode > section:not(#sdk-search-results-page):not(.site-footer) {
  display: none !important;
}

html.sdk-search-results-mode body > .modal,
body.sdk-search-results-mode > .modal,
html.sdk-search-results-mode #Featured_Listing,
body.sdk-search-results-mode #Featured_Listing {
  display: none !important;
}

html.sdk-search-results-mode #sdk-search-results-page,
body.sdk-search-results-mode #sdk-search-results-page {
  display: block;
}

.sdk-search-results-page {
  box-sizing: border-box;
  width: 100%;
  min-height: 75vh;
  padding: 32px 24px 72px;
  background: var(--container-bg-color, #fff);
  color: var(--container-text-color, #111);
}

.sdk-search-results-page[hidden] {
  display: none;
}

.sdk-search-results-page__header,
.sdk-search-results-page__container {
  width: 100%;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

.sdk-search-results-page__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.sdk-search-results-page__back {
  position: absolute;
  left: 0;
  color: inherit;
  font-size: 16px;
  text-decoration: none;
}

.sdk-search-results-page__heading {
  font-family: var(--template-h1-font-family, var(--template-container-font-family, inherit));
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
  line-height: 1;
}

.sdk-search-results-page rechat-root,
.sdk-search-results-page rechat-listings,
.sdk-search-results-page rechat-map-listings-grid {
  display: block;
  width: 100%;
}

.sdk-search-results-page .rechat-modal-result {
  min-height: 0;
  background: transparent;
}

.sdk-search-results-page .rechat-inline-result rechat-map-filter,
.sdk-search-results-page .rechat-inline-result rechat-listings-count,
.sdk-search-results-page .rechat-inline-result rechat-listings-pagination {
  display: block;
  margin-bottom: 24px;
}

.sdk-search-results-page .map-listing-grid__root {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.sdk-search-results-page .map-listing-grid__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0;
}

@media (max-width: 768px) {
  .sdk-search-results-page {
    padding: 24px 16px 56px;
  }

  .sdk-search-results-page__header {
    justify-content: flex-end;
  }
}


.custom-search-sdk-form-root .search_address_input__clear {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
}

@media (max-width: 1024px) {
  .custom-search-sdk-input-wrap {
    width: 100%;
  }

  .custom-search-sdk-form-root .macdonald-sdk-search-bar {
    grid-template-columns: 1fr 1fr;
  }

  .custom-search-sdk-form-root .macdonald-sdk-address {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

@media (max-width: 768px) {
  .custom-search-sdk-form-root .macdonald-sdk-search-bar {
    grid-template-columns: 1fr;
  }

  .custom-search-sdk-form-root .macdonald-sdk-address {
    grid-column: auto;
  }
}

.featured-collapse {
  position: relative;
  box-sizing: border-box;
  max-height: 850px;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.featured-collapse.is-expanded {
  max-height: none;
  overflow: visible;
}

.featured-collapse-fade {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  height: 170px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--container-bg-color, #fff));
  transition: opacity 0.25s ease;
}

.featured-collapse.is-expanded .featured-collapse-fade {
  visibility: hidden;
  opacity: 0;
}

.featured-collapse-btn {
  position: absolute;
  z-index: 30;
  bottom: 24px;
  left: 50%;
  padding: 0;
  transform: translateX(-50%);
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--container-text-color, #000);
  cursor: pointer;
}

.featured-collapse-arrow {
  display: inline-block;
  height: 40px;
  font-size: 72px;
  font-weight: 100;
  line-height: 0;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.featured-collapse.is-expanded .featured-collapse-arrow {
  transform: rotate(180deg);
}

.rechat-featured-listings-root,
.rechat-featured-listings-root rechat-listings,
.rechat-featured-listings-root rechat-map-listings-grid {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

#LISTING,
#LISTING > [data-type="grid-column"],
.featured-listings-panel,
.featured-listings-sdk-grid,
.featured-listings-sdk-grid .map-listing-grid__root {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.rechat-featured-listings-root {
  --rechat-theme-text-font-family: var(--template-container-font-family, inherit);
  --rechat-listing-heading-font-family: var(--template-h1-font-family, var(--template-container-font-family, inherit));
  --rechat-theme-secondary-9: var(--button-bg-color);
  --rechat-theme-secondary-10: var(--container-header-color);
  --rechat-theme-secondary-11: var(--container-header-color);
  --rechat-theme-text-primary: var(--container-text-color);
  --rechat-theme-text-secondary: var(--container-text-color);
  --rechat-theme-text-tertiary: var(--container-text-color);
  --rechat-theme-background-color: var(--container-bg-color, #fff);
  --rechat-card-font-family: var(--template-container-font-family, inherit);
  --rechat-card-price-font-family: var(--template-h1-font-family, var(--template-container-font-family, inherit));
}

.featured-listings-subtitle {
  position: relative;
  margin: 54px auto 38px;
  color: #000;
  font-family: var(--template-container-font-family, inherit);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.featured-listings-subtitle::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin: 22px auto 0;
  background: rgba(0, 0, 0, 0.12);
}

.featured-listings-subtitle--sold {
  margin-top: 20px;
}

.featured-listings-sdk-grid .map-listing-grid__root {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.featured-listings-sdk-grid .map-listing-grid__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 18px;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 auto;
  padding: 0 26px 80px;
  overflow: visible !important;
}

.featured-listings-sdk-grid .map-listing-grid__card-wrapper,
.featured-listings-sdk-grid .listing-card__hyperlink {
  display: block;
  width: 100%;
  min-width: 0;
}

.featured-listings-sdk-grid .rechat-listing-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  background: var(--container-bg-color, #fff);
  color: #000;
  font-family: var(--template-container-font-family, inherit);
  box-shadow: none;
}

.featured-listings-sdk-grid .rechat-listing-card__media,
.featured-listings-sdk-grid .rechat-listing-card__photo,
.featured-listings-sdk-grid .rechat-listing-card__photo-image {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1.55 / 1;
  border-radius: 0;
}

.featured-listings-sdk-grid .rechat-listing-card__photo-image {
  object-fit: cover;
}

.featured-listings-sdk-grid .rechat-listing-card__content {
  gap: 0;
  padding: 0 11px 8px;
  text-align: left;
}

.featured-listings-sdk-grid .rechat-listing-card__price-row {
  align-self: flex-start;
  min-height: 36px;
  margin: 0 0 -28px -11px;
  padding: 0 11px;
  transform: translateY(-100%);
  background: #000;
}

.featured-listings-sdk-grid .rechat-listing-card__price {
  color: #fff;
  font-family: var(--template-container-font-family, Arial, sans-serif);
  font-size: clamp(17px, 1.1vw, 22px);
  font-weight: 700;
  line-height: 1;
}

.featured-listings-sdk-grid .rechat-listing-card__address,
.featured-listings-sdk-grid .rechat-listing-card__details,
.featured-listings-sdk-grid .rechat-listing-card__property-info {
  color: #000;
  font-size: 10px;
  line-height: 1.3;
}

.featured-listings-sdk-grid .rechat-listing-card__details {
  gap: 6px;
  padding-top: 8px;
}

.featured-listings-sdk-grid .rechat-listing-card__address {
  order: 1;
  font-weight: 400;
}

.featured-listings-sdk-grid .rechat-listing-card__property-info {
  order: 2;
}

.featured-listings-sdk-grid .rechat-listing-card__mls {
  display: none;
}

.featured-listings-sdk-grid .rechat-listing-card__media-top .rechat-listing-status-badge {
  display: none;
}

.featured-listings-sdk-grid .featured-listing-card-status {
  display: inline-flex;
  order: 4;
  align-self: flex-start;
  justify-content: flex-start;
  width: auto;
  height: auto;
  margin: 2px 0 0 11px;
  padding: 5px 14px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-family: var(--template-container-font-family, inherit);
  font-size: 10px;
  font-weight: 400;
}

.featured-listings-sdk-grid .featured-listing-card-status::after {
  content: "";
  width: 1px;
  height: 12px;
  margin-left: 14px;
  background: rgba(0, 0, 0, 0.1);
}

.featured-listings-sdk-grid .rechat-favorite-button {
  display: inline-flex !important;
  width: 38px;
  height: 38px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #fff;
}

.featured-listings-sdk-grid .rechat-favorite-button .rechat-icon,
.featured-listings-sdk-grid .rechat-favorite-button svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 1024px) {
  .featured-listings-sdk-grid .map-listing-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
  }
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .featured-listings-sdk-grid .map-listing-grid__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .featured-collapse {
    max-height: 700px;
  }

  .featured-listings-sdk-grid .map-listing-grid__list {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 100%;
    padding: 0 18px 60px;
  }

  .featured-listings-sdk-grid .rechat-listing-card__media,
  .featured-listings-sdk-grid .rechat-listing-card__photo,
  .featured-listings-sdk-grid .rechat-listing-card__photo-image {
    height: auto;
    min-height: 0;
  }

  .featured-listings-sdk-grid .rechat-listing-card__price {
    font-size: 20px;
  }

  .featured-listings-sdk-grid .rechat-listing-card__address,
  .featured-listings-sdk-grid .rechat-listing-card__details,
  .featured-listings-sdk-grid .rechat-listing-card__property-info {
    font-size: 11px;
  }
}
