@import url("https://kunversion-frontend-custom.s3.amazonaws.com/components/listings/new/ps.css");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.cdnfonts.com/css/brightwall");
@import url("https://fonts.cdnfonts.com/css/amsterdam-bright-2");
@import url("https://kunversion-frontend-custom.s3.amazonaws.com/overwrites/template/agent/3/ps.css");
@import url("https://kunversion-frontend-custom.s3.amazonaws.com/templates/help/ps.css");
@import url("https://kunversion-frontend-custom.s3.amazonaws.com/overwrites/template/ps.css");
@import url("https://kunversion-frontend-custom.s3.amazonaws.com/components/listings/new/ps.css");
:root {
  --page-border: 1rem;
  --drop-shadow: 0px 10px 30px -10px rgba(0, 0, 0, 0.3);
  /* Fonts */
  --heading-font: "Playfair Display", serif;
  --text-font: "Roboto", sans-serif;
  --alt-font: "Brightwall", sans-serif;
}

/* Custom CSS */
#header .container .row-flex:first-child {
  display: flex !important;
}
#header.home .logo.secondary {
  transform: translateY(-18px);
}
#header.home {
  background-color: #fff !important;
}
#header.home .navbar-toggler,
#header.home .navbar-toggler span,
#header.home .list-inline .fa {
  border-color: #000 !important;
}
#header.home .list-inline span,
#header.home .list-inline a,
#header.home .list-inline .fa {
  color: #000 !important;
}
@media only screen and (min-width: 992px) {
  #home-bodycontent #header .nav-primary > li > a {
    color: #000 !important;
  }
}
#home-bodycontent #kv-cover-title-inner h1 {
  font-family: var(--alt-font) !important;
  text-transform: none;
}
#home-bodycontent .cover-title {
  z-index: 1;
}
#home-bodycontent .cover-photo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  z-index: 0;
}
.ai-search-toggle-section {
  bottom: 55px;
}
#sct4 .featured-neighborhood.half {
  width: calc(50% - 6px) !important;
}
@media only screen and (max-width: 630px) {
  #sct4 .featured-neighborhood.half {
    width: 100% !important;
  }
}
#about {
  display: none !important;
}
#qs-submit {
  background-color: #4b4e52 !important;
}
#header .logo.primary {
  display: none;
}
#sct4 .featured-neighborhood-title,
#sct4 #explore-boxes-wrapper figure .explore-box-title {
  font-weight: 600;
  text-transform: uppercase;
}
/* ── Split-row layout (vanilla flexbox — no Bootstrap needed) ── */
/* ══ SPLIT ROW — SHOWCASE POPUP ══════════════════════ */

.bv-showcase {
  display: block;
}
.bv-showcase--warm {
  background: #f6f2ec;
}

/* Two-column split via flexbox */
.bv-showcase-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.bv-showcase-inner--reverse {
  flex-direction: row-reverse;
}

.bv-showcase-media,
.bv-showcase-copy {
  flex: 1 1 50%;
  min-width: 0;
}

/* ── Copy side ──────────────────────────────────────── */
.bv-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}
.bv-showcase-copy > * {
  max-width: 560px;
  margin-left: 0;
  margin-right: 0;
}

.bv-eyebrow {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
#home-bodycontent #froala-editor .bv-title,
#about-me h2 {
  margin: 0 0 1rem;
  font-family: var(--heading-font);
  line-height: 1.2;
  font-size: clamp(1.4rem, 7.5vw, 4rem);
}
.bv-text {
  font-size: 1.3rem !important;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  color: #6c757d;
}
#sct4 #about-me {
  background-color: #fff !important;
}

/* ── Buttons (vanilla) ──────────────────────────────── */
.bv-btn {
  display: inline-block;
  align-self: flex-start; /* don't stretch full width in the flex column */
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.bv-btn--primary {
  background: #111;
  color: #fff;
  border-color: #111;
}
.bv-btn--primary:hover {
  background: #000;
  border-color: #000;
}

.bv-btn--outline {
  background: transparent;
  color: #111;
  border-color: #111;
}
.bv-btn--outline:hover {
  background: #111;
  color: #fff;
}

/* ── Media side + play button ───────────────────────── */
.bv-showcase-media {
  position: relative;
  min-height: 320px;
}
.bv-video-pop {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}
.bv-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s ease;
}
.bv-video-pop:hover .bv-media {
  filter: brightness(0.9);
}

.bv-video-pop::before,
.bv-video-pop::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
}
.bv-video-pop::before {
  /* circle */
  z-index: 2;
  width: 4.5rem;
  height: 4.5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.bv-video-pop::after {
  /* triangle */
  z-index: 3;
  width: 0;
  height: 0;
  transform: translate(calc(-50% + 0.15rem), -50%);
  border-style: solid;
  border-width: 0.62rem 0 0.62rem 1.02rem;
  border-color: transparent transparent transparent #111;
}
.bv-video-pop:hover::before {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}
.bv-video-pop:hover::after {
  transform: translate(calc(-50% + 0.15rem), -50%) scale(1.08);
}

/* ── Responsive — stack on mobile ───────────────────── */
@media (max-width: 767.98px) {
  .bv-showcase-inner,
  .bv-showcase-inner--reverse {
    flex-direction: column;
  }
  .bv-showcase-media,
  .bv-showcase-copy {
    flex-basis: auto;
  }
  .bv-showcase-media {
    min-height: 240px;
  }
}
@media (min-width: 992px) {
  .bv-showcase-copy {
    padding: 3.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bv-media,
  .bv-video-pop::before,
  .bv-video-pop::after {
    transition: none;
  }
}

/* ── Magnific Popup — compact iframe theme, homepage-scoped ── */
#home-bodycontent .mfp-bg {
  position: fixed;
  inset: 0;
  z-index: 1042;
  background: #0b0b0b;
  opacity: 0.85;
}
#home-bodycontent .mfp-wrap {
  position: fixed;
  inset: 0;
  z-index: 1043;
  outline: none !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
#home-bodycontent .mfp-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  box-sizing: border-box;
}
#home-bodycontent .mfp-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: auto;
}
#home-bodycontent .mfp-iframe-scaler {
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
}
#home-bodycontent .mfp-iframe-scaler .mfp-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  border-radius: inherit;
}
#home-bodycontent .mfp-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  z-index: 1046;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-size: 2.4rem;
  line-height: 2.75rem;
  text-align: center;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
#home-bodycontent .mfp-close:hover {
  opacity: 1;
}

/* Fade (mainClass: 'mfp-fade') */
#home-bodycontent .mfp-fade.mfp-bg {
  opacity: 0;
  transition: opacity 0.25s ease;
}
#home-bodycontent .mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.85;
}
#home-bodycontent .mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}
#home-bodycontent .mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: opacity 0.25s ease;
}
#home-bodycontent .mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
#home-bodycontent .mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

#home-bodycontent .mfp-hide {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #home-bodycontent .mfp-fade.mfp-bg,
  #home-bodycontent .mfp-fade.mfp-wrap .mfp-content {
    transition: none;
  }
}
.font-img img {
  width: 100%;
  max-width: 450px;
}
@media only screen and (max-width: 767px) {
  .font-img img {
    display: none;
  }
}
@media only screen and (max-width: 544px) {
  .ai-search-toggle-section {
    bottom: 90px !important;
  }
}
