:root {
    /* TEMPLATE: Replace michianaproperties with your Real Geeks project folder name */
    --logo: url(https://u.realgeeks.media/michianaproperties/branding/gl.png);
    --clearnavlogo: url(https://u.realgeeks.media/michianaproperties/branding/gl-gold.png);
    --font: "greycliff-cf", sans-serif;
    --fontheader: "the-seasons", sans-serif;
    --maincolor: #2a2823;
    --accentcolor: #2a2823;
    --fontawesome: "Font Awesome 6 Pro" !important;
    --heroctabtnbg: #2a2823;
    --navbackground: var();
    --navlinkcolor: var();
    --navbackground: #ffffff;
    --sidemenubackground: var();
    --sidemenubackground: var(--accentcolor);
    --sidemenuctabuttoncolor: var( --maincolor);
    --footerbgcolor: var();
    --footerbgcolor: var(--maincolor);
    --footerinputbg: #ffffff;
    --footerunderlinecolor: #b4b4b4;
    --footerbtn: var( --maincolor);
    --footerbtntext: #040a32;
    --navuserinfoborder: solid .5px #dadada;
    --fullwidthpadding: 0px 45px;
    --containerpadding: 0px 25px;
    --containerpaddingmobile: 0px 20px;
    --li-height: 2em;
}

[data-landing-page-agent-id] .sidebar {/* display: flex; *//* max-width: 400px; */} 
@keyframes border-right-draw {
  from { height: 0; }
  to   { height: 100%; } 
}
@keyframes border-bottom-left {
  0%   { background-size: 0 1px, 1px 0; }
  50%  { background-size: 100% 1px, 1px 0; }
  100% { background-size: 100% 1px, 1px 100%; }
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes lux-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes lux-spin2 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes appearFast {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.cta-container svg {
    height: auto;
    width: 100%;
}
#maui-map svg path {
    fill: #ffffff36 !important;
    stroke: #040a32 !important;
    stroke-width: 3px!important;
}
svg circle {
    fill: white!important;
    stroke: black!important;
}
svg path:hover {
}
svg #text {
    pointer-events:none!important;
}
svg text:not(#g131 text), #g220 path, #g261 path {
    fill: #ffffff !important;
    font-family: var(--font)!important;
}
/* #gobbla,#dev-mode {
    display:none;
} */
#nyc.mobile svg {
    max-height: 1000px;
}
#City_Group polygon, #City_Group path {
    stroke: #999999;
    stroke-width: 1px;
}
#Roads path, #Roads polyline {
}
svg#vg-map {
    height: 100%;
    width: 100%;
}
#big_map path, #big_map polygon, #Small_Map path, #Small_Map polygon  {
    cursor: pointer;
    opacity: .7;
    stroke: white;
    stroke-width: 1px!important;
}
.map-flex svg {border: solid 1px #e0e0e0;}
.splide__arrow svg {
    width: 20px;  
    height: 20px; 
    fill: none!important;   
    display: none;
  }
g[id="areas"] path,
g[id="areas"] polygon {
    pointer-events: all;
}
g[id="areas"] path:hover, g[id="areas"] polygon:hover {opacity: .4!important;}
g[id="_Ð¡Ð»Ð¾Ð¹_2"] path,
g[id="_Ð¡Ð»Ð¾Ð¹_2"] polygon {
    pointer-events: all;
}
g[id="_Ð¡Ð»Ð¾Ð¹_2"] path:hover, g[id="_Ð¡Ð»Ð¾Ð¹_2"] polygon:hover {opacity: .4!important;}
g[id="small_text"] a:hover g > path {
    fill: #ffffff!important;
}
g[id="text"] path {
    stroke:none;
    fill:#040a32;
}
.vg-main-areas section h2:not(#market-section h2, #grid-listings-all h2) {
        margin-top: 0;
        margin-bottom: 30px;
    }
.realtor-page #grid-listings-all h2 {
    margin-bottom: 20px;
}
.realtor-page #grid-listings-all {
    border-top: solid 1px;
    padding-top: 30px;
    margin-top: 30px;
}
#g43 path:hover {
        fill: #ffffff5c !important;
    }
svg text:hover {
    }
#g43 text tspan, #g43 text {
  font-family: var(--font) !important;
}
#lux-map-container #map svg {
    width: 100%;
    height: 100%;
    }
svg line {
        stroke: white!important;
    }
#lux-map-container #map svg  rect {
        fill: #040a32 !important;
        stroke: #b5b5b5;
    }
#lux-map-container #map svg rect:hover {
        fill: #acacac !important;
    }
#value-section .value-header {
    grid-column: 1/-1;
}
#value-section .value-header h2 {
    color:white
}
.vg-hero .form-wrapper header > * {
    color: #ffffff;
    font-size: min(7vw, 24px)!important;
}
section.content-block.big-header h2, section.content-block.big-header h1 {
    font-size: min(8vw,30px);
    line-height: 1.3;
    position: relative;
    margin-bottom: 20px!important;
}
section.vg-hero.big-header h1 {
    font-size: min(7vw,50px);
    line-height: 1;
}
section#hero-section.vg-hero.big-header h3 {
    font-size: min(10vw,50px);
    line-height: 1;
    color: white;
    margin-bottom: 30px;
}
#market-section header h2 {
    font-size: min(7vw,40px);
}
.about-nav .nav-ink {
    padding: 10px 10px;
    background: transparent;
    border: solid 1px #ffffff9c;
}
.clearnav .about-nav .nav-ink:hover {
    opacity: .6;
    border-color: white;
}
.about-nav .nav-ink:hover {
    opacity: .5;
}
.mobile-about .about-nav .nav-ink {
    background: none;
    color: #ffffff !important;
    letter-spacing: 2px;
    font-size: min(4vw, 10px);
    border: none;
}
.noclearnav .mobile-about .about-nav .nav-ink {
    color: #040a32 !important;
}
nav.clearnav:not(.showoriginalnav) .mobile-about .about-nav .nav-ink {
    color: #ffffff !important;
}
nav .navshadow .mobile-about .about-nav .nav-ink, .navshadow .acct-nav a:before {
    color: #333333!important;
}
.about-nav {
    display: flex;
}
#market-section.home-market header h2 {
    font-size: min(10vw,28px);
}
.vg-area-page section header .large-agent {
    margin-bottom: 10px!important;
    font-size: min(15vw,25px);
    line-height: 1;
    border-bottom: solid 1px;
    width: fit-content;
    padding-bottom: 10px;
}
.acct-nav a{
    display: flex;
    padding: 0!important;
    border: none!important;
}
.acct-nav a:before {
    font-family: "Font Awesome 6 Pro";
    content: "\f2bd";
    font-weight: 700;
    font-size: 17px;
}
#head-section header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    background: black;
    position: relative;
    min-height: 200px;
}
#head-section header img {
    object-fit: cover;
    min-height: 400px;
    max-height: 600px;
    width: 100%;
    padding-bottom: 62px;
}
.listing-h span:not(#agent-cta span, .sidemenu span) {
        padding: 5px 5px;
        display: none;
        width: fit-content;
        margin-bottom: 10px;
        color: white;
        border: solid 1px;
        font-size: min(2.2vw,11px);
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 800;
        line-height: 1;
}
.value-header {
        flex: 1 1 100%;
        flex-direction: column;
        align-items: center;
    }
#about-text .value-header a {
    color: #000000 !important;
    font-weight: 600;
}
.area-header .value-header {
        width: 100%;
        flex: 1;
        position:relative;
        z-index: 1;
        display: flex;
        align-items: baseline;
        height: 100%;
        justify-content: center;
        margin: 50px 0;
    }
.area-header.explore-section .inner-content .value-header{
        max-width: none;
        align-items: center;
        padding: 20px 0;
    }
.area-header.explore-section .inner-content{
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: auto;
        padding: 0;
        width: 100%;
    }
.area-header .inner-content {
        display: flex;
        max-height: fit-content;
        overflow: hidden;
        position: relative;
        height: 100%;
        align-items: center;
    }
.area-header .inner-content .flex-btns {
    margin-top: 20px;
    flex-wrap: wrap;
    padding-bottom: 0;
    padding-top: 30px;
    position: relative;
}
.area-header .inner-content .flex-btns:before {
    content:'';
    display: inline-flex;
    width: 25%;
    position: absolute;
    height: 3px;
    background: #ffffff;
    top: 0;
}
.area-header .inner-content .flex-btns:after {
    content:'';
    display: inline-flex;
    width: 100%;
    position: absolute;
    height: 1px;
    background: #ffffff5e;
    top: 0;
}
.area-header .flex-btns a {
    width: fit-content;
    text-decoration: none!important;
}
.area-header .inner-content .flex-btns a:first-child button {
        background: #3f14d9 !important;
        color: #ffffff !important;
        text-decoration: none!important;
    }
.area-header .inner-content .flex-btns button {
        background: white;
        white-space: nowrap;
        border: solid 1px #e5e5e5;
        font-size: min(3vw,15px);
        min-width: auto;
        color: #040a32 !important;
        padding: 10px 20px;
    }
.agent-section .value-header h2 {
    }
.value-header p a {
        font-weight: 500;
        color: white;
        text-decoration: underline;
    }
#additional-text .value-header p a {
        color: black;
    }
.sidemenu .listing-h h3 {
    font-family: var(--fontheader)!important;
}
.vg-hero {
    min-height: 50vh;
    padding-bottom: 0!important;
}
.vg-hero .inner-content:not(#reviews .inner-content) {
     padding: 100px 20px!important;
     max-width: none;
     min-height: 50vh;
     margin: auto;
     display: flex;
     align-items: center;
     justify-content: normal;
     grid-gap: 40px;
     top: 0;
}
.vg-hero-img img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    object-position: center;
}
.vg-hero-img.white-back .inner-content:after {
     background: linear-gradient(180deg, white, #ffffffbd);
}
.vg-hero-img.white-back h2, .vg-hero-img.white-back p {
    color:black;
}
.vg-hero .section-info  {
    z-index: 2;
    position: relative;
    align-items: center;
    padding: 20px!important;
    height: 100%;
}
.vg-hero .vg-form .row {
    display: flex;
    justify-content: space-between;
    grid-gap: 10px;
    flex-direction: column;
    margin-bottom: 10px;
}
.vg-hero .vg-form .row:before, .vg-hero .vg-form .row:after {
    display:none;
}
.vg-hero .vg-form .row div {
    width: 100%;
}
.vg-hero button:hover {
    opacity: .7;
    background: #ffffff !important;
}
section.vg-hero h1, section.vg-hero h2{
    color: white;
    !i;!;
    line-height: 1.2!important;
}
section.vg-hero p {
    color: white;
    font-size: min(4vw,17px);
    line-height: 1.4;
}
#custom-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: #2c2c2c;
}
#custom-hero video {
    min-height: 100vh!important;
    position: relative;
    min-width: 100vw;
    object-fit: cover;
    height: 100vh;
}
.vg-hero-img strong {
    color:white;
    font-weight: 700;
}
.vg-hero-img:before {
    content:'';
    background: #040a325c;
    position:absolute;
    width:100%;
    min-height: 100%;
    z-index:1;
    top: 0;
}
.vg-hero-img.lighter-bg:before {
    background: #040a321a;
    height: 100%;
    top: 0;
}
.vg-hero .blog-socials h4 {
    color: white;
}
.vg-hero .blog-socials a {
    color: white;
}
.market-widgets .row:not(.hero-search-submit) {
    display: flex;
    flex-direction: column;
    padding: 0!important;;
}
.home-hero-links a.loaded {
  opacity: 1;
}
.design-partners .hlc-text:not(#area-hero .hlc-text) {
        width: 100%;
        padding: 50px;
    }
.parent-hero {
        display: flex;
        align-items: center;
        gap: 20px;
    }
#diamond-search .parent-hero {
        max-width: 555px;
        width: 100%;
        margin-top: 30px;
        gap: 10px;
    }
#diamond-search .parent-hero .long-dash:before {
        border-color: white;
    }
#diamond-search .parent-hero a {
        color: white;
        font-weight: 600;
        letter-spacing: 1px;
        font-size: min(4.2vw, 14px);
    }
#diamond-search .parent-hero a:hover {
        text-decoration: underline;
    }
.parent-hero a {
        color: #040a32;
        font-weight: 300;
        line-height: 1;
        white-space: nowrap;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
.parent-hero a:hover {
        color: blue;
    }
#area-hero, #about-text, #photo-gallery {
    padding-top: 0!important;
    border-bottom: solid 1px #333968;
}
.guide-hero .hlc-image {
    transition: 500ms all;
    text-align: left;
}
.guide-hero .hlc-image:hover {
        opacity: .5;
    }
.guide-hero .hlc-image h2 {
        text-align: left!important;
    }
#diamond-search .advanced-search-btn button {
    margin: 0;
    border-radius: 0;
    background: var(--accentcolor);
    text-transform: uppercase;
    font-size: min(3.5vw,15px);
    letter-spacing: 3px;
}
.form-wrapper {
    align-items: center;
    padding: 0!important;
}
.vg-form-container {
    background: #040a32;
    border-radius: 0;
    width: 100%;
    max-width: 750px;
    box-shadow: 0px 11px 9px #040a3230;
}
.vg-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    border-top: solid 1px;
    padding-top: 30px;
    margin-top: 10px;
}
.vg-form .row {
    display: flex;
    gap: 20px;
    width: 100%;
}
.vg-form .row div {
    width:100%;
}
.vg-form .row:before, .vg-form .row:after {
    display:none;
}
.vg-form button {
    background: #ffffff;
    color: black;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    font-size: min(4vw,18px);
}
.vg-form button:hover {
}
.vg-form label {
    color: #ffffff;
    margin-bottom: 11px;
    font-size: min(6vw,17px);
    font-weight: 200;
    display: block;
}
.vg-form input, .vg-form textarea, .vg-form select {
    background-color: transparent!important;
    border: none;
    color: #ffffffb5 !important;
    height: 50px;
    width: 100%;
    font-weight: 600;
    border: solid 1px #ffffff5e;
}
.vg-form textarea {
    height:200px;
    margin-bottom: 20px;
}
.form-error {
    border: solid 1px red;
    color: white;
    font-weight: 300;
    padding: 10px;
    width: 100%;
    display: block;
    margin-bottom: 20px;
    text-align: center;
}
button.alt-btn {
    background: var(--accentcolor)!important;
    color: #ffffff !important;
}
.lighter-bg button.alt-btn {
    background:white!important;
    color:black!important;
    border: none!important;
    font-size: min(10vw,25px);
}
.lighter-bg button.alt-btn:hover {
    background:white!important;
    color:black!important;
}
button.alt-btn:hover {background: #040a32 !important;}
.cta-content button {
    background: #2d00b1;
    display: flex;
}
.flex-btns button {
     margin:0!important;
     text-transform: uppercase;
     letter-spacing: 2px;
 }
button, .button {
    background: #040a32;
    margin: 0;
    font-family: var(--font);
    transition: 300ms all;
    font-size: min(4vw,14px);
    font-weight: 600;
}
button:hover, .button:hover {
    opacity: .7;
}
.flex-side .about-info button.alt-btn {
}
#mortgage-section button {
    background:var(--accentcolor)!important;
    margin-top: 30px;
}
.listing-ctas button {
        margin: 0!important;
        color: #ffffff;
        width: 100%;
        padding: 0px 20px!important;
        padding-right: 0!important;
        font-weight: 500!important;
        text-transform: uppercase;
        letter-spacing: 1px;
        background: none;
        white-space: nowrap;
    }

.sidemenu .listing-ctas button {
    padding: 15px 20px!important;
    font-weight: 400!important;
}
.listing-ctas button:hover {
        text-decoration:underline;
    }
.listing-ctas button:before {
        font-family:'Font Awesome 6 Sharp';
        font-weight:100;
        margin-right: 10px;
    }
.listing-ctas button#viewmap:before {
        content:'\f5a0';
    }
.listing-cta-btns button:nth-child(1):before {
        content:'\f4d9';
    }
.flex-btns a, .flex-btns button {
        max-width: 600px!important;
    }
#value-section .flex-btns button, #ready-section .flex-btns button {
        background: #2d00b1;
        color: white;
    }
.vg-valuation .autocomplete-form {
    max-width: none!important;
    display: flex;
    align-items: stretch;
    box-shadow: 0px 9px 8px #040a3212;
    min-width: 100%;
    position: relative;
}
.vg-valuation input {
        height: 60px;
        box-shadow: none;
        border: solid 1px #e0e0e0;
        border-right: none;
        border-radius: 0;
        font-size:min(7vw,18px);
        font-weight:600;
        color:var(--maincolor);
        margin: 0;
        text-overflow: ellipsis;
        width: 100%;
        position: relative;
        padding: 0 15px;
    }
.vg-valuation form button {
        margin: 0!important;
        height: 100%;
        padding: 10px 15px!important;
        min-width: auto!important;
        background: #2a2823;
        font-size: min(4vw,15px);
        text-transform: uppercase;
        letter-spacing: 2px;
        color: white;
    }
.vg-valuation button:not(form button) {
        margin: 0!important;
        height: 60px;
        padding: 10px 15px!important;
        background: #2a2823;
        color: #ffffff;
        border: solid 1px #ffffff;
        font-size: min(4vw,15px);
        text-transform: uppercase;
        letter-spacing: 2px;
    }
#diamond-search .advanced-btn button {
  position: relative;
  background: #ffffff !important;
  color: #040a32 !important;
  margin: 0 !important;
  z-index: 3;
  padding: 8px 30px !important;
  border: solid 1px #ffffff3b;
  text-transform: uppercase;
  border-top: none;
}
.generated-blogs .all-posts button {
  margin: 0 !important;
  background: white;
  color: black;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 20px;
  width: 100%;
  position: relative;
  width: fit-content;
  border-bottom: solid;
}
section.cta .cta-buttons a button:hover {
        opacity: 1!important;
        text-decoration: underline;
        text-decoration-thickness: 1px;
    }
.hlc-dark button {
        background: white;
        color: black;
    }
#agent-cta .popup button {
        background: #07607b;
    }
.view-listings-link button {
    background: transparent !important;
    color: white !important;
    border: solid 1px white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    padding: 15px 15px !important;
    height: 100%;
    font-size: min(2.5vw,15px)!important;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease !important;
    white-space: nowrap;
    width: 100%;
}
.view-listings-link button:hover {
    background: white !important;
    color: black !important;
    opacity: 1;
}
.search-modal-title,
.search-modal-divider {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 1s ease;
}
.vg-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.vg-modal.active {
  display: flex;
}
.vg-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #838383;
  border-radius: 8px;
}
.vg-modal-content img {
  display: block;
  width: auto;
  height: auto;
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 8px;
}
.vg-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 40px;
  padding: 0;
  font-weight: 300;
  color: #040a32;
  opacity:1!important;
  background: #ffffff;
  border: none;
  cursor: pointer;
  height: 50px;
  width: 50px;
  transition: opacity 0.2s ease;
  border-bottom-left-radius: 8px;
  border-top-right-radius: 8px;
}
.vg-modal-close:hover {
  background: black;
}
#market-section .popup {
        font-weight: 500;
        color: black;
        text-decoration: underline;
    }
.kakaako-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.kakaako-modal.active {
  display: flex;
  opacity: 1;
}
.kakaako-modal-content {
  background: #fff;
  border-radius: 0;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 50px;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}
.kakaako-modal.active .kakaako-modal-content {
  transform: translateY(0);
}
.kakaako-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  font-weight: 300;
  color: #333;
  background: none!important;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease;
}
.kakaako-modal-close:hover {
  color: #000;
}
.kakaako-modal-title {
  margin: 0 0 30px 0!important;
  color: #333!important;
  text-align: center;
  font-weight: 500!important;
}
.kakaako-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: 100%;
}
.kakaako-modal-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  min-height: 30vh;
  max-height: 30vh;
}
.kakaako-modal-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.kakaako-modal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kakaako-modal-item-text {
  padding: 15px;
  position: absolute;
  z-index: 2;
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg, #040a3299, transparent);
  top: 0;
  pointer-events: none;
}
.kakaako-modal-item-text h3 {
  font-size: min(7vw,27px)!important;
  margin: 0 0 8px 0;
  font-weight: 500;
  color: #ffffff;
  font-family: var(--font)!important;
  text-align: center;
}
.kakaako-modal-item-text p {
  font-size: min(4vw,15px);
  color: #ffffffde;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}
.kakaako-modal-item a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 0;
  z-index: 1;
}
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  pointer-events: none;
}
.search-modal.active {
  visibility: visible;
  pointer-events: auto;
}
.search-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 64%);
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(15px);
}
.search-modal.active .search-modal-overlay {
  opacity: 1;
}
.search-modal-content {
  background: transparent;
  border-radius: 0;
  max-width: 1500px;
  width: 95%;
  max-height: 90vh;
  padding: 0;
  position: relative;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.4s ease;
  z-index: 1;
  display: flex;
  gap: 10px;
  min-height: 545px;
}
.search-modal.active .search-modal-content {
  transform: translateY(0);
  opacity: 1;
}
.search-modal.active .search-modal-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
.search-modal.active .search-modal-divider {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}
.search-modal-close {
  position: fixed;
  top: 0;
  right: 25px;
  font-size: 42px;
  font-weight: 300;
  color: #ffffff;
  background: none !important;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 10px;
  transition: opacity 0.2s ease;
  z-index: 100002;
  opacity: 0;
  pointer-events: none;
}
.search-modal.active .search-modal-close {
  opacity: 1;
  pointer-events: auto;
}
.search-modal-close:hover {
  opacity: 0.6;
}
.search-modal-title {
  margin: 0 0 30px 0 !important;
  color: #333 !important;
  text-align: center;
  font-weight: 500 !important;
  font-size: min(8vw, 44px) !important;
  font-family: var(--fontheader) !important;
}
.search-modal-divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
  gap: 20px;
}
.search-modal-divider::before,
.search-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ddd;
}
.search-modal-divider span {
  color: #7a7a7a;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#listing-slider {
    min-height: auto;
    margin-top: 75px;
    margin-bottom: 75px;
}
#property-types .cta-container {
    flex-direction: column-reverse;
}
#property-types .cta-content {
    padding: 30px 0;
}
section.home-listings .listing-h h1, section.home-listings .listing-h h2 {
    margin-bottom: 0!important;
    font-size: min(6vw,35px)!important;
}
.value-container:not(#agent-cta .value-container):last-of-type .listing-h span {
    background: #ffffff;
    border: solid 1px;
    color: #040a32!important;
    display: none;
}
.ultimate-guide section.home-listings h2 {
    font-size: min(8vw,30px);
}
section.home-listings {
    padding-bottom: 5vh;
    padding-top: 5vh;
}
#grid-listings-all {
    display: block!important;
}
.ultimate-guide section.home-listings {
    border-top: solid;
    border-color: #e0e0e0;
    margin: 0!important;
    padding: 100px 0px!important;
    left: 0;
    right: 0;
    width: 100%;
}
.ultimate-guide section.home-listings .inner-content {
    }
section.home-listings .featured-properties {
    margin-bottom: 0!important;
}
.ultimate-guide section.home-listings .featured-properties {
        grid-template-columns: repeat(4,1fr);
    }
.listing-ctas {
    display: flex;
    align-items: end;
    grid-gap: 15px;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
}
.listing-ctas h1 {
        margin:0!important;
    }

.listing-cta-btns {
        display: flex;
        grid-gap: 10px;
    }
