@import url('/wp-content/themes/twentytwentyfive-child/assets/residential.css');

body.page-template-page-listings-html {
  background: var(--nr-white) !important;
  color: var(--nr-black);
  font-family: Helvetica, Arial, sans-serif;
  --wp--style--root--padding-right: 0px !important;
  --wp--style--root--padding-left: 0px !important;
  --wp--style--root--padding-top: 0px !important;
  --wp--style--root--padding-bottom: 0px !important;
}

body.page-template-page-listings-html .wp-site-blocks,
body.page-template-page-listings-html .wp-site-blocks > * {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-page-listings-html > .wp-site-blocks > header,
body.page-template-page-listings-html > .wp-site-blocks > footer {
  display: none !important;
}

.fmr-listings-page,
.fmr-listings-page * {
  box-sizing: border-box;
}

.fmr-listings-page img {
  display: block;
  width: 100%;
}

.nl-hero {
  position: relative;
  min-height: 86vh;
  padding: 144px 0 80px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--nr-black);
}

.nl-hero__media,
.nl-hero__shade {
  position: absolute;
  inset: 0;
}

.nl-hero__media img {
  height: 100%;
  object-fit: cover;
}

.nl-hero__shade {
  background:
    linear-gradient(180deg, rgba(17,17,17,0.18) 0%, rgba(17,17,17,0.48) 52%, rgba(17,17,17,0.92) 100%),
    linear-gradient(90deg, rgba(17,17,17,0.86) 0%, rgba(17,17,17,0.28) 48%, rgba(17,17,17,0.68) 100%);
}

.nl-hero__content {
  position: relative;
  z-index: 2;
}

.nl-hero .nr-kicker {
  color: rgba(255,255,255,0.72);
}

.nl-hero .nr-display {
  max-width: 8.2ch;
}

.nl-hero__copy {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}

.nl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nl-section {
  padding: 88px 0;
}

.nl-section--active {
  background: var(--nr-white);
}

.nl-section--sold {
  background: var(--nr-grey-100);
  box-shadow: inset 0 1px 0 var(--nr-grey-200);
}

.nl-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.nl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nl-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: var(--nr-white);
  border: 1px solid var(--nr-grey-300);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nl-card:hover {
  transform: translateY(-3px);
  border-color: var(--nr-black);
  box-shadow: 0 22px 60px rgba(17,17,17,0.12);
}

.nl-card__media {
  position: relative;
  margin: 0;
  background: var(--nr-grey-100);
}

.nl-card__media img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.nl-card__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17,17,17,0.78);
  color: var(--nr-white);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nl-card__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.nl-card__meta,
.nl-card__cta {
  margin: 0;
  color: var(--nr-grey-500);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nl-card h3 {
  margin: 0;
  color: var(--nr-black);
  font-family: 'League Spartan', Helvetica, Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}

.nl-card strong {
  color: var(--nr-black);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.nl-card__cta {
  color: var(--nr-black);
  margin-top: 4px;
}

.nl-grid--sold .nl-card {
  background: var(--nr-grey-900);
  border-color: var(--nr-grey-900);
  color: var(--nr-white);
}

.nl-grid--sold .nl-card h3,
.nl-grid--sold .nl-card strong,
.nl-grid--sold .nl-card__cta {
  color: var(--nr-white);
}

.nl-grid--sold .nl-card__meta {
  color: rgba(255,255,255,0.66);
}

.nl-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--nr-grey-300);
  background: var(--nr-grey-100);
}

.nl-empty--dark {
  background: var(--nr-black);
  border-color: var(--nr-black);
}

.nl-empty p {
  max-width: 720px;
  margin: 0;
  color: var(--nr-grey-500);
  font-size: 18px;
  line-height: 1.7;
}

.nl-empty--dark p {
  color: rgba(255,255,255,0.74);
}

.nl-cta {
  padding: 88px 0;
  background: var(--nr-black);
  color: var(--nr-white);
}

.nl-cta .nr-title,
.nl-cta .nr-kicker {
  color: var(--nr-white);
}

.nl-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.nl-cta p:not(.nr-kicker) {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.76);
  font-size: 18px;
  line-height: 1.7;
}

.nl-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .nl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nl-cta__inner {
    grid-template-columns: 1fr;
  }

  .nl-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nl-hero {
    min-height: 78vh;
    padding: 128px 0 56px;
  }

  .nl-section,
  .nl-cta {
    padding: 56px 0;
  }

  .nl-section__head,
  .nl-empty {
    align-items: flex-start;
    flex-direction: column;
  }

  .nl-section__head .nr-pill,
  .nl-empty .nr-pill,
  .nl-cta__actions,
  .nl-cta__actions .nr-pill {
    width: 100%;
  }

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

  .nl-card h3 {
    font-size: 22px;
  }
}
