.property-search-page,
.property-search-page *,
.property-search-page *::before,
.property-search-page *::after {
  box-sizing: border-box;
}

.property-search-page {
  --property-navy: #102942;
  --property-ink: #34495f;
  --property-brass: #b98a45;
  --property-brass-dark: #806037;
  --property-brass-soft: #e6d6bc;
  --property-yellow: #b27a00;
  --property-line: #d7e0e6;
  --property-mist: #eef3f6;
  --property-white: #fff;
  --property-serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --property-sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --property-shell: 92.5rem;
  --property-gutter: clamp(1.25rem, 4.4vw, 4rem);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: clip;
  background: var(--property-white);
  color: var(--property-ink);
  font: 1.0625rem/1.7 var(--property-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.property-search-page ::selection {
  background: var(--property-brass-soft);
  color: var(--property-navy);
}

.property-search-shell {
  width: min(var(--property-shell), calc(100% - (2 * var(--property-gutter))));
  min-width: 0;
  margin-inline: auto;
}

.property-search-page h1,
.property-search-page h2,
.property-search-page h3,
.property-search-page h4,
.property-search-page p {
  margin-top: 0;
}

.property-search-page h1,
.property-search-page h2,
.property-search-page h3 {
  color: var(--property-navy);
  font-family: var(--property-serif);
  font-weight: 400;
  text-wrap: balance;
}

.property-search-page h1 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(3.1rem, 4vw, 4.35rem);
  letter-spacing: -.035em;
  line-height: 1;
}

.property-search-page h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 3.7vw, 4rem);
  letter-spacing: -.028em;
  line-height: 1.02;
}

.property-search-page a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .26em;
}

.property-search-page a:focus-visible {
  outline: 3px solid var(--property-brass-dark);
  outline-offset: 4px;
}

.property-search-opening {
  padding-block: clamp(3.25rem, 6vw, 6.5rem);
  border-bottom: 1px solid var(--property-line);
}

.property-search-opening__grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  grid-template-areas:
    "title image"
    "lead image";
  gap: clamp(2rem, 4vw, 4.25rem) clamp(2.5rem, 5vw, 6rem);
  align-items: start;
}

.property-search-opening h1 {
  grid-area: title;
  align-self: end;
}

.property-search-opening__lead {
  grid-area: lead;
  max-width: 40rem;
  min-width: 0;
}

.property-search-opening__lead p {
  margin-bottom: 0;
  color: var(--property-ink);
  font-family: var(--property-serif);
  font-size: clamp(1.18rem, 1.45vw, 1.42rem);
  line-height: 1.55;
}

.property-search-opening__image {
  position: relative;
  z-index: 0;
  grid-area: image;
  align-self: stretch;
  min-width: 0;
  min-height: clamp(31rem, 39vw, 38rem);
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--property-mist);
}

.property-search-opening__image picture,
.property-search-opening__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.property-search-opening__image picture {
  position: absolute;
  inset: 0;
}

.property-search-opening__image img {
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(.92) contrast(1.02) brightness(1.015);
}

.property-search-guidance {
  padding-block: clamp(3.8rem, 5.5vw, 5.5rem) clamp(2.5rem, 3vw, 3.5rem);
  border-bottom: 1px solid var(--property-line);
}

.property-search-guidance__grid {
  display: grid;
  grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.property-search-guidance h2 {
  max-width: 9ch;
  font-size: clamp(2.35rem, 3.1vw, 3.25rem);
}

.property-search-guidance__copy {
  max-width: 70ch;
  min-width: 0;
}

.property-search-guidance__copy p {
  margin-bottom: 1.3rem;
}

.property-search-guidance__copy p:last-child {
  margin-bottom: 0;
}

.property-search-directory {
  padding-block: clamp(2rem, 2.5vw, 3rem) clamp(.5rem, .75vw, .75rem);
}

.property-source {
  display: grid;
  grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr) minmax(6.5rem, 7.5rem);
  grid-template-areas: "identity content score";
  column-gap: clamp(1.75rem, 3.25vw, 4rem);
  align-items: start;
  padding-block: clamp(1.8rem, 2.8vw, 2.6rem);
  border-bottom: 1px solid var(--property-line);
}

.property-source__identity,
.property-source__content,
.property-source__score,
.property-source__details > section {
  min-width: 0;
}

.property-source__identity {
  display: grid;
  grid-area: identity;
  row-gap: 2.75rem;
  align-content: start;
}

.property-source__content {
  grid-area: content;
}

.property-source__identity h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2.3vw, 2.45rem);
  letter-spacing: -.02em;
  line-height: 1.08;
}