.home-listings .property {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.home-listings .property.visible {
  opacity: 1;
  transform: translateX(0);
}
.toggle-extra-btn.closed-listings::after {
  content: "\f078"; 
}
.toggle-extra-btn.opened-listings::after {
  content: "\f077"; 
}
.no-listings {
        display: flex;
        align-items: center;
        min-height: auto!important;
        flex-direction: column;
        align-items: baseline;
    }
.no-listings a {
        font-weight: 500!important;
        color: #040a32 !important;
        text-decoration: underline;
    }
#property-types .begin {
        margin: 0;
    }
#property-types .begin:before {
        display: none;
    }
#recent-blogs {
        background: black;
        padding-bottom: 7vh!important;
        padding-top: 7vh!important;
    }
#recent-blogs h2 {
        color: white;
    }
.vg-blog-home .title {
        grid-column: 1/-1;
    }
.generated-blogs {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 30px;
    margin-top: 30px;
}
.generated-blogs article {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    background: #e0e0e0;
    height: 100%;
}
.generated-blogs .post {
    box-shadow: 0px 8px 20px #040a320f;
    overflow: hidden;
    transition:300ms all;
}
.generated-blogs .post:hover {
    transform:scale(.98);
    opacity: .7;
}
.generated-blogs .post-info {
    padding-top: 20px;
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    background: black;
    flex: 1;
}
.generated-blogs .date {
    color: #ffffff;
    font-size: min(4vw,16px);
    width: fit-content;
    padding: 0;
    font-weight: 500;
    line-height: 1;
    border-radius: 2px;
    text-transform: uppercase;
}
.generated-blogs h3 {
    margin: 0;
    font-size: min(6vw,22px)!important;
    font-family: var(--font)!important;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 30px;
}
.generated-blogs h3 a {}
.generated-blogs .blog-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  height: auto;
  min-height: 25vh;
}
.generated-blogs .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.generated-blogs .all-posts {
        margin-top: 50px;
    }
.blog-chapter.agent-cta > .blog-chapter-text h3, .blog-chapter.agent-cta > .blog-chapter-text p, .blog-chapter.agent-cta .blog-chapter-text .social-links a, .blog-chapter.agent-cta > .blog-chapter-text strong{
    color:white!important;
}
.vg-custom-blog .agent-section {
     border: none!important;
 }
.vg-home section:not(#map-section, #quicksearch-section, .main-section) {
    padding-bottom: 0;
    padding-top: 7vh;
}
#map-section {
    margin-top: 7vh;
    background: #2a2823!important;
}
.click-map {
    color: white;
    position: relative;
    display: flex;
    gap: 10px;
    margin-top: 20px;
    font-weight: 500;
    font-size: min(4vw,21px);
}
.click-map::before {
  font-family: "Font Awesome 6 Sharp";
  content: "\f245"; /* click / pointer icon */
  font-weight: 100;
}
.map-flex .cta-container {
    overflow: hidden;
}
.directory-blocks {
     display: grid;
     grid-template-columns: repeat(2,1fr);
     grid-gap: 20px;
     margin-top: 20px;
     max-width: 1500px;
     margin: 0;
     width: 100%;
     border-radius: 0px;
}
.four-directory {
        grid-template-columns: repeat(4,1fr);
    }
.four-directory .directory-item img {
        min-height: 25vh;
    }
.directory-item {
    width: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    transition:300ms all;
    border-radius: 10px;
    overflow: hidden;
}
.directory-item:hover {
    filter:none
}
.directory-text {
    position: absolute;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    padding: 0;
    z-index: 2;
    pointer-events: none;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 15px;
}

.directory-item:hover {
   transform: scale(.99);
}
.directory-item img {width: 100%;object-fit: cover;height: 100%;transition:800ms all;min-height: 33vh;max-height: 25vh;border-radius: 10px;}
#directory-blocks .directory-blocks .directory-item h2 {
    z-index: 2;
    position: relative;
    font-size: min(6vw, 23px)!important;
    color: #ffffff !important;
    width: 100%;
    height: fit-content;
    display: flex;
    margin: 0;
    flex-direction: column;
    pointer-events: none;
    text-align: left;
    justify-content: end;
    line-height: 1.1;
    font-family: var(--font)!important;
    font-weight: 500;
}
.directory-item h2:hover {
    background: #040a3230 !important;
}
.directory-item h2 span {
    color: #ffffffba;
    font-weight: 400;
    font-size: min(4vw,16px);
}
.directory-item:hover > h2:after {
    content:'';
    width: 50%;
    border-bottom:solid 1px white;
    position: relative;
    margin-top: 10px;
}
.vg-sidebar.home-directory {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin-bottom: 75px;
    margin-top: -50px;
}
.vg-sidebar.home-directory li {
    padding:0!important;
}
.vg-directory .section-info, .vg-neighborhood .section-info {
    display: block!important;
}
.area-directory .area-description {
        padding: 20px!important;
    }
.directory-item p {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hlc-flex {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 100px;
    }
.hlc-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        flex: 1;
        padding: 7vh 0;
    }

section .hlc-text h1 {
    margin-top: 0;
    transform: none!important;
    opacity: 1!important;
    font-size: min(7vw,39px);
    font-weight: 400;
}
.hlc-flex {
        display: flex;
        gap: 50px;
    }
.hlc-image {
        height: auto;
        position: relative;
        flex: 1;
    }
.hlc-image img {
        height: 100%;
        object-fit: cover;
        max-height: 600px;
        width: 100%;
    }
.design-partners .hlc-image {
    border-radius: 0;
    min-height: 50vh;
}
.design-partners .hlc-image img {
        max-height: 50vh;
        object-fit: cover;
        object-position: center;
        height: 100%;
    }
.hlc-dark {
        background: #040a32;
    }
.hlc-dark h2,
.hlc-dark p,
.hlc-dark a,
.hlc-dark strong {
  color: #fff !important;
}
.home-grid .directory-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.home-grid .directory-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.home-grid .directory-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.home-grid .directory-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
#value-section {
    padding: 5vh 0!important;
    border-top: solid 1px;
    border-bottom: solid 1px;
    border-color: #ffffff4d;
    background: #2a2823 !important;
}
#value-section .inner-content {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
    row-gap: 0;
}
.top-level #big-cta {
}
.section-info .vg-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
}
.section-info .vg-sidebar .section {
    width: 100%;
    flex: 1 1 33%;
}
.section-info .vg-sidebar .section li {
    text-align: left;
    padding: 0!important;
    width: 48%!important;
}
.vg-sidebar .section h3  {
    text-align: left!important;
    margin: 0!important;
    font-size: min(7vw,22px);
}
section.content-block {
    box-sizing: border-box;
}
#reviews{
    background: #2a2823;
    padding: 7vh 0;
}
section.content-block h1 {
    margin-bottom: 20px;
}
section.content-block h2 {
}
.hlc-hero-area h2 {
    font-size: min(5vw,27px)!important;
    font-weight: 400;
    font-style: italic;
    max-width: 600px;
}
.sidebar-true section:not(section:first-child, section.mce-content) {
    display: flex;
    margin-top: 0;
}
.flex-2-col .section-info, .flex-2-col .section-img {
    flex: 1;
}
.cta-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-gap: 50px;
    width: 100%;
}
.cta-content {
    flex: 1 1 30%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    height: 100%;
    max-width: 800px;
}
.cta-content-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    align-items: end;
}
.cta-content strong, .cta-content p {
    color: #040a32;
}
.cta-content h2, .cta-content h1 {
    color: #040a32;
    margin-bottom:30px;
    font-family: var(--fontheader)!important;
    font-size: min(6vw,40px)!important;
    font-weight: 100;
    line-height: 1;
    text-align: left;
    width: 100%;
}
.cta-white .cta-content h2, .cta-white .cta-content h1,
.cta-white .cta-content p, .cta-white .cta-content a, .cta-white .cta-content a:after {
    color:black;
}
.cta-white .cta-content a:before {
     background:black;
}
.vg-sidebar .cta-container {
    background:none;
    padding: 0;
}
.area-dir .cta-container {
    max-width: 1000px!important;
    margin: auto;
    min-height: 50vh;
}
#big-cta .flex-btns {
    margin-top: 30px;
    justify-content: center;
}
.section-info {
    width: 100%;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
#market-section .section-info {
    justify-content: flex-start;
    align-items: flex-start;
}
#market-section .section-info div {
    width: 100%;
}
.vg-area-page .section-info {
    padding: 20px 0;
}
#ab-section .section-info img {
    width: 100%;
}
#agent-cta:not(.ultimate-guide #agent-cta) {
    }

.vg-area-page #about-section {}
.vg-area-page #about-section .section-info {
    padding-top: 0;
}
#head-section .section-info {
    padding-top: 0;
}
.agent-section .value-container, .agent-section .value-container p, .agent-section .value-container p strong {
            color: white;
            max-width: 750px;
        }
.article-section .inner-content {
    display: grid;
    padding-bottom: 75px;
    max-width: 1500px;
    grid-gap: 30px;
}
.article-cta .inner-content h2,.article-cta .inner-content p {
    color: white;
}
.cta .inner-content {
        display: flex;
        align-items: stretch;
        grid-gap: 20px;
        justify-content: space-between;
        flex-wrap: wrap;
    }
.agent-section .value-container {
        border: none;
        padding: 30px 0;
        background: none;
        box-shadow: none;
        width: 100%;
        flex: 1;
    }
.agent-section .value-container h2 {
        font-size: min(23vw,30px)!important;
        !important;
        font-weight: 100;
        font-style: italic;
    }
#agent-cta .value-container h3 {
        font-family: var(--fontheader)!important;
        color: white;
        font-weight: 500;
        margin-bottom: 0;
        font-size: min(10vw,70px)!important;
        white-space: normal!important;
    }
#agent-cta .value-container h3:nth-child(3)  {
    font-style: italic;
    font-size: min(4vw,28px)!important;
    margin-bottom: 30px;
}
.agent-section img {
        max-width: 150px;
        width: 100%;
        object-fit: contain;
        object-position: center;
        flex: 1;
        position: relative;
        margin-bottom: 50px;
}
.market-widgets .search-column .search-section {
    padding:0;
}
.vg-main-areas section#about-text h2:first-of-type {
    color: #333333;
    margin-bottom: 30px;
}
.vg-main-areas section#about-text h3 {
        font-family: var(--font)!important;
        font-size: min(5vw,22px)!important;
    }
.vg-main-areas section#about-text h2:not(h2:first-of-type) {
    color: #040a32;
    margin-bottom: 20px!important;
    display: block;
    font-family: var(--font)!important;
    font-size: min(6vw,21px)!important;
    margin-top: 30px;
    font-weight: 700;
    border-bottom: solid 1px;
    width: fit-content;
    padding-bottom: 20px;
}
.vg-main-areas section#about-text h2:not(h2:first-of-type) + h3 {
    margin-top: 0;
}
.agent-cta .flex-btns {
    margin-top:30px;
}
#agent-cta .social-links::before {
  content: "";
  position: absolute;
  top: 42%;
  left: -10011px; 
  width: 9999px; 
  height: 1px;
  background: white;
  transform: translateY(-50%);
}
#agent-cta .social-links {
        justify-content:right!important;:
    ;
        width: fit-content;
        margin-right: 0;
        margin-left: auto;
    }
#agent-cta .social-links{
        transition:opacity .5s ease, transform 2s ease-in-out;
        display: none;
    }
#press-section {
  min-height: auto;
  border-bottom: solid 1px;
  border-top: solid 1px;
}
#press-section .inner-content {
  text-align: center;
}
#press-section h2 {
  font-weight: 800;
  font-family: var(--font) !important;
}
#agent-cta .alt-btn {
        background: transparent!important;
    }
#quicksearch-section h3 {
        margin: 0;
        color: white;
        font-size: min(3.5vw,18px);
        margin-bottom: 20px;
        font-weight: 600;
        width: 100%;
        text-shadow: 0px 2px 6px #040a3296;
        display: none;
    }
.sidebar.accordion-enabled .section h3 {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 12px 0;
  user-select: none;
  font-family: var(--font)!important;
  font-weight: 400;
  font-size: min(5vw,16px)!important;
  border-bottom: solid 1px #e0e0e0;
}
.sidebar.accordion-enabled .section h3::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Sharp';
  font-weight: 300;
  font-size: 12px;
  transition: transform 0.3s ease;
  margin-left: 10px;
}
.sidebar.accordion-enabled .section h3.expanded::after {
  transform: rotate(180deg);
}
.sidebar.accordion-enabled .section .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.sidebar.accordion-enabled .section h3.expanded + .accordion-content {
  max-height: 2000px;
}
@media (max-width:1150px) {
.vg-hero .inner-content:not(#reviews .inner-content) {
        flex-direction: column;
        overflow: hidden;
        padding: 50px 30px!important;
    }
}
@media (max-width:750px) {
.vg-form-container {
        margin-bottom:0;
    }
}
@media (max-width:600px) {
.section-info .vg-sidebar {
         flex-direction: column;
     }
.section-info .vg-sidebar .section {
        flex:1;
    }
}
@media (max-width:737px) {
.home-sections section:not(#custom-hero, .design-partners section, #area-hero,#nd-listings-carousel, #home-hero, .video-hero-section, .home-team-section, #notre-dame-communities, .vg-cp-gallery-section,#new-listings-carousel, .vg-listings-nav-section, .vg-cp-intro, .vg-el-signup-section) {
        margin-top: 0;
        padding-bottom: 30px!important;
        padding-top: 30px!important;
    }
#area-top.home {
        padding-top: 30px!important;
    }
.vg-main-areas #grid-listings-all {
    }
}
@media (min-width:737px) {
.cta-container.mobile {
    display:none;
}
}
@media (max-width:737px) {
#nyc.cta-container:not(#nyc.mobile) {
    display:none;
}
}
@media (max-width:750px) {
#vg-market-report {
        flex-direction: column;
        align-items: center;
        grid-gap: 30px;
    }
.vg-active-market-report, .vg-under-contract-market-report, .vg-sold-market-report {
        width: 100%;
    }
}
@media (max-width:1150px) {
.photo-ctas, .cta-container {
        width:100%!important;
        flex-direction: column;
        grid-gap: 20px;
        height: 100%;
    }
.cta-content {
        align-items: baseline;
        padding: 50px 15px 25px;
    }
.building-label {
        top:15px!important;
        left:15px!important;
    }
.flex-2-col .section-info, .flex-2-col .section-img {
        padding-top: 40px;
        padding-bottom: 40px;
    }
.featured-img .inner-content {
        padding: var(--containerpadding)!important;
    }
.text-center-mobile .section-info, .text-center-mobile .social-links {
    }
.vg-hero .section-info {
        padding:0!important;
    }
.vg-hero .form-wrapper {
        top: 0;
    }
}
@media (max-width:950px) {
#ab-section .section-info {
        flex-direction: column;
    }
#ab-section .section-info img {
        order: 1;
    }
#ab-section .section-info div {
        order: 2;
    }
}
@media (max-width:707px) {
#custom-hero h1:after {
         left: 60vw;
    }
}
@media (max-width:570px) {
.custom-hero-content .tagline, .custom-hero-content h3, #custom-search-tabs {
    }
}
@media (max-width:700px) {
#custom-search-tabs a {
        text-align: center;
    }
#custom-search-tabs {
        left: 0!important;
        width: 100%;
        flex-direction: column;
        grid-gap: 10px!important;
    }
}
@media (max-width:600px) {
.four-directory .directory-item img {
            min-height: 15vh;
            max-height: 15vh;
        }
}
@media (max-width:900px) {
.directory, .directory-blocks {
    grid-template-columns: repeat(1,1fr);
}
}
@media (max-width:850px) {
.directory, .directory-blocks {
    grid-template-columns: repeat(1,1fr);
    gap: 15px;
}
}
@media (max-width:950px) {
.map-flex .cta-container {
        border-left: none;
        border-right: none;
        border-bottom: none;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width:737px) {
.area-header.explore-section .inner-content .value-header {
            align-items: flex-start!important;
        }
}
@media (max-width:1000px) {
.flex-side .social-links {
        justify-content:center;
    }
}
@media (max-width:1200px) {
.home-market #vg-market-report {
    flex-direction: column;
    grid-gap: 0;
}
.home-market .vg-active-market-report, .home-market .vg-under-contract-market-report, .home-market .vg-sold-market-report {
    border-right: none;
    border-bottom: solid 1px #5b5b5b;
    padding: 50px 0;
    max-width: none;
}
.home-market .vg-sold-market-report  {
        border: none;
    }
}
@media (max-width:600px) {
.home-market #vg-market-report .vg-market-container {
        flex-direction: row;
    }
.home-market #vg-market-report .vg-market-container div {
        flex: 1 40%;
    }
}
@media (max-width:1200px) {
.vg-sidebar {
        margin-top: 0;
    }
}
@media (max-width:670px) {
.vg-sidebar.home-directory {
        grid-template-columns: repeat(1,1fr);
        margin-top: -20px;
    }
}
@media (max-width:1000px) {
.home-listings .inner-content {
        }
.listing-cta-btns {
            width: 100%;
            margin-top: 0;
            justify-content: space-between;
            flex-direction: column;
        }
.listing-cta-btns a {
            width: fit-content;
        }
.listing-ctas button {
            font-size: min(3vw,14px);
            white-space: nowrap;
            padding: 0px;
            text-align: left;
        }
.listing-ctas {
            flex-direction: column;
            align-items: center;
            margin-bottom: 20px;
            justify-content: center!important;
        }
.agent-section .listing-ctas {
            max-width: 800px;
            margin: 0px auto!important;
            padding: 0;
        }
.listing-ctas:not(#agent-cta .listing-ctas) {
            align-items: baseline;
        }
.area-top .flex-btns {
        flex-direction: column!important;
        align-items: center!important;
        justify-content: center;
        width: 100%;
        margin: auto;
        }
.value-header .flex-btns a {
            max-width: none!important;
            flex: 0 0 auto;
        }
}
@media (min-width:600px) {
#market-section .flex-btns a, #market-section .flex-btns button {
        max-width: fit-content!important;
    }
}
@media (max-width:600px) {
.listing-ctas {
            flex-direction: column;
            align-items: baseline;
        }
}
@media (max-width:1000px) {
.ultimate-guide .fullwidth:not(#custom-hero, #value-section) {
    }
.ultimate-guide section.home-listings {
        border: none!important;
        padding: 0!important;
        box-shadow: none;
        padding-top: 30px!important;
        border-top: solid 1px!important;
    }
}
@media (max-width: 1000px) {
#area-top.home .value-header {
            align-items: baseline!important;
            text-align: left!important;
            padding: 20px!important;
        }
.area-header .inner-content {
            grid-template-columns: repeat(1,1fr)!important;
        }
.area-header .value-header {
            max-width: 600px;
            margin: auto;
            padding: 30px 0;
        }
#area-top .value-header{
            width: 100%;
            max-width: 100%;
            min-height: auto;
            margin-bottom: 0;
            padding-bottom: 7px;
        }
.area-header, .area-header .inner-content {
            padding-bottom: 0!important;
        }
.area-header .inner-content .flex-btns:before, .area-header .inner-content .flex-btns:after {
            display:none!important;
        }
.area-header .inner-content .flex-btns {
          display: flex;
          flex-direction: row !important;
          justify-content: flex-start;
          flex-wrap: nowrap !important;
          overflow-x: scroll;
          overflow-y: hidden;
          white-space: nowrap;
          -webkit-overflow-scrolling: touch; 
          max-width: 100%;
          padding-bottom: 20px!important;
          margin-top: 0!important;
          padding-top: 0!important;
          border: none!important;
        }
#area-top .inner-content {
            padding: var(--containerpaddingmobile)!important;
            align-items: end;
            justify-content: normal;
            overflow: hidden;
        }
}
@media (min-width:1000px) {
.flex-btns.home {
        justify-content: center!important;
    }
}
@media (max-width:1230px) {
.agent-section .inner-content {
        flex-direction: column!important;
        align-items: center;
        justify-content: center;
        grid-gap: 30px!important;
    }
.agent-section .value-container {
            margin-left: 0!important;
        }
.agent-section img {
            max-width: 144px!important;
        }
}
@media (max-width:1100px) {
.neighborhoods .value-header {
            margin-bottom:-30px!important;
        }
}
@media (max-width:1445px) {
.agent-section .value-container {
            margin-left: 30px;
            padding-bottom: 0px!important;
        }
.agent-section .value-container.slide-from-top-last {
            max-width: none;
        }
}
@media (max-width:1000px) {
#area-top.area-header .value-header::before {
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            top: 0;
            left: 0;
            transform: none;
            width: 100%;
            height: 100%;
        }
}
@media (max-width:800px) {
.value-container {
            flex:1 1 100%;
        }
.agent-section .listing-ctas {
            max-width: 800px;
            margin: auto!important;
            padding: 0;
            margin-bottom: 0px!important;
        }
.agent-section img {
        }
.agent-section .value-container {
            padding: 15px 0px;
            margin: 0!important;
        }
.agent-section .flex-btns a, .agent-section .flex-btns button, #market-section .flex-btns a {
            width:100%;
        }
.agent-section .social-links {
            justify-content: right!important;
            width: fit-content;
            margin-right: 0;
            margin-bottom: 50px;
            margin-left: auto;
        }
#value-section .inner-content {
            grid-gap:25px;
            grid-template-columns: repeat(1,1fr);
        }
.value-header {
            text-align:left;
        }
.vg-neighborhoods {
            gap: 10px!important;
        }
}
@media (max-width:800px) {
.generated-blogs {
    grid-template-columns: repeat(2,1fr);
}
}
@media (max-width:500px) {
.generated-blogs {
    grid-template-columns: repeat(1,1fr);
}
}
@media (max-width:600px) {
.agent-cta .flex-btns a, .agent-cta .flex-btns button {
    width:100%;
}
}
@media (max-width:850px) {
.sideoptions {
            flex-wrap: wrap;
            margin-top: 0;
            justify-content: flex-start;
            display: grid;
            grid-template-columns: repeat(1,1fr);
            grid-column-gap: 10px;
            padding: 20px;
        }
.inner-side {
            flex-direction: column;
        }
#global-sidemenu .social-links {
            padding-right: 15px;
            margin-bottom: 20px;
        }
.social-wrapper {
            padding-left: 20px;
        }
.emblem {
            padding-right: 15px!important;
            padding-left: 15px;
            min-width: 55px!important;
            max-width: 55px!important;
            position: relative;
        }
}
@media (max-width:850px) {
#property-types .inner-content {
        flex-direction: column;
    }
#property-types .cta-content {
            padding: 25px;
        }
#property-types .cta-content a:not(.begin) {
            width:100%;
        }
}
/* @media (max-width:600px) {
.section-cta-btn a, .section-cta-btn button, section.content-block button:not(.listing-slick-btns button, .listing-ctas button), .mobile-100 {
        width: 100%!important;
        display: block;
        min-width: auto;
    }
} */
@media (max-width:900px) {
#team-wrapper {
       grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
@media (max-width:450px) {
#team-wrapper {
       grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
@media (min-width: 851px) {
.vg-neighborhoods.accordion-mode .area-list h3 i {
    display: none;
  }
.vg-neighborhoods.accordion-mode .area-list ul {
    max-height: none !important;
    overflow: visible !important;
  }
}
@media (max-width:1130px) {
.home-hero div#diamond-search {
            margin: 0;
        }
#quicksearch-section.quick-hero {
  min-height: 100vh;
  justify-content: end;
  padding-bottom: 0;
}
.quick-hero .hoz-inside {
            margin: 0!important;
            justify-content: flex-end;
            align-items: center!important;
            padding: 15vh 20px 20px!important;
        }

#quicksearch-section {
            padding-left: 0;
            padding-right: 0;
        }
}
}
    @media (max-width:737px) {
        .hoz-inside {
            padding: 4vh 15px 20px!important;
        }
        .search-header {
            font-size: min(9vw,41px)!important;
            font-weight: 500!important;
            line-height: 1;
            max-width: 555px;
        }
        }
