/*
  Northgate custom overrides.

  Add new styles here so they load after the compiled theme CSS.
  This file is intentionally separate from the minified build output.
*/

.top-menu > li > a.menu-parent-label {
  cursor: default;
}

.contact-card {
  min-width: 0;
  overflow: hidden;
}

.contact-card .icon .bi {
  color: #15345a;
  font-size: 1.25rem;
  line-height: 1;
}

.contact-card .contact-text {
  flex: 1 1 0;
  width: 0;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.contact-form-settings {
  padding-top: 0;
  padding-bottom: 3.5rem;
}

@media (max-width: 991.98px) {
  .top-bar .container {
    gap: 0.35rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .social-icons {
    gap: 0.45rem;
  }

  .social-icons .social {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.95rem;
  }

  .top-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem 0.85rem;
    margin-top: 0.35rem;
    padding-left: 0;
  }

  .top-menu > li > a {
    padding: 0.15rem 0;
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .top-menu > li.menu-item-has-children {
    position: relative;
  }

  .top-menu > li.menu-item-has-children::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 1rem;
  }

  .top-menu > li.menu-item-has-children > .sub-menu {
    display: none;
  }

  .navbar-brand img {
    max-height: 42px;
    width: auto;
  }

  .navbar .container {
    gap: 0.5rem;
  }

  #mainNavbar.collapse:not(.show) {
    display: none !important;
  }

  #mainNavbar.collapse.show,
  #mainNavbar.collapsing {
    display: block !important;
  }

  #mainNavbar {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    padding: 4rem 1rem 1rem;
    background: #1a3564;
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.22);
    overflow-y: auto;
    z-index: 1050;
  }

  #mainNavbar .navbar-nav {
    width: 100%;
  }

  #mainNavbar .mobile-nav-menu {
    display: flex !important;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  #mainNavbar .mobile-nav-menu > li {
    width: 100%;
  }

  #mainNavbar .mobile-nav-menu > li > a.nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    min-height: 42px;
    padding: 0.7rem 0.55rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: normal;
  }

  #mainNavbar .mobile-nav-menu > li > a.nav-link:hover,
  #mainNavbar .mobile-nav-menu > li > a.nav-link:focus,
  #mainNavbar .mobile-nav-menu > li.current-menu-item > a.nav-link,
  #mainNavbar .mobile-nav-menu > li.current_page_item > a.nav-link {
    color: #ffd66b;
  }

  #mainNavbar .mobile-nav-menu .sub-menu {
    display: block;
    list-style: none;
    margin: 0.2rem 0 0;
    padding-left: 0.85rem;
  }

  #mainNavbar .mobile-nav-menu .sub-menu a.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.45rem 0.4rem;
    color: #ffffff;
    opacity: 1;
  }

  #mainNavbar .mobile-nav-menu .sub-menu a.nav-link:hover,
  #mainNavbar .mobile-nav-menu .sub-menu a.nav-link:focus,
  #mainNavbar .mobile-nav-menu .sub-menu li.current-menu-item > a.nav-link,
  #mainNavbar .mobile-nav-menu .sub-menu li.current_page_item > a.nav-link {
    color: #ffd66b;
  }

  #mainNavbar .sidebar-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 1060;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    background-image: none !important;
    -webkit-appearance: none;
    appearance: none;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    box-shadow: none;
    opacity: 1;
    line-height: 1;
    font-size: 0;
    cursor: pointer;
    text-shadow: none;
    outline: none;
    background-color: transparent !important;
    background-clip: padding-box;
    filter: none !important;
  }

  #mainNavbar .sidebar-close::before,
  #mainNavbar .sidebar-close::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  #mainNavbar .sidebar-close-icon {
    position: relative;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    color: #ffffff !important;
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 300;
    font-family: Arial, Helvetica, sans-serif;
    pointer-events: none;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    text-align: center;
    transform: translateY(-1px);
  }
}

