/* ═══════════════════════════════════════════════════
   MCR - Community Page (Single Community template id 43)
   Cross-cutting + section styles per Dr. Phillips fix spec.
   Font system: Playfair Display (display) + Manrope (sans).
   ═══════════════════════════════════════════════════ */

:root {
  --mcr-black: #0A0A0C;
  --mcr-ink-soft: #141418;
  --mcr-royal: #1E3A8A;
  --mcr-royal-hi: #2B4FC9;
  --mcr-paper: #F6F4EF;
  --mcr-paper-2: #EFEBE3;
  --mcr-platinum-2: #B8BCC4;
  --mcr-line-light: #DEDBD2;
  --mcr-dark-text: #1A1A1A;
  --mcr-mid-text: #555555;
  --mcr-muted-text: #8A8680;
  --mcr-white: #FFFFFF;
}

/* ── Eradicate any stray light-blue / royal on the hero H1 ── */
.single-community .mcr-dp-hero__h1,
.single-community h1.entry-title,
.single-community .elementor-section h1.elementor-heading-title {
  color: var(--mcr-white) !important;
}
.single-community .mcr-dp-hero__h1 {
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

/* ── Zero radius site-wide on community pages ── */
.single-community [class^="elementor-"]:not(.elementor-button-icon),
.single-community [class^="mcr-dp-"] {
  border-radius: 0 !important;
}

/* ── Reusable eyebrow ── */
.mcr-dp-eyebrow {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mcr-muted-text);
  margin: 0 0 32px;
}

/* ── Reusable h2 ── */
.mcr-dp-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--mcr-dark-text);
  margin: 0;
}

/* ── Reusable section header ── */
.mcr-dp-section-head { margin-bottom: 64px; }
.mcr-dp-section-head--center { text-align: center; }
.mcr-dp-section-head .mcr-dp-eyebrow { margin: 0 0 18px; }

/* ── Editorial text link ── */
.mcr-dp-textlink {
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mcr-royal);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  text-decoration: none;
  transition: opacity 200ms ease;
}
.mcr-dp-textlink:hover { opacity: 0.7; color: var(--mcr-royal); }

/* ═════════════════════════════════════════════════════
   Section 1 - Breadcrumb
   ═════════════════════════════════════════════════════ */
.mcr-dp-breadcrumb {
  background: var(--mcr-paper);
  padding: 24px 0 16px;
}
.mcr-dp-breadcrumb__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mcr-dp-bc__link,
.mcr-dp-bc__current { color: var(--mcr-muted-text); text-decoration: none; }
.mcr-dp-bc__link:hover { color: var(--mcr-dark-text); }
.mcr-dp-bc__current { color: var(--mcr-dark-text); }
.mcr-dp-bc__sep {
  color: var(--mcr-muted-text);
  margin: 0 8px;
  font-weight: 400;
}
@media (max-width: 900px) {
  .mcr-dp-breadcrumb__inner { padding: 0 24px; }
}

/* ═════════════════════════════════════════════════════
   Section 2 - Hero (full-bleed photo)
   ═════════════════════════════════════════════════════ */
.mcr-dp-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--mcr-black);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  isolation: isolate;
}
.mcr-dp-hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
/* No-image fallback */
.mcr-dp-hero--no-image .mcr-dp-hero__noimg-frame {
  position: absolute;
  inset: 24px;
  border: 1px solid var(--mcr-platinum-2);
  z-index: 1;
}
.mcr-dp-hero__noimg-label {
  position: absolute;
  bottom: 36px;
  left: 36px;
  z-index: 2;
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mcr-platinum-2);
  margin: 0;
}
.mcr-dp-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
  position: relative;
  top: 55vh;
  transform: translateY(-50%);
}
.mcr-dp-hero__eyebrow {
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px;
}
.mcr-dp-hero__h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.5rem, 7vw, 6rem);
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--mcr-white);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
  max-width: 14ch;
  margin: 0 auto 28px;
}
.mcr-dp-hero__subhead {
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .mcr-dp-hero { min-height: 70vh; }
}
@media (max-width: 768px) {
  .mcr-dp-hero { min-height: 60vh; }
  .mcr-dp-hero__inner { padding: 0 24px; }
  .mcr-dp-hero__subhead { font-size: 15px; }
}
.mcr-dp-hero { min-height: max(600px, 100vh); }

/* ═════════════════════════════════════════════════════
   Section 4 - Editorial pull paragraph
   ═════════════════════════════════════════════════════ */
.mcr-dp-pull {
  background: var(--mcr-white);
  padding: 160px 0;
}
.mcr-dp-pull__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}
.mcr-dp-pull .mcr-dp-eyebrow { margin: 0 0 32px; }
.mcr-dp-pull__text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--mcr-dark-text);
  margin: 0;
}
@media (max-width: 900px) {
  .mcr-dp-pull { padding: 96px 0; }
  .mcr-dp-pull__inner { padding: 0 24px; }
}

/* ═════════════════════════════════════════════════════
   Section 5 - About + sidebar
   ═════════════════════════════════════════════════════ */
