/* ============================================================
   Adler Real State Version 8 Multi — inner pages (page / about / contact / archive)
   Shares the monochrome homepage design. Loaded on every non-home page.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@200;300;400;500;600&display=swap");
/* ---- page hero (dark band) ---- */
.page-hero {
  position: relative;
  background: var(--black);
  padding: 120px 32px 96px;
  text-align: center;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 12, 0.5) 0%,
    rgba(13, 13, 12, 0.88) 100%
  );
}
.page-hero__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  color: var(--white);
}
.page-hero .eyebrow {
  color: var(--grey-light);
  margin-bottom: 20px;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0;
}

/* ---- prose (page / about content) ---- */
.page-prose {
  background: var(--white);
  padding: 96px 32px;
}
.page-prose__inner {
  max-width: 800px;
  margin: 0 auto;
}
.page-prose h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 200;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--black);
  margin: 1.4em 0 0.5em;
}
.page-prose h3 {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  color: var(--black);
  margin: 1.3em 0 0.5em;
}
.page-prose h4 {
  font-size: 18px;
  font-weight: 400;
  color: var(--black);
  margin: 1.2em 0 0.4em;
}
.page-prose p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--grey);
  font-weight: 400;
  margin: 0 0 1.3em;
}
.page-prose a {
  color: var(--black);
  border-bottom: 1px solid var(--line);
}
.page-prose a:hover {
  border-color: var(--black);
}
.page-prose ul,
.page-prose ol {
  color: var(--grey);
  font-size: 16px;
  line-height: 1.95;
  padding-left: 1.2em;
  margin: 0 0 1.3em;
}
.page-prose li {
  margin-bottom: 0.4em;
}
.page-prose img {
  margin: 1.8em 0;
}

/* ---- contact ---- */
.contact-video {
  background: var(--white);
  padding: 56px 32px 0;
}
.contact-video__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.contact-video__inner iframe,
.contact-video__inner video {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  border: 0;
  display: block;
}
.contact-section {
  background: var(--offwhite);
  padding: 96px 32px;
}
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2px;
  background: var(--line);
}
.contact-media {
  position: relative;
  background: var(--black);
  min-height: 420px;
  overflow: hidden;
}
.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-media__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(13, 13, 12, 0.9), transparent);
}
.contact-media__text p {
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 300;
}
.contact-panel {
  background: var(--white);
  padding: 56px;
}
.contact-panel .title,
.contact-panel h3 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 200;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 24px;
}
.contact-panel input:not([type="checkbox"]):not([type="radio"]),
.contact-panel textarea,
.contact-panel select {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--black);
  padding: 14px 15px;
  font-family: "Urbanist", sans-serif;
  font-size: 14px;
  outline: none;
  margin-bottom: 14px;
  border-radius: 0 !important;
}
.contact-panel input:focus,
.contact-panel textarea:focus,
.contact-panel select:focus {
  border-color: var(--black);
}
.contact-panel textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-panel button,
.contact-panel input[type="submit"] {
  width: 100%;
  padding: 16px;
  background: var(--black);
  color: var(--white);
  border: 0;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s ease;
  border-radius: 0 !important;
}
.contact-panel button:hover,
.contact-panel input[type="submit"]:hover {
  background: var(--grey);
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-media {
    min-height: 300px;
  }
  .contact-panel {
    padding: 36px 24px;
  }
}

/* ---- listing archive ---- */
.listing-archive {
  background: var(--white);
  padding: 72px 32px 110px;
}
.listing-archive__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* =====================================================================
   v8 inner-page pass (2026-10-31): page head meta, journal, article and
   neighborhood copy, neighborhoods index, single agent
   ===================================================================== */

/* ---- page head ---- */
.page-hero__meta {
  margin: 20px 0 0;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-light);
}