@media (min-width:1559px) {
.design-partners .hlc-text:not(#area-hero .hlc-text) {
            padding-left: 150px;
            max-width: 40%;
            padding-right: 150px;
        }
}
@media (max-width:1559px) {
.design-partners .fullwidth .inner-content .hlc-flex {
        flex-direction: column;
    }
.design-partners .hlc-text:not(#area-hero .hlc-text) {
    max-width: none!important;
    padding: 10vh 30px;
}
}
@media (max-width: 1100px) {
.vg-photo-gallery {
    column-count: 3!important;
  }
}
@media (max-width: 800px) {
.vg-photo-gallery {
    column-count: 2!important;
  }
}
@media (max-width: 500px) {
.vg-photo-gallery {
    column-count: 1!important;
  }
}
@media (max-width:950px) {
.hlc-flex {
        grid-template-columns: repeat(1,1fr);
        gap: 5vh;
    }
.hlc-image:not(.guide-hero .hlc-image) {
                width: 100vw;
                left: 50%;
                right: 50%;
                margin-left: -50vw;
                margin-right: -50vw;
                border-radius: 0!important;
        }
.photogallerynum {
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
  width: max-content;
  max-width: 100%;
  bottom: 0;
}
#area-hero {
            margin-bottom: 0;
            padding-bottom: 0!important;
        }
.hlc-flex {
            flex-direction: column;
            gap: 0;
        }
#agent-cta .hlc-flex {
    flex-direction: column-reverse;
}
}
@media (max-width:1250px) {
.legend {
            flex-wrap: wrap;
            flex-direction: row!important;
            justify-content: center;
            width: 100%;
            max-width: none!important;
        }
}
@media (max-width: 820px) {
.diamond-initial-btns {
        align-items: flex-start;
        gap: 10px;
        flex-wrap: nowrap;
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }
.parent-hero {
            display:none;
        }
.diamond-initial-btns.open {
            flex-direction: column;
        }
}
@media (max-width: 650px) {
.expanding-search-btn.expanded {
        width: calc(100vw - 30px);
        max-width: 100%;
        padding-right:0!important;
    }
.view-listings-link {
        width: 100%;
        flex: 1 1 100%;
    }
.view-listings-link button {
        width: 100% !important;
    }
#diamond-search h3 {
        font-size: min(5vw, 18px);
        padding: 0 15px;
    }
}
@media (max-width: 768px) {
.home-grid .directory-blocks {
    grid-template-columns: 1fr;
  }
.kakaako-modal-grid {
    grid-template-columns: 1fr;
  }
.kakaako-modal-content {
    padding: 30px 20px;
  }
.kakaako-modal-title {
    font-size: 24px;
  }
}
@media (max-width: 768px) {
.search-modal-content {
    padding: 0;
  }
.search-modal-title {
    font-size: min(6.5vw,29px)!important;
    margin-bottom: 20px !important;
  }
.search-modal-divider {
    margin: 25px 0;
  }
}
#proplist_disclaimer img{
    display:none;
}
#diamond-search .advanced-search-btn {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-top: 3px;
}
.light-bg {
    background: #5b5b5b0a;
}
#reviews .inner-content:after {
    display:none!important;
}
.vg-sidebar h3 a {
    color: var(--maincolor)!important;
    font-weight: 600;
}
.vg-sidebar h3 a:hover {
    border-bottom: solid 1px var(--maincolor);
}
.vg-sidebar h3 a:after {
    content:'\e0fc';
    font-family:var(--fontawesome);
    margin-left:10px;
    color:var(--maincolor);
    text-decoration:none;
    font-weight: 100;
}
.vg-home .hug-top {
}
.section-width-wrapper {padding: 0!important;}
.max-w-600 {
    max-width: 750px;
    width: 100%;
}
.flex-btns {
    display: flex!important;
    flex-direction: row!important;
    grid-gap: 10px;
    flex-wrap: wrap;
}
#vg-market-report {
    margin-top: 50px;
    grid-gap: 7vh;
    justify-content: center;
    width: 100%;
    margin-bottom: 70px;
    flex-direction: column;
}
#vg-market-report .vg-market-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    grid-gap: 40px;
    justify-content: flex-start;
    align-items: baseline;
    text-align: center;
}
#vg-market-report .vg-market-container div {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
    align-items: flex-start;
}
.vg-active-market-report div div span:not(.miranda-lb span),
.vg-under-contract-market-report div div span:not(.miranda-lb span),
.vg-sold-market-report div div span:not(.miranda-lb span){
    font-size: min(5vw,23px);
    font-weight: 500;
    !i;!;
    color: var(--accentcolor);
}
.vg-active-market-report h2, .vg-under-contract-market-report h2, .vg-sold-market-report h2{
    =:
    solid -1px #9ba590;
    width: fit-content;
    !i;!;
    font-size: min(3.5vw, 18px)!important;
    font-weight: 600;
    color: var(--accentcolor);
    text-align: center;
    margin-bottom: 30px !important;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    text-transform: none;
    font-family: var(--font)!important;
    width: 100%;
}
.vg-active-market-report, .vg-under-contract-market-report, .vg-sold-market-report {
    border-radius: 0;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}
.vg-under-contract-market-report {
    }
.vg-sold-market-report {
    }
.vg-sold-market-report h2 {
}
.vg-area-page .text-center-mobile h2, .vg-area-page .text-center-mobile h1, .vg-area-page .text-center-mobile h3, .vg-area-page .text-center-mobile p, .vg-area-page .text-center-mobile a, .vg-area-page .text-center-mobile {
    text-align:left!important;
    justify-content:flex-start;
}
.hug-top {
    margin-bottom: 0;
    margin-top: 0!important;
}
    #additional-text {
        padding-top: 7vh;
    }
    #market-section {
        /* border-top: solid 1px; */
    }
    #market-section a {
        color: #040a32;
        font-weight: 500;
        text-decoration: underline;
    }
    #market-section a:hover {
        opacity:.5;
    }
.hug-top:last-child {
        margin-bottom:0;
    }
.sidebar .do_search {
    background:black;
}
#custom-search-tabs a {
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: min(5vw,19px);
    position: relative;
    border: solid 1px #ffffff6b;
    transition: 300ms ease;
    padding: 10px 40px;
    font-weight: 800;
}
#custom-search-tabs a:first-child {
    background: white;
    color: black;
}
.vg-active-market-report p,
.vg-under-contract-market-report p,
.vg-sold-market-report p{
    font-size: min(5vw,13px);
    font-weight: 500;
    max-width: 300px;
    text-align: left!important;
}
#custom-search-tabs {
    display: flex;
    grid-gap: 30px;
    margin-top: 50px;
    position: relative;
}
#custom-search-tabs a:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 1px;
  width: 0%;
  transition: 300ms ease;
  background-color: white;
}
#custom-search-tabs a:hover:after {
  width: 100%;
}
#reviews img {
    max-height: 18px;
    margin-top: 10px;
}
.condo-label {
        position: absolute;
        left: 15px;
        top: 15px;
        background: #ffffff;
        padding: 2px 8px;
        border-radius: 6px;
        font-weight: 500;
        color: #040a32;
        display: none;
    }
#mobile-banner {
    display:none!important;
}
.vg-area-page p a {
    color: var(--accentcolor);
    font-weight: 500;
    text-decoration:underline
}
.mobile-about {
    padding-right: 5px!important;
}
strong {
    font-weight: 400;
    color: var(--maincolor);
}
.home-market #vg-market-report {
    flex-direction: row;
    grid-gap: 0;
}
.home-market .vg-active-market-report, 
.home-market .vg-under-contract-market-report, 
.home-market .vg-sold-market-report{
    background: transparent;
    box-shadow: none;
    border-right: solid 1px #183f49;
    padding: 0 100px;
    justify-content: space-between;
}
.home-market .vg-under-contract-market-report {
}
.home-market .vg-sold-market-report {
    border:none!important;
}
.home-market .inner-content {
    max-width: 2500px;
}
.home-market .vg-active-market-report h2, 
.home-market .vg-under-contract-market-report h2, 
.home-market .vg-sold-market-report h2 {
    background: none!important;
    border: none;
    padding: 0;
    color: var(--maincolor);
    text-align: center!important;
    font-size: min(10vw,28px);
    margin-bottom: 50px!important;
}
.home-market .vg-active-market-report div div span:not(.miranda-lb span), 
.home-market .vg-under-contract-market-report div div span:not(.miranda-lb span), 
.home-market .vg-sold-market-report div div span:not(.miranda-lb span) {
    font-size: min(7vw,40px);
}
.home-market .vg-active-market-report p, 
.home-market .vg-under-contract-market-report p, 
.home-market .vg-sold-market-report p {
    padding: 0;
    background: none;
}
.home-market #vg-market-report .vg-market-container {
    padding: 0;
    grid-gap: 42px;
    flex-wrap: wrap;
}
.first-item a, .vg-sidebar .first-item h3 a {
    color:white!important;
}
.vg-sidebar .first-item h3 a {
    font-weight: 700;
}
.vg-sidebar .first-item h3 a:after {
    color:white;
    font-weight:600;
}
.sidebar .pp-h h3 {
    color:white;
}
g[id="text"] g {
    pointer-events:none;
}
#total-payment-amount {
    color:var(--accentcolor)!important;
}
.dot.active {
        background: #ffffff;
    }
rect:hover {
    fill: #040a32 !important;
}
.vg-area-page .vg-element {
        display: flex;
        flex-direction: column;
        grid-gap: 50px;
    }
.area-description {
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
    background: #eeeeee00;
    padding: 50px 20px;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
  }
.area-description.expanded {
    max-height: 1000px; 
  }
.read-more-toggle {
    display: inline-block;
    margin-top: -1px!important;
    cursor: pointer;
    background: white!important;
    border: solid 1px #e0e0e0;
    opacity: 1!important;
    position: relative;
    font-size: 17px;
    border-top: none!important;
    position: absolute;
    color: var(--accentcolor)!important;
    z-index: 2;
    left: 0;
  }
.area-description.expanded {
  max-height: 2000px; 
}
.area-description.fade-gradient::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff9e, #fff);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.area-description.expanded::after {
  opacity: 0;
}
.featured-properties.extra-properties {
        margin-top: 15px;
    }
.vg-valuation {
        width:100%;
        min-width: 100%;
    }
.value-container {
        width: 100%;
        position: relative;
        z-index: 2;
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        height: auto;
        max-width: 800px;
        background: white;
        border: solid 1px white;
    }
.value-container img {
        border-radius: 5px;
    }
.value-container h3 {
        font-size: min(5vw,25px)!important;
        margin: 0;
        font-weight: 300;
        margin-bottom: 10px;
    }
#area-top .read-toggle {
        font-weight: 800;
        color: #2b2b2b;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 10px;
        background: #eaeaea;
        padding: 4px 10px;
        border-radius: 20px;
        line-height: 1;
    }
.long-arrow:after {
  font-family: 'Font Awesome 6 Sharp';
  content: '\f0e7'; 
  font-weight: 800; 
  margin-left: 10px;
  color: #ffffff;
}
.begin.long-arrow:after {
        color:white!important;
    }
.toggle-extra-btn {
    border-radius: 5px;
    font-size: min(5vw,17px);
    background: #b7b7b726 !important;
    color: #040a32 !important;
    padding: 10px 15px;
}
.toggle-extra-btn:hover {
   transform:scale(.97);
    }
.toggle-extra-btn::after {
  font-family: "Font Awesome 6 Sharp";
  font-weight: 200;
  margin-left: 0.4em;
  transition: transform 0.3s ease;
}
.slide-from-left,
.slide-from-left-last,
.slide-from-top,
.slide-from-top-last,
.slide-from-bottom,
.slide-from-bottom-last {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.slide-from-left.visible,
.slide-from-top.visible,
.slide-from-bottom.visible {
  opacity: 1;
}
.slide-from-left-last.visible,
.slide-from-top-last.visible,
.slide-from-bottom-last.visible {
  opacity: 1;
  transition-delay: 0ms;
}
#diamond-search .advanced-btn {
        position: relative;
        z-index: 0;
        width: fit-content;
    }
.vg-neighborhoods {
    display: flex;
    width: 100%;
    grid-gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
    border-top: solid 1px;
    padding-top: 30px;
}
.area-list {
    width: 100%;
    flex: 1 1 10%;
}
.area-list h3 {
        font-size: min(6vw,22px)!important;
        white-space: nowrap;
    }
.area-list h3 a {
        color:#040a32;
    }
.area-list h3 a:hover {
        text-decoration:underline;
    }
.area-list ul {
        margin: 0;
        display: flex;
        grid-row-gap: 15px;
        grid-column-gap: 40px;
        flex-direction: column;
    }
.area-list li a {
        color: #565656;
        font-weight: 500;
        font-size: min(3.5vw,16px);
        line-height: 1;
        text-decoration: underline;
        text-decoration-color: #040a321a;
    }
.area-list li {
        line-height: 1.2!important;
    }
.area-list li a:hover {
        text-decoration:underline
    }
.area-list li::marker {
        font-size:0;
    }
.market-widgets .row:before {
    display:none!important;
}
.market-widgets .row .columns {
    padding: 0;
    float: none;
    width: 100%;
}
#market-report .row {
    max-width:none;
}
.market-widgets {
        max-width: 500px;
    }
.market-widgets .row .columns .search-container {
    width:100%;
    padding:20px!important;
    border: solid 1px #e0e0e0;
    border-radius: 5px;
}
#about-text {
        background: #ffffff;
        min-height: auto;
        padding: 7vh 0!important;
        border-top: solid 1px;
    }
#about-text p, #about-text h3, #about-text h2, #about-text strong {
        color: #333;
    }
#about-text .inner-content {
  position: relative;   
  z-index: 1;
}
#about-text ul li {
    font-size: min(5vw,15px);
    color: #ffffff;
}
.text-wrapper.preview-mode .text-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.text-wrapper.preview-mode .text-preview {
  display: block;
}
.text-wrapper:not(.preview-mode) .text-preview {
  display: none;
}
.text-wrapper:not(.preview-mode) .text-full {
  max-height: 9999px;
  overflow: visible;
}
@media(max-width:1000px) {
.about-area {
  visibility: hidden;
opacity: 0;
  transition: opacity 2s ease;
}
.about-area.visible {
  visibility: visible;
  opacity: 1;
}
}
#area-top .about-area p strong {
    color:white;
    font-weight:700!important;
}
.fa-magnifying-glass:before, .fa-search:before {
        color:white!important;
        backgroundt:transparent!important;
    }
g[inkscape\:label="text_big"] text tspan {
  font-family: var(--fontheader) !important;
}
/* ==================== SIDEMENU 4-COLUMN GRID ==================== */
.sidemenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 0;
    min-height: 50vh;
    border-top: solid 1px white;
    padding-bottom: 25vh;
}

/* Quick Links Card (first column, white background) */
.sidemenu-quicklinks-card {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: none;
    position: relative;
}

.sidemenu-quicklinks-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 1px;
    height: 125vh;
    background: white;
}

.sidemenu-quicklinks-card h2 {
    color: #ffffff;
    font-size: min(8vw, 33px);
    font-weight: 400;
    margin: 0 0 20px;
    font-style: italic;
    font-family: var(--fontheader)!important;
}

.sidemenu-quicklinks-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidemenu-quicklinks-card li a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.2s ease;
    display: flex;
    gap: 10px;
}

 #contact-modal-trigger:after {
 font-family: "Font Awesome 6 Sharp";
    content: "\f08e";
}

.sidemenu-quicklinks-card li a:hover {
    opacity: 0.6;
}

/* Community Cards */
.sidemenu-gl-community-card {
    position: relative;
    overflow: hidden;
    min-height: 35vh;
}

.sidemenu-gl-community-card .gl-community-image-wrapper {
    position: absolute;
    inset: 0;
}

.sidemenu-gl-community-card .gl-community-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sidemenu-gl-community-card .gl-community-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(4 10 50) 0%, rgb(4 10 50 / 21%) 50%, rgb(4 10 50 / 16%) 100%);
}

.sidemenu-gl-community-card .gl-community-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 20px;
    justify-content: space-between;
}

.sidemenu-gl-community-card .gl-community-content h2 {
    color: white;
    font-size: min(8vw, 33px)!important;
    font-weight: 500;
    margin: 0 0 20px;
    font-family: var(--fontheader)!important;
    font-style: italic;
}

.sidemenu-gl-community-card .gl-community-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidemenu-gl-community-card .gl-community-link {
    color: white;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.2s ease;
    padding: 0;
    border: none;
    background: none;
}

.sidemenu-gl-community-card .gl-community-link:hover {
    opacity: 0.6;
}

.sidemenu-gl-community-card .gl-community-link.primary {
    background: none;
    color: white;
    border: none;
}

.sidemenu-gl-community-card .gl-community-link.primary:hover {
    opacity: 0.6;
}

@media (max-width: 900px) {
    .sidemenu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sidemenu-grid {
        grid-template-columns: 1fr;
        border: none;
    }
    .sidemenu-quicklinks-card::before  {
        display:none;
    }
    .sidemenu-quicklinks-card {
        padding: 15px;
        border: none;
    }

    .sidemenu-gl-community-card {
        aspect-ratio: 4/5;
    }
}

/* ==================== CONTACT MODAL ==================== */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.contact-modal-content {
    position: relative;
    background: #ffffff;
    padding: 50px 15px 30px;
    max-width: 400px;
    width: 90%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.contact-modal.active .contact-modal-content {
    transform: translateY(0);
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none!important;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
    padding: 0;
}

.contact-modal-close:hover {
    color: white;
}

.contact-modal-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgb(0 0 0)!important;
    color: #000000!important;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.contact-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.contact-option i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    opacity: 0.8;
}

.contact-modal-social h3 {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px;
    opacity: 0.7;
}

.contact-modal-social .social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
}

.contact-modal-social .social-links a {
    color: #000000;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.contact-modal-social .social-links a:hover {
    opacity: 1;
}

.contact-modal-social .emblem {
    display: none;
}

.contact-modal-social .social-wrapper {
    display: flex;
    gap: 15px;
}

.emblem {
    max-width: 60px;
    min-width: 60px;
    width: 100%;
    height: 100%;
    background: #f6f1d2;
    z-index: 2;
    opacity: 0;
    padding-right: 20px;
}
.inner-side {
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    grid-gap: 20px;
}
.building-label {
        position: absolute;
        top: 20px;
        left: 20px;
        background: #ffffff;
        padding: 3px 12px;
        border-radius: 5px;
        color: black;
        font-weight: 500;
    }
.market-loading-spinner.hidden {
  display: none !important;
}
.begin {
  position: relative;
  color: #ffffff !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 30px;
  border: solid 1px;
  width: fit-content;
  text-align: left;
  font-size: min(4vw, 15px);
  line-height: 1.4;
  gap: 10px;
  z-index: 2;
  background: #040a32 !important;
  padding: 10px 17px;
  transition: 300ms all;
  transition-delay: 0ms!important;
}
.begin:hover {
    opacity: .6;
    }
.parent-link {
    color:white;
    text-decoration:underline;
    text-decoration-thickness:2px;
    font-weight: 600;
}
.parent-link:hover {
    color:white;
    opacity:.7
}
#neighborhood-list .parent-link {
    color:black;
}
#team-grid {
        background: #ffffff;
    }
#team-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
  margin-top: 30px;
}
.vg-agent {
  position: relative;
  overflow: hidden;
  filter: grayscale(1);
  transform: translateX(-40px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 1s ease, filter 0.5s ease;
}
.vg-agent.visible {
  transform: translateX(0);
  opacity: 1;
}
.vg-agent:hover {
  filter: none;
}
.vg-agent > a {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}
.vg-agent img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.vg-agent:hover img {
  transform: scale(1.03);
}
.vg-agent-info-overlay {
  background: #2a2823;
  padding: 20px 16px;
  text-align: center;
}
.vg-agent-info-overlay h3 {
  color: #fff !important;
  font-size: min(5vw, 22px) !important;
  font-family: var(--fontheader) !important;
  margin: 0 0 2px !important;
  line-height: 1.2;
}
.vg-agent-title {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  font-family: var(--font);
  letter-spacing: 0.5px;
}
.vg-agent-phone,
.vg-agent-email {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  font-family: var(--font);
  line-height: 1.6;
  transition: color 0.2s;
}
.vg-agent-phone:hover,
.vg-agent-email:hover {
  color: #ffba1e;
}
.vg-neighborhoods.accordion-mode .area-list h3 {
  position: relative;
  cursor: pointer;
  font-size: 18px;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
}
.vg-neighborhoods.accordion-mode .area-list h3 i {
  transition: transform 0.3s ease;
  margin-left: 10px;
}
.vg-neighborhoods.accordion-mode .area-list.open h3 i.rotate {
  transform: rotate(180deg);
}
.vg-neighborhoods.accordion-mode .area-list ul {
  transition: max-height 0.4s ease;
  padding-left: 0;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  grid-gap: 0px;
}
.vg-neighborhoods.accordion-mode .area-list ul li {
  list-style: none;
  padding: 8px 0;
}
.long-dash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.long-dash::before {
  content: "";
  width: 100%;
  height: 0;
  border-top: 1px solid #000;
  display: block;
}
.vg-photo-gallery {
  column-count: 4;
  column-gap: 16px;     
}
.vg-photo-gallery img {
  width: 100%;
  display: block;
  margin-bottom: 16px;   
  break-inside: avoid;
  border-radius: 6px;
  cursor: pointer;
  transition: 300ms all;
  border: solid 1px #e0e0e0;
}
.vg-photo-gallery img:hover {
        transform: scale(.97);
        z-index: 3;
        position: relative;
    }
.photogallerynum {position: absolute;bottom: 10px;right: 10px;height: fit-content;}
.photogallerynum a {
    padding: 10px;
    background: #ffffff;
    position: relative;
    height: fit-content;
    display: block;
    color: #040a32;
    font-weight: 600;
    transition: 500ms all;
}
.photogallerynum a:hover {
        opacity: .7;
    }
.vg-photo-toggle {
        background: #eeeeee;
        padding: 20px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #040a32;
        border-radius: 8px;
        font-size: min(7vw,20px)!important;
     }
#no-market-data {
        padding: 30px;
        margin-top: 30px;
        max-width: 750px;
        border: solid 1px;
        display: none;
    }
#no-market-data h3 {
        font-family: var(--font)!important;
        font-weight: 500;
        font-size: min(5vw,22px)!important;
    }

