/* New Builds in Practice gallery. Scoped to the landing-page section only. */
html body.new-builds-page.new-builds-family #featured-new-builds {
  --nb-gallery-ink: #0d2b42;
  --nb-gallery-blue: #0b6fb9;
  --nb-gallery-accent: #2f91c9;
  --nb-gallery-cta: #45a9e6;
  --nb-gallery-surface: #f4f9fc;
  --nb-gallery-line: #c8dbe6;
  --nb-gallery-card-gap: 20px;
  position: relative;
  overflow: hidden;
  padding: 78px 0 0 !important;
  background: var(--nb-gallery-surface) !important;
}

html body.new-builds-page.new-builds-family #featured-new-builds > .new-builds-container {
  width: min(1530px, calc(100% - 120px));
  max-width: none;
}

body.new-builds-page #featured-new-builds .new-builds-projects__header {
  position: relative;
}

body.new-builds-page #featured-new-builds .new-builds-projects__heading {
  width: min(100%, 1240px);
  margin-inline: auto;
  text-align: center;
}

body.new-builds-page #featured-new-builds .new-builds-projects__heading .new-builds-eyebrow {
  margin: 0;
  color: var(--nb-gallery-blue) !important;
  font: 800 13px/1.35 Manrope, "Noto Sans SC", Arial, sans-serif !important;
  letter-spacing: .12em !important;
}

html:root:root:root:root body.new-builds-page.new-builds-family #main-content #featured-new-builds .new-builds-projects__heading h2 {
  max-width: 780px;
  margin: 15px auto 0;
  color: var(--nb-gallery-ink) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(50px, 3.65vw, 62px) !important;
  font-weight: 600 !important;
  line-height: .93 !important;
  letter-spacing: -.035em !important;
}

body.new-builds-page #featured-new-builds .new-builds-projects__lead {
  max-width: none;
  margin: 22px auto 0;
  color: #536978 !important;
  font: 600 18px/1.65 Manrope, "Noto Sans SC", Arial, sans-serif !important;
  white-space: nowrap;
}

body.new-builds-page #featured-new-builds .new-builds-projects__view-all,
body.new-builds-page #featured-new-builds .new-builds-project-card__link {
  color: var(--nb-gallery-blue);
  font-family: Manrope, "Noto Sans SC", Arial, sans-serif;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

body.new-builds-page #featured-new-builds .new-builds-projects__view-all {
  display: inline-flex;
  min-width: 320px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid var(--nb-gallery-cta);
  background: var(--nb-gallery-cta);
  color: #fff;
  font-size: 13px;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

body.new-builds-page #featured-new-builds .new-builds-projects__view-all:hover {
  border-color: var(--nb-gallery-ink);
  background: var(--nb-gallery-ink);
  color: #fff;
}

body.new-builds-page #featured-new-builds .new-builds-projects__view-all svg,
body.new-builds-page #featured-new-builds .new-builds-project-card__link svg,
body.new-builds-page #featured-new-builds .new-builds-projects__arrow svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

body.new-builds-page #featured-new-builds .new-builds-projects__view-all svg,
body.new-builds-page #featured-new-builds .new-builds-project-card__link svg {
  width: 18px;
  height: 18px;
  transition: transform 220ms ease;
}

body.new-builds-page #featured-new-builds .new-builds-projects__view-all:hover svg,
body.new-builds-page #featured-new-builds .new-builds-project-card__link:hover svg {
  transform: translateX(4px);
}

body.new-builds-page #featured-new-builds .new-builds-projects__filter-shell {
  margin-top: 37px;
}

body.new-builds-page #featured-new-builds .new-builds-projects__filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--nb-gallery-line);
}

body.new-builds-page #featured-new-builds .new-builds-projects__filters button {
  position: relative;
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--nb-gallery-ink);
  cursor: pointer;
  font: 600 15px/1.25 Manrope, "Noto Sans SC", Arial, sans-serif;
  white-space: nowrap;
}

