/* Anna Oliver — dedicated Properties page */
.properties-page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(108deg, rgba(11,22,36,.97) 0%, rgba(11,22,36,.88) 49%, rgba(11,22,36,.63) 100%),
    url('/assets/hero-property-opt.webp') center 48% / cover no-repeat;
  color: #fff;
  padding: clamp(3.8rem, 6vw, 6.4rem) 0 clamp(3.2rem, 5vw, 5rem);
}

.properties-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255,255,255,.16);
}

.properties-page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(290px, .68fr);
  gap: clamp(2.4rem, 5vw, 5.5rem);
  align-items: end;
}

.properties-page-hero .eyebrow {
  color: #d9c9b4;
  opacity: 1;
  letter-spacing: .16em;
  font-size: .78rem;
}

.properties-page-hero h1 {
  margin: .8rem 0 1.2rem;
  max-width: 880px;
  color: #fff;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(3rem, 5.9vw, 6rem);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -.045em;
}

.properties-page-hero h1 em {
  color: #d9e0e7;
  font-weight: 400;
}

.properties-page-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.22vw, 1.14rem);
  line-height: 1.72;
}

.properties-page-note {
  align-self: end;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(7,16,28,.62);
  box-shadow: 0 22px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  padding: 1.45rem 1.5rem 1.55rem;
}

.properties-page-note strong {
  display: block;
  margin: 0 0 .7rem;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.properties-page-note span {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: .93rem;
  line-height: 1.65;
}

body .properties {
  padding-top: clamp(3.2rem, 5vw, 5.2rem);
}

#properties .section-heading {
  margin-bottom: 1.8rem;
}

#properties .section-heading h2 {
  max-width: 720px;
}

#properties .section-heading p {
  max-width: 650px;
}

body .listing-toolbar {
  margin-top: 1.5rem;
  margin-bottom: 1.7rem;
}

body .listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.7vw, 1.55rem);
}

body .listing-card {
  height: 100%;
}

body .data-note {
  margin-top: 1.4rem;
}

@media (max-width: 1000px) {
  .properties-page-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .properties-page-note {
    max-width: 680px;
  }

  body .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .properties-page-hero {
    padding: 3.3rem 0 3rem;
  }

  .properties-page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .properties-page-note {
    padding: 1.2rem;
  }

  body .listing-grid {
    grid-template-columns: 1fr;
  }
}