/* ---- journal grid (blog archive, search, related) ---- */
.postList {
  background: var(--white);
  padding: 96px 0 112px;
}
.postList--related {
  background: var(--offwhite);
  border-top: 1px solid var(--line);
}
.postList-head {
  text-align: center;
  margin-bottom: 56px;
}
.postList-head .eyebrow {
  color: var(--grey);
  margin-bottom: 18px;
}
.postList-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  color: var(--black);
}
.postList-empty,
.nhIndex-empty {
  text-align: center;
  color: var(--grey);
}
.postGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.postCard {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.postCard-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone);
}
.postCard-media img,
.postCard-media__empty {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}
.postCard:hover .postCard-media img {
  transform: scale(1.04);
  filter: none;
}
.postCard-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 22px;
}
.postCard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey);
}
.postCard-meta span + span::before {
  content: "/";
  margin-right: 12px;
  color: var(--line);
}
.postCard-title {
  margin: 16px 0 0;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--black);
}
.postCard-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.postCard:hover .postCard-title a {
  color: var(--grey);
}
.postCard-excerpt {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey);
}
.postCard-link,
.nhRow-link {
  margin-top: auto;
  padding-top: 22px;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  transition: color 0.3s ease;
}
.postCard-link:hover,
.nhRow-link:hover {
  color: var(--grey);
}
.postList .agentsPager {
  margin-top: 72px;
}
@media (max-width: 900px) {
  .postGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .postList {
    padding: 64px 0 80px;
  }
  .postGrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
}

/* ---- article + neighborhood copy (the legacy single.css paints it white) ---- */
body .singlePost {
  background: var(--white);
  padding: 88px 32px 104px;
  border-bottom: 0;
}
body .singlePost .container,
body.single-neighborhoods .nhSingle > .container {
  display: block;
}
body .singlePost--content.postProse,
body.single-neighborhoods .nhSingle-prose {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  color: var(--grey);
  font-size: 17px;
  line-height: 1.9;
}
body.single-neighborhoods .nhSingle-prose {
  max-width: 824px; /* 760px text + side padding */
  padding: 80px 32px 32px;
  box-sizing: border-box;
}
body .postProse p,
body .postProse li,
body.single-neighborhoods .nhSingle-prose p,
body.single-neighborhoods .nhSingle-prose li {
  color: var(--grey);
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 1.3em;
}
body .postProse > p:first-of-type,
body.single-neighborhoods .neighborhoodSinglePost > p:first-of-type {
  font-size: 21px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--black);
}
body .postProse h2,
body .postProse h3,
body .postProse h4,
body.single-neighborhoods .nhSingle-prose h2,
body.single-neighborhoods .nhSingle-prose h3,
body.single-neighborhoods .nhSingle-prose h4 {
  color: var(--black);
  font-weight: 200;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 2.2em 0 0.6em;
  text-align: left;
}
body .postProse h2,
body.single-neighborhoods .nhSingle-prose h2 {
  font-size: 32px;
}
body .postProse h3,
body.single-neighborhoods .nhSingle-prose h3 {
  font-size: 24px;
  font-weight: 300;
}
body .postProse h4 {
  font-size: 18px;
  font-weight: 400;
}
body .postProse a,
body.single-neighborhoods .nhSingle-prose a {
  color: var(--black);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
body .postProse a:hover,
body.single-neighborhoods .nhSingle-prose a:hover {
  border-color: var(--black);
}
body .postProse blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 28px;
  border-left: 1px solid var(--black);
  font-size: 24px;
  font-weight: 200;
  line-height: 1.5;
  color: var(--black);
}
body .postProse img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  margin: 1.5em 0;
}
body .postProse ul.wp-block-list,
body .postProse ol {
  border: 0;
  padding: 0 0 0 1.4em;
  margin: 0 0 1.5em;
  border-radius: 0;
}
body .postProse ul.wp-block-list li,
body .postProse ol li {
  margin: 0 0 0.6em;
}
@media (max-width: 600px) {
  body .singlePost {
    padding: 56px 20px 72px;
  }
  body.single-neighborhoods .nhSingle-prose {
    padding: 56px 20px 16px;
  }
}

