/**
 * PropGlen Residential Rent Detail Premium V1.1
 * Scoped to residential listing-detail only.
 * Does not alter Commercial or Sale shared rendering.
 *
 * Phase D canvas stayed too close to the approved warm-ivory footer (#f8f9f6).
 * Property canvas is a lighter cool neutral; the recommendation region is #eaf1ed.
 * Footer colour, logo, links and layout stay in propglen-site-footer.css.
 */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page),
body.pg-public.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) {
  --pg-res-detail-gap: 16px;
  /* Light cool canvas — same family as the recommendation band, lighter than #eaf1ed. */
  --pg-res-detail-canvas: #f4f7f5;
  /* Soft fills sit slightly deeper than canvas so chips/strips remain readable. */
  --pg-res-detail-soft: #eef3f1;
  --pg-res-detail-recs: #eaf1ed;
  --pg-res-detail-border: #d9e2de;
  --pg-res-detail-muted: #556070;
  --pg-res-detail-heading: #1a2332;
  --pg-res-detail-accent: #0ba360;
  background-color: var(--pg-res-detail-canvas);
  background: var(--pg-res-detail-canvas);
}

/* Footer ivory stays approved; hairline + breathing room only on residential detail. */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .site-footer.pg-footer {
  border-top: 1px solid rgba(15, 34, 54, 0.08);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) main {
  /* Recommendation band meets the footer directly. Sticky CTA clearance stays on body/footer. */
  padding-bottom: 0;
}

/* —— Title / hierarchy —— */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-title-block {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-title-block h1 {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 750;
  letter-spacing: -0.021em;
  line-height: 1.22;
  text-wrap: balance;
  color: var(--pg-res-detail-heading);
  text-transform: none;
}

/* H1 leads, then locality, then the monthly rent. Quick facts stay at order 9. */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  order: 3;
  gap: 6px 14px;
  margin: 0;
}

