/* ═══════════════════════════════════════════════════
   MCR TEMPLATES v2 - selectors emitted by the
   Phase 5 v2 native-widget Elementor docs.
   Loaded after brand.css + header.css + footer.css.
   ═══════════════════════════════════════════════════ */

/* ── Elementor resets that interfere with editorial layout ── */
.elementor-section { padding: 0; }
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--container-max); padding: 0 var(--gutter-desktop); }
.elementor-widget:not(:last-child) { margin-bottom: 0; }

/* Heading widget eyebrow class hook */
.elementor-widget-heading.eyebrow .elementor-heading-title,
.elementor-heading-title.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mcr-muted-text);
  margin: 0 0 16px;
}

/* h1 class hook (used on h2 widgets that should display as the larger size) */
.elementor-widget-heading.h1 .elementor-heading-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--mcr-black);
  margin: 0 0 32px;
}

/* Section headline alignment */
.mcr-section-headline.elementor-widget-heading .elementor-heading-title { max-width: 24ch; }

/* Editorial body */
.elementor-widget-text-editor { font-family: var(--font-sans); }

/* ═════════ HERO ═════════ */
.mcr-hero {
  position: relative;
  min-height: 100vh !important;
  color: #fff;
}
.mcr-hero > .elementor-container { min-height: 100vh; align-items: center; }
.mcr-hero .elementor-column-wrap,
.mcr-hero .elementor-widget-wrap { text-align: center; }
.mcr-hero-eyebrow .elementor-heading-title { color: rgba(255,255,255,0.78) !important; margin-bottom: 28px !important; }
.mcr-hero-headline.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: #fff;
  margin: 0 0 4px;
}
.mcr-hero-headline--line1.elementor-widget-heading .elementor-heading-title {
  font-size: clamp(3.25rem, 7.5vw, 7.5rem);
}
.mcr-hero-headline--line2.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  margin-bottom: 28px;
  color: #fff;
}
.mcr-hero-sub.elementor-widget-text-editor {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  line-height: 1.45;
  color: rgba(255,255,255,0.86);
  max-width: 56ch;
  margin: 0 auto 44px;
}
.mcr-hero-sub.elementor-widget-text-editor p { color: rgba(255,255,255,0.86); margin: 0; }
.mcr-hero-actions.elementor-section { margin-top: 8px; }
.mcr-hero-actions .elementor-column { display: flex; align-items: center; justify-content: center; }
.mcr-hero-actions .elementor-column[data-element_type="column"]:first-child { justify-content: flex-end; }
.mcr-hero-actions .elementor-column[data-element_type="column"]:last-child  { justify-content: flex-start; }