/* ---- single neighborhood: "explore other areas" as greyscale tiles ---- */
body.single-neighborhoods .nhSingle > .related-neighbour {
  margin: 0;
  padding: 88px 32px 104px;
  background: var(--offwhite);
  border-top: 1px solid var(--line);
}
body.single-neighborhoods .related-neighbour > div {
  max-width: 1200px;
  margin: 0 auto;
}
body.single-neighborhoods .related-neighbour .eyebrow {
  text-align: center;
  color: var(--grey);
  margin-bottom: 18px;
}
body.single-neighborhoods .related-neighbour h2.lp-h2 {
  text-align: center;
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 48px;
  color: var(--black);
}
body.single-neighborhoods .related-neighbour ul.rch-neighborhoods-archive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}
body.single-neighborhoods .related-neighbour ul.rch-neighborhoods-archive li {
  margin: 0 !important;
  padding: 0;
  border-radius: 0;
  background: var(--black);
}
body.single-neighborhoods .related-neighbour .item-wrapper {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
}
body.single-neighborhoods .related-neighbour .image-holder,
body.single-neighborhoods .related-neighbour .image-holder img {
  width: 100%;
  height: 100%;
  display: block;
}
body.single-neighborhoods .related-neighbour .image-holder img {
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.98);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}
body.single-neighborhoods .related-neighbour .item-wrapper:hover .image-holder img {
  transform: scale(1.04);
  filter: none;
}
body.single-neighborhoods .related-neighbour .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 13, 12, 0.82) 0%, rgba(13, 13, 12, 0.1) 55%, transparent 70%);
  opacity: 1;
  border-radius: 0;
}
body.single-neighborhoods .related-neighbour .content-container {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 0;
}
body.single-neighborhoods .related-neighbour .content-container h3.neighborhood-name {
  margin: 0;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
body.single-neighborhoods .related-neighbour .content-container h3.neighborhood-name::before {
  content: none;
}
body.single-neighborhoods .related-neighbour .button-wrapper {
  margin: 0;
}
body.single-neighborhoods .related-neighbour .button-wrapper .btn {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c7c3b8;
}
@media (max-width: 820px) {
  body.single-neighborhoods .related-neighbour ul.rch-neighborhoods-archive {
    grid-template-columns: minmax(0, 1fr);
  }
  body.single-neighborhoods .nhSingle > .related-neighbour {
    padding: 64px 20px 80px;
  }
}

/* ---- neighborhoods index (/neighborhoods/): numbered rows ---- */
.nhIndex-list {
  background: var(--white);
  padding: 32px 0 112px;
}
.nhRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.nhRow:first-child {
  border-top: 0;
}
.nhRow--flip .nhRow-media {
  order: 2;
}
.nhRow-media {
  display: block;
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--stone);
}
.nhRow-media img,
.nhRow-media__empty {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}
.nhRow:hover .nhRow-media img {
  transform: scale(1.04);
  filter: none;
}
.nhRow-text {
  display: flex;
  flex-direction: column;
  max-width: 480px;
}
.nhRow-num {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.34em;
  color: var(--grey-light);
}
.nhRow-num::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-top: 14px;
  background: var(--line);
}
.nhRow-text h2 {
  margin: 22px 0 0;
  font-size: clamp(30px, 3.6vw, 46px);
  color: var(--black);
}
.nhRow-text h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nhRow:hover .nhRow-text h2 a {
  color: var(--grey);
}
.nhRow-text p {
  margin: 22px 0 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--grey);
}
.nhRow-link {
  margin-top: 28px;
}
.nhIndex .agentsPager {
  margin-top: 24px;
}
@media (max-width: 860px) {
  .nhRow {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 48px 0;
  }
  .nhRow--flip .nhRow-media {
    order: 0;
  }
  .nhRow-text {
    max-width: none;
  }
}