.diamond-initial-btns {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
    width: 100%;
    justify-content: flex-start;
}
#kakaako-trigger {
  cursor: pointer;
}
#kakaako-trigger:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}
#kakaako-trigger {
  cursor: pointer;
}
#kakaako-trigger:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}
#kakaako-trigger {
  cursor: pointer;
}
#kakaako-trigger:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}
#kakaako-trigger {
  cursor: pointer;
}
#kakaako-trigger:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}
#start-search-btn.start-search-btn {
  background: #ffffff !important;
  color: #000 !important;
  border: solid 1px white !important;
  font-weight: 600;
  text-transform: uppercase;
  flex: 1 1 100%;
  letter-spacing: 2px !important;
  width: 100%;
  padding: 15px 15px !important;
  font-size: min(2.5vw,15px)!important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease !important;
  white-space: nowrap;
}
#start-search-btn.start-search-btn:hover {
  background: var(--accentcolor) !important;
  color: #fff !important;
  border-color: var(--accentcolor) !important;
}
/* ========================================================
   EDIFYNY NYC AREA PAGES - Community Directory & Overlays
   ======================================================== */

/* Community Directory Grid */
.gl-community-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.directory-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 20px;
    border-radius: 4px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.directory-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.directory-item h3 {
    margin: 0 0 10px 0;
    font-size: min(4vw,24px)!important;
    font-weight: 500;
}

.directory-item h3 a {
    color: var(--maincolor);
    text-decoration: none;
}

.directory-item h3 a:hover {
    text-decoration: underline;
}

.directory-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
}

.directory-links a {
    color: #666;
    font-size: min(3.5vw,15px);
    text-decoration: none;
    line-height: 1;
}

.directory-links a:hover {
    color: var(--maincolor);
    text-decoration: underline;
}

/* Hero Image Wrapper with Located In Overlay */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 50vh;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none;
    max-width: none;
    position: absolute;
}

.locatedin {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(360deg, #040a32, #040a3200, transparent);
    padding: 20px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.locatedin h3 {
    margin: 0 0 20px 0;
    font-size: min(7vw,30px)!important;
    font-weight: 400;
    color: white;
    line-height: 1;
    max-width: 400px;
}

.locatedin h3 a {
    color: #ffffff;
    text-decoration: underline;
}

.locatedin p {
    margin: 0 0 15px 0;
    font-size: min(4vw,16px);
    opacity: 0.9;
    color: white;
    display: none;
}

.locatedin button {
    background: white;
    color: #040a32;
    border: solid 1px #ffffff;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.locatedin button:hover {opacity: .7!important;}

/* Area Subpages Links */
.area-subpages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.area-subpages .subpage-link button {
    background: var(--maincolor);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.area-subpages .subpage-link button:hover {
    background: #1a2255;
}

/* Parent Hero Breadcrumb */
.parent-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

    

.parent-hero a {
    color: #040a32;
    text-decoration: underline;
    opacity: 0.8;
    font-weight: 600;
}

.parent-hero a:hover {
    opacity: 1;
    text-decoration: underline;
}

.parent-hero .long-dash {
    display: inline-block;
    width: 30px;
    height: 1px;
    background: rgba(255,255,255,0.5);
    vertical-align: middle;
}

/* Breadcrumb Navigation with Integrated Property Tabs */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb-link {
    font-size: min(6vw,17px);
    font-weight: 600;
    color: #040a32!important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumb-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.breadcrumb-current {
    font-size: 13px;
    font-weight: 600;
    color: #040a32;
}

.breadcrumb-separator {
    font-size: 14px;
    color: rgba(4, 10, 50, 0.5);
    font-weight: 400;
}

.property-type-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 4px;
    border: 1px solid rgba(4, 10, 50, 0.15);
}

.property-type-tabs a {
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #040a32;
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.property-type-tabs a:hover {
    background: rgb(4 10 50 / 7%);
}

.property-type-tabs a.active {
    background: #040a32;
    color: white;
}

.property-type-tabs a.active:hover {
    background: #1a2255;
}

/* Mobile adjustments for breadcrumb nav */
@media (max-width: 768px) {
    .breadcrumb-nav {
        gap: 8px;
        margin-bottom: 15px;
    }

    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 12px;
    }

    .property-type-tabs {
        gap: 2px;
        padding: 3px;
    }

    .property-type-tabs a {
        padding: 5px 10px;
        font-size: 10px;
    }
}

/* Community Page Specific */
.gl-community-page #neighborhood-directory {
    background: #f9f9f9;
    padding: 7vh 0;
}

/* Neighborhood Page Specific */
.neighborhood-page .hlc-image,
.subpage-page .hlc-image {
    position: relative;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gl-community-directory-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 5px;
    }
    
    .locatedin {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        border-radius: 0;
        min-height: 50vh;
    }
    
    .area-subpages {
        flex-direction: column;
    }
    
    .area-subpages .subpage-link {
        width: 100%;
    }

    .area-subpages .subpage-link button {
        width: 100%;
    }
}

/* ==================== HOME PAGE STYLES ==================== */

/* Video Hero Section */
.video-hero-section {
    position: relative;
    height: 100vh;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 !important;
    background: #333333;
}

.video-hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background: #333333;
}

.video-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

    .video-hero-yt {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
.video-hero-yt iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.78vh; /* inverse 16:9 */
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.video-hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.video-hero-overlay {
    position: absolute;
    inset: 0;
    background: #000000a6;
    overflow: hidden;
}

.video-hero-content {
    position: relative;
    z-index: 2;
    text-align: right;
    color: white;
    padding: 30px;
    max-width: 1000px;
    width: 100%;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .video-hero-content img {
        max-width: 200px;
        margin-bottom: 40px;
    }

.video-hero-content h1 {
    font-size: clamp(18px, 8vw, 72px)!important;
    font-weight: 805!important;
    line-height: 1;
    text-transform: uppercase;
    padding: 0!important;
    max-width: 1050px;
    text-align: center;
    border: none!important;
    letter-spacing: 0px;
    margin: 0 0 25px 0!important;
    text-shadow: none;
    color: #ffffff !important;
    margin-bottom: 10px!important;
    font-family: var(--fontheader)!important;
}

.video-hero-content h2 {
    font-size: clamp(25px, 2.5vw, 31.5px);
    font-weight: 500!important;
    margin: 0 0 20px 0!important;
    opacity: 0.9;
    color: #fffffff5 !important;
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin: 0;
    margin-bottom: 0;
    width: 100%;
    margin-top: 20px;
}

.video-hero-btn {
    padding: 20px 40px;
    font-size: min(4vw,20px);
    font-weight: 600;
    border: none!important;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid white;
    width: 100%;
    height: fit-content;
}

.video-hero-btn.primary {
    background: #ffba1e;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .video-hero-btn.primary::before {
  content: "\f002";
  font-family: "Font Awesome 6 Sharp";
  font-weight: 600;
  margin-right: 8px;
}

.video-hero-btn.primary:hover {
    opacity: .6!important;
}

.video-hero-btn.secondary {
    background: #ffffff;
    color: #000000;
}

.video-hero-btn.secondary:hover {
    /* background: white; */
    /* color: #040a32; */
    opacity: .6;
}

@media (max-width: 768px) {
    .video-hero-section {
        height: 100vh;
        min-height: 100vh;
        padding-bottom: 20px!important;
    }

    .video-hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .video-hero-content {
        padding-bottom:0;
        text-align: center;
        align-items: center;
    }
    .video-hero-content img {
        max-width: 40%;
    }

    .video-hero-btn {
        width: 100%;
    }
}

/* Neighborhoods Section (formerly Home Hero) */
.vg-home-page .hlc-hero-home {
    padding: 0px 0 0!important;
    /* max-height: 30vh; */
    background: #2a2823;
}
.vg-home-page .hlc-hero-home .inner-content {
    margin: 0 auto;
}
/* Home Hero Section */
/* .vg-home-page .hlc-hero-home {
    padding: 15vh 0 0!important;
} */

.vg-home-page .hlc-hero-home h1 {
    text-align: left;
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 30px;
    font-style: italic;
    color: white;
    display: flex;
    flex-wrap: wrap;
}


/* Home Search Container - prevents layout shift */
.home-search-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 600px;
    margin-bottom: 50px;
    min-height: 56px; /* Reserve space to prevent shift */
    background: transparent;
    border-radius: 0;
    border: 1px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.home-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}

#home-search-input {
    flex: 1;
    min-height: 56px;
}

#home-search-input form {
    margin: 0 !important;
    padding: 0 !important;
}

#home-search-input .search-section {
    margin: 0 !important;
    padding: 0 !important;
}

#home-search-input .autocomplete-field {
    padding: 0 !important;
    margin: 0 !important;
}

#home-search-input input.tt-input,
#home-search-input input.tt-hint {
    padding: 16px 16px 16px 16px !important;
    font-size: 16px !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    height: 100%!important;
    box-sizing: border-box !important;
    box-shadow: none!important;
}

    .styled-select .autocomplete-field input {
        background:transparent!important;
        height: 100%!important;
    }

    #home-search-input input.tt-input, #home-search-input input::placeholder {
        color:white!important
    }

#home-search-input input.tt-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

#home-search-input .styled-select {
    border: none !important;
    background: none !important;
}

#home-search-input .mag-icon,
#home-search-input .search-btn,
#home-search-input .loading {
    /* display: none !important; */
}

/* Transition for when form is loaded */
.home-search-container.ready {
    border-color: #ffffff;
}

/* ==================== SPLIT LAYOUT SECTIONS ==================== */

.gl-split-layout {
  display: flex;
  align-items: stretch;
  min-height: 520px;
  overflow: hidden;
  width: 100%;
  gap: 100px;
}

/* Left: text panel */
.gl-split-left {
  flex: 0 0 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px 40px;
  z-index: 2;
  min-width: 400px;
}

.gl-split-label {
  font-family: var(--font) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffba1e;
  margin-bottom: 18px;
  display: none;
}

.gl-split-title {
  font-family: var(--fontheader) !important;
  font-size: clamp(36px, 3.5vw, 46px) !important;
  font-weight: 500 !important;
  line-height: 1.05 !important;
  color: #fff !important;
  margin: 0 0 20px !important;
  text-transform: uppercase;
}

.gl-split-desc {
  font-family: var(--font) !important;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6)!important;
  margin: 0 0 32px;
}

.gl-split-cta {
  display: inline-block;
  background: #ffba1e;
  color: #040a32 !important;
  font-family: var(--font) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 24px;
  text-decoration: none;
  width: fit-content;
  transition: opacity 0.3s ease;
}

.gl-split-cta:hover {
  opacity: 0.85;
}

/* Right: carousel panel */
.gl-split-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Carousel wrapper scoped to right panel */
.gl-split-right .gl-community-carousel-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.gl-split-right .gl-community-carousel-track {
  overflow: hidden;
  flex: 1;
}

.gl-split-right .gl-community-grid {
  display: flex;
  gap: 5px;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Show 3 cards in the right panel on desktop */
.gl-split-right .gl-community-card {
  flex: none;
  aspect-ratio: unset;
  min-height: 420px;
}

/* Cards */
.gl-community-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  cursor: pointer;
}

.gl-community-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gl-community-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gl-community-card:hover .gl-community-image-wrapper img {
  transform: scale(1.05);
}

.gl-community-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}

.gl-community-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 20px;
}

.gl-community-content h2 {
  color: #ffffff !important;
  font-size: clamp(18px, 2vw, 21px) !important;
  font-weight: 500 !important;
  margin: 0 0 4px !important;
  font-family: var(--fontheader) !important;
  line-height: 1.1 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Overlay link covering entire card */
.gl-community-card > a {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10;
  font-size: 0;
  color: transparent;
}

/* View Listings button */
.gl-community-btn {
  display: inline-block;
  color: rgba(255,255,255,0.7);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0;
  border: none;
  width: fit-content;
  transition: color 0.3s ease;
  font-family: var(--font) !important;
}

.gl-community-btn::before {
  font-family: "Font Awesome 6 Pro";
  content: "\f3c5";
  font-weight: 400;
  font-size: 10px;
  margin-right: 5px;
}

.gl-community-card:hover .gl-community-btn {
  color: #ffba1e;
}

/* Footer bar: counter + arrows */
.gl-community-carousel-arrows {
  padding: 0;
}

.gl-split-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 14px 20px;
}

.gl-carousel-counter {
  font-family: var(--font) !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
}

.gl-carousel-btns {
  display: flex;
  gap: 8px;
}

.gl-community-arrow {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  background: rgba(255,255,255,0.1) !important;
  border: none;
  transition: all 0.3s ease;
}

.gl-community-arrow::before {
  font-family: 'Font Awesome 6 Pro';
  font-weight: 300;
}

.gl-community-arrow-prev::before {
  content: "\f053";
}

.gl-community-arrow-next::before {
  content: "\f054";
}

.gl-community-arrow:hover {
  background: #ffba1e !important;
  border-color: #ffba1e;
  color: #040a32;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
  .gl-split-layout {
    flex-direction: column;
    gap: 0;
  }

  .gl-split-left {
    flex: none;
    padding: 50px 30px 40px;
  }

  .gl-split-right .gl-community-card {
    flex: none;
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  .gl-split-left {
    padding: 40px 24px 30px;
  }
    #notre-dame-communities {
        padding-top: 0!important;
    }

  .gl-split-right .gl-community-card {
    flex: none;
    min-height: 260px;
  }

  .gl-split-right .gl-community-grid {
    gap: 8px;
  }

  .vg-home-page .hlc-hero-home {
    padding-top: 0 !important;
  }
}

/* ==================== HOME SECTION H2 (single source of truth) ==================== */
.gl-nd-section-title {
    text-align: center;
    font-size: clamp(42px, 5vw, 61px) !important;
    font-weight: 500!important;
    line-height: 1!important;
    margin-bottom: 4vh!important;
    font-family: var(--fontheader)!important;
    color: white!important;
    text-transform: uppercase;
}

/* Color overrides for light-background sections */
.market-stats-section .gl-nd-section-title {
    color: #333333 !important;
    text-align: center;
}
.home-team-text .gl-nd-section-title {
    color: #2a2823!important;
    margin-bottom: 25px;
    font-size: min(10vw,70px)!important;
    text-align: left;
}

@media (max-width: 768px) {
    .gl-nd-section-title {
        margin-bottom: 30px;
    }
    .market-stats-section .gl-nd-section-title {
        text-align: center !important;
    }
}

@media (max-width: 900px) {
    .home-team-text .gl-nd-section-title {
        text-align: center;
    }
}

#notre-dame-communities {
    padding-bottom: 30px!important;
    background: #2a2823;
}

/* ==================== NEW LISTINGS GRID ==================== */
.new-listings-section {
    background: #2a2823;
    padding: 60px 0 80px;
}
    #nd-listings-carousel {
        padding-top: 0!important;
    }

.new-listings-section .inner-content {
    text-align: center;
}

/* Homepage: unify listings section bg + header with slider sections */
.vg-home-page .new-listings-section {
    background: #2a2823;
}

    #new-listings-carousel {
        padding-bottom: 0!important;
    }

.vg-home-page .new-listings-spinner {
    background: #333333;
}

.new-listings-container {
    position: relative;
    /* CLS: reserve reasonable space before JS locks the real height */
    min-height: 600px;
}
.new-listings-container.has-listings {
    padding-bottom: 7vh;
}
/* Map Preview above listings */
.listings-map-preview {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    height: 40vh;
    margin-bottom: 0;
    overflow: hidden;
}

.listings-map-preview object,
.listings-map-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: grayscale(1);
}

.listings-map-preview .map-loading-spinner {
    display: none !important;
}

.listings-map-preview .map-overlay-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    text-decoration: none;
    z-index: 2;
    padding: 0;
}

.listings-map-preview .map-overlay-bg {
    position: absolute;
    inset: 0;
    transition: background 0.3s ease;
}

.listings-map-preview:hover .map-overlay-bg {
    background: rgb(68 57 32 / 11%);
}

.listings-map-preview .map-overlay-btn {
    position: relative;
    z-index: 5;
    background: #000000;
    color: #ffffff;
    border: none;
    margin-bottom: 5vh;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    opacity: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    transform: translateY(100%);
}

.listings-map-preview.map-loaded .map-overlay-btn {
    opacity: 1;
    transform: translateY(0);
}

.listings-map-preview:hover .map-overlay-btn {
    color: black;
    background: #ffba1e;
}

/* Grid layout for listings */
.new-listings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Paginated: 5 columns on desktop */
.new-listings-grid.paginated {
    grid-template-columns: repeat(5, 1fr);
}

.new-listing-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.new-listing-card::before {
    content: '';
    display: block;
    padding-top: 125%; /* 4:5 aspect ratio */
}

.new-listing-card.card-revealed {
    opacity: 1;
    transform: translateY(0);
}

.new-listing-card .card-image-link {
    display: block;
    position: absolute;
    inset: 0;
}

.new-listing-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.new-listing-card img.loaded {
    opacity: 1;
}

.new-listing-card:hover img {
    transform: scale(1.05);
}

.new-listing-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 83%) 0%, rgb(0 0 0 / 26%) 50%, transparent 100%);
    pointer-events: none;
}

.new-listing-card .card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    text-align: left;
    z-index: 3;
    color: white;
    pointer-events: none;
}

.new-listing-card .card-price {
    font-size: clamp(22px, 7vw, 28px)!important;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: -1px;
    line-height: 1;
}

.new-listing-card .card-address {
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 400;
    margin-bottom: 0;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.new-listing-card .card-details {
    display: flex;
    gap: 12px;
    font-size: 11px;
    margin: 0!important;
    padding: 0;
    list-style: none;
}

.new-listing-card .card-details li {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 13px!important;
}

.new-listing-card .card-details .number {
    font-weight: 300;
    color: white;
}

    .new-listing-card .card-details span {
        font-size:min(6vw,11px)
    }

.new-listing-card .card-details .detail-title {
    opacity: 0.7;
    color: white;
}

/* Description text - single line ellipsis */
.new-listing-card .card-description {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.new-listing-card .card-description img {
    display:none;
}

/* Card labels container */
.new-listing-card .card-labels {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 6px;
    z-index: 4;
}

/* Status label (Active/Sold) */
.new-listing-card .status-label {
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    background: rgb(0 0 0);
    color: white;
}

.new-listing-card.sold .status-label {
    background: rgb(219 0 0 / 90%);
}

/* Status-specific label colors */
.new-listing-card .status-label.status-active {
    background: rgb(0 0 0);
}

.new-listing-card .status-label.status-pending {
    background: rgb(204 120 0 / 90%);
}

.new-listing-card .status-label.status-contingent {
    background: rgb(120 80 160 / 90%);
}

.new-listing-card .status-label.status-sold {
    background: rgb(219 0 0 / 90%);
}

/* Price change labels */
.new-listing-card .price-change-label {
    padding: 4px 10px 4px 24px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
    position: relative;
}

.new-listing-card .price-change-label::before {
    font-family: "Font Awesome 6 Sharp";
    font-weight: 400;
    font-size: 10px;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.new-listing-card.price-down .price-change-label {
    background: rgb(255 255 255);
    color: #b60000;
}

.new-listing-card.price-down .price-change-label::before {
    content: "\f063";
}

.new-listing-card.price-up .price-change-label {
    background: rgb(255 255 255 / 90%);
    color: #b70303;
}

.new-listing-card.price-up .price-change-label::before {
    content: "\f062";
}

/* Placeholder Cards */
.new-listing-card.placeholder-card {
    background: transparent;
    border: solid 1px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.new-listing-card.placeholder-card .placeholder-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 30px;
    text-align: center;
}

.new-listing-card.placeholder-card .placeholder-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.new-listing-card.placeholder-card .placeholder-link span {
    position: relative;
    z-index: 1;
    font-family: var(--fontheader)!important;
    font-size: min(4vw, 24px);
    font-weight: 300;
}

/* Hidden card state for expand/collapse */
.new-listing-card.hidden-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

/* View More Button */
.view-more-container {
    margin-top: 40px;
    text-align: center;
}

.view-more-btn {
    background: transparent!important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.view-more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Orange CTA state after expanding on homepage */
.view-more-btn.view-more-btn-search {
    background: #ffba1e !important;
    border-color: #ffba1e;
    color: #040a32;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.view-more-btn.view-more-btn-search:hover {
    background: #e5a71a !important;
    border-color: #e5a71a;
}

.view-all-link {
    text-decoration: none;
}

/* ─── Pagination (cloned from RealGeeks DOM) ─── */
.vg-pagination-wrapper {
    display: flex;
    justify-content: center;
}
.vg-listing-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}
.vg-listing-pagination li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 100%;
}
.vg-listing-pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    transition: all 0.2s ease;
    background: #2e2d29;
}
.vg-listing-pagination li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
/* Active page — filled style */
.vg-listing-pagination li.bg-dark-gray a,
.vg-listing-pagination li[class*="bg-dark"] a {
    background: #fff;
    color: #1a1a1a;
    font-weight: 700;
}
/* Prev/Next text + arrow containers */
.vg-listing-pagination li > span,
.vg-listing-pagination li > a.flex {
    width: auto;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    gap: 6px;
}
.vg-listing-pagination li > a.flex {
    color: rgba(255,255,255,0.8);
    background: none;
}
.vg-listing-pagination li > a.flex:hover {
    color: #fff;
    background: transparent;
}
/* Fix SVG arrow colors for dark bg */
.vg-listing-pagination svg path {
    fill: rgba(255,255,255,0.6) !important;
}
.vg-listing-pagination a:hover svg path {
    fill: #fff !important;
}
/* Disabled prev/next (span, not link) */
.vg-listing-pagination li > span svg path {
    fill: rgba(255,255,255,0.25) !important;
}
/* Hide the "hidden sm:flex" Tailwind — show all pages */
.vg-listing-pagination li[class*="hidden"] {
    display: flex !important;
}
/* Hide the mobile "of 16" text */
.vg-listing-pagination li.flex.sm\\:hidden,
.vg-listing-pagination li[class*="sm:hidden"] {
    display: none !important;
}
/* Ellipsis */
.vg-listing-pagination li:not(:has(a)) {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    pointer-events: none;
}

/* Neighborhood page overrides */
.neighborhood-page .vg-listing-pagination li.bg-dark-gray a,
.neighborhood-page .vg-listing-pagination li[class*="bg-dark"] a {
    background: #ffffff;
    color: #1a1a1a;
}

/* Mobile */
@media (max-width: 768px) {
    .vg-listing-pagination li {
        width: 38px;
        height: 38px;
    }
    .vg-listing-pagination li a {
        font-size: 13px;
    }
    .vg-listing-pagination li > span,
    .vg-listing-pagination li > a.flex {
        padding: 0 8px;
        font-size: 12px;
    }
}

/* Spinner — absolute overlay on top of container */
.new-listings-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.new-listings-spinner .spinner-icon {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.new-listings-spinner.hidden {
    display: none;
}

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

/* Hide arrows - we're using grid now */
.new-listings-arrows {
    display: none !important;
}

/* Tablet - 2 columns */
@media (max-width: 1024px) {
    .new-listings-grid,
    .new-listings-grid.paginated {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .new-listing-card .card-info {
        padding: 15px;
    }

    .listings-map-preview {
        height: 350px;
        margin-bottom: 0;
    }

    /* CLS: reserve space before JS locks real height */
    .new-listings-container {
        min-height: 500px;
    }
}

/* Mobile - 1 column */
@media (max-width: 768px) {
    .new-listings-section {
        padding: 40px 0 50px;
    }

    .listings-map-preview {
        height: 34vh;
        margin-bottom: 0;
    }

    .listings-map-preview .map-overlay-btn {
        padding: 12px 24px;
        /* font-size: 12px; */
        border-radius: 0;
        box-shadow: none;
    }

    .new-listings-grid,
    .new-listings-grid.paginated {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }

    /* CLS: reserve space before JS locks real height */
    .new-listings-container {
        min-height: 400px;
    }

    .new-listing-card {
        border-radius: 0;
        aspect-ratio: 4/2;
    }

    .new-listing-card .card-info {
        padding: 12px;
    }

    .new-listing-card .card-price {
        font-size: 24px;
    }

    .new-listing-card .card-address {
        font-size: 11px;
    }

    .new-listing-card .card-details {
        /* display: none; */
        font-size: 8px;
    }

    .new-listing-card .card-description {
        display: none;
    }

    .new-listing-card .card-labels {
        top: 8px;
        left: 8px;
        gap: 4px;
    }

    .new-listing-card .status-label {
        padding: 3px 8px;
        font-size: 9px;
    }

    .new-listing-card .price-change-label {
        padding: 3px 8px 3px 20px;
        font-size: 9px;
    }

    .new-listing-card .price-change-label::before {
        left: 6px;
        font-size: 9px;
    }

    .new-listing-card.placeholder-card .placeholder-link {
        font-size: 14px;
        padding: 20px;
    }

    .new-listing-card.placeholder-card .placeholder-link span {
        font-size: 16px;
    }

    .view-more-container {
        margin-top: 25px;
    }

    .view-more-btn {
        padding: 12px 30px;
        font-size: 13px;
    }
}

/* ==================== MARKET STATS SECTION ==================== */
.market-stats-section {
    background: #ffba1e;
    padding: 80px 0;
    padding-bottom: 7vh!important;
}

.market-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.market-stats-box {
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
    /* padding: 30px; */
    width: 100%;
}

.market-stats-box h3 {
    color: white!important;
    font-size: min(6vw,17px)!important;
    font-weight: 400;
    margin: 0 0 25px 0;
    font-family: var(--font)!important;
    padding-bottom: 0;
}

.market-stats-list {
    list-style: none;
    margin: 0;
    text-align: center;
    padding: 0;
    display: flex;
    gap: 100px;
    justify-content: space-between;
}

.market-stats-list li {
    color: rgb(51 51 51);
    font-size: min(6vw,21px);
    line-height: 1.5;
    padding: 10px 0;
    font-weight: 400;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .market-stats-list li::marker {
        font-size:0;
        display:none!important;
    }

.market-stats-list li:last-child {
    border-bottom: none;
}

.market-stats-list li a {
    color: rgb(51 51 51);
    text-decoration: none;
    transition: .3s all;
    display: block;
    width: fit-content;
}

.market-stats-list li a:hover {
    color: white;
    opacity: .5;
    transform: scale(.9);
}

.stat-value {
    font-weight: 800;
    color: #333333;
    font-size: min(5vw,120px);
    display: block;
    font-family: var(--font)!important;
}

/* Mobile Responsive - Market Stats */
@media (max-width: 1024px) {
    .market-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        /* max-width: 500px; */
    }
    .market-stats-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .market-stats-section {
        padding: 50px 0;
    }

    .market-stats-box {
        padding: 0;
    }

    .market-stats-list li {
        font-size: min(5vw,19px);
        padding: 8px 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stat-value {
        font-size: min(15vw,74px);
    }
}

/* ===========================================
   AGENT PAGE STYLES
   =========================================== */

.vg-agent-page #agent-hero {
    background: #040a32 !important;
    padding: 15vh 0 60px!important;
}

.agent-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: start;
    margin: 0 auto;
}

.agent-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/5;
    object-fit: cover;
    border-radius: 0;
    filter: grayscale(1);
}

.agent-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.agent-brokerage {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    font-weight: 500;
}

.vg-agent-page h1 {
    font-size: min(10vw, 100px);
    font-family: var(--fontheader) !important;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
    font-style: italic;
    margin-bottom: 30px!important;
}

.agent-title {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    border-bottom: solid 1px #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.agent-bio {
    color: #333;
    line-height: 1.7;
}

.agent-bio p {
    margin: 0 0 15px;
    font-size: 15px;
    color: white;
}

.agent-bio p:last-child {
    margin-bottom: 0;
}

.agent-cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.agent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.agent-btn.primary {
    background: #ffffff;
    color: #040a32;
    border: solid 2px #040a32;
}

.agent-btn.primary:hover {
    color: #040a32;
    opacity: .5;
}

.agent-btn.secondary {
    background: transparent;
    color: #ffffff;
    border: solid 1px #ffffff;
}

.agent-btn.secondary:hover {
    background: #040a32;
    color: white;
}

.vg-agent-page .social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.vg-agent-page .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #040a32;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.vg-agent-page .social-links a:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
}