/* ── BUTTON variants - apply to native Elementor button ── */
.mcr-btn .elementor-button {
  display: inline-flex; gap: 12px; align-items: center;
  padding: 18px 36px;
  border-radius: 0 !important;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: none;
  transition: background 200ms ease, color 200ms ease;
}
.mcr-btn--primary .elementor-button { background: var(--mcr-royal); color: #fff; }
.mcr-btn--primary .elementor-button:hover { background: var(--mcr-royal-hi); color: #fff; }
.mcr-btn--ghost .elementor-button { background: transparent; color: var(--mcr-black); border: 1px solid var(--mcr-black); }
.mcr-btn--ghost .elementor-button:hover { background: var(--mcr-black); color: #fff; }
.mcr-btn--light .elementor-button { background: #fff; color: var(--mcr-black); }
.mcr-btn--light .elementor-button:hover { background: var(--mcr-platinum); color: var(--mcr-black); }

/* ── TEXT-LINK (editorial) ── */
.mcr-text-link.elementor-widget-heading .elementor-heading-title {
  display: inline-block;
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--mcr-black);
  border-bottom: 1px solid var(--mcr-black);
  padding-bottom: 4px;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}
.mcr-text-link.elementor-widget-heading a { color: inherit; text-decoration: none; }
.mcr-text-link--light.elementor-widget-heading .elementor-heading-title {
  color: rgba(255,255,255,0.92);
  border-bottom-color: rgba(255,255,255,0.55);
}

/* ═════════ EDITORIAL PULL ═════════ */
.mcr-pull-section { padding: var(--space-section-lg) 0 !important; text-align: center; }
.mcr-pull-section .eyebrow.elementor-widget-heading .elementor-heading-title { margin-bottom: 32px; }
.mcr-pull-section .editorial-lead.elementor-widget-text-editor {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  line-height: 1.4;
  color: var(--mcr-dark-text);
  max-width: 44ch;
  margin: 0 auto;
}
.mcr-pull-section .editorial-lead.elementor-widget-text-editor p { margin: 0; }

/* ═════════ SECTION FRAME ═════════ */
.mcr-section { padding: var(--space-section) 0 !important; }
.mcr-section-foot.elementor-widget-heading { margin-top: 64px; }

/* ═════════ REGIONS ═════════ */
.mcr-region-grid.elementor-section .elementor-container { gap: 32px; padding: 32px 0 0; }
.mcr-region-grid > .elementor-container > .elementor-column { gap: 0; }
.mcr-region-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  color: #fff;
}
.mcr-region-card .elementor-widget-wrap { position: absolute; inset: 0; padding: 32px; align-content: flex-end; z-index: 2; pointer-events: none; }
.mcr-region-card .elementor-widget-wrap .elementor-element { pointer-events: auto; }
.mcr-region-card__county.elementor-widget-heading .elementor-heading-title {
  color: rgba(255,255,255,0.82) !important;
  margin: 0 0 12px;
}
.mcr-region-card__name.elementor-widget-heading .elementor-heading-title,
.mcr-region-card__name.elementor-widget-heading .elementor-heading-title a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.25rem;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  margin: 0 0 6px;
}
.mcr-region-card__meta.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85) !important;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}
.mcr-region-card:hover .mcr-region-card__name a { color: #fff; }

@media (max-width: 900px) {
  .mcr-region-grid > .elementor-container { flex-direction: column; }
  .mcr-region-card { min-height: 420px; }
}

/* ═════════ LISTINGS ═════════ */
.mcr-listings-section .elementor-widget-shortcode { padding: 32px 0; }

/* ═════════ VALUE PROPS ═════════ */
.mcr-values-section { background: var(--mcr-paper) !important; }
.mcr-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px 48px;
  margin-top: 56px;
}
@media (max-width: 900px) { .mcr-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .mcr-values-grid { grid-template-columns: 1fr; } }
.mcr-value-item__num { color: var(--mcr-royal); margin: 0 0 14px !important; }
.mcr-value-item__title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  margin: 0 0 12px;
  color: var(--mcr-black);
}
.mcr-value-item__body { font-size: 0.95rem; color: var(--mcr-mid-text); margin: 0; max-width: 38ch; }

/* ═════════ AGENT SPOTLIGHT ═════════ */
.mcr-agent-spotlight { padding: var(--space-section-lg) 0 !important; }
.mcr-agent-spotlight > .elementor-container { gap: 96px; align-items: center; }
.mcr-agent-spotlight__photo .elementor-widget-container img {
  width: 100%;
  height: auto;
  display: block;
}
.mcr-agent-spotlight__h1.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.05;
  margin: 0;
}
.mcr-agent-spotlight__h1--line2.elementor-widget-heading .elementor-heading-title {
  font-style: italic;
  color: var(--mcr-royal);
  margin-bottom: 24px;
}
.mcr-agent-spotlight .mcr-lede.elementor-widget-text-editor {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--mcr-dark-text);
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .mcr-agent-spotlight > .elementor-container { gap: 48px; flex-direction: column; }
}

/* ═════════ JOURNAL ═════════ */
.mcr-journal-section { background: var(--mcr-paper-2) !important; }

/* ═════════ REVIEWS ═════════ */
.mcr-reviews-section { background: #fff; text-align: center; }
.mcr-reviews-embed.elementor-widget-text-editor { min-height: 480px; margin-top: 48px; }

/* ═════════ FINAL CTA ═════════ */
.mcr-final-cta { text-align: center; padding: var(--space-section-lg) 0 !important; }
.mcr-final-cta .mcr-hero-headline.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}
.mcr-final-cta__line2.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-sans);
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.01em;
  margin: 4px 0 48px !important;
}
.mcr-final-cta__eyebrow.elementor-widget-heading .elementor-heading-title { color: var(--mcr-platinum); margin-bottom: 28px; }
.mcr-final-cta__actions { margin-top: 48px; }
.mcr-final-cta__actions .elementor-column { display: flex; align-items: center; }
.mcr-final-cta__actions > .elementor-container > .elementor-column:first-child { justify-content: flex-end; }
.mcr-final-cta__actions > .elementor-container > .elementor-column:last-child  { justify-content: flex-start; }