.mcr-dp-about {
  background: var(--mcr-paper);
  padding: 120px 0;
}
.mcr-dp-about__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 64px;
  align-items: start;
}
.mcr-dp-about__h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--mcr-dark-text);
  margin: 0 0 40px;
}
.mcr-dp-about__body {
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--mcr-mid-text);
  max-width: 60ch;
}
.mcr-dp-about__body p { margin: 0 0 24px; }
.mcr-dp-about__body p:last-child { margin-bottom: 0; }

.mcr-dp-glance {
  background: var(--mcr-paper-2);
  border: 1px solid var(--mcr-line-light);
  padding: 36px 32px;
}
.mcr-dp-glance__title {
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mcr-muted-text);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mcr-line-light);
}
.mcr-dp-glance__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mcr-line-light);
}
.mcr-dp-glance__row--last { border-bottom: 0; }
.mcr-dp-glance__label {
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--mcr-muted-text);
}
.mcr-dp-glance__value {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--mcr-dark-text);
  text-align: right;
}
@media (max-width: 900px) {
  .mcr-dp-about { padding: 80px 0; }
  .mcr-dp-about__inner { padding: 0 24px; grid-template-columns: 1fr; gap: 48px; }
  .mcr-dp-about__body { font-size: 16px; }
}

/* ═════════════════════════════════════════════════════
   At-a-Glance as its own section (MCR-02, 2026-08-13).
   The rows used to be the About sidebar; they now sit between the hero and
   the listings block. .mcr-dp-glance keeps its existing type/rule styles -
   only the container layout changes, via the --bar modifier.
   ═════════════════════════════════════════════════════ */
/* MCR-13 (2026-08-15): vertical padding cut roughly in half - 96px -> 48px.
   Background, zero radius, no gradient and no shadow are unchanged. */
.mcr-dp-glancebar {
  background: var(--mcr-white);
  padding: 48px 0;
}
.mcr-dp-glancebar__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
/* MCR-02 a2 fix (2026-08-13). Two defects introduced by the glance bar:
   1) repeat(auto-fit, minmax(220px,1fr)) sizes tracks from the CONTAINER width
      (5 x 223.594px at 1440), not from the number of rows, so a 4-row community
      left one track blank. Flex divides the line among the rows that exist.
   2) the AT A GLANCE rule stopped at 468.25px because brand.css sets
      `p, li { max-width: 68ch }` and the title is a <p>. grid-column: 1 / -1 was
      applied correctly and was never the cause; the max-width cap was. */
.mcr-dp-glance--bar {
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
  row-gap: 0;
}
.mcr-dp-glance--bar .mcr-dp-glance__title {
  flex: 0 0 100%;
  max-width: none;
}
.mcr-dp-glance--bar .mcr-dp-glance__row { flex: 1 1 220px; }
.mcr-dp-glance--bar .mcr-dp-glance__row {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border-bottom: 0;
  padding: 8px 0 0;
}
.mcr-dp-glance--bar .mcr-dp-glance__value { text-align: left; }

/* ── MCR-13 (2026-08-15) ──────────────────────────────────────────────
   1) Cream block vertical padding cut roughly in half: 36px -> 18px.
      Horizontal padding, background (--mcr-paper-2), border-radius 0,
      no gradient and no shadow are all left exactly as they were.
   2) The eyebrow hairline rule is untouched: padding-bottom 16px and the
      1px --mcr-line-light border-bottom stay. Only the 24px gap BELOW the
      rule is halved to 12px.
   3) justify-content was inherited as `space-between` from the base row
      rule. In a flex COLUMN that pins the value to the BOTTOM of the
      stretched track, so one-line values floated 56px below the three-line
      Vibe value. flex-start top-aligns every value to a shared baseline.
   4) Values carry the content, so they step up 17px -> 21px. Line-height
      tightens 1.65 -> 1.35 so the extra size does not re-inflate the block.
      Labels stay 13px: they are secondary.
   5) NUMERIC values (Population, Established) take the locked numeric face
      var(--font-num, "Roboto Slab") instead of the display serif. Prose and
      place-name values (County, Region, School District) keep Playfair.
   ──────────────────────────────────────────────────────────────────── */