@media (min-width: 992px) {
  .top-bar {
    overflow: visible;
  }

  .top-menu {
    align-items: center;
    gap: 0;
    position: relative;
  }

  .top-menu > li {
    position: relative;
  }

  .top-menu > li > a {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.9rem;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-transform: uppercase;
  }

  .top-menu > li > a:hover,
  .top-menu > li > a:focus,
  .top-menu > li.current-menu-item > a,
  .top-menu > li.current_page_item > a,
  .top-menu > li.current-menu-ancestor > a,
  .top-menu > li.current_page_parent > a {
    color: #ffffff;
  }

  .top-menu > li.menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.05rem);
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid rgba(15, 42, 82, 0.08);
    border-radius: 0.35rem;
    box-shadow: 0 14px 32px rgba(15, 42, 82, 0.16);
    z-index: 1200;
  }

  .top-menu > li.menu-item-has-children:hover > .sub-menu,
  .top-menu > li.menu-item-has-children:focus-within > .sub-menu {
    display: block;
  }

  .top-menu > li.menu-item-has-children > .sub-menu > li > a {
    display: block;
    padding: 0.7rem 0.95rem;
    color: #173b78;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }

  .top-menu > li.menu-item-has-children > .sub-menu > li > a:hover,
  .top-menu > li.menu-item-has-children > .sub-menu > li > a:focus {
    background: rgba(13, 45, 102, 0.06);
    color: #0d2d66;
  }

  #mainNavbar {
    overflow: visible;
  }

  #mainNavbar .navbar-nav {
    align-items: center;
    gap: 0.15rem;
    position: relative;
  }

  #mainNavbar .navbar-nav > li {
    position: relative;
  }

  #mainNavbar .navbar-nav > li > a.nav-link {
    padding: 0.45rem 0.65rem;
    color: #173b78;
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
  }

  #mainNavbar .navbar-nav > li > a.nav-link:hover,
  #mainNavbar .navbar-nav > li > a.nav-link:focus,
  #mainNavbar .navbar-nav > li.current-menu-item > a.nav-link,
  #mainNavbar .navbar-nav > li.current_page_item > a.nav-link,
  #mainNavbar .navbar-nav > li.current-menu-ancestor > a.nav-link,
  #mainNavbar .navbar-nav > li.current_page_parent > a.nav-link {
    color: #0d2d66;
  }

  #mainNavbar .navbar-nav > li.menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    margin: 0;
    padding: 0.45rem 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid rgba(15, 42, 82, 0.08);
    border-radius: 0.9rem;
    box-shadow: 0 18px 40px rgba(15, 42, 82, 0.18);
    z-index: 1100;
  }

  #mainNavbar .navbar-nav > li.menu-item-has-children:hover > .sub-menu,
  #mainNavbar .navbar-nav > li.menu-item-has-children:focus-within > .sub-menu,
  #mainNavbar .navbar-nav > li.menu-item-has-children.is-open > .sub-menu {
    display: block;
  }

  #mainNavbar .navbar-nav > li.menu-item-has-children > .sub-menu > li {
    width: 100%;
  }

  #mainNavbar
    .navbar-nav
    > li.menu-item-has-children
    > .sub-menu
    > li
    > a.nav-link {
    display: block;
    padding: 0.8rem 1rem;
    color: #173b78;
    white-space: nowrap;
  }

  #mainNavbar
    .navbar-nav
    > li.menu-item-has-children
    > .sub-menu
    > li
    > a.nav-link:hover,
  #mainNavbar
    .navbar-nav
    > li.menu-item-has-children
    > .sub-menu
    > li
    > a.nav-link:focus,
  #mainNavbar
    .navbar-nav
    > li.menu-item-has-children
    > .sub-menu
    > li.current-menu-item
    > a.nav-link,
  #mainNavbar
    .navbar-nav
    > li.menu-item-has-children
    > .sub-menu
    > li.current_page_item
    > a.nav-link {
    color: #0d2d66;
    background: rgba(13, 45, 102, 0.06);
  }
}

.about-estate-page {
  background: linear-gradient(
    180deg,
    rgba(245, 247, 251, 0.9) 0%,
    #ffffff 100%
  );
}

.about-estate-card {
  display: block;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(16, 36, 87, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.about-estate-card:hover,
.about-estate-card:focus {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(16, 36, 87, 0.14);
}

.about-estate-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe7f4;
}

.about-estate-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-estate-card__body {
  padding: 1rem 1rem 1.15rem;
}

.about-estate-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.25;
  color: #173b78;
}

.about-estate-card__intro {
  margin: 0;
  color: #5a6781;
  font-size: 0.92rem;
  line-height: 1.55;
}

.development-by-block {
  padding: 2.5rem 0;
  background: #ffffff;
}

.development-by-block__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}

.development-by-block__label {
  margin: 0;
  color: #173b78;
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.development-by-block__logo {
  margin: 0;
  max-width: 220px;
}

.development-by-block__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.inspiration-feature-section {
  padding: 4.5rem 0;
  background: transparent;
}

.inspiration-feature-section__header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.inspiration-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5.5rem);
}