/* Agent Page - Active Listings Section */
.vg-agent-page .new-listings-section h2 {
    color: #ffffff;
}

/* Agent Page Responsive */
@media (max-width: 900px) {
    .agent-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

.agent-photo {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: block;
}

    .agent-info {
        align-items: center;
    }

    .agent-cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .vg-agent-page .social-links {
        justify-content: center;
    }

    .agent-bio {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .agent-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

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

/* ===========================================
   ABOUT PAGE STYLES
   =========================================== */

.vg-about-page .about-header {
    margin: 0 auto;
    text-align: center;
}

.vg-about-page .about-header h1 {
    font-size: min(10vw, 100px);
    font-family: var(--fontheader) !important;
    color: white;
    margin: 0 0 30px;
    line-height: 1.1;
    text-align: -webkit-auto;
    font-style: italic;
}

.about-intro {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-align: left;
}

.about-intro p {
    margin: 0 0 20px;
    font-size: 16px;
    color: white;
}

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

.about-intro strong {
    color: white;
}

/* Team Section */
#team-grid {
    background: #2a2823 !important;
}

#team-grid h2 {
    text-align: center;
    font-size: min(8vw, 56px);
    font-family: var(--fontheader) !important;
    margin-bottom: 50px;
    padding-top: 7vh;
    color: white;
    font-weight: 200;
}

#team-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0 auto;
}

.rg-agent-card {
    text-align: center;
}

.rg-agent-card a {
    display: block;
    overflow: hidden;
}

.rg-agent-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: grayscale(1);
}

.rg-agent-card a:hover img {
    transform: scale(1.05);
}

.rg-agent-info {
    padding: 25px 10px 10px;
}

.rg-agent-info h3 {
    font-family: var(--fontheader) !important;
    color: #ffffff;
    margin: 0 0 5px;
    font-style: italic;
    text-align: left;
    font-size: min(6vw,45px)!important;
}

.rg-agent-info span {
    font-size: min(4vw,18px)!important;
    color: #ffffff;
    display: block;
    margin-bottom: 15px;
    text-align: left;
}

.agent-card-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.agent-card-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #040a32;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

.agent-card-social a:hover {
    background: #1a2050;
    transform: translateY(-2px);
}

/* About Page Responsive */
@media (max-width: 700px) {
    #team-wrapper {
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
    }

    .vg-about-page .about-header h1 {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .about-intro p {
        font-size: 15px;
    }
}

/* ─── About Page: Hero ─── */
.vg-about-hero {
  padding-top: 12vh !important;
  padding-bottom: 10vh !important;
}

.vg-about-eyebrow {
  font-size: min(3vw,24px);
  font-weight: 200;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff !important;
  margin: 0 0 16px;
  text-align: left;
}

.vg-about-hero .vg-cp-title {
  font-size: clamp(36px, 8vw, 80px) !important;
  line-height: 1.05 !important;
  margin-bottom: 24px;
}

.vg-about-hero .vg-cp-description p {
  font-size: 17px;
  margin: 0;
  line-height: 1.7;
}

.vg-about-hero .vg-cp-cta-buttons {
  margin-top: 32px;
}

/* ─── About Page: Story Section ─── */
.vg-about-story {
  background: #ffffff;
  padding: 80px 0 !important;
}

.vg-about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.vg-about-story-image img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/12;
}

.vg-about-story-text h2 {
  font-family: var(--fontheader);
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 400;
  color: #2a2823;
  margin: 0 0 24px;
  line-height: 1.2;
}

.vg-about-story-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  margin: 0 0 18px;
}

/* Stats row */
.vg-about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid #e8e6e1;
}

.vg-about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vg-about-stat-number {
  font-family: var(--fontheader);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  color: #2a2823;
  line-height: 1;
}

.vg-about-stat-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-top: 6px;
}

/* ─── About Page Responsive ─── */
@media (max-width: 768px) {
  .vg-about-story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vg-about-story-image {
    order: -1;
  }

  .vg-about-story-image img {
    aspect-ratio: 16/9;
  }

  .vg-about-stats {
    justify-content: space-around;
    gap: 20px;
  }

  .vg-about-hero {
    padding-top: 8vh !important;
    padding-bottom: 6vh !important;
  }
}

/* ===========================================
   NEIGHBORHOOD DIRECTORY SECTION
   =========================================== */

#neighborhood-directory {
    background: #040a32;
    padding: 5vh 0!important;
    margin-top: 0;
    border-top: solid 1px;
    border-bottom: solid 1px;
    border-color: #ffffff29;
}

.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.gl-community-column {
    display: flex;
    flex-direction: column;
}

.gl-community-header {
    color: white;
    font-size: min(7vw,40px)!important;
    font-family: var(--fontheader) !important;
    margin: 0 0 20px;
    padding-bottom: 10px;
    font-style: italic!important;
}

.neighborhood-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid!important;
    flex-direction: column;
    gap: 0;
    grid-template-columns: repeat(2,1fr)!important;
}

.neighborhood-item {
    position: relative;
    width: 100%!important;
}

.neighborhood-link {
    color: rgba(255,255,255,0.8)!important;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    display: block;
    transition: color 0.2s ease;
}

.neighborhood-link:hover {
    color: white;
}

/* Sublinks - SEO friendly: use max-height instead of display:none */
.neighborhood-sublinks {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 10px;
}

.neighborhood-item.active .neighborhood-sublinks {
    max-height: 150px;
    padding-top: 5px;
    padding-bottom: 10px;
}

.neighborhood-sublinks a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.neighborhood-sublinks a:hover {
    color: white;
}

/* Active state indicator */
.neighborhood-item.active .neighborhood-link {
    color: white;
    font-weight: 500;
}
  

/* Mobile Responsive - Accordion */
@media (max-width: 768px) {
    .neighborhood-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .gl-community-column {
        border-bottom: solid 1px rgba(255,255,255,0.1);
    }

    .gl-community-column:last-child {
        border-bottom: none;
    }

    .gl-community-header {
        margin: 0;
        padding: 20px 0;
        border-bottom: none;
        cursor: pointer;
        position: relative;
    }

    .gl-community-header::after {
        content: '\f078';
        font-family: "Font Awesome 6 Pro";
        font-weight: 300;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        color: rgba(255,255,255,0.6);
        transition: transform 0.3s ease;
    }

    .gl-community-column.open .gl-community-header::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Accordion behavior - use max-height for SEO */
    .neighborhood-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
    }

    .gl-community-column.open .neighborhood-list {
        max-height: 2000px;
        padding-bottom: 20px;
    }

    /* Hide see-more link on mobile */
    .see-more-link {
        display: none !important;
    }
}

/* Desktop: See More / See Less functionality */
@media (min-width: 769px) {
    .neighborhood-item.hidden-item {
        display: none;
    }

    .see-more-link {
        display: inline-block;
        color: white!important;
        font-size: 14px!important;
        padding: 12px 0 0;
        cursor: pointer;
        font-weight: 600!important;
        text-decoration: underline;
        transition: color 0.2s ease;
    }

    .see-more-link:hover {
        color: white;
        text-decoration: underline;
    }

    .see-more-link .count {
        opacity: 0.7;
        font-size: 12px;
    }
}



/* ==================== SERVICES PAGES (Buy/Sell) ==================== */

/* Services Hero Section */
.services-hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.services-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.services-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 900px;
}

.services-hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 100px)!important;
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  letter-spacing: 2px;
  color: #fff !important;
  font-style: italic;
}

.services-hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #fff !important;
}

.services-hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.services-hero-btn {
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.services-hero-btn.primary {
  background: white;
  color: #000;
}

.services-hero-btn.primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.services-hero-btn.secondary {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.services-hero-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ==================== SERVICES PAGES (glsv- prefix) ==================== */
/* Color palette: #2a2823 (warm dark) | #f5f1ec (warm light) | #fff (white) */

/* Intro section — white bg, centered text */
.glsv-intro {
  background: #fff !important;
  padding: 80px 20px !important;
  text-align: center !important;
  border: none !important;
  box-shadow: none !important;
}
.glsv-intro .inner-content {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}
.glsv-intro .gl-nd-section-title {
  color: #2a2823 !important;
  margin-bottom: 20px !important;
}
.glsv-intro p {
  font-family: var(--font) !important;
  font-size: clamp(15px, 2vw, 17px) !important;
  line-height: 1.8 !important;
  color: #5a5650 !important;
  margin-bottom: 0 !important;
  background: none !important;
}
.glsv-subtitle {
  font-family: var(--fontheader) !important;
  font-style: italic !important;
  font-size: clamp(18px, 2.5vw, 22px) !important;
  color: #2a2823 !important;
  margin-top: 25px !important;
  padding-top: 25px !important;
  border-top: 1px solid rgba(42,40,35,0.15) !important;
  background: none !important;
}

/* Service items grid — warm dark bg, 2-col grid */
.glsv-grid {
  background: #2a2823 !important;
  padding: 80px 20px !important;
  border: none !important;
  box-shadow: none !important;
  border-bottom: solid 1px!important;
}
.glsv-cards {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 100px;
  column-gap: 50px;
  margin: 0 auto !important;
  padding: 0 !important;
}
.glsv-card {
  background: transparent !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.glsv-card:nth-child(2n) {
  border-right: none !important;
}
.glsv-card:nth-last-child(-n+2) {
  border-bottom: none !important;
}
.glsv-card h3 {
  color: #ffffff !important;
  font-family: var(--fontheader) !important;
  font-size: clamp(14px, 4.6vw, 40px) !important;
  font-weight: 100 !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  line-height: 1.3 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.glsv-card p {
  color: rgba(255,255,255,0.65) !important;
  font-family: var(--font) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

/* Steps section — warm light bg, numbered list */
.glsv-steps {
  background: #ffffff !important;
  padding: 80px 20px !important;
  border: none !important;
  box-shadow: none !important;
}
.glsv-steps .gl-nd-section-title {
  color: #2a2823 !important;
  margin-bottom: 0 !important;
  text-align: left;
}
.glsv-steps-list {
  display: flex !important;
  flex-direction: column !important;
  margin: 40px auto 0 !important;
  padding: 0 !important;
}
.glsv-step {
  display: flex !important;
  gap: 30px !important;
  padding: 30px 0 !important;
  border-bottom: 1px solid rgba(42,40,35,0.12) !important;
  align-items: flex-start !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.glsv-step:last-child {
  border-bottom: none !important;
}
.glsv-step-num {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  background: #2a2823 !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-top: 2px !important;
  line-height: 1 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}
.glsv-step h3 {
  color: #2a2823 !important;
  font-family: var(--font) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.glsv-step p {
  color: #5a5650 !important;
  font-family: var(--font) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

/* CTA block — warm dark bg, centered */
.glsv-cta {
  background: #2a2823 !important;
  padding: 60px 20px !important;
  text-align: center !important;
  border: none !important;
  box-shadow: none !important;
}
.glsv-cta p {
  font-family: var(--font) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: rgba(255,255,255,0.7) !important;
  max-width: 700px !important;
  margin: 0 auto 30px !important;
  padding: 0 !important;
  background: none !important;
}
.glsv-cta-btn {
  display: inline-block !important;
  padding: 16px 50px !important;
  background: #ffba1e !important;
  color: #2a2823 !important;
  text-decoration: none !important;
  font-family: var(--font) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  transition: all 0.3s ease !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.glsv-cta-btn:hover {
  background: #fff !important;
  color: #2a2823 !important;
  transform: translateY(-2px) !important;
  text-decoration: none !important;
}

/* Services pages — consistent color overrides for shared sections */
.vg-services-page .hlc-dark {
  background: #2a2823 !important;
}
.vg-services-page .hlc-cta {
  background: #f5f1ec !important;
}
.vg-services-page .hlc-cta .value-header h2 {
  color: #ffffff !important;
  font-family: var(--fontheader)!important;
  font-size: min(10vw,50px);
  font-weight: 3;
}
.vg-services-page .hlc-cta .listing-h span {
  color: #2a2823 !important;
}
.vg-services-page .hlc-cta .listing-h h3 {
  color: #2a2823 !important;
}
.vg-services-page .new-listings-section {
  background: #2a2823 !important;
}

/* Services pages responsive */
@media (max-width: 768px) {
  .glsv-cards {
    grid-template-columns: 1fr !important;
    gap: 50px;
  }
  .glsv-card {
    border-right: none !important;
    padding: 0;
  }
  .glsv-card:last-child {
    border-bottom: none !important;
  }
  .glsv-step {
    gap: 20px !important;
  }
  .glsv-step-num {
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 13px !important;
  }
  .glsv-intro,
  .glsv-grid,
  .glsv-steps,
  .glsv-cta {
    padding: 50px 20px !important;
  }
}


/* About Page Jump Links */
.about-jump-links {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.about-jump-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}

.about-jump-links a:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

@media (max-width: 768px) {
  .about-jump-links {
    flex-direction: column;
    gap: 12px;
  }

  .about-jump-links a {
    text-align: center;
  }
}


/* ==================== HOME TEAM SECTION ==================== */
.home-team-section {
  background: #ffffff;
  padding: 0 !important;
  overflow: hidden;
}

.home-team-section .inner-content {
  max-width: none !important;
  padding: 0 !important;
}

.home-team-flex {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
}

.home-team-image {
  flex: 0 0 50%;
  overflow: hidden;
}

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

.home-team-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(30px, 6vw, 80px);
  max-width: 900px;
}

.home-team-text p {
  color: #555;
  line-height: 1.5!important;
  margin-bottom: 35px !important;
  font-size: min(6vw,17px);
}

.home-team-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #ffba1e;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.home-team-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.home-team-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  align-self: flex-start;
  /* border-top: solid 1px; */
  padding-bottom: 20px;
}

.home-team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.home-team-social a:hover {
  background: #ffba1e;
  transform: translateY(-3px);
}

@media (max-width: 1500px) {
  .home-team-flex {
    flex-direction: column;
    min-height: auto;
    align-items: center;
    text-align: c;
  }

  .home-team-image {
    flex: none;
    width: 100%;
  }

  .home-team-text {
    padding: 40px 30px;
    text-align: center;
    align-items: center;
  }
    .home-team-text .gl-nd-section-title {
        text-align:center;
    }

  .home-team-btn {
    align-self: center;
  }

  .home-team-social {
    align-self: center;
  }
}

/* Fair Housing PDF Link */
.fair-housing-pdf-link {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.fair-housing-pdf-link::before {
  font-family: var(--fontawesome);
  content: "\f1c1";
  font-weight: 400;
}

/* ==================== SEARCH MODAL - TYPEAHEAD + DROPDOWN ==================== */

.search-modal-subtitle {
  color: #999;
  font-size: 13px;
  text-align: center;
  margin: 0 0 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.search-modal.active .search-modal-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* Typeahead section inside modal */
.search-modal-typeahead {
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
  position: relative;
  z-index: 333;
}
button[aria-label="Search properties"] {
    height: auto !important;
    background: #ffba1e !important;
}
.search-modal-typeahead button svg {
    color: #333;
}
.search-modal.active .search-modal-typeahead {
  opacity: 1;
  transform: translateY(0);
}

.search-modal-typeahead #react-typeahead {
  width: 100% !important;
  max-width: none;
}

.search-modal-typeahead #react-typeahead form {
  border: 2px solid #e0e0e0;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.search-modal-typeahead #react-typeahead form:focus-within {
  border-color: #ffba1e;
}

.search-modal-typeahead #react-typeahead input {
  padding: 18px 20px !important;
  font-size: 16px !important;
  border: none !important;
  background: #fafafa !important;
}

.search-modal-typeahead #react-typeahead form > button {
  background: #333 !important;
  width: 56px;
  height: 56px;
  border: none;
  transition: background 0.3s ease;
}

.search-modal-typeahead #react-typeahead form > button:hover {
  background: #ffba1e !important;
}

.search-modal-typeahead #react-typeahead form > button svg {
  fill: white;
}

/* Dropdown form section */
.search-modal-dropdown-section {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
  position: relative;
}

.search-modal.active .search-modal-dropdown-section {
  opacity: 1;
  transform: translateY(0);
}

.vg-modal-dropdown-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: end;
}

.vg-modal-dropdown-form .search-field {
  width: 100%;
}

.vg-modal-dropdown-form select {
  width: 100%;
  padding: 14px 12px;
  font-size: 14px;
  border: 2px solid #e0e0e0;
  border-radius: 0;
  background: #fafafa;
  color: #333;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.3s ease;
}

.vg-modal-dropdown-form select:focus {
  outline: none;
  border-color: #ffba1e;
}

.vg-modal-dropdown-form .search-btn {
  grid-column: span 1;
}

.vg-modal-dropdown-form .search-btn button {
  width: 100%;
  padding: 14px 20px;
  background: #ffba1e;
  color: #333;
  border: 2px solid #ffba1e;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.vg-modal-dropdown-form .search-btn button:hover {
}

.vg-modal-dropdown-form .prop-types {
  grid-column: 1 / -1;
  display: flex;
  gap: 20px;
  padding-top: 10px;
  justify-content: center;
}

.vg-modal-dropdown-form .prop-types label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
}

.vg-modal-dropdown-form .prop-types input[type="checkbox"] {
  accent-color: #ffba1e;
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .vg-modal-dropdown-form {
    grid-template-columns: 1fr 1fr;
  }

  .vg-modal-dropdown-form .search-btn {
    grid-column: 1 / -1;
  }

  .vg-modal-dropdown-form .prop-types {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .search-modal-content {
    overflow-y: scroll;
    position: fixed;
  }
}

@media (max-width: 480px) {
  .vg-modal-dropdown-form {
    grid-template-columns: 1fr;
  }
}


/* ==================== SIDEMENU - Right Slide Panel (Omaha Style) ==================== */

#global-sidemenu.sidemenu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 100%;
  max-width: 500px;
  background: #2a2823;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
  transform: translateX(400%);
  transition: transform 400ms ease;
}

#global-sidemenu.sidemenu.visible {
  transform: translateX(0);
}

@media (max-width: 600px) {
  #global-sidemenu.sidemenu {
    max-width: 90%;
  }
}

/* Close Button */
.sidemenu-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 300ms ease;
  color: white;
}

.sidemenu-close i {
  font-size: 24px;
  color: #333;
}

.sidemenu-close:hover {
  transform: scale(1.1);
}

/* Nav Container */
.sidemenu-nav {
  display: flex;
  flex-direction: column;
  padding: 70px 30px 20px !important;
  flex: 1;
}

/* Logo */
.side-logo {
  max-width: 100px;
  margin-top: 30px;
}

/* Top Buttons */
.sidemenu-top-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  width: 100%;
}

.sidemenu-top-btns .sidemenu-link {
  flex: 1;
  padding: 10px 15px;
  border-radius: 4px;
  justify-content: center;
  margin-bottom: 0;
  font-size: min(7vw,17px);
}

.sidemenu-phone {
  background: #fff !important;
  color: #333 !important;
}

.sidemenu-phone:hover {
  opacity: 0.6;
}

.sidemenu-login {
  background: #fff !important;
  color: #333 !important;
}

.sidemenu-login:hover {
  opacity: 0.6;
}