body.new-builds-page #featured-new-builds .new-builds-projects__filters button::before {
  position: absolute;
  right: 14%;
  bottom: 0;
  left: 14%;
  height: 2px;
  background: var(--nb-gallery-accent);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity 220ms ease, transform 220ms ease;
}

body.new-builds-page #featured-new-builds .new-builds-projects__filters button[aria-pressed="true"] {
  color: var(--nb-gallery-blue);
  background: linear-gradient(rgba(47, 145, 201, .055), rgba(47, 145, 201, .055)) center / 72% 100% no-repeat;
}

body.new-builds-page #featured-new-builds .new-builds-projects__filters button[aria-pressed="true"]::before {
  opacity: 1;
  transform: scaleX(1);
}

body.new-builds-page #featured-new-builds button:focus-visible,
body.new-builds-page #featured-new-builds a:focus-visible {
  outline: 2px solid var(--nb-gallery-accent);
  outline-offset: 4px;
}

body.new-builds-page #featured-new-builds .new-builds-projects__status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

body.new-builds-page #featured-new-builds .new-builds-projects__carousel {
  --nb-gallery-arrow-size: 56px;
  --nb-gallery-arrow-gutter: 72px;
  position: relative;
  box-sizing: border-box;
  margin-top: 20px;
  padding-inline: var(--nb-gallery-arrow-gutter);
}

body.new-builds-page #featured-new-builds .new-builds-projects__viewport {
  overflow: hidden;
}

body.new-builds-page #featured-new-builds .new-builds-projects__results {
  display: grid;
  gap: var(--nb-gallery-card-gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.new-builds-page #featured-new-builds.is-enhanced .new-builds-projects__results {
  display: flex;
  gap: var(--nb-gallery-card-gap);
  transition: transform 460ms cubic-bezier(.2, .72, .2, 1), opacity 180ms ease;
  will-change: transform;
}

body.new-builds-page #featured-new-builds[data-scroll-mode="continuous"] .new-builds-projects__results {
  transition: none;
}

body.new-builds-page #featured-new-builds .new-builds-project-card {
  display: flex;
  min-width: 0;
  min-height: 462px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(13, 43, 66, .12);
  border-radius: 15px;
  background: #fff;
  transition: border-color 260ms ease, transform 260ms ease, box-shadow 260ms ease;
}

body.new-builds-page #featured-new-builds.is-enhanced .new-builds-project-card {
  flex: 0 0 calc((100% - (2 * var(--nb-gallery-card-gap))) / 3);
}

body.new-builds-page #featured-new-builds .new-builds-project-card[hidden] {
  display: none !important;
}

body.new-builds-page #featured-new-builds .new-builds-project-card:hover,
body.new-builds-page #featured-new-builds .new-builds-project-card:focus-within {
  border-color: rgba(47, 145, 201, .58);
  box-shadow: 0 16px 32px rgba(13, 43, 66, .09);
  transform: translateY(-4px);
}

body.new-builds-page #featured-new-builds .new-builds-project-card__media {
  display: block;
  height: 290px;
  overflow: hidden;
  flex: 0 0 290px;
}

body.new-builds-page #featured-new-builds .new-builds-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

body.new-builds-page #featured-new-builds .new-builds-project-card:hover .new-builds-project-card__media img,
body.new-builds-page #featured-new-builds .new-builds-project-card:focus-within .new-builds-project-card__media img {
  transform: scale(1.035);
}

body.new-builds-page #featured-new-builds .new-builds-project-card__body {
  display: flex;
  min-height: 198px;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 24px;
}

html:root:root:root:root body.new-builds-page.new-builds-family #main-content #featured-new-builds .new-builds-project-card__body h3 {
  margin: 0;
  color: var(--nb-gallery-ink) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 1.05 !important;
  letter-spacing: -.02em !important;
}