.inspiration-feature {
  min-width: 0;
}

.inspiration-feature__images {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 0;
  margin-bottom: 1.7rem;
  padding: 0;
}

.inspiration-feature__image {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  margin: 0;
}

.inspiration-feature__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.inspiration-feature__title {
  margin: 0;
  color: #173b78;
  font-size: 2rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.inspiration-feature__rule {
  display: block;
  width: 7.25rem;
  height: 0.35rem;
  margin: 0.95rem 0 1.55rem;
  background: #d09300;
}

.inspiration-feature__text {
  max-width: 680px;
}

.inspiration-feature__text p {
  margin: 0 0 1.1rem;
}

.inspiration-feature__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .inspiration-feature-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 575.98px) {
  .development-by-block {
    padding: 2rem 0;
  }

  .development-by-block__inner {
    flex-direction: column;
    gap: 0.9rem;
  }

  .development-by-block__label {
    font-size: 1.35rem;
  }

  .development-by-block__logo {
    max-width: 185px;
  }

  .inspiration-feature-section {
    padding: 2.25rem 0;
  }

  .inspiration-feature__images {
    margin-bottom: 1.35rem;
  }

  .inspiration-feature__image {
    width: min(100%, 320px);
  }

  .inspiration-feature__title {
    font-size: 1.55rem;
  }

  .inspiration-feature__rule {
    width: 5.5rem;
    margin: 0.75rem 0 1rem;
  }
}

.hero-two-col {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 0;
  width: 100%;
  max-width: none;
  gap: 5rem;
}

.hero-text {
  flex: 1 1 0;
  max-width: none;
  min-width: 0;
}

.hero-image {
  flex: 1 1 0;
  min-width: 0;
}

.hero-text,
.hero-image {
  width: 100%;
}

.hero-slider .slide-overlay {
  background: rgba(13, 39, 83, 0.5);
  opacity: 1;
}

.hero-image.has-overlay {
  position: relative;
}

.hero-image.has-overlay .img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 39, 83, 0.4);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.hero-image.has-overlay img {
  position: relative;
  z-index: 0;
}

.hero-two-col-simple__image {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  padding: 0;
  box-shadow: none;
}

.hero-two-col-simple__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whats-in-it-block__image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  padding: 0;
}

.whats-in-it-block__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whats-in-it-block__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 39, 83, 0.35);
  pointer-events: none;
  z-index: 1;
}

.hero-two-col-rich__image {
  position: relative;
  background: transparent;
  border-radius: 2px;
  overflow: hidden;
}

.hero-two-col-rich .datvest-image {
  padding: 12px;
}

.hero-two-col-rich .hero-image {
  padding: 12px;
}

.hero-two-col-rich .hero-two-col-rich__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-two-col-rich__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 39, 83, 0.4);
  pointer-events: none;
  z-index: 1;
}

.our-partners .zifaPartners .swiper-slide {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.our-partners .partner-logo {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.site-banner,
.site-banner .banner-slider {
  position: relative;
  overflow: hidden;
}

.site-banner .overlay,
.site-banner .banner-slider .overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 39, 83, 0.5) !important;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.site-banner .container {
  position: relative;
  z-index: 2;
}

.site-banner .banner-content,
.site-banner .banner-inner,
.site-banner .banner-centered {
  position: relative;
  z-index: 2;
}

.signup-hero {
  position: relative;
  overflow: hidden;
}

.signup-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 39, 83, 0.5);
  pointer-events: none;
  z-index: 1;
}

.signup-hero .container {
  position: relative;
  z-index: 2;
}

.signup-hero .hero-inner {
  position: relative;
  z-index: 2;
}

.video-hero.js-video-wrap {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.video-hero.js-video-wrap,
.video-hero.js-video-wrap .wp-video,
.video-hero.js-video-wrap .mejs-container,
.video-hero.js-video-wrap .mejs-inner,
.video-hero.js-video-wrap .mejs-mediaelement,
.video-hero.js-video-wrap .wp-video-shortcode,
.video-hero.js-video-wrap video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.video-hero.js-video-wrap .wp-video,
.video-hero.js-video-wrap .mejs-container,
.video-hero.js-video-wrap .mejs-inner,
.video-hero.js-video-wrap .mejs-mediaelement,
.video-hero.js-video-wrap .wp-video-shortcode,
.video-hero.js-video-wrap video {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.video-hero.js-video-wrap:not(.is-playing)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 39, 83, 0.4);
  pointer-events: none;
  z-index: 2;
}