/* Links */
.sidemenu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: min(4vw,21px);
  padding: 10px 0;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  text-align: left;
  transition: color 300ms ease;
  text-decoration: none;
  font-family: var(--font) !important;
}
    .sidemenu-accordion {
        width: 100%;
    }

.sidemenu-link:hover {
  color: #ffba1e !important;
}

/* Sidemenu account icon via pseudo-element */
.sidemenu-account::before {
  font-family: "Font Awesome 6 Pro";
  content: "\f2bd";
  font-size: 15px;
  width: 22px;
  text-align: center;
  font-weight: 700;
  margin-right: 6px;
  display: inline-block;
}

/* Divider */
.sidemenu-divider {
  height: 1px;
  background: #ffffff1f;
  margin: 10px 0;
  width: 100%;
  display: none;
}

/* Accordion Toggle */
.sidemenu-accordion-toggle {
  justify-content: space-between;
}

.sidemenu-accordion-toggle i,
.sidemenu-accordion-toggle svg {
  display: inline-block;
  transition: transform 300ms ease;
  width: auto;
}

.sidemenu-accordion.open > .sidemenu-accordion-toggle i,
.sidemenu-accordion.open > .sidemenu-accordion-toggle svg,
.sidemenu-accordion.open > .sidemenu-sub-link.sidemenu-accordion-toggle i,
.sidemenu-accordion.open > .sidemenu-sub-link.sidemenu-accordion-toggle svg {
  transform: rotate(180deg);
}

/* Accordion Content */
.sidemenu-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
}

.sidemenu-accordion.open > .sidemenu-accordion-content {
  max-height: 1000px;
}

/* Areas List */
.sidemenu-areas-list {
  list-style: none;
  padding: 0 0 10px;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.sidemenu-areas-list a {
  color: #ffffffab;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 300ms ease, padding-left 300ms ease;
  display: block;
  padding: 8px 0;
  font-family: var(--font) !important;
}

.sidemenu-areas-list a:hover {
  color: #ffba1e;
  padding-left: 15px;
}

/* Overlay */
#overlay-sidemenu-black {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 400ms ease;
}

#overlay-sidemenu-black.visible {
  opacity: 1;
  visibility: visible;
}

/* ==================== SEARCH MODAL - SPLIT LAYOUT (Images + Form) ==================== */

/* Image Cards (direct children of .search-modal-content) */
.search-modal-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 22%;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-modal-card-sell {
  order: -1;
}

.search-modal-card-buy {
  order: 1;
}

.search-modal.active .search-modal-card {
  opacity: 1;
  transform: translateX(0);
}

.search-modal.active .search-modal-card-buy {
  transition-delay: 0.1s;
}

.search-modal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.search-modal-card:hover img {
  transform: scale(1.05);
}

.search-modal-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 20px;
  background: linear-gradient(180deg, #0000006e, transparent);
  z-index: 2;
  pointer-events: none;
  height: 100%;
}

.search-modal-card-text h3 {
  font-family: var(--fontheader) !important;
  font-size: min(10vw,33px);
  font-weight: 500;
  color: #fff;
  margin: 0 0 6px 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-modal-card-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.4;
  font-family: var(--font);
}

/* WYSIWYG overlay link */
.search-modal-card > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 0;
  color: transparent;
  z-index: 10;
}

/* CENTER COLUMN: Search Form */
.search-modal-right {
  flex: 1;
  padding: 50px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  order: 0;
}

/* ==================== SEARCH MODAL SPLIT - RESPONSIVE ==================== */

@media (max-width: 900px) {
  .search-modal-content {
    flex-direction: column;
    max-width: 600px;
    top: 70px;
    justify-content: flex-start;
    padding-bottom: 25vh;
  }

  .search-modal-card {
    flex: none;
    width: 100%;
    min-height: 200px;
    order: 1;
  }

  .search-modal-right {
    padding: 40px 30px 30px;
    order: 0;
  }
}

@media (max-width: 480px) {
  .search-modal-card {
    min-height: 150px;
  }

  .search-modal-right {
    padding: 35px 20px 25px;
  }
}

/* ==================== NAV SEARCH MAGNIFYING GLASS ICON ==================== */

/* Standalone mag glass — mobile only */
.search-nav a {
  display: flex;
  padding: 0 !important;
  border: none !important;
  cursor: pointer;
}

.search-nav a:before {
  font-family: "Font Awesome 6 Pro";
  content: "\f002";
  font-weight: 400;
  font-size: 16px;
}

/* Hide standalone mag glass on desktop (redundant with Search text) */
.navigation:not(.mobile-about) .search-nav {
  display: none !important;
}


/* ==================== SIDEMENU - Get in Touch Button ==================== */

.sidemenu-getintouch {
  background: #ffba1e !important;
  color: #040a32 !important;
  text-align: center;
  padding: 14px 20px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  width: 100%;
  font-family: var(--font) !important;
}

.sidemenu-getintouch:hover {
  opacity: 0.8;
  color: #040a32 !important;
}

.sidemenu-getintouch::after {
  font-family: "Font Awesome 6 Pro";
  content: "\e1a7";
  font-weight: 800;
  font-size: 13px;
  margin-left: 8px;
}

.sidemenu-account-btn {
  background: #3d3d3d !important;
  color: #fff !important;
  text-align: center;
  margin-top: 10px;
  padding: 14px 20px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  width: 100%;
  font-family: var(--font) !important;
  text-decoration: none;
  display: block;
  margin-bottom: 30px;
}

.sidemenu-account-btn:hover {
  opacity: 0.8;
  color: #fff !important;
}

.sidemenu-account-btn::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f2bd";
  font-weight: 300;
  font-size: 13px;
  margin-left: 8px;
}

/* ==================== GET IN TOUCH MODAL ==================== */

.getintouch-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: none;
}

.getintouch-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.getintouch-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.getintouch-modal-content {
  position: relative;
  background: #fff;
  max-width: 517px;
  width: 90%;
  padding: 0;
  text-align: center;
  z-index: 1;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  overflow: hidden;
}

.getintouch-modal.active .getintouch-modal-content {
  transform: translateY(0);
  opacity: 1;
}

.getintouch-modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 28px;
  font-weight: 300;
  color: #fff;
  background: none !important;
  border: none;
  cursor: pointer;
  z-index: 5;
  line-height: 1;
  padding: 5px;
  transition: opacity 0.2s ease;
}

.getintouch-modal-close:hover {
  opacity: 0.6;
}

.getintouch-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.getintouch-modal-title {
  font-family: var(--fontheader) !important;
  font-size: 24px !important;
  font-weight: 500;
  color: #333;
  margin: 25px 25px 20px;
  line-height: 1.3;
}

.getintouch-modal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 30px;
}

.getintouch-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: min(7vw,23px);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--font) !important;
}

.getintouch-call {
  background: #ffba1e;
  color: #333 !important;
}

.getintouch-call:hover {opacity: .7;}

.getintouch-call::before {
  font-family: "Font Awesome 6 Pro";
  content: "\f095";
  font-weight: 900;
  font-size: 16px;
}

.getintouch-message {
  background: #333;
  color: #ffffff !important;
}

.getintouch-message:hover {opacity: .7;}

.getintouch-message::before {
  font-family: "Font Awesome 6 Pro";
  content: "\f0e0";
  font-weight: 500;
  font-size: 16px;
}

.getintouch-modal-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 25px 30px 30px;
}

.getintouch-modal-social a {
  color: #333;
  font-size: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.getintouch-modal-social a:hover {
  color: #040a32;
  transform: scale(1.15);
}

/* ==================== Sidemenu Get in Touch - center ==================== */
.sidemenu-getintouch {
  margin: 30px 0px 0 !important;
  width: auto !important;
  gap: 0;
}

/* ==================== Nav Get in Touch Button ==================== */
.getintouch-nav {
  margin-left: 6px;
}

.nav-getintouch-btn {
  background: #ffba1e;
  color: #040a32 !important;
  border: none;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font) !important;
  cursor: pointer;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.nav-getintouch-btn::after {
  font-family: "Font Awesome 6 Pro";
  content: "\e1a7";
  font-weight: 900;
  font-size: 11px;
  margin-left: 7px;
}

.nav-getintouch-btn:hover {
  opacity: 0.8;
}

.clearnav .nav-getintouch-btn {
  background: #ffffff;
  color: #333  !important;
}

.noclearnav .nav-getintouch-btn,
.navshadow .nav-getintouch-btn {
  background: #ffba1e;
  color: #040a32 !important;
}

/* ==================== Staggered Hamburger ==================== */

/* Kill old hamburger__bars and its pseudos */
nav .vg-hamburger .hamburger__bars,
nav .vg-hamburger .hamburger__bars:before,
nav .vg-hamburger .hamburger__bars:after {
  display: none !important;
}

/* Container */
nav .vg-hamburger {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  margin-left: 12px;
  cursor: pointer;
  background: transparent !important;
  border: none;
  position: relative;
  z-index: 915;
}

/* Individual bars — staggered widths */
nav .vg-hamburger .vg-bar {
  display: block;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.3s ease;
  transform-origin: center center;
}

nav .vg-hamburger .vg-bar-1 {
  width: 28px;
  margin-bottom: 6px;
}

nav .vg-hamburger .vg-bar-2 {
  width: 20px;
  margin-bottom: 6px;
}

nav .vg-hamburger .vg-bar-3 {
  width: 14px;
}

/* Hover — all bars expand to full width */
nav .vg-hamburger:hover .vg-bar {
  width: 28px;
}

/* ---- Clearnav (transparent header) — white bars ---- */
nav.clearnav:not(.noclearnav) .vg-hamburger .vg-bar {
  background: #fff;
}

/* ---- Scrolled / solid nav — dark bars ---- */
.noclearnav .vg-hamburger .vg-bar,
.navshadow .vg-hamburger .vg-bar {
  background: #333;
}

/* ==================== Active State — X Animation ==================== */

/* All bars go full width */
nav .vg-hamburger.active .vg-bar {
  width: 28px;
  background: #000000;
}

/* Top bar rotates down to form X */
nav .vg-hamburger.active .vg-bar-1 {
  transform: translateY(8px) rotate(45deg);
}

/* Middle bar fades out */
nav .vg-hamburger.active .vg-bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

/* Bottom bar rotates up to form X */
nav .vg-hamburger.active .vg-bar-3 {
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── Refine Search & Talk to Agent Button Pseudo Icons ─── */
.listing-cta-btns .refine-search button::before,
.listing-cta-btns .talk-to-agent button::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* Magnifying glass icon */
.listing-cta-btns .refine-search button::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

/* Chat bubble icon */
.listing-cta-btns .talk-to-agent button::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm0 15.17L18.83 16H4V4h16v13.17z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm0 15.17L18.83 16H4V4h16v13.17z'/%3E%3C/svg%3E");
}

/* ─── Area Searches Accordion Styles ─── */

/* Desktop: 4-column grid, all open, no accordion behavior */
.area-searches-section .inner-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 30px;
}

.area-searches-section h2.area-searches-header {
  grid-column: 1 / -1;
  font-family: var(--fontheader) !important;
  font-weight: 400 !important;
  font-size: 28px;
  margin: 0 0 20px;
  color: var(--maincolor, #040a32);
}

.area-searches-section details.new-accordion {
  border: none;
  margin-bottom: 0;
  overflow: visible;
}

/* Desktop: summary acts as a column header, not a toggle */
.area-searches-section summary.new-accordion-title {
  padding: 0 0 10px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: default;
  list-style: none;
  display: block;
  border-bottom: 1px solid #000000;
  margin-bottom: 8px;
  user-select: none;
  pointer-events: none;
}

.area-searches-section summary.new-accordion-title::-webkit-details-marker {
  display: none;
}

/* No chevron on desktop */
.area-searches-section summary.new-accordion-title::after {
  display: none;
}

.area-searches-section .new-accordion-content {
  padding: 0;
}

.area-searches-section .new-accordion-content ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.area-searches-section .new-accordion-content ul li {
  list-style: none;
}

.area-searches-section .new-accordion-content ul li a {
  display: block;
  padding: 5px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.area-searches-section .new-accordion-content ul li a:hover {
  color: var(--maincolor, #040a32);
  text-decoration: underline;
}

/* Mobile: stack, restore accordion behavior */
@media (max-width: 768px) {
  .area-searches-section .inner-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .area-searches-section details.new-accordion {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    margin-bottom: -1px;
    overflow: hidden;
  }

  .area-searches-section summary.new-accordion-title {
    padding: 14px 20px;
    font-size: 15px;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: none;
    margin-bottom: 0;
    pointer-events: auto;
  }

  .area-searches-section summary.new-accordion-title:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .area-searches-section summary.new-accordion-title::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 10px;
    flex-shrink: 0;
  }

  .area-searches-section details.new-accordion[open] summary.new-accordion-title::after {
    transform: rotate(-135deg);
  }

  .area-searches-section .new-accordion-content {
    padding: 10px 20px 20px;
  }
}

/* ─── Breadcrumb Nav (Area Pages) ─── */
.neighborhood-page .breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  flex-wrap: wrap;
}

.neighborhood-page .breadcrumb-link {
  color: orange!important;
  text-decoration: none;
  font-weight: 500;
}

.neighborhood-page .breadcrumb-link:hover {
  text-decoration: underline;
}

.neighborhood-page .breadcrumb-separator {
  color: #999;
  font-size: 16px;
}

.neighborhood-page .breadcrumb-current {
  color: #555;
  font-weight: 500;
}

/* ─── No Listings Inquire Box ─── */
.no-listings-inquire {
  padding: 20px 0;
}

.no-listings-inquire-inner {
  background: #f8f9fb;
  border-radius: 0;
  padding: 40px 30px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.no-listings-inquire-inner p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
  margin: 0 0 24px;
}

.no-listings-inquire-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--brandblue, #2c5282);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.no-listings-inquire-btn:hover {
  background: var(--branddark, #1a365d);
  transform: translateY(-1px);
}

/* ─── Card Favorite Heart Button ─── */
.card-favorite-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 12;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.15s ease, background 0.2s ease;
}

.card-favorite-btn:hover {
  transform: scale(1.15);
  background: rgba(255, 255, 255, 1);
}

.card-favorite-btn svg {
  width: 18px;
  height: 16px;
}

.card-favorite-btn .icon-heart-active {
  color: #e53e3e;
}

.card-favorite-btn .icon-heart-inactive {
  color: #718096;
}

.card-favorite-btn:hover .icon-heart-inactive {
  color: #e53e3e;
}

.card-favorite-btn[data-is-favorite="True"] .icon-heart-active {
  display: block !important;
}

.card-favorite-btn[data-is-favorite="True"] .icon-heart-inactive {
  display: none !important;
}

/* ─── User Account Popup (matches sidemenu style) ─── */
#user-popup {
  background: #2a2823 !important;
  color: #fff !important;
  padding: 70px 30px 30px !important;
  max-width: 500px !important;
  width: 100% !important;
  box-shadow: -5px 0 30px rgba(0,0,0,0.3) !important;
  font-family: var(--font) !important;
  transition: transform 400ms ease !important;
  overflow-y: auto !important;
}

#user-popup.hidden {
  display: none !important;
}

#user-popup.translate-x-full {
  transform: translateX(100%);
}

#user-popup.translate-x-0 {
  transform: translateX(0);
}

@media (max-width: 600px) {
  #user-popup {
    max-width: 90% !important;
  }
}

#user-popup .js-name {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  font-family: var(--font) !important;
}

#user-popup .js-email {
  color: rgba(255,255,255,0.5) !important;
  font-size: 14px !important;
  margin-bottom: 24px !important;
}

#user-popup a[href="/member/edit/"] {
  color: #ffba1e !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-bottom: 36px !important;
  transition: opacity 0.2s ease;
}

#user-popup a[href="/member/edit/"]:hover {
  opacity: 0.7;
}

#user-popup a[href="/member/saved_searches/"],
#user-popup a[href="/member/favorite_properties/"] {
  color: #fff !important;
  text-decoration: none !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s ease;
}

#user-popup a[href="/member/saved_searches/"]:hover,
#user-popup a[href="/member/favorite_properties/"]:hover {
  color: #ffba1e !important;
}

#user-popup a[href="/member/saved_searches/"] .flex,
#user-popup a[href="/member/favorite_properties/"] .flex {
  color: inherit !important;
  font-size: 15px !important;
}

#user-popup a[href="/member/saved_searches/"] img,
#user-popup a[href="/member/favorite_properties/"] img {
  filter: brightness(0) invert(1);
}

#user-popup .js-saved-search,
#user-popup .js-favorite-properties {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #fff !important;
  font-weight: 600;
}

#user-popup a[href="/member/logout/"] {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 6px;
  margin-top: 36px !important;
  padding: 12px 0 !important;
  transition: background 0.2s ease;
}

#user-popup a[href="/member/logout/"]:hover {
  background: rgba(255,255,255,0.2) !important;
}

/* Close button for user-popup */
.user-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 300ms ease;
  color: rgba(255,255,255,0.6);
}

.user-popup-close i {
  font-size: 24px;
}

.user-popup-close:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Overlay behind user panel */
#user-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99998;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

#user-popup-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ─── Neighborhood / Area Page Overrides ─── */
/* Match the homepage dark warm aesthetic */

.neighborhood-page .new-listings-section {
  background: #2a2823;
  padding: 40px 0 0px;
  padding-top: 10vh!important;
}

.neighborhood-page .new-listings-spinner {
  background: #2a2823;
}

.neighborhood-page .new-listings-section .listing-ctas {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
  gap: 12px;
}

/* Headings — match homepage font family */
.neighborhood-page .new-listings-section .listing-ctas h1 {
  color: #fff !important;
  font-family: var(--fontheader) !important;
  font-size: clamp(26px, 5vw, 42px) !important;
  font-weight: 400 !important;
  margin: 0 !important;
  line-height: 1.2;
  border: none;
}

.neighborhood-page h2,
.neighborhood-page h3 {
  font-family: var(--fontheader) !important;
  font-weight: 400 !important;
}

.neighborhood-page .new-listings-section .listing-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.neighborhood-page .new-listings-section .listing-cta-btns a {
  width: auto;
}

/* Buttons — normal case, no border-radius, keep FA/mask icons */
.neighborhood-page .new-listings-section .listing-cta-btns button {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: #fff !important;
  padding: 10px 24px !important;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 0 !important;
  white-space: nowrap;
  text-transform: none !important;
}

.neighborhood-page .new-listings-section .listing-cta-btns button:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.6) !important;
}

/* Breadcrumbs inside dark section */
.neighborhood-page .new-listings-section .breadcrumb-nav {
  justify-content: center;
  margin-bottom: 8px;
}

.neighborhood-page .new-listings-section .breadcrumb-link {
  color: rgba(255,255,255,0.6)!important;
}

.neighborhood-page .new-listings-section .breadcrumb-link:hover {
  color: #ffba1e;
}

.neighborhood-page .new-listings-section .breadcrumb-separator {
  color: rgba(255,255,255,0.3);
}

.neighborhood-page .new-listings-section .breadcrumb-current {
  color: rgba(255,255,255,0.5);
}

/* Map in area page — tighter spacing */
.neighborhood-page .listings-map-preview {
  margin-bottom: 0;
  border-radius: 0;
  margin-top: 30px;
}

/* Inquire box inside dark area section */
.neighborhood-page .no-listings-inquire-inner {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
}

.neighborhood-page .no-listings-inquire-inner p {
  color: rgba(255,255,255,0.7);
  font-family: var(--font);
}

.neighborhood-page .no-listings-inquire-btn {
  background: #ffba1e;
  color: #1a1a1a;
  border-radius: 0 !important;
}

.neighborhood-page .no-listings-inquire-btn:hover {
  background: #e5a71a;
}

/* About/SEO section */
.neighborhood-page .about-area {
  margin: 0 auto;
}

.neighborhood-page .about-area h2,
.neighborhood-page .about-area h3 {
  font-family: var(--fontheader) !important;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 400 !important;
  margin-bottom: 16px;
}

.neighborhood-page .about-area p {
  font-size: 15px;
  line-height: 1.7;
  color: #4a4a4a;
  font-family: var(--font);
}

/* Market report section in area pages */
.neighborhood-page .vg-market-report {
  background: #ffba1e;
}

.neighborhood-page .vg-market-report h2 {
  color: #1a1a1a !important;
  font-family: var(--fontheader) !important;
  font-weight: 400 !important;
}

.neighborhood-page .vg-market-report h3 {
  font-family: var(--fontheader) !important;
  font-weight: 400 !important;
}

.neighborhood-page .vg-market-report p {
  color: #333 !important;
}

/* Valuation + CTA section headings */
.neighborhood-page #value-section h2,
.neighborhood-page #value-section h3,
.neighborhood-page .home-team-section h2,
.neighborhood-page .agent-section h3 {
  font-family: var(--fontheader) !important;
  font-weight: 400 !important;
}

/* Area searches accordion section */
.neighborhood-page .area-searches-section {
  padding: 30px 0 20px;
}

@media (max-width: 768px) {
  .neighborhood-page .new-listings-section {
    padding: 30px 0 40px;
  }

  .neighborhood-page .new-listings-section .listing-cta-btns {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .neighborhood-page .new-listings-section .listing-cta-btns a {
    width: 100%;
  }

  .neighborhood-page .new-listings-section .listing-cta-btns button,
  .neighborhood-page .new-listings-section .listing-cta-btns button#viewmap {
    width: 100%;
    text-align: center;
    padding: 12px 20px !important;
  }
}

/* ============================================================
   NEIGHBORHOOD PAGES — LUXURY MARKET REPORT SECTION
   ============================================================ */
.neighborhood-page .vg-market-report {
  background: #ffffff !important;
  padding: 80px 0;
}

.neighborhood-page .vg-market-report .inner-content {
  margin: 0 auto;
}

.neighborhood-page .vg-market-report h2 {
  color: var(--maincolor, #040a32) !important;
  font-family: var(--fontheader) !important;
  font-weight: 500 !important;
  font-size: min(7vw, 32px) !important;
  margin-bottom: 10px;
}

.neighborhood-page .vg-market-report p {
  color: #555 !important;
  font-family: var(--font) !important;
  font-size: 16px;
  line-height: 1.7;
  max-width: 700px;
}

.neighborhood-page .vg-market-report p strong {
  color: var(--maincolor, #040a32) !important;
}

.neighborhood-page .vg-market-report p a {
  color: var(--maincolor, #040a32) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.neighborhood-page .vg-market-report #vg-market-report {
  margin-top: 7vh;
  margin-bottom: 0;
}

.neighborhood-page .vg-market-report .vg-active-market-report,
.neighborhood-page .vg-market-report .vg-under-contract-market-report,
.neighborhood-page .vg-market-report .vg-sold-market-report {
  padding: 0;
}

.neighborhood-page .vg-market-report .vg-active-market-report h2,
.neighborhood-page .vg-market-report .vg-under-contract-market-report h2,
.neighborhood-page .vg-market-report .vg-sold-market-report h2 {
  color: #000000 !important;
  font-family: var(--font) !important;
  margin-bottom: 24px !important;
  font-size: min(10vw,23px)!important;
}

.neighborhood-page .vg-market-report .vg-active-market-report div div span:not(.miranda-lb span),
.neighborhood-page .vg-market-report .vg-under-contract-market-report div div span:not(.miranda-lb span),
.neighborhood-page .vg-market-report .vg-sold-market-report div div span:not(.miranda-lb span) {
  color: var(--maincolor, #040a32) !important;
  font-size: min(5vw, 45px);
  font-weight: 600;
  font-family: var(--fontheader)!important;
}

.neighborhood-page .vg-market-report .vg-active-market-report p,
.neighborhood-page .vg-market-report .vg-under-contract-market-report p,
.neighborhood-page .vg-market-report .vg-sold-market-report p {
  color: #000000 !important;
  font-size: 14px;
}

.neighborhood-page .vg-market-report #no-market-data {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  padding: 40px;
  text-align: left;
}

.neighborhood-page .vg-market-report #no-market-data h3 {
  color: var(--maincolor, #040a32) !important;
  font-family: var(--fontheader) !important;
  font-weight: 400 !important;
  font-size: 22px;
  margin-bottom: 10px;
}

.neighborhood-page .vg-market-report #no-market-data p {
  margin: 0 auto;
  color: #666 !important;
}

.neighborhood-page .vg-market-report .market-loading-spinner {
  border-color: var(--maincolor, #040a32) !important;
}

/* ============================================================
   NEIGHBORHOOD PAGES — LUXURY VALUATION SECTION
   ============================================================ */
.neighborhood-page #value-section {
  background: #f5f5f3 !important;
  padding: 80px 0;
}

.neighborhood-page #value-section .value-header h2 {
  color: var(--maincolor, #040a32) !important;
  font-family: var(--fontheader) !important;
  font-weight: 400 !important;
  font-size: min(7vw, 32px) !important;
  margin-bottom: 40px;
  line-height: 1;
}

.neighborhood-page #value-section .value-container {
  background: #ffffff;
  padding: 40px;
}

    .neighborhood-page #value-section .value-container:nth-child(2) {
        display:none;
    }