.property-source__language {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  color: var(--property-ink);
  font-family: var(--property-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
}

.property-source__flag {
  flex: 0 0 auto;
  font-size: 2.25rem;
  line-height: 1;
}

.property-source__arrow,
.property-search-related__arrow {
  flex: 0 0 auto;
  color: var(--property-brass);
  text-decoration: none;
  transition: transform 180ms ease-out;
}

.property-source__visit:hover .property-source__arrow,
.property-source__visit:focus-visible .property-source__arrow,
.property-search-related__links a:hover .property-search-related__arrow,
.property-search-related__links a:focus-visible .property-search-related__arrow {
  transform: translateX(4px);
}

.property-source__score {
  display: grid;
  grid-area: score;
  gap: .3rem;
  align-content: start;
  justify-items: start;
  margin: 0;
  color: var(--property-navy);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.15;
}

.property-source__score-value {
  color: var(--property-yellow);
  font-family: var(--property-sans);
  font-size: clamp(1.8rem, 2.2vw, 2.15rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0;
}

.property-source__overview {
  max-width: 72ch;
  margin-bottom: 2rem;
  color: var(--property-ink);
  font-size: inherit;
}

.property-source__details {
  display: block;
}

.property-source__details h4 {
  margin-bottom: .85rem;
  color: var(--property-navy);
  font-size: .9rem;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1.35;
}

.property-source__details section + section {
  margin-top: 2rem;
}

.property-source__details ul {
  margin: 0;
  padding-left: 1.15rem;
}

.property-source__details li {
  padding-left: .2rem;
}

.property-source__details li::marker {
  color: var(--property-brass);
}

.property-source__details li + li {
  margin-top: .45rem;
}

.property-source__visit {
  display: inline-flex;
  min-height: 2.75rem;
  margin-top: 2rem;
  align-items: center;
  gap: .65rem;
  color: var(--property-navy);
  font-family: var(--property-serif);
  font-size: 1.12rem;
  text-decoration: none;
}

.property-source__visit-text {
  text-decoration: underline;
  text-decoration-color: rgba(185, 138, 69, .82);
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}

.property-search-related {
  padding-block: clamp(1.5rem, 2vw, 2.25rem) clamp(1.25rem, 1.75vw, 2rem);
}

.property-search-related__grid {
  display: grid;
  grid-template-columns: minmax(13rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.property-search-related h2 {
  max-width: 12ch;
  font-size: clamp(1.9rem, 2.3vw, 2.5rem);
  line-height: 1.08;
}

.property-search-related__links {
  min-width: 0;
  border-top: 1px solid var(--property-brass);
}

.property-search-related__links a {
  display: flex;
  min-height: 4.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-bottom: 1px solid var(--property-line);
  color: var(--property-navy);
  font-family: var(--property-serif);
  font-size: 1.16rem;
  text-decoration: none;
}

.property-search-related__text {
  text-decoration: underline;
  text-decoration-color: rgba(185, 138, 69, .82);
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

@media (max-width: 900px) {
  .property-search-opening__grid {
    gap: 2rem 2.6rem;
  }

  .property-search-opening__image {
    min-height: 27rem;
  }

  .property-search-guidance__grid,
  .property-search-related__grid {
    grid-template-columns: minmax(11rem, .65fr) minmax(0, 1.35fr);
    gap: 2.5rem;
  }

  .property-source {
    grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr) minmax(6rem, 6.5rem);
    column-gap: 1.5rem;
  }

}

@media (max-width: 700px) and (orientation: portrait) {
  .property-search-page {
    --property-gutter: 1.25rem;
    font-size: 1rem;
  }

  .property-search-opening {
    padding-block: 2.7rem 3.4rem;
  }

  .property-search-opening__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "image"
      "lead";
    gap: 1.9rem;
  }

  .property-search-page h1 {
    max-width: 14ch;
    font-size: clamp(2.65rem, 11.5vw, 3.25rem);
    line-height: 1.02;
  }

  .property-search-opening__image {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .property-search-opening__image picture {
    position: static;
    height: 100%;
  }

  .property-search-opening__lead p {
    font-size: 1.16rem;
  }

  .property-search-guidance,
  .property-search-directory,
  .property-search-related {
    padding-block: 3.8rem;
  }

  .property-search-directory {
    padding-block: 1.75rem .5rem;
  }

  .property-search-guidance {
    padding-bottom: 2.25rem;
  }

  .property-search-related {
    padding-block: 1.5rem 1.25rem;
  }

  .property-search-guidance__grid,
  .property-search-related__grid,
  .property-source {
    grid-template-columns: minmax(0, 1fr);
  }

  .property-search-guidance__grid,
  .property-search-related__grid {
    gap: 2rem;
  }

  .property-source {
    grid-template-areas:
      "identity"
      "score"
      "content";
    gap: 1.35rem;
    padding-block: 1.8rem;
  }

  .property-source__score {
    display: flex;
    align-items: baseline;
    gap: .7rem;
  }

  .property-source__score-value {
    font-size: 1.65rem;
  }

}

@media (max-width: 900px) and (orientation: landscape) {
  .property-search-page {
    --property-gutter: clamp(1.5rem, 4vw, 2.5rem);
    font-size: 1rem;
  }

  .property-search-opening {
    padding-block: 2.25rem 2.8rem;
  }

  .property-search-opening__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 1.35rem 2.5rem;
  }

  .property-search-page h1 {
    max-width: 14ch;
    font-size: clamp(2.2rem, 4.6vw, 2.65rem);
    line-height: 1.02;
  }

  .property-search-opening__lead p {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .property-search-opening__image {
    min-height: 20rem;
  }

  .property-search-guidance,
  .property-search-directory,
  .property-search-related {
    padding-block: 3.6rem;
  }

  .property-search-directory {
    padding-block: 1.4rem .4rem;
  }

  .property-search-guidance {
    padding-bottom: 1.8rem;
  }

  .property-search-related {
    padding-block: 1.25rem 1rem;
  }

  .property-search-guidance__grid,
  .property-search-related__grid {
    grid-template-columns: minmax(10rem, .55fr) minmax(0, 1.45fr);
    gap: 2.2rem;
  }

  .property-source {
    grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr) minmax(6rem, 6.5rem);
    grid-template-areas: "identity content score";
    column-gap: 1.5rem;
    padding-block: 1.75rem;
  }

  .property-source__score-value {
    font-size: 1.65rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .property-source__arrow,
  .property-search-related__arrow {
    transition: none;
  }

  .property-source__visit:hover .property-source__arrow,
  .property-source__visit:focus-visible .property-source__arrow,
  .property-search-related__links a:hover .property-search-related__arrow,
  .property-search-related__links a:focus-visible .property-search-related__arrow {
    transform: none;
  }
}