.mcr-dp-glance--bar {
  padding: 18px 32px;
}
.mcr-dp-glance--bar .mcr-dp-glance__title {
  margin-bottom: 12px;
}
.mcr-dp-glance--bar .mcr-dp-glance__row {
  justify-content: flex-start;
}
.mcr-dp-glance--bar .mcr-dp-glance__value {
  font-size: 21px;
  line-height: 1.35;
}
.mcr-dp-glance--bar .mcr-dp-glance__value--num {
  font-family: var(--font-num, "Roboto Slab", Georgia, serif);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* Narrative is single-column now that the sidebar moved out. */
.mcr-dp-about--solo .mcr-dp-about__inner { grid-template-columns: 1fr; }
.mcr-dp-about--solo .mcr-dp-about__body { max-width: 68ch; }

@media (max-width: 900px) {
  /* MCR-13: mobile vertical padding also halved - 64px -> 32px band,
     12px -> 6px per row. Rows stay one-per-line label/value pairs, so the
     shared baseline on mobile is the per-row `align-items: baseline`. */
  .mcr-dp-glancebar { padding: 32px 0; }
  .mcr-dp-glancebar__inner { padding: 0 24px; }
  .mcr-dp-glance--bar .mcr-dp-glance__row {
    flex: 1 1 100%;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px solid var(--mcr-line-light);
  }
  .mcr-dp-glance--bar .mcr-dp-glance__row--last { border-bottom: 0; }
  .mcr-dp-glance--bar .mcr-dp-glance__value { text-align: right; }
}

/* ═════════════════════════════════════════════════════
   Section 6 - Active Listings
   ═════════════════════════════════════════════════════ */
.mcr-dp-idx {
  background: var(--mcr-white);
  padding: 120px 0 96px;
}
.mcr-dp-idx__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
.mcr-dp-idx .mcr-dp-section-head { text-align: center; }
.mcr-dp-idx__grid { margin-bottom: 56px; }
.mcr-dp-idx__footlink { text-align: center; }
@media (max-width: 900px) {
  .mcr-dp-idx { padding: 80px 0 64px; }
  .mcr-dp-idx__inner { padding: 0 24px; }
}

/* ═════════════════════════════════════════════════════
   Section 7 - FAQ wrapper
   ═════════════════════════════════════════════════════ */
.mcr-dp-faq {
  background: var(--mcr-paper);
  padding: 120px 0;
}
.mcr-dp-faq__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 900px) {
  .mcr-dp-faq { padding: 80px 0; }
  .mcr-dp-faq__inner { padding: 0 24px; }
}

/* Existing FAQ accordion polish - refined per spec */
.single-community .mcr-community-faq .mcr-faq {
  border-bottom: 1px solid var(--mcr-line-light);
  padding: 24px 56px 24px 0;
  position: relative;
}
.single-community .mcr-community-faq .mcr-faq summary {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: var(--mcr-dark-text);
}
.single-community .mcr-community-faq .mcr-faq summary::after {
  font-size: 16px;
  color: var(--mcr-dark-text);
  right: 0;
  position: absolute;
  top: 24px;
}
.single-community .mcr-community-faq .mcr-faq__a {
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mcr-mid-text);
  max-width: 68ch;
  padding-bottom: 24px;
}
@media (max-width: 900px) {
  .single-community .mcr-community-faq .mcr-faq summary { font-size: 18px; }
}

/* ═════════════════════════════════════════════════════
   Section 8 - Agent CTA (dark band)
   ═════════════════════════════════════════════════════ */
.mcr-dp-cta {
  background: var(--mcr-black);
  padding: 120px 0;
}
.mcr-dp-cta__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}
.mcr-dp-cta__eyebrow {
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px;
}
.mcr-dp-cta__h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--mcr-white);
  margin: 0 0 28px;
}
.mcr-dp-cta__body {
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin: 0 auto 40px;
}
.mcr-dp-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.mcr-dp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 0;
  border: 1px solid transparent;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.mcr-dp-btn--primary {
  background: var(--mcr-royal);
  color: var(--mcr-white);
  border-color: var(--mcr-royal);
}
.mcr-dp-btn--primary:hover {
  background: var(--mcr-royal-hi);
  border-color: var(--mcr-royal-hi);
  color: var(--mcr-white);
}
.mcr-dp-btn--ghost {
  background: transparent;
  color: var(--mcr-white);
  border-color: var(--mcr-white);
}
.mcr-dp-btn--ghost:hover {
  background: var(--mcr-white);
  color: var(--mcr-royal);
  border-color: var(--mcr-white);
}
@media (max-width: 900px) {
  .mcr-dp-cta { padding: 80px 0; }
  .mcr-dp-cta__inner { padding: 0 24px; }
}

/* ═════════════════════════════════════════════════════
   Section 9 - Nearby Communities
   ═════════════════════════════════════════════════════ */
.mcr-dp-nearby {
  background: var(--mcr-white);
  padding: 120px 0;
}
.mcr-dp-nearby__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
.mcr-dp-nearby__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mcr-dp-nearby__card {
  display: block;
  background: var(--mcr-white);
  border: 1px solid var(--mcr-line-light);
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease;
}
.mcr-dp-nearby__card:hover { border-color: var(--mcr-royal); }
.mcr-dp-nearby__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--mcr-paper-2);
  background-size: cover;
  background-position: center;
}
.mcr-dp-nearby__body { padding: 24px 24px 28px; }
.mcr-dp-nearby__eyebrow {
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mcr-muted-text);
  margin: 0 0 12px;
}
.mcr-dp-nearby__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--mcr-dark-text);
  margin: 0 0 12px;
}
.mcr-dp-nearby__teaser {
  font-family: "Manrope", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mcr-mid-text);
  margin: 0;
}
@media (max-width: 1024px) {
  .mcr-dp-nearby__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .mcr-dp-nearby { padding: 80px 0; }
  .mcr-dp-nearby__inner { padding: 0 24px; }
}
@media (max-width: 600px) {
  .mcr-dp-nearby__grid { grid-template-columns: 1fr; }
}