.neighborhood-page #value-section .listing-h span {
  color: #ffffff !important;
  font-family: var(--font) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
}

.neighborhood-page #value-section .listing-h h3 {
  color: var(--maincolor, #040a32) !important;
  font-family: var(--fontheader) !important;
  font-weight: 400 !important;
  font-size: min(5vw, 24px) !important;
  margin-bottom: 0;
}

.neighborhood-page #value-section button {
  background: #000000 !important;
  color: #ffffff !important;
  border: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 14px 30px;
}

.neighborhood-page #value-section button:hover {
  opacity: 0.85;
}

.neighborhood-page #value-section input {
  background: #ffffff !important;
  border: 1px solid #ddd !important;
  color: var(--maincolor, #040a32) !important;
}

/* ============================================================
   NEIGHBORHOOD PAGES — LUXURY AGENT CTA SECTION
   ============================================================ */
.neighborhood-page #agent-cta {
  background: #ffffff !important;
  padding: 80px 0 !important;
  border-top: 1px solid #eee;
}

.neighborhood-page #agent-cta .inner-content {
  align-items: flex-start;
}

.neighborhood-page #agent-cta .value-container,
.neighborhood-page #agent-cta .value-container p,
.neighborhood-page #agent-cta .value-container p strong {
  color: var(--maincolor, #040a32) !important;
}

.neighborhood-page #agent-cta .value-container h3 {
  color: var(--maincolor, #040a32) !important;
  font-family: var(--fontheader) !important;
  font-weight: 400 !important;
  margin-bottom: 20px;
  line-height: 1.2;
}

.neighborhood-page #agent-cta .social-links a {
  color: var(--maincolor, #040a32) !important;
}

.neighborhood-page #agent-cta .social-links::before {
  background: var(--maincolor, #040a32) !important;
}

.neighborhood-page #agent-cta .flex-btns button {
  background: var(--maincolor, #040a32) !important;
  color: #ffffff !important;
  border: none !important;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 14px 30px !important;
  font-size: 14px !important;
}

.neighborhood-page #agent-cta .flex-btns .alt-btn {
  background: transparent !important;
  color: var(--maincolor, #040a32) !important;
  border: 1px solid var(--maincolor, #040a32) !important;
  padding: 14px 30px !important;
  font-size: 14px !important;
  text-align: center;
}

.neighborhood-page #agent-cta .flex-btns button:hover {
  opacity: 0.85;
}

/* Agent CTA — Light form container */
.neighborhood-page #agent-cta .vg-form-container {
  background: #f8f8f6 !important;
  padding: 40px 30px;
}

.neighborhood-page #agent-cta .vg-form-container header h3 {
  color: var(--maincolor, #040a32) !important;
}

.neighborhood-page #agent-cta .vg-form-container header h2 {
  color: #666 !important;
}

.neighborhood-page #agent-cta .vg-form {
  border-top-color: #ddd !important;
}

.neighborhood-page #agent-cta .vg-form label {
  color: var(--maincolor, #040a32) !important;
}
.vg-form .not-complete {
    border-color: red!important;
    border: solid 1px;
}
.neighborhood-page #agent-cta .form-error {
  color: #c00 !important;
  border-color: #c00 !important;
  background: #fff5f5;
}
.neighborhood-page #agent-cta .vg-form input,
.neighborhood-page #agent-cta .vg-form textarea,
.neighborhood-page #agent-cta .vg-form select {
  background: #ffffff !important;
  border: 1px solid #ddd;
  color: var(--maincolor, #040a32) !important;
}

.neighborhood-page #agent-cta .vg-form input::placeholder {
  color: #999 !important;
}

.neighborhood-page #agent-cta .vg-form select option {
  color: var(--maincolor, #040a32);
}

.neighborhood-page #agent-cta .vg-form button {
  background: #ffba1e !important;
  color: var(--maincolor, #040a32) !important;
  border: none !important;
  font-weight: 700;
  padding: 14px 30px !important;
  font-size: 14px !important;
}

.neighborhood-page #agent-cta .vg-form button:hover {
  background: #e5a819 !important;
}


/* ============================================================
   NEIGHBORHOOD PAGES — TEAM SECTION REFINEMENT
   ============================================================ */
.neighborhood-page .home-team-section {
  background: #ffffff;
  padding: 80px 0;
}

.neighborhood-page .home-team-section h2 {
  color: var(--maincolor, #040a32) !important;
  font-family: var(--fontheader) !important;
  font-weight: 400 !important;
  text-transform: none;
}

.neighborhood-page .home-team-section p {
  color: #555;
  line-height: 1.8;
}

.neighborhood-page .home-team-section .home-team-btn {
  background: var(--maincolor, #040a32);
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 14px 30px;
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  margin-top: 20px;
}

.neighborhood-page .home-team-section .home-team-btn:hover {
  opacity: 0.85;
}

.neighborhood-page .home-team-section .home-team-social a {
  color: var(--maincolor, #040a32) !important;
}

/* ─── CLS Prevention — Reserve layout space before JS hydration ─── */
.listings-map-preview {
  min-height: 40vh;
}
.area-searches-section {
  min-height: 180px;
}
.neighborhood-page .area-searches-section {
  min-height: 200px;
}

/* Fixed + clearnav on home and neighborhood pages — only force position,
   let RealGeeks' navshadow/clearnav classes handle the scroll transition */
nav#lux-navbar.vg-force-clearnav {
    position: fixed !important;
}

/* ========== SITEMAP LINKS SECTION ========== */
.vg-sitemap-section {
    background: #2a2823;
    padding: 80px 0 60px!important;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.vg-sitemap-section .inner-content {
    max-width: 1500px;
    margin: 0 auto;
    \: 0 40px;
}
.vg-sitemap-title {
    font-family: var(--fontheader) !important;
    font-size: clamp(29px, 5vw, 70px);
    color: #fff;
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-align: left;
    line-height: 1;
}
.vg-sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 36px 30px;
    align-items: start;
}
.vg-sitemap-col h3 {
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 15px !important;
    font-weight: 100 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    line-height: 1.4 !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.vg-sitemap-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vg-sitemap-col ul li {
    margin-bottom: 3px;
    float: none;
    width: 100%;
}
/* SEO friendly: visually hidden but still in DOM for crawlers */
.vg-sitemap-col ul li.vg-sitemap-hidden {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
}
.vg-sitemap-col ul li.vg-sitemap-hidden a {
    visibility: visible; /* keep crawlable */
}
.vg-sitemap-col ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.7;
}
.vg-sitemap-col ul li a:hover {
    color: #ffba1e;
}
/* See more toggle */
.vg-sitemap-toggle {
    background: none;
    border: none;
    color: #ffba1e;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 0 0;
    transition: color 0.2s ease;
}
.vg-sitemap-toggle:hover {
    color: #fff;
}
/* Mobile accordion */
.vg-sitemap-col h3.vg-accordion-trigger {
    cursor: pointer;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.vg-sitemap-col h3.vg-accordion-trigger::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
}
.vg-sitemap-col h3.vg-accordion-trigger.vg-open::after {
    content: '\2212';
}
.vg-sitemap-col .vg-accordion-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}
.vg-sitemap-col .vg-accordion-body.vg-open {
    max-height: 2000px;
}
@media (max-width: 1200px) {
    .vg-sitemap-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}
@media (max-width: 768px) {
    .vg-sitemap-section {
        padding: 50px 0 40px;
    }
    .vg-sitemap-section .inner-content {
        padding: 0 20px;
    }
    .vg-sitemap-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .vg-sitemap-col {
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding-bottom: 0;
    }
    .vg-sitemap-col h3 {
        padding: 16px 0 !important;
        margin: 0 !important;
        border-bottom: none;
    }
    .vg-sitemap-title {
        margin-bottom: 20px;
    }
}

/* ========== NEW DARK FOOTER ========== */
.vg-footer-new {
    background: #2a2823;
    color: rgba(255,255,255,0.8);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 7vh;
    padding-bottom: 200px;
}
    footer>div:nth-child(2), #homepage-content-box #content .mce-content {
        padding:0!important;
        margin-bottom:0!important;
    }
    footer {
        border: none!important;
    }
.vg-footer-new .inner-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 80px 40px 40px;
}
.vg-footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.vg-footer-brand {
    display: flex;
    flex-direction: column;
}
.vg-footer-logo {
    max-width: 180px!important;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.vg-footer-tagline {
    font-family: var(--fontheader) !important;
    font-size: min(10vw,28px);
    color: rgba(255,255,255,0.5);
    font-style: italic;
    margin: 0 0 28px 0;
    line-height: 1.2;
    max-width: 250px;
    font-weight: 100;
}
.vg-footer-social {
    display: flex;
    gap: 14px;
}
.vg-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.vg-footer-social a:hover {
    background: #ffba1e;
    border-color: #ffba1e;
    color: #040a32;
}
.vg-footer-contact h4,
.vg-footer-links h4 {
    font-family: var(--fontheader) !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffba1e;
    margin: 0 0 20px 0;
}
.vg-footer-contact ul,
.vg-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vg-footer-contact ul li,
.vg-footer-links ul li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    float: none;
}
.vg-footer-contact ul li a,
.vg-footer-links ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}
.vg-footer-contact ul li a:hover,
.vg-footer-links ul li a:hover {
    color: #ffba1e;
}
/* Footer bottom */
.vg-footer-bottom {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.vg-footer-legal-logos {
    display: flex;
    gap: 40px;
    align-items: center;
}
.vg-footer-legal-logos img {
    height: 50px;
    width: auto;
    opacity: 0.5;
}
.vg-footer-disclaimer {
    font-size: 12px!important;
    color: rgba(255,255,255,0.35)!important;
    max-width: 700px;
    line-height: 1.6;
    margin: 0;
}
.vg-footer-bottom-row {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.vg-footer-bottom-row p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}
.vg-footer-bottom-row a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}
.vg-footer-bottom-row a:hover {
    color: #ffba1e;
}
.vg-footer-bottom-row .designed-by a {
    font-size: 13px;
}
/* Override old footer styles */
.vg-footer-new .vg-footer-social a em span {
    display: none;
}
/* hide old vg-footer if both exist */
.vg-footer {
    display: none !important;
}
@media (max-width: 1024px) {
    .vg-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}
@media (max-width: 600px) {
    .vg-footer-new .inner-content {
        padding: 50px 20px 30px;
    }
    .vg-footer-main {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .vg-footer-logo {
        max-width: 100px!important;
    }
    .vg-footer-bottom-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* Buy/Sell service pages — static image inside video-hero-background */
.vg-services-page .video-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sell page hero — suppress search icon on valuation CTA button */
.vg-sell-page .video-hero-btn.primary::before {
    content: "";
    margin-right: 0;
}


/* ═══════════════════════════════════════════════════════════════
   COMMUNITY PAGE STYLES (.vg-community-page / .vg-cp-*)
   Slider gallery, tabbed content, FAQ accordion, CTA form
   ═══════════════════════════════════════════════════════════════ */

/* ─── Breadcrumbs ─── */
.vg-cp-breadcrumbs {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  font-family: var(--font);
  text-align: center;
}

.vg-cp-breadcrumbs a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-weight: 600;
}

.vg-cp-breadcrumbs a:hover {
  color: #ffba1e;
  text-decoration: underline;
}

.vg-cp-breadcrumbs span {
  color: rgba(255,255,255,0.5);
}

/* ─── Intro Section — Dark hero matching area pages ─── */
.vg-cp-intro {
  background: #2a2823;
  padding: 40px 0 60px;
  padding-top: 200px !important;
}

.vg-user-template .vg-cp-intro {
    padding-top: 70px!important;
    border-bottom: solid 1px;
}

/* 2-col grid: video | text content (when video present) */
.vg-cp-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* 1-col when no video — centered like area pages */
.vg-cp-no-video .vg-cp-intro-grid {
  grid-template-columns: 1fr;
}

.vg-cp-no-video .vg-cp-intro-text {
  text-align: center;
}

.vg-cp-no-video .vg-cp-cta-buttons {
  justify-content: flex-start;
}

/* ─── Video Column ─── */
.vg-cp-intro-video {
}

.community-logo {
    max-height: 150px;
    max-width: 250px;
    background: white;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}

.vg-cp-intro-video .vg-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
}

.vg-cp-intro-video .vg-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* MP4 hero video (autoplay, not iframe) */
.vg-cp-intro-video .vg-cp-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Hide video column when no video */
.vg-cp-no-video .vg-cp-intro-video {
  display: none;
}

/* ─── Hero Image Column (same position as video) ─── */
.vg-cp-intro-image {
  height: 100%;
  min-height: 33vh;
}

.vg-cp-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}

/* Hide image column when no media */
.vg-cp-no-video .vg-cp-intro-image {
  display: none;
}

/* ─── Text Content Column ─── */
.vg-cp-intro-text .vg-cp-logo {
  max-width: 250px;
  margin-bottom: 24px;
  background: white;
  padding: 10px;
  max-height: 120px;
}

.vg-cp-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brandblue, #c9a44a);
  margin-bottom: 12px;
  text-align: left;
}

.vg-cp-title {
  font-size: clamp(26px, 5vw, 42px) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
  border: none !important;
  font-family: var(--fontheader) !important;
  color: #fff !important;
  text-align: left;
}

.vg-cp-description p, .vg-cp-description p strong, .vg-cp-description {
  font-size: 16px;
  color: rgba(255,255,255,0.75)!important;
  margin: 0 0 16px;
  text-align: left;
  max-width: 750px;
}

/* ─── CTA Buttons (between description and features) ─── */
.vg-cp-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.vg-cp-cta-buttons a {
  text-decoration: none;
}

.vg-cp-cta-buttons button {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font);
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  border-radius: 0;
  white-space: nowrap;
  text-transform: none;
}

.vg-cp-cta-buttons button:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* Request Info button — yellowish brand color */
.vg-cp-cta-buttons button.vg-cp-request-btn {
  background: #ffba1e;
  color: #000;
  border-color: #ffba1e;
  font-weight: 600;
}

.vg-cp-cta-buttons button.vg-cp-request-btn:hover {
  background: #e5a71a;
  border-color: #e5a71a;
}

/* Features list removed from intro — now lives in tabs only */

@media (max-width: 900px) {
  .vg-cp-intro-grid,
  .vg-cp-no-video .vg-cp-intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .vg-cp-intro-video,
  .vg-cp-intro-image {
    position: static;
  }
  .vg-cp-intro {
    padding: 10vh 0 40px!important;
  }
}

/* ─── Photo Slider Gallery (placeholder template only) ─── */
.vg-cp-gallery-section {
  padding: 0 !important;
  overflow: hidden;
}

.vg-cp-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}

.vg-cp-slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.vg-cp-slide {
  flex: 0 0 calc(100% / 3);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
}
.vg-cp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vg-cp-slide h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0!important;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff!important;
  font-size: 13px;
  font-weight: 400!important;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.vg-cp-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 30px));
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  color: #1a1a1a;
}

.vg-cp-slider-btn:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(calc(-50% - 30px)) scale(1.1);
}

.vg-cp-slider-btn::before {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', FontAwesome;
  font-weight: 900;
  font-size: 18px;
  color: #1a1a1a;
}
.vg-cp-slider-prev { left: 20px; }
.vg-cp-slider-prev::before { content: '\f053'; }
.vg-cp-slider-next { right: 20px; }
.vg-cp-slider-next::before { content: '\f054'; }

.vg-cp-slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.vg-cp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #999;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.vg-cp-dot.active,
.vg-cp-dot:hover {
  background: #2a2823;
  border-color: #2a2823;
}

/* Grid mode: ≤4 photos — no slider, responsive grid */
.vg-cp-gallery-grid-mode .vg-cp-slider {
  padding-bottom: 0;
}

.vg-cp-gallery-grid-mode .vg-cp-slider-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px;
  transform: none !important;
  padding: 20px;
}

.vg-cp-gallery-grid-mode .vg-cp-slide {
  flex: none;
  width: 100%;
  height: 320px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .vg-cp-slide {flex: 0 0 50%;}
  .vg-cp-gallery-grid-mode .vg-cp-slide { height: 260px; }
}

@media (max-width: 600px) {
  .vg-cp-slide {flex: 0 0 100%;}
  .vg-cp-slider-btn { width: 36px; height: 36px; }
  .vg-cp-slider-prev { left: 10px; }
  .vg-cp-slider-next { right: 10px; }
  .vg-cp-gallery-grid-mode .vg-cp-slider-track {
    grid-template-columns: 1fr;
  }
  .vg-cp-gallery-grid-mode .vg-cp-slide { height: 220px; }
}

/* ─── Tabbed Content Section ─── */
.vg-cp-tabs-section {
  padding: 60px 0 0;
  background: #f8f8f6;
}

.vg-cp-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 2px solid #e0e0dc;
  margin-bottom: 0;
}

.vg-cp-tabs [role="tab"] {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
  font-family: var(--font);
}

.vg-cp-tabs [role="tab"]:hover {
  color: #333;
}

.vg-cp-tabs [role="tab"].active,
.vg-cp-tabs [role="tab"][aria-selected="true"] {
  color: #1a1a1a;
  border-bottom-color: #ffba1e;
}

.vg-cp-tab-panels {
  background: #fff;
}

.vg-cp-panel {
  display: none;
  padding: 48px 0;
}

.vg-cp-panel.active,
.vg-cp-panel:not([hidden]) {
  display: block;
}

.vg-cp-panel-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.vg-cp-panel-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.vg-cp-panel-content li {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 8px;
}

.vg-cp-panel-content .vg-video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.vg-cp-panel-content .vg-video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.vg-cp-panel-content .vg-map-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ─── Gallery Image Grid (inside tabs) ─── */
.vg-cp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.vg-cp-gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vg-cp-gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Linked images (floor plans) */
.vg-cp-gallery-grid a {
  display: block;
  text-decoration: none;
}

.vg-cp-gallery-grid a img {
  cursor: pointer;
}

@media (max-width: 900px) {
  .vg-cp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vg-cp-gallery-grid img {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .vg-cp-gallery-grid {
    grid-template-columns: 1fr;
  }
  .vg-cp-gallery-grid img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .vg-cp-tabs {
    flex-wrap: wrap;
  }
  .vg-cp-tabs [role="tab"] {
    padding: 12px 20px;
    font-size: 12px;
    letter-spacing: 1px;
    flex: 1;
    text-align: center;
    min-width: 0;
  }
  .vg-cp-panel {
    padding: 32px 0;
  }
}

/* ─── FAQ Accordion ─── */
.vg-cp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vg-cp-faq-item {
  border-bottom: 1px solid #e5e5e1;
}

.vg-cp-faq-item:first-child {
  border-top: 1px solid #e5e5e1;
}

.vg-cp-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  font-family: var(--font);
  line-height: 1.4;
  gap: 16px;
}

.vg-cp-faq-question:hover {
  color: #737373;
}

.vg-cp-faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.vg-cp-faq-item.open .vg-cp-faq-icon {
  transform: rotate(180deg);
}

.vg-cp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0;
}

.vg-cp-faq-item.open .vg-cp-faq-answer {
  max-height: 500px;
  padding: 0 0 20px;
}

.vg-cp-faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* ─── CTA / Inquiry Form Section ─── */
.vg-cp-cta-section {
  padding: 80px 0;
  background: #2a2823;
}

.vg-cp-cta-header {
  text-align: center;
  margin: auto;
  margin-bottom: 40px;
  max-width: 750px;
}

.vg-cp-cta-header h2 {
  font-size: clamp(24px, 4vw, 40px) !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1!important;
  color: #fff !important;
  margin: 0 0 16px !important;
  font-family: var(--fontheader) !important;
}

.vg-cp-cta-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.7)!important;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.vg-cp-cta-form {
  max-width: 700px;
  margin: 0 auto;
}

.vg-cp-cta-form .vg-form-container {
  background: none !important;
  box-shadow: none !important;
}


.vg-cp-cta-form .vg-form input,
.vg-cp-cta-form .vg-form select,
.vg-cp-cta-form .vg-form textarea {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff !important;
}

.vg-cp-cta-form .vg-form input::placeholder,
.vg-cp-cta-form .vg-form textarea::placeholder {
  color: rgba(255,255,255,0.4) !important;
}