.video-hero.js-video-wrap .video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  z-index: 3;
  background: transparent;
  border: 0;
  padding: 0;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

.video-hero.js-video-wrap.is-playing .video-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.section-spacing-y {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.video-hero.section-spacing-y {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.section-retail > .container {
  margin-left: auto;
  margin-right: auto;
}

.lifestyle-grid {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
}

.lifestyle-section .container {
  width: 95%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.lifestyle-grid .home-card {
  width: 100%;
  min-width: 0;
}

.lifestyle-block {
  padding: 2rem 0;
  background: #ebecee;
}

.lifestyle-block .container {
  width: 95%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.lifestyle-block__header {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.lifestyle-block__intro {
  max-width: 44%;
  color: var(--muted);
  font-size: var(--fs-body);
}

.lifestyle-block__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.lifestyle-block__card {
  min-height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: end;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
  position: relative;
}

.lifestyle-block__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 39, 83, 0.5);
  z-index: 1;
}

.lifestyle-block__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(12, 32, 60, 0.12);
}

.lifestyle-block__link {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 2;
  text-decoration: none;
}

.lifestyle-block__caption {
  width: 100%;
  padding: 1.5rem;
  color: #fff;
  position: relative;
  z-index: 3;
}

.lifestyle-block__caption strong {
  display: block;
  font-weight: 700;
  color: #fff;
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  margin: 0 0 2px 0;
}

.lifestyle-block__caption .muted {
  display: block;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: var(--leading-body);
  font-weight: 600;
  margin: 0;
}

.lifestyle-block__cta {
  margin-top: var(--space-md);
}

.featured-tiles .tiles-grid {
  width: 100%;
  max-width: none;
  justify-content: space-between;
  align-items: center;
}

.featured-tiles .tile {
  flex: 1 1 0;
  width: auto;
  max-width: none;
}

.featured-tiles .tile .image {
  margin: 0 auto;
}

.stands-grid-section {
  width: 95%;
  max-width: 1200px;
}

.stands-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.stands-grid .news-card {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.stands-grid .js-stand-image {
  position: relative;
  overflow: hidden;
}

.stands-grid .js-stand-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 39, 83, 0.22);
  pointer-events: none;
  z-index: 1;
}

.stands-grid .js-stand-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 39, 83, 0.04),
    rgba(13, 39, 83, 0.1)
  );
  pointer-events: none;
  z-index: 2;
}

.residency-cards-section .home-card {
  position: relative;
  overflow: hidden;
}

.residency-cards-section .home-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 39, 83, 0.28);
  z-index: 1;
  pointer-events: none;
}

.residency-cards-section .home-card-caption {
  position: relative;
  z-index: 2;
}

.stand-image-frame,
.house-image-carousel .carousel-item {
  position: relative;
  overflow: hidden;
}

.stand-image-frame::before,
.house-image-carousel .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 39, 83, 0.18);
  pointer-events: none;
  z-index: 1;
}

.stand-image-frame img,
.house-image-carousel .carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floor-plan-carousel {
  min-height: 320px;
  border: 1px solid rgba(13, 39, 83, 0.12);
  border-radius: 2px;
  background: #f8f7f2;
}

.floor-plan-carousel .carousel-inner,
.floor-plan-carousel .carousel-item {
  min-height: 320px;
}

.floor-plan-carousel .carousel-item img {
  object-fit: contain;
  background: #fff;
  padding: 0.75rem;
  cursor: zoom-in;
}

.floor-plan-carousel .carousel-item img:focus-visible {
  outline: 3px solid var(--brand-primary, #dd9e17);
  outline-offset: -3px;
}

.floor-plan-carousel .carousel-item::before {
  display: none;
}

.floor-plan-carousel .carousel-control {
  z-index: 3;
}

.floor-plan-carousel .carousel-indicators {
  bottom: 0.75rem;
}

.floor-plan-carousel .carousel-item p {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
}

@media (max-width: 575.98px) {
  .stands-grid {
    grid-template-columns: 1fr;
  }
}

.retail-copy {
  min-width: 0;
}

.retail-media {
  margin: 0;
}

.retail-grid--simple {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 3rem;
  align-items: start;
}

.retail-grid--simple .retail-copy {
  max-width: 640px;
}

.retail-grid--simple .retail-media {
  width: 100%;
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 760px;
  margin-top: 1rem;
}

.retail-grid--simple .retail-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 2px;
}