html:root:root:root:root body.new-builds-page.new-builds-family #main-content #featured-new-builds .new-builds-project-card__location {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 11px 0 0;
  color: #536978 !important;
  font: 500 14px/1.45 Manrope, "Noto Sans SC", Arial, sans-serif !important;
}

body.new-builds-page #featured-new-builds .new-builds-project-card__location svg,
body.new-builds-page #featured-new-builds .new-builds-project-card__facts svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: var(--nb-gallery-cta);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

html:root:root:root:root body.new-builds-page.new-builds-family #main-content #featured-new-builds .new-builds-project-card__facts {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  color: var(--nb-gallery-ink) !important;
  font: 600 15px/1.35 Manrope, "Noto Sans SC", Arial, sans-serif !important;
  white-space: nowrap;
}

body.new-builds-page #featured-new-builds .new-builds-project-card__facts > span:not(.new-builds-project-card__facts-note) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

html:root:root:root:root body.new-builds-page.new-builds-family #main-content #featured-new-builds .new-builds-project-card__facts-note {
  margin-left: auto;
  color: #6b7f8d !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .045em;
  text-transform: uppercase;
}

html:root:root:root:root body.new-builds-page.new-builds-family #main-content #featured-new-builds .new-builds-project-card__summary {
  margin: 15px 0 18px;
  color: #536978 !important;
  font: 400 15px/1.55 Manrope, "Noto Sans SC", Arial, sans-serif !important;
}

html:root:root:root:root body.new-builds-page.new-builds-family #main-content #featured-new-builds .new-builds-project-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin-top: auto;
  font-size: 14px !important;
  line-height: 1.4 !important;
  letter-spacing: .045em;
}

body.new-builds-page #featured-new-builds .new-builds-project-card:hover .new-builds-project-card__link,
body.new-builds-page #featured-new-builds .new-builds-project-card:focus-within .new-builds-project-card__link {
  color: var(--nb-gallery-accent);
}

body.new-builds-page #featured-new-builds .new-builds-project-card:hover .new-builds-project-card__link svg,
body.new-builds-page #featured-new-builds .new-builds-project-card:focus-within .new-builds-project-card__link svg {
  transform: translateX(4px);
}

body.new-builds-page #featured-new-builds .new-builds-projects__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: var(--nb-gallery-arrow-size);
  height: var(--nb-gallery-arrow-size);
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 9px 22px rgba(13, 43, 66, .1);
  color: var(--nb-gallery-blue);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

body.new-builds-page #featured-new-builds .new-builds-projects__arrow:hover {
  box-shadow: 0 13px 28px rgba(13, 43, 66, .16);
  color: var(--nb-gallery-accent);
}

body.new-builds-page #featured-new-builds .new-builds-projects__arrow svg {
  width: 22px;
  height: 22px;
}

body.new-builds-page #featured-new-builds .new-builds-projects__arrow--prev,
body.new-builds-page #featured-new-builds .new-builds-projects__arrow--next {
  inset-inline: auto;
}

body.new-builds-page #featured-new-builds .new-builds-projects__arrow--prev {
  left: calc((var(--nb-gallery-arrow-gutter) - var(--nb-gallery-arrow-size)) / 2);
}

body.new-builds-page #featured-new-builds .new-builds-projects__arrow--next {
  right: calc((var(--nb-gallery-arrow-gutter) - var(--nb-gallery-arrow-size)) / 2);
}

body.new-builds-page #featured-new-builds .new-builds-projects__pagination {
  display: flex;
  min-height: 18px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 27px;
}

body.new-builds-page #featured-new-builds .new-builds-projects__pagination button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1.5px solid var(--nb-gallery-blue);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

body.new-builds-page #featured-new-builds .new-builds-projects__pagination button[aria-current="true"] {
  background: var(--nb-gallery-blue);
}