.vg-cp-cta-form .vg-form input:focus,
.vg-cp-cta-form .vg-form select:focus,
.vg-cp-cta-form .vg-form textarea:focus {
  border-color: var(--brandblue, #c9a44a) !important;
  outline: none;
}

.vg-cp-cta-form .vg-form button {
  background: #ffba1e !important;
  color: #000 !important;
  border: none !important;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 40px;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  width: 100%;
}

.vg-cp-cta-form .vg-form button:hover {
  opacity: 0.8;
}

.vg-cp-cta-form .vg-form select option {
  background: #1a1a1a;
  color: #fff;
}

.vg-cp-cta-form .form-error {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .vg-cp-cta-section {
    padding: 50px 0;
  }
}


/* ============================================================
   CONTENT PAGES — LISTING CAROUSEL SECTION
   Matches neighborhood page dark listing section style.
   Applied to community, floor plan, general, and all other
   content page types that get the #new-listings-carousel.
   ============================================================ */
.vg-community-page .new-listings-section,
.vg-floor-plan-page .new-listings-section,
.vg-general-page .new-listings-section,
.vg-content-page .new-listings-section,
.vg-additional-info-page .new-listings-section,
.vg-reviews-page .new-listings-section,
.vg-resources-page .new-listings-section,
.vg-listings-page .new-listings-section,
.vg-landing-page .new-listings-section {
  background: #2a2823;
  padding: 40px 0 60px;
}

.vg-community-page .new-listings-spinner,
.vg-floor-plan-page .new-listings-spinner,
.vg-general-page .new-listings-spinner,
.vg-content-page .new-listings-spinner {
  background: #2a2823;
}

.vg-community-page .new-listings-section .listing-ctas,
.vg-floor-plan-page .new-listings-section .listing-ctas,
.vg-general-page .new-listings-section .listing-ctas,
.vg-content-page .new-listings-section .listing-ctas {
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
  margin-bottom: 20px;
  gap: 12px;
}

.vg-community-page .new-listings-section .listing-ctas h2,
.vg-floor-plan-page .new-listings-section .listing-ctas h2,
.vg-general-page .new-listings-section .listing-ctas h2,
.vg-content-page .new-listings-section .listing-ctas h2 {
  color: #fff !important;
  font-family: var(--fontheader) !important;
  font-size: clamp(24px, 4.5vw, 38px) !important;
  font-weight: 400 !important;
  margin: 0 !important;
  line-height: 1.2;
  border: none;
}

.vg-community-page .new-listings-section .listing-cta-btns,
.vg-floor-plan-page .new-listings-section .listing-cta-btns,
.vg-general-page .new-listings-section .listing-cta-btns,
.vg-content-page .new-listings-section .listing-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.vg-community-page .new-listings-section .listing-cta-btns a,
.vg-floor-plan-page .new-listings-section .listing-cta-btns a,
.vg-general-page .new-listings-section .listing-cta-btns a,
.vg-content-page .new-listings-section .listing-cta-btns a {
  width: auto;
}

.vg-community-page .new-listings-section .listing-cta-btns button,
.vg-floor-plan-page .new-listings-section .listing-cta-btns button,
.vg-general-page .new-listings-section .listing-cta-btns button,
.vg-content-page .new-listings-section .listing-cta-btns button {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: #fff !important;
  padding: 10px 24px !important;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 0 !important;
  white-space: nowrap;
  text-transform: none !important;
}

.vg-community-page .new-listings-section .listing-cta-btns button:hover,
.vg-floor-plan-page .new-listings-section .listing-cta-btns button:hover,
.vg-general-page .new-listings-section .listing-cta-btns button:hover,
.vg-content-page .new-listings-section .listing-cta-btns button:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.6) !important;
}

/* No-listings inquire box — dark bg variant for content pages */
.vg-community-page .no-listings-inquire-inner,
.vg-floor-plan-page .no-listings-inquire-inner,
.vg-general-page .no-listings-inquire-inner,
.vg-content-page .no-listings-inquire-inner {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.vg-community-page .no-listings-inquire-inner p,
.vg-floor-plan-page .no-listings-inquire-inner p,
.vg-general-page .no-listings-inquire-inner p,
.vg-content-page .no-listings-inquire-inner p {
  color: rgba(255,255,255,0.7);
  font-family: var(--font);
}

.vg-community-page .no-listings-inquire-btn,
.vg-floor-plan-page .no-listings-inquire-btn,
.vg-general-page .no-listings-inquire-btn,
.vg-content-page .no-listings-inquire-btn {
  background: #ffba1e;
  color: #1a1a1a;
  border-radius: 0 !important;
}

.vg-community-page .no-listings-inquire-btn:hover,
.vg-floor-plan-page .no-listings-inquire-btn:hover,
.vg-general-page .no-listings-inquire-btn:hover,
.vg-content-page .no-listings-inquire-btn:hover {
  background: #e5a71a;
}

/* Map preview in content pages */
.vg-community-page .listings-map-preview,
.vg-floor-plan-page .listings-map-preview,
.vg-general-page .listings-map-preview,
.vg-content-page .listings-map-preview {
  /* margin-bottom: 20px; */
  border-radius: 0;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .vg-community-page .new-listings-section,
  .vg-floor-plan-page .new-listings-section,
  .vg-general-page .new-listings-section,
  .vg-content-page .new-listings-section {
    padding: 30px 0 40px;
  }

  .vg-community-page .new-listings-section .listing-cta-btns,
  .vg-floor-plan-page .new-listings-section .listing-cta-btns,
  .vg-general-page .new-listings-section .listing-cta-btns,
  .vg-content-page .new-listings-section .listing-cta-btns {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .vg-community-page .new-listings-section .listing-cta-btns a,
  .vg-floor-plan-page .new-listings-section .listing-cta-btns a,
  .vg-general-page .new-listings-section .listing-cta-btns a,
  .vg-content-page .new-listings-section .listing-cta-btns a {
    width: 100%;
  }

  .vg-community-page .new-listings-section .listing-cta-btns button,
  .vg-floor-plan-page .new-listings-section .listing-cta-btns button,
  .vg-general-page .new-listings-section .listing-cta-btns button,
  .vg-content-page .new-listings-section .listing-cta-btns button {
    width: 100%;
    text-align: center;
    padding: 12px 20px !important;
  }
}

/* ─── Resources Section (Additional Info pages) ─── */
.vg-cp-resources {
  background: #f8f8f6;
  padding: 60px 0;
}

.vg-cp-resources h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.vg-cp-download-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.vg-cp-download-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e1;
}

.vg-cp-download-list li:last-child {
  border-bottom: none;
}

.vg-cp-download-list a {
  color: var(--brandblue, #2563eb);
  font-weight: 600;
  text-decoration: none;
}

.vg-cp-download-list a:hover {
  text-decoration: underline;
}

.vg-cp-map-wrapper {
  margin: 16px 0 24px;
}

.vg-cp-contact-line {
  margin-top: 20px;
  color: #555;
}

.vg-cp-contact-line a {
  color: var(--brandblue, #2563eb);
  font-weight: 600;
}

.vg-cp-back-nav {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.vg-cp-back-nav button {
  background: transparent;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vg-cp-back-nav button:hover {
  background: #1a1a1a;
  color: #fff;
}

/* ─── Listings Nav (Our Listings / Lots / Recent Sales switcher) ─── */
.vg-listings-nav-section {
  background: #1a1a1a;
  padding: 16px 0;
  padding-top: 120px;
}

.vg-listings-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vg-listings-nav-label {
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-right: 4px;
}

.vg-listings-nav-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

.vg-listings-nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 0;
  transition: all 0.2s ease;
}

.vg-listings-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.vg-listings-nav-link.active {
  color: #2a2823;
  background: #ffffff;
}

.vg-listings-agent-email {
  margin-top: 4px;
}

.vg-listings-agent-email a {
  color: var(--brandblue, #2563eb);
  font-weight: 600;
}

@media (max-width: 600px) {
  .vg-listings-nav {
    gap: 8px;
    justify-content: c;
  }
  .vg-listings-nav-label {
    width: 100%;
    text-align: center;
  }
}

/* ==================== OFF-MARKET SIGNUP BAR ==================== */
.vg-el-signup-section {
  padding: 0;
  border-top: solid 1px;
}

.vg-el-signup-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: #2a2823;
  padding: 40px var(--containerpadding, 40px);
  max-width: none;
}

.vg-el-signup-txt p {
  color: rgba(255,255,255,0.85)!important;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1!important;
  margin: 0;
}

.vg-el-signup-txt strong {
  color: #ffba1e;
  font-weight: 700;
}

.vg-el-signup-cta {
  flex-shrink: 0;
}

.vg-el-signup-cta a {
  display: inline-block;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 14px 36px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.vg-el-signup-cta a:hover {
  background: #ffba1e;
  border-color: #ffba1e;
  color: #2a2823;
}

@media (max-width: 768px) {
  .vg-el-signup-bar {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 35px 24px;
  }
}

/* ==================== ND COMMUNITIES GRID ==================== */
.vg-el-areas-section {
  background: #2a2823;
  padding: 70px 0 80px;
}

.vg-el-areas-header {
  text-align: left;
  margin-bottom: 40px;
}

.vg-el-areas-header h2 {
  color: white!important;
  font-family: var(--fontheader)!important;
  font-size: clamp(36px, 5vw, 55px)!important;
  font-weight: 500!important;
  line-height: 1!important;
  text-transform: uppercase;
  margin: 0;
}

.vg-el-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 auto;
  padding: 0 var(--containerpadding, 20px);
}

.vg-el-area-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3/4;
  text-decoration: none;
}

.vg-el-area-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vg-el-area-tile:hover img {
  transform: scale(1.05);
}

.vg-el-area-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,40,35,0.85) 0%, rgba(42,40,35,0.15) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.vg-el-area-name {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 2;
  color: white;
  font-family: var(--fontheader);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  padding: 0 12px;
  line-height: 1.2;
}

.vg-el-area-cta {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.vg-el-area-cta::before {
  font-family: "Font Awesome 6 Pro";
  content: "\f3c5";
  font-weight: 400;
  font-size: 10px;
  margin-right: 5px;
}

.vg-el-area-tile:hover .vg-el-area-cta {
  color: #ffba1e;
}

@media (max-width: 1100px) {
  .vg-el-areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .vg-el-areas-section {
    padding: 50px 0 60px;
  }
  .vg-el-areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .vg-el-area-tile {
    aspect-ratio: 1/1;
  }
  .vg-el-area-name {
    bottom: 32px;
  }
  .vg-el-area-cta {
    bottom: 12px;
  }
}

@media (max-width: 480px) {
  .vg-el-areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }
  .vg-el-area-tile {
    aspect-ratio: 3/4;
  }
  .vg-el-area-name {
    font-size: 14px;
    bottom: 28px;
  }
  .vg-el-area-cta {
    font-size: 10px;
    bottom: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESOURCE PAGE STYLES (.vg-resource-*)
   Lenders, Contractors, School Districts, Resources hub
   ═══════════════════════════════════════════════════════════════ */

/* ─── White Content Section ─── */
.vg-resource-section {
  background: #ffffff;
  padding: 60px 0 80px;
}


/* ─── Lender Cards Grid ─── */
.vg-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vg-resource-card {
  background: #f9f9f7;
  border: 1px solid #e8e6e1;
  border-radius: 4px;
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow 0.2s ease;
}

.vg-resource-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.vg-resource-card-logo {
  flex: 0 0 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.vg-resource-card-logo img {
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
}

.vg-resource-card-logo a {
  display: flex;
  align-items: center;
}

.vg-resource-card-info h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #2a2823;
}

.vg-resource-card-info h3:not(:first-child) {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8e6e1;
}

.vg-resource-card-info p {
  font-size: 14px;
  color: #666;
  margin: 0 0 4px;
  line-height: 1.6;
}

.vg-resource-card-info a {
  color: #2a2823;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vg-resource-card-info a:hover {
  color: #ffba1e;
}

/* ─── Contractor Categories Grid ─── */
.vg-resource-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vg-resource-category {
  background: #f9f9f7;
  border: 1px solid #e8e6e1;
  border-radius: 4px;
  padding: 24px 28px;
}

.vg-resource-category h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: #2a2823;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ffba1e;
}

.vg-resource-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vg-resource-category li {
  font-size: 14px;
  color: #555;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
}

.vg-resource-category li:last-child {
  border-bottom: none;
}

.vg-resource-category li a {
  color: #2a2823;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vg-resource-category li a:hover {
  color: #ffba1e;
}

/* ─── School Districts ─── */
.vg-resource-schools {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vg-resource-school-region h2 {
  font-family: var(--fontheader);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 400;
  color: #2a2823;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ffba1e;
}

.vg-resource-school-district {
  margin-bottom: 28px;
  padding-left: 0;
}

.vg-resource-school-district h3 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  color: #2a2823;
  margin: 0 0 12px;
}

.vg-resource-school-district h3 a {
  color: #2a2823;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vg-resource-school-district h3 a:hover {
  color: #ffba1e;
}

.vg-resource-school-district h4 {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: #555;
  margin: 20px 0 10px;
}

.vg-resource-subtitle {
  font-weight: 400;
  font-size: 14px;
  color: #888;
}

/* Action buttons (Homes for Sale, Boundary Map) */
.vg-resource-school-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.vg-resource-action-btn {
  display: inline-block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  background: #ffba1e;
  color: #000;
  border-radius: 0;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vg-resource-action-btn:hover {
  background: #e5a71a;
  transform: translateY(-1px);
}

.vg-resource-action-btn.vg-resource-action-outline {
  background: transparent;
  color: #2a2823;
  border: 1px solid #2a2823;
}

.vg-resource-action-btn.vg-resource-action-outline:hover {
  background: #2a2823;
  color: #fff;
}

.vg-resource-note {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin: 0 0 16px;
  padding: 12px 16px;
  background: #f9f9f7;
  border-left: 3px solid #ffba1e;
  border-radius: 0 4px 4px 0;
}

.vg-resource-note a {
  color: #2a2823;
  text-decoration: underline;
}

/* School links list */
.vg-resource-school-links {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 30px;
}

.vg-resource-school-links li {
  font-size: 14px;
  padding: 6px 0;
  break-inside: avoid;
  border-bottom: 1px solid #f0f0f0;
}

.vg-resource-school-links li a {
  color: #2a2823;
  text-decoration: none;
  transition: color 0.2s;
}

.vg-resource-school-links li a:hover {
  color: #ffba1e;
  text-decoration: underline;
}

/* School links with search buttons */
.vg-resource-school-with-search li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.vg-resource-search-link {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  background: #f0f0f0;
  color: #2a2823 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.vg-resource-search-link:hover {
  background: #ffba1e;
}

/* ─── Resources Hub (block grid) ─── */
.vg-resource-hub h2 {
  font-family: var(--fontheader)!important;
  font-size: clamp(20px, 4vw, 60px)!important;
  font-weight: 400!important;
  color: #2a2823!important;
  margin: 0 0 32px;
  text-align: left;
  line-height: 1!important;
}

.vg-resource-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto;
}

.vg-resource-hub-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #e8e6e1;
  border-radius: 10px;
  text-decoration: none;
  color: #2a2823;
  font-family: var(--font);
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.vg-resource-hub-block:hover {
  border-color: #ffba1e;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  color: #2a2823;
  text-decoration: none;
}

.vg-resource-hub-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #f5f4f0;
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 18px;
  color: #2a2823;
  transition: all 0.25s ease;
}

.vg-resource-hub-block:hover .vg-resource-hub-icon {
  background: #ffba1e;
  color: #2a2823;
}

.vg-resource-hub-label {
  font-size: 16px;
  font-weight: 600;
  flex: 1;
}

.vg-resource-hub-arrow {
  font-size: 14px;
  color: #bbb;
  transition: all 0.25s ease;
}

.vg-resource-hub-block:hover .vg-resource-hub-arrow {
  color: #ffba1e;
  transform: translateX(3px);
}

/* ─── Resource Page Responsive ─── */
@media (max-width: 768px) {
  .vg-resource-hub-grid {
    grid-template-columns: 1fr;
  }

  .vg-resource-grid,
  .vg-resource-categories {
    grid-template-columns: 1fr;
  }

  .vg-resource-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vg-resource-card-info h3:not(:first-child) {
    border-top: none;
    padding-top: 12px;
  }

  .vg-resource-school-links {
    column-count: 1;
  }

  .vg-resource-school-with-search li {
    flex-direction: column;
    align-items: flex-start;
  }

  .vg-resource-section {
    padding: 40px 0 60px;
  }
}

/* ── Mobile fixed "Inquire" bar ── */
.vg-mobile-inquire-bar {
  display: none;
}

@media (max-width: 768px) {
  .vg-mobile-inquire-bar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 7px 20px;
    z-index: 5;
    box-shadow: 0 2px 6px rgb(0 0 0 / 7%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-top: solid 1px #e0e0e0;
  }

  .vg-mobile-inquire-bar.vg-mobile-inquire-visible {
    opacity: 1;
    visibility: visible;
  }

  .vg-mobile-inquire-btn {
    display: block;
    width: 100%;
    background: #ffba1e;
    color: #000;
    border: none;
    border-radius: 0;
    padding: 14px 0;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }

  .vg-mobile-inquire-btn::after {
    font-family: "Font Awesome 6 Pro";
    content: "\e1a7";
    font-weight: 800;
    font-size: 13px;
    margin-left: 8px;
  }

  .vg-mobile-inquire-btn:active {
    background: #e5a71a;
  }
}

/* ── Mobile description read more ── */
@media (max-width: 768px) {
  .vg-desc-read-more {
    color: #ffffff47;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    margin-left: 5px;
  }
}

/* ─── Gallery Lightbox Modal ─── */
.vg-cp-slide { cursor: pointer; }

.vg-lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.vg-lightbox-overlay.active { opacity: 1; }

.vg-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  cursor: default;
  position: relative;
}

.vg-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.vg-lightbox-caption {
  color: #fff;
  font-size: min(3vw,17px);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  position: absolute;
  top: 10px;
  left: 10px;
  background: #000000a8;
  padding: 3px 9px;
}

.vg-lightbox-inquire {
  margin-top: 12px;
  padding: 10px 32px;
  background: #ffba1e;
  color: #1c1c1c;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.vg-lightbox-inquire:hover {
  background: var(--branddark, #b08930);
  transform: scale(1.05);
}

.vg-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
  z-index: 100000;
}
.vg-lightbox-close:hover { background: rgba(255,255,255,0.15); }
.vg-lightbox-close::before {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', FontAwesome;
  font-weight: 900;
  content: '\f00d';
}

.vg-lightbox-prev,
.vg-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 100000;
}
.vg-lightbox-prev { left: 20px; }
.vg-lightbox-next { right: 20px; }
.vg-lightbox-prev:hover,
.vg-lightbox-next:hover { background: rgba(255,255,255,0.3); }
.vg-lightbox-prev::before,
.vg-lightbox-next::before {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', FontAwesome;
  font-weight: 900;
  font-size: 18px;
}
.vg-lightbox-prev::before { content: '\f053'; }
.vg-lightbox-next::before { content: '\f054'; }

@media (max-width: 600px) {
  .vg-lightbox-close { top: 12px; right: 12px; font-size: 24px; width: 40px; height: 40px; }
  .vg-lightbox-prev,
  .vg-lightbox-next { width: 36px; height: 36px; }
  .vg-lightbox-prev { left: 10px; }
  .vg-lightbox-next { right: 10px; }
}

/* ─── Hero Slideshow Crossfade ─── */
.video-hero-background img {
  transition: opacity 1.2s ease;
}
.vg-hero-slide-next {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.video-hero-overlay {
  z-index: 2;
}
.video-hero-content {
  z-index: 3;
}

/* ─── Video Coming Soon Placeholder ─── */
.vg-video-coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1f1d1a;
  gap: 12px;
}
.vg-video-soon-icon::before {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', FontAwesome;
  font-weight: 900;
  content: '\f144';
  font-size: 48px;
  color: rgb(255 186 30);
}
.vg-video-coming-soon p {
  color: rgba(255,255,255,0.5)!important;
  font-size: min(7vw,20px);
  margin: 0;
  font-weight: 500;
}

/* ─── VG Form → RG Popup Styles ─── */
.custom-form-h2 {
  margin-bottom: 0 !important;
}
.custom-form-h3 {
  color: #a0a0a0;
  font-size: 15px;
  margin-top: 4px;
  text-align: center;
  margin-bottom: 10px;
}
.vg-phone-modal input {
  font-size: 18px !important;
}
.form-cover {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999999999;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-cover h3 {
  color: #fff;
  font-size: 28px;
  text-align: center;
  max-width: 500px;
}
.form-cover.form-submitted {
  background: rgba(23,85,15,0.9);
}
.form-cover:not(.form-submitted) h3::after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  animation: ellipsis steps(4, end) 900ms infinite;
  content: "\2026";
  width: 0;
}
@keyframes ellipsis {
  to { width: 1.25em; }
}


/* ===== Notre Dame Area Map Section ===== */
.vg-nd-map-wrap {
  display: flex;
  align-items: center;
  gap: 50px;
}
.vg-nd-map-text {
  flex: 1;
  min-width: 280px;
}
.vg-nd-map-text p {
  font-size: 15px;
}
.vg-nd-map-text p strong {
  font-weight: 600;
  color: white!important;
}
.vg-nd-map-box {
  flex: 1;
}
.vg-nd-map-box svg {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .vg-nd-map-wrap {
    flex-direction: column-reverse;
    gap: 30px;
  }
  .vg-nd-map-text {
    text-align: center;
  }
  .vg-nd-map-text h2 {
    text-align: center !important;
  }
}
.map-area:hover {
    fill-opacity: .5!important;
}
.map-area {
    stroke: #ffba1e94;
    stroke-width: 0.5px!important;
}

/* Sidemenu nested accordion & sub-links */
.sidemenu-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 16px;
  padding: 10px 0;
  padding-left: 10px;
  border: none;
  background: transparent!important;
  color: #ffffffd9!important;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  text-align: left;
  transition: color 300ms ease;
  text-decoration: none;
  font-family: var(--font) !important;
}
.sidemenu-sub-link:hover {
  color: #ffba1e;
}
.sidemenu-nested .sidemenu-accordion-content {
  padding-left: 10px;
}
.sidemenu-nested .sidemenu-areas-list a {
  font-size: 13px;
  padding: 6px 0;
  margin-left: 15px;
}

/* ===== FAQ Accordion ===== */
.vg-faq-accordion {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.vg-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.vg-faq-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.vg-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font) !important;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 300ms ease;
  line-height: 1.4;
}
.vg-faq-question:hover {
  color: #ffba1e;
}
.vg-faq-question i,
.vg-faq-question svg {
  flex-shrink: 0;
  transition: transform 300ms ease;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.vg-faq-item.open .vg-faq-question i,
.vg-faq-item.open .vg-faq-question svg {
  transform: rotate(180deg);
}
.vg-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
}
.vg-faq-item.open .vg-faq-answer {
  max-height: 600px;
}
.vg-faq-answer p {
  color: rgba(255,255,255,0.7)!important;
  font-size: 15px;
  line-height: 1.75;
  padding: 0 0 20px;
  margin: 0;
  font-family: var(--font) !important;
}
@media (max-width: 768px) {
  .vg-faq-question {
    font-size: 15px;
    padding: 16px 0;
  }
  .vg-faq-answer p {
    font-size: 14px;
  }
}

/* ===== Nav Communities Dropdown ===== */
.nav-communities-wrap {
  position: relative;
}
#nav-communities-toggle {
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
/* +/- icon via FA6 Sharp pseudo */
#nav-communities-toggle::after {
  font-family: "Font Awesome 6 Sharp";
  font-weight: 700;
  content: "\2b";
  font-size: 11px;
  transition: transform 200ms ease;
  position: relative;
  background: transparent;
  height: auto;
}
.nav-communities-wrap.open #nav-communities-toggle::after {
  content: "\f068";
  background: transparent;
}
/* Dropdown panel */
.nav-communities-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #1e1c18;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
  transform: translateX(-50%) translateY(8px);
  z-index: 9999;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.nav-communities-wrap.open .nav-communities-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Links */
.nav-cd-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font) !important;
  transition: color 200ms ease, background 200ms ease;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.nav-cd-link:hover {
  color: #ffba1e;
  background: rgba(255,255,255,0.04);
}
/* Michiana expand +/- */
.nav-cd-expand::after {
  font-family: "Font Awesome 6 Sharp";
  font-weight: 300;
  content: "\2b";
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  transition: transform 200ms ease;
}
.nav-cd-expand.open::after {
  content: "\f068";
}
/* Nested panel */
.nav-cd-nested {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease;
}
.nav-cd-nested.open {
  max-height: 400px;
}
.nav-cd-nested a {
  display: block;
  padding: 8px 20px 8px 32px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font) !important;
  transition: color 200ms ease, padding-left 200ms ease;
}
.nav-cd-nested a:hover {
  color: #ffba1e;
  padding-left: 38px;
}
/* Hide dropdown on mobile (sidemenu handles it) */
@media (max-width: 991px) {
  .nav-communities-dropdown {
    display: none !important;
  }
}