/* ---- single agent ---- */
.agentHero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--black);
  color: var(--white);
}
.agentHero-photo {
  position: relative;
  min-height: min(88vh, 820px);
  background: var(--black-2);
  overflow: hidden;
}
.agentHero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: filter 0.8s ease;
}
.agentHero:hover .agentHero-photo img {
  filter: none;
}
.agentHero-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 72px 96px;
}
.agentHero-text .eyebrow {
  color: var(--grey-light);
  margin-bottom: 22px;
}
.agentHero-text h1 {
  font-size: clamp(40px, 5.4vw, 80px);
  color: var(--white);
  text-wrap: balance;
}
.agentHero-lockup {
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c7c3b8;
}
.agentHero-contacts {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 32px;
  border-top: 1px solid var(--line-dark);
}
.agentHero-contacts li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
  overflow-wrap: anywhere;
}
.agentHero-contacts b {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey-light);
}
.agentHero-contacts a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.agentHero-contacts a:hover {
  border-color: var(--white);
}
.agentHero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.agentHero-actions .btn-solid {
  text-decoration: none;
}
.agentHero-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.agentHero-social a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c7c3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}
.agentHero-social a:hover {
  color: var(--white);
}

.agentStory {
  background: var(--white);
  padding: 112px 0;
}
.agentStory-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 64px;
  align-items: start;
}
.agentStory-side {
  position: sticky;
  top: 110px;
}
.agentStory-side .eyebrow {
  color: var(--grey);
  margin-bottom: 18px;
}
.agentStory-side h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  color: var(--black);
}
.agentStory-side h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 28px;
  background: var(--line);
}
.agentStory-body,
.agentStory-body p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--grey);
  max-width: 62ch;
}
.agentStory-body p {
  margin: 0 0 1.3em;
}
.agentStory-body > p:first-of-type {
  font-size: 21px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--black);
}
.agentStory-body a {
  color: var(--black);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.agentForm {
  position: relative;
  background: var(--stone);
  padding: 112px 0;
  overflow: hidden;
}
.agentForm .branches {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.agentForm-inner {
  position: relative;
}
.agentForm-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.agentForm-head .eyebrow {
  color: var(--grey);
  margin-bottom: 18px;
}
.agentForm-head h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  color: var(--black);
}
.agentForm .rch-right-main-layout-single-agent {
  margin: 0;
  max-width: 880px;
  margin-inline: auto;
}
.agentForm .rch-inner-right-agents {
  position: static;
}
.agentForm .rch-right-main-layout-single-agent form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}
.agentForm .rch-right-main-layout-single-agent form > * {
  margin: 0;
}
.agentForm .rch-right-main-layout-single-agent form .form-group--full,
.agentForm .rch-right-main-layout-single-agent form .agentForm-submit,
.agentForm .rch-right-main-layout-single-agent form .rch-success-box-listing,
.agentForm .rch-right-main-layout-single-agent form .rch-error-box-listing,
.agentForm .rch-right-main-layout-single-agent form .screen-reader-text {
  grid-column: 1 / -1;
}
.agentForm .rch-right-main-layout-single-agent form label {
  display: block;
  margin-bottom: 10px;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey);
}
.agentForm .rch-right-main-layout-single-agent form input,
.agentForm .rch-right-main-layout-single-agent form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--black);
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.3s ease;
}
.agentForm .rch-right-main-layout-single-agent form input::placeholder,
.agentForm .rch-right-main-layout-single-agent form textarea::placeholder {
  color: var(--grey-light);
}
.agentForm .rch-right-main-layout-single-agent form textarea {
  min-height: 110px;
  resize: vertical;
}
.agentForm .rch-right-main-layout-single-agent form input:focus,
.agentForm .rch-right-main-layout-single-agent form textarea:focus {
  outline: none;
  border-color: var(--black);
}
.agentForm-submit {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
}
.agentForm .rch-right-main-layout-single-agent form button[type="submit"] {
  border: 1px solid var(--black);
  border-radius: 0;
  padding: 16px 36px;
  width: auto;
  margin: 0;
}
.agentForm .rch-right-main-layout-single-agent form button[type="submit"]:hover {
  background: var(--black);
  color: var(--white);
}
.agentProfile .agentProfile-listings {
  padding-top: 48px;
}
@media (max-width: 980px) {
  .agentHero {
    grid-template-columns: minmax(0, 1fr);
  }
  .agentHero-photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
    max-height: 70vh;
  }
  .agentHero-text {
    padding: 64px 32px 72px;
  }
  .agentStory-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .agentStory-side {
    position: static;
  }
}
@media (max-width: 600px) {
  .agentHero-text {
    padding: 48px 20px 56px;
  }
  .agentStory,
  .agentForm {
    padding: 72px 0;
  }
  .agentForm .rch-right-main-layout-single-agent form {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 20px;
    gap: 22px;
  }
}