.easy-steps-block__header {
  margin-bottom: 2rem;
}

.easy-steps-block__heading {
  margin-bottom: 0.75rem;
  color: var(--brand-dark);
}

.easy-steps-block__divider {
  width: 5rem;
  height: 4px;
  background: var(--brand-primary);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.easy-steps-block__subheading {
  max-width: 900px;
  margin-bottom: 0;
}

.easy-steps-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.easy-steps-block__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.easy-steps-block__num {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--bs-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.1rem;
}

.easy-steps-block__content {
  flex: 1 1 auto;
  min-width: 0;
}

.easy-steps-block__title {
  color: var(--brand-dark);
  font-weight: 400;
}

.easy-steps-block__separator {
  color: var(--brand-dark);
}

.easy-steps-block__body-text {
  color: var(--brand-dark);
  font-weight: 400;
}

.easy-steps-block__text {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  font-weight: 400;
  color: var(--brand-dark);
}

.easy-steps-block__text a {
  color: #e0a000 !important;
  text-decoration: none !important;
  cursor: pointer;
}

.easy-steps-block__text a:hover {
  color: #e0a000 !important;
  text-decoration: none !important;
}

.easy-steps-block__footer {
  margin-top: 2rem;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .hero-two-col {
    flex-direction: column;
    margin-top: 0;
  }

  .lifestyle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifestyle-block__header {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .lifestyle-block__intro {
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;
  }

  .lifestyle-block__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .retail-grid--simple {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .easy-steps-block__item {
    gap: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .featured-tiles .tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 0.25rem;
    justify-content: center;
    align-items: start;
  }

  .featured-tiles .tile {
    width: 100%;
    flex: 0 0 auto;
  }

  .featured-tiles .tile .image {
    padding: 14px;
  }

  .featured-tiles .tile img {
    width: 34px;
    height: 34px;
  }

  .tile-label {
    font-size: 10px;
    line-height: 1.1;
    margin-top: 6px;
  }

  .lifestyle-grid {
    grid-template-columns: 1fr;
  }

  .lifestyle-block__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  :root {
    --space-sm: 0.7rem;
    --space-md: 1rem;
    --space-lg: 1.25rem;
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section-spacing-y {
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
  }

  .section-heading,
  .property-heading {
    margin-bottom: 0.65rem;
  }

  .section-lead {
    margin-bottom: 0.75rem;
  }

  .news-section,
  .lifestyle-section,
  .house-plan-section,
  .house-plan-section-main,
  .featured-tiles,
  .lifestyle-block,
  .partners-section,
  .signup-hero,
  .house-layout,
  .section-retail {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .hero-two-col,
  .hero-two-col-simple,
  .hero-two-col-rich,
  .split-hero-inner,
  .retail-grid--simple,
  .lifestyle-grid,
  .stands-grid,
  .news-carousel {
    gap: 0.75rem;
  }
}

/* Full-size floor-plan viewer used by all design templates. */
.house-layout-section .house-left {
  align-self: start;
  width: 100%;
}

.house-layout-section .floor-frames {
  flex: 0 0 auto;
  width: 100%;
}

.view-map-button {
  width: 100%;
  box-sizing: border-box;
  min-height: 54px;
  margin-top: 0.5rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--brand-primary, #dd9e17);
  border-radius: 3px;
  background: var(--brand-primary, #dd9e17);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.view-map-button:hover {
  background: var(--brand, #12325a);
  border-color: var(--brand, #1a3564);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 39, 83, 0.2);
}

.view-map-button:focus-visible {
  outline: 3px solid rgba(221, 158, 23, 0.35);
  outline-offset: 3px;
  background: var(--brand, #12325a);
  border-color: var(--brand, #12325a);
  color: #fff;
}

.view-map-button:active {
  background: var(--brand-primary, #dd9e17);
  border-color: var(--brand-primary, #dd9e17);
  color: #fff;
  transform: translateY(0);
  box-shadow: inset 0 3px 8px rgba(5, 17, 36, 0.22);
}

.view-map-button__icon {
  font-size: 1.15em;
  line-height: 1;
}

body.map-modal-open {
  overflow: hidden;
}

.map-modal[hidden] {
  display: none;
}

.map-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
}

.map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 17, 36, 0.84);
  backdrop-filter: blur(5px);
}

.map-modal__panel {
  position: relative;
  width: min(1180px, 100%);
  height: min(90vh, 920px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.map-modal__header {
  min-height: 76px;
  padding: 1rem 1.25rem 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(13, 39, 83, 0.12);
}

.map-modal__eyebrow {
  display: block;
  margin-bottom: 0.15rem;
  color: #69758a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-modal__title {
  margin: 0;
  color: var(--brand, #1a3564);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  line-height: 1.1;
}

.map-modal__close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: 50%;
  background: #eef1f5;
  color: var(--brand, #1a3564);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.map-modal__close:hover,
.map-modal__close:focus-visible {
  background: var(--brand, #1a3564);
  color: #fff;
}

.map-modal__toolbar[hidden] {
  display: none;
}

.map-modal__toolbar {
  position: absolute;
  z-index: 4;
  top: 92px;
  right: 1rem;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid rgba(13, 39, 83, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(5, 17, 36, 0.18);
  backdrop-filter: blur(8px);
}

.map-modal__tool,
.map-modal__fit {
  height: 36px;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--brand, #12325a);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.map-modal__tool {
  width: 36px;
  padding: 0;
}

.map-modal__tool svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.map-modal__fit {
  min-width: 46px;
  padding: 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-modal__tool:hover,
.map-modal__fit:hover,
.map-modal__tool:focus-visible,
.map-modal__fit:focus-visible {
  background: var(--brand, #12325a);
  color: #fff;
  outline: none;
}

.map-modal__tool:active,
.map-modal__fit:active {
  background: var(--brand-primary, #dd9e17);
  transform: scale(0.95);
}

.map-modal__tool:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.map-modal__zoom-level {
  min-width: 50px;
  color: var(--brand, #12325a);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.map-modal__tool-divider {
  width: 1px;
  height: 24px;
  margin: 0 0.15rem;
  background: rgba(13, 39, 83, 0.15);
}

.map-modal__slide-arrow[hidden] {
  display: none;
}

.map-modal__slide-arrow {
  position: absolute;
  z-index: 4;
  top: 55%;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(13, 39, 83, 0.12);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand, #12325a);
  box-shadow: 0 10px 28px rgba(5, 17, 36, 0.2);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.map-modal__slide-arrow--prev {
  left: 1rem;
}

.map-modal__slide-arrow--next {
  right: 1rem;
}

.map-modal__slide-arrow svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.map-modal__slide-arrow:hover,
.map-modal__slide-arrow:focus-visible {
  background: var(--brand, #12325a);
  color: #fff;
  outline: none;
  transform: translateY(-50%) scale(1.06);
}

.map-modal__slide-arrow:active {
  background: var(--brand-primary, #dd9e17);
  transform: translateY(-50%) scale(0.96);
}

.map-modal__viewer {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e9edf2;
  user-select: none;
}

.map-modal__viewer.is-pannable {
  cursor: grab;
}

.map-modal__viewer.is-dragging {
  cursor: grabbing;
}

.map-modal__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.16s ease-out;
  will-change: transform;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}

.map-modal__viewer.is-dragging .map-modal__image {
  transition: none;
}

.map-modal__pdf {
  width: 100%;
  height: 100%;
  min-height: 60vh;
  border: 0;
  background: #fff;
}

.map-modal__fallback {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 3px;
  background: var(--brand, #1a3564);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

.map-modal__fallback:hover,
.map-modal__fallback:focus-visible {
  background: var(--brand-primary, #0879c9);
  color: #fff;
}

@media (max-width: 575.98px) {
  .map-modal {
    padding: 0;
  }

  .map-modal__panel {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .map-modal__header {
    min-height: 68px;
    padding: 0.75rem 0.9rem 0.75rem 1rem;
  }

  .map-modal__toolbar {
    top: 78px;
    right: 0.75rem;
    min-height: 42px;
  }

  .map-modal__tool,
  .map-modal__fit {
    height: 32px;
  }

  .map-modal__tool {
    width: 32px;
  }

  .map-modal__zoom-level {
    min-width: 44px;
  }

  .map-modal__slide-arrow {
    width: 42px;
    height: 42px;
  }

  .map-modal__slide-arrow--prev {
    left: 0.65rem;
  }

  .map-modal__slide-arrow--next {
    right: 0.65rem;
  }

  .map-modal__fallback {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