body.new-builds-page #featured-new-builds .new-builds-projects__footer {
  display: flex;
  justify-content: center;
  margin-top: 26px;
  padding-bottom: 72px;
}

@media (max-width: 1400px) {
  html body.new-builds-page.new-builds-family #featured-new-builds > .new-builds-container {
    width: calc(100% - 100px);
  }

}

@media (max-width: 1100px) {
  html body.new-builds-page.new-builds-family #featured-new-builds > .new-builds-container {
    width: calc(100% - 64px);
  }

  body.new-builds-page #featured-new-builds .new-builds-projects__filter-shell { margin-top: 25px; }
  body.new-builds-page #featured-new-builds .new-builds-projects__carousel {
    --nb-gallery-arrow-size: 50px;
    --nb-gallery-arrow-gutter: 64px;
  }
  body.new-builds-page #featured-new-builds.is-enhanced .new-builds-project-card { flex-basis: calc((100% - var(--nb-gallery-card-gap)) / 2); }
  body.new-builds-page #featured-new-builds .new-builds-projects__results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.new-builds-page #featured-new-builds .new-builds-projects__lead { white-space: normal; }
}

@media (max-width: 760px) {
  html body.new-builds-page.new-builds-family #featured-new-builds { padding-top: 58px !important; }
  html body.new-builds-page.new-builds-family #featured-new-builds > .new-builds-container { width: calc(100% - 32px); }

  html:root:root:root:root body.new-builds-page.new-builds-family #main-content #featured-new-builds .new-builds-projects__heading h2 {
    max-width: 355px;
    font-size: 42px !important;
    line-height: .96 !important;
  }

  body.new-builds-page #featured-new-builds .new-builds-projects__lead {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.65 !important;
  }

  body.new-builds-page #featured-new-builds .new-builds-projects__filter-shell {
    overflow: visible;
    margin-right: -16px;
    margin-left: -16px;
  }

  body.new-builds-page #featured-new-builds .new-builds-projects__filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
  }

  body.new-builds-page #featured-new-builds .new-builds-projects__filters::-webkit-scrollbar { display: none; }
  body.new-builds-page #featured-new-builds .new-builds-projects__filters button { min-height: 48px; padding: 0 15px; font-size: 13px; }
  body.new-builds-page #featured-new-builds .new-builds-projects__carousel {
    --nb-gallery-arrow-size: 42px;
    --nb-gallery-arrow-gutter: 50px;
    margin-inline: -8px;
  }
  body.new-builds-page #featured-new-builds .new-builds-projects__results { grid-template-columns: minmax(0, 1fr); }
  body.new-builds-page #featured-new-builds.is-enhanced .new-builds-project-card { flex-basis: 100%; }
  body.new-builds-page #featured-new-builds .new-builds-project-card { min-height: 444px; }
  body.new-builds-page #featured-new-builds .new-builds-project-card__media { height: 262px; flex-basis: 262px; }
  html:root:root:root:root body.new-builds-page.new-builds-family #main-content #featured-new-builds .new-builds-project-card__facts { flex-wrap: wrap; row-gap: 8px; white-space: normal; }
  html:root:root:root:root body.new-builds-page.new-builds-family #main-content #featured-new-builds .new-builds-project-card__facts-note { width: 100%; margin-left: 0; }
  body.new-builds-page #featured-new-builds .new-builds-projects__arrow { top: 47%; }
  body.new-builds-page #featured-new-builds .new-builds-projects__pagination { margin-top: 22px; }
  body.new-builds-page #featured-new-builds .new-builds-projects__footer { margin-top: 24px; padding-bottom: 58px; }
  body.new-builds-page #featured-new-builds .new-builds-projects__view-all { width: min(100%, 340px); min-width: 0; padding-inline: 18px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  body.new-builds-page #featured-new-builds *,
  body.new-builds-page #featured-new-builds *::before,
  body.new-builds-page #featured-new-builds *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