/* buttons + plugin wrappers on the rebuilt inner pages */
.agentProfile .btn-solid,
.agentForm .btn-solid {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--black);
  padding: 16px 32px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.agentHero .btn-solid:hover {
  background: #e6e3da;
}
.agentForm .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
}
/* the plugin's #primary / #main wrappers add their own width and spacing: the page head must bleed */
body.post-type-archive-neighborhoods .nhIndex #primary,
body.single-neighborhoods #primary,
body.single-neighborhoods #primary > main,
body.single-agents .agentProfile #primary {
  margin: 0 !important;
  padding: 0;
  max-width: none;
  width: 100%;
}

/* post titles are sentences, not a brand word: smaller in the head band */
body.single-post .page-hero h1 {
  font-size: clamp(30px, 4.4vw, 60px);
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-wrap: balance;
}

/* ---- page head on phones ----
   brand words (NEIGHBORHOODS, TESTIMONIALS) are wider than a phone at 40px + 0.06em;
   `.site--body p { margin: 0 }` also beat the meta line's gap */
.page-hero .page-hero__meta {
  margin-top: 24px;
}
@media (max-width: 480px) {
  .page-hero {
    padding-inline: 20px;
  }
  .page-hero h1 {
    font-size: clamp(26px, 8.2vw, 40px);
    letter-spacing: 0.03em;
    overflow-wrap: break-word;
  }
  .page-hero .page-hero__meta {
    margin-top: 20px;
    letter-spacing: 0.22em;
  }
}

/* search results without a photo (pages, posts with no featured image): text card on the
   hairline already above every card, no empty stone box */
.postCard--noMedia .postCard-body {
  padding-top: 4px;
}

/* "explore other areas" tiles, take two: the plugin's archive rules (rch-global.css) still
   applied inside the grid — li at width calc(100% / 3) of its cell, 70% padding-bottom box,
   name centred by translate(-50%, -50%) and the 20px/46px hover button — so each photo
   filled a third of the tile and the names were cut. Reset them here. */
body.single-neighborhoods .related-neighbour ul.rch-neighborhoods-archive li {
  width: 100% !important;
  max-width: none;
  flex: none;
}
body.single-neighborhoods .related-neighbour ul.rch-neighborhoods-archive li .item-wrapper {
  width: 100%;
  padding-bottom: 0;
}
body.single-neighborhoods .related-neighbour ul.rch-neighborhoods-archive li .image-holder {
  position: absolute;
  inset: 0;
}
body.single-neighborhoods .related-neighbour ul.rch-neighborhoods-archive li .content-container {
  top: auto;
  width: auto;
  max-width: none;
  transform: none;
}
body.single-neighborhoods .related-neighbour ul.rch-neighborhoods-archive li .content-container h3.neighborhood-name {
  display: block;
  width: auto;
  min-width: 0;
  text-align: left;
}
body.single-neighborhoods .related-neighbour ul.rch-neighborhoods-archive li.item .content-container .button-wrapper {
  flex: none;
  max-height: none;
  opacity: 1;
}
body.single-neighborhoods .related-neighbour ul.rch-neighborhoods-archive li.item .content-container .button-wrapper .btn {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.4;
  overflow: visible;
  color: #c7c3b8;
}