/* An empty status row still occupied a grid track and opened a gap under the locality. */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-title-meta:not(:has(.pill:not([hidden]))) {
  display: none;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-hero-rent {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-hero-rent strong,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) [data-listing-hero-rent] {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 780;
  letter-spacing: -0.02em;
  color: var(--pg-res-detail-heading);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-hero-rent span {
  color: var(--pg-res-detail-muted);
  font-size: 0.92rem;
  font-weight: 550;
}

/* Avoid repeating Available now next to trust-strip confirmation. */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page).has-detail-trust-strip .detail-hero-available {
  display: none !important;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-location-facts {
  margin-top: 4px;
  gap: 12px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-quick-stats {
  gap: 8px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-quick-stats li {
  background: var(--pg-res-detail-soft);
  border-color: var(--pg-res-detail-border);
}

/* —— Gallery / trust strip —— */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-gallery-stage {
  margin-top: 8px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-media-card.is-gallery-mosaic .detail-gallery-mosaic {
  gap: 6px;
  border-radius: 14px;
  overflow: hidden;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-mosaic-count,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-gallery-expand {
  backdrop-filter: blur(8px);
  background: rgba(10, 18, 28, 0.62);
  border: 0;
  color: #fff;
  font-weight: 650;
  letter-spacing: 0.01em;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-gallery-expand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-gallery-count {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(10, 18, 28, 0.62);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
}

/* Compact Listing Checked ribbon — badge left, confirmation right. */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-trust-strip {
  margin-top: 10px;
  margin-bottom: 4px;
  padding: 0;
  background: var(--pg-res-detail-soft);
  border: 1px solid var(--pg-res-detail-border);
  border-radius: 10px;
  box-shadow: none;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 6px 10px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-trust-meta {
  margin: 0 0 0 auto;
  color: var(--pg-res-detail-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: right;
}

/*
 * Mobile freshness closeout: row + space-between + text-align:right parks
 * “Availability confirmed …” on the lower-right while the badge stays left.
 * Match Founder-accepted Commercial left-aligned vertical stack (≤900).
 * Residential-scoped only — does not touch Commercial / Sale rules or dates.
 */
@media (max-width: 900px) {
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-trust-strip-inner {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
  }

  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-trust-badges {
    width: auto;
    max-width: 100%;
  }

  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-trust-meta {
    margin: 0;
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    text-align: left;
  }
}

/* —— Content cards —— */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-portal-main.detail-longform {
  gap: var(--pg-res-detail-gap);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-longform > .content-card,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-longform .detail-inline-section .content-card,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-portal-aside.detail-summary-card,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-media-card {
  background: #fff;
  border-color: var(--pg-res-detail-border);
  box-shadow: 0 8px 22px rgba(10, 16, 32, 0.04);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-longform > .content-card,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-longform .detail-inline-section .content-card {
  padding: 18px 18px 16px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-longform > .content-card > h2,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-longform .content-card > h2,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-features-card__head h2 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 720;
  letter-spacing: -0.015em;
  color: var(--pg-res-detail-heading);
}

/* Evidence duplicates aside ref + trust strip — keep in DOM for SSR, hide visually. */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-evidence-card {
  display: none !important;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-description-body {
  color: #2c3544;
  font-size: 0.98rem;
  line-height: 1.62;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-description-body p {
  margin: 0 0 0.7em;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-description-body p:last-child {
  margin-bottom: 0;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-description-toggle {
  margin-top: 8px;
  color: var(--pg-res-detail-accent);
  font-weight: 650;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-living-essentials__support {
  margin: -2px 0 12px;
  color: var(--pg-res-detail-muted);
  font-size: 0.88rem;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-rental-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-rental-facts > div {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--pg-res-detail-soft);
  border: 1px solid var(--pg-res-detail-border);
  min-width: 0;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-rental-facts dt {
  margin: 0 0 3px;
  color: var(--pg-res-detail-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-rental-facts dd {
  margin: 0;
  color: var(--pg-res-detail-heading);
  font-size: 0.94rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

/* Inline rental-needs + trust inside longform */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-inline-section {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-inline-section > .container,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-inline-section > .container.narrow {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-trust-card {
  border-left: 3px solid var(--pg-res-detail-accent);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-trust-card .eyebrow {
  color: var(--pg-res-detail-accent);
  font-weight: 700;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-trust-card .check-list {
  margin: 10px 0;
}

/* —— Enquiry panel —— */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-portal-aside.detail-summary-card {
  padding: 18px 16px;
  border-color: var(--pg-res-detail-border);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-rent-amount,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) [data-listing-rent] {
  color: var(--pg-res-detail-heading);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 780;
  letter-spacing: -0.02em;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-enquire-cta {
  margin-top: 4px;
  min-height: 48px;
  font-weight: 720;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(11, 163, 96, 0.22);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-aside-secondary-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-aside-secondary-ctas .button {
  width: 100%;
  justify-content: center;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-agent-name {
  font-size: 1.05rem;
  font-weight: 720;
}

/* Agency names keep their stored spelling. The shared uppercase rule is for other surfaces. */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) [data-listing-agent-name].is-agency-brand {
  text-transform: none;
}

/* Sticky aside stays inside the detail region; leave room above footer. */
@media (min-width: 1080px) {
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-portal-aside {
    position: sticky;
    top: calc(var(--header-height, 72px) + var(--detail-scroll-bar-offset, 0px) + 14px);
    max-height: calc(100vh - var(--header-height, 72px) - var(--detail-scroll-bar-offset, 0px) - 28px);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}

/* —— Recommendations: one cool-neutral surface, then the warm ivory footer —— */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-more-from-section,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-similar-checked-section,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) [data-recommended-section] {
  background: var(--pg-res-detail-recs);
  border-top: 0;
  margin-top: 0;
  padding-top: 28px;
  padding-bottom: 10px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-more-from-section:not([hidden]) {
  margin-top: 12px;
  padding-top: 32px;
  box-shadow: inset 0 1px 0 rgba(15, 34, 54, 0.07);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-more-from-section[hidden] + .detail-similar-checked-section:not([hidden]) {
  margin-top: 12px;
  padding-top: 32px;
  box-shadow: inset 0 1px 0 rgba(15, 34, 54, 0.07);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-more-from-section + .detail-similar-checked-section,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) main:has(.detail-similar-checked-section:not([hidden])) [data-recommended-section],
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) main:has(.detail-more-from-section:not([hidden])) [data-recommended-section] {
  margin-top: 0;
  padding-top: 16px;
  box-shadow: none;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) [data-recommended-section]:not([hidden]),
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-similar-checked-section:not([hidden]):not(:has(~ [data-recommended-section]:not([hidden]))),
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-more-from-section:not([hidden]):not(:has(~ .detail-similar-checked-section:not([hidden]))):not(:has(~ [data-recommended-section]:not([hidden]))) {
  padding-bottom: 36px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-more-from-heading,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-similar-checked-heading,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-recommended-heading {
  margin-bottom: 14px;
  text-align: left;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-more-from-heading h2,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-similar-checked-heading h2,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) [data-recommended-section] .section-heading h2 {
  margin: 0;
  color: var(--pg-res-detail-heading);
  font-size: 1.2rem;
  font-weight: 720;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-align: left;
  text-transform: none;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-similar-card {
  background: #ffffff;
  text-transform: none;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-similar-card__title {
  text-transform: none;
  /* Keep the shared two-line floor; allow a third line so genuine titles are not cut off. */
  -webkit-line-clamp: 3;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-more-from-grid,
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-similar-checked-grid {
  gap: 14px;
}

@media (min-width: 960px) {
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-more-from-grid,
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-similar-checked-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Sparse recommendation rails only — presentation; does not change card algorithms. */
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-similar-checked-grid:has(> .detail-similar-card:only-child),
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-more-from-grid:has(> .detail-similar-card:only-child),
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-recommended-rail:has(> .detail-similar-card:only-child) {
    grid-template-columns: minmax(0, 280px);
  }
}

/* —— Compact scrolled header —— */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-scroll-bar {
  padding-top: 8px;
  padding-bottom: 8px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-scroll-bar-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* Mobile order when .detail-post-hero uses display:contents */
@media (max-width: 1079px) {
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-rental-needs-inline {
    order: 12;
  }
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-trust-section {
    order: 13;
  }
}

/* —— Responsive —— */
@media (max-width: 639px) {
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-rental-facts {
    grid-template-columns: 1fr;
  }

  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-aside-secondary-ctas {
    grid-template-columns: 1fr;
  }
}

/* —— My rental needs (Residential detail only) —— */
body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail--residential {
  padding: 16px 18px;
  border-color: rgba(11, 163, 96, 0.22);
  background: linear-gradient(180deg, #f7fbf8 0%, #fff 48%);
  box-shadow: 0 8px 20px rgba(10, 16, 32, 0.04);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail__layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  min-width: 0;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail__copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1 1 16rem;
  /* Horizontal basis only — avoid 16rem height when stacked on mobile. */
  flex-basis: min(100%, 16rem);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #0ba360;
  background: rgba(11, 163, 96, 0.1);
  border: 1px solid rgba(11, 163, 96, 0.18);
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail__text {
  min-width: 0;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail--residential .rv-needs-detail__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: -0.015em;
  color: #1a2332;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail--residential .rv-needs-detail__invite {
  margin: 4px 0 0;
  color: #5b6470;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 36rem;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail__action {
  flex: 0 0 auto;
  margin-left: auto;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail__cta {
  min-height: 44px;
  padding-inline: 16px;
  font-weight: 700;
  white-space: nowrap;
  background: #0ba360;
  border-color: #0ba360;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail__cta:hover {
  background: #07814f;
  border-color: #07814f;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail--residential .rv-needs-detail__headline {
  margin-top: 12px;
}

body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail--residential .rv-needs-detail__list {
  margin-top: 10px;
}

@media (max-width: 719px) {
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail__layout {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
  }

  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail__copy {
    flex: 0 1 auto;
  }

  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail__action {
    margin-left: 0;
    width: 100%;
  }

  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .rv-needs-detail__cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 959px) {
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-title-block h1 {
    font-size: 1.38rem;
  }

  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-longform > .content-card,
  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-longform .detail-inline-section .content-card {
    padding: 16px 14px 14px;
  }

  body.listing-detail-page:not(.sale-detail-page):not(.commercial-detail-page) .detail-portal-aside {
    max-height: none;
    overflow: visible;
  }
}
