body.home .erdr-hero {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

body.home .erdr-hero > .et_pb_row_0 {
  display: none !important;
}

html body.home .erdr-hero > .et_pb_row_1,
html body.home .erdr-hero > .et_pb_row_1 > .et_pb_column,
html body.home .erdr-hero .et_pb_code,
html body.home .erdr-hero .et_pb_code_inner,
html body.home .erdr-hero .edge-mirror-root {
  display: block !important;
  float: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  flex: none !important;
}

body.page-id-151 .team-hero-portraits figure {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: center !important;
}

body.page-id-151 .team-hero-portraits figure img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
}

body.page-id-151 .agent-profile .profile-photo {
  width: min(100%, 500px) !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  align-self: center !important;
  overflow: hidden !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-151 .agent-profile .profile-photo > img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
}

.edge-broker-branding {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, 320px) !important;
  margin: 24px auto 18px !important;
  padding: 22px 18px 18px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
  text-align: center !important;
}

.edge-broker-branding__edge,
.edge-broker-branding__brokered {
  display: block !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  line-height: 1.3 !important;
}

.edge-broker-branding__edge {
  margin: 0 0 5px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.edge-broker-branding__brokered {
  margin: 0 0 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.edge-broker-branding__lpt {
  display: block !important;
  width: 142px !important;
  max-width: 48vw !important;
  margin: 0 auto !important;
  line-height: 0 !important;
}

.edge-broker-branding__lpt img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

/* Home page: replace low-contrast gray copy with white while retaining the
   established blue and lime accent hierarchy. */
body.home .edge-mirror-root p:not(.eyebrow),
body.home .edge-mirror-root .playbook h2,
body.home .edge-mirror-root .playbook h3,
body.home .edge-mirror-root .game-ready h2,
body.home .edge-mirror-root .team .team-intro h2,
body.home .edge-mirror-root .blog h2,
body.home .edge-mirror-root .blog h3,
body.home .edge-mirror-root .cta h2,
body.home .edge-mirror-root div > strong + span,
body.home .edge-mirror-root footer button {
  color: #fff !important;
}

/* The home Playbook cards sit on a light background and need dark copy. */
body.home .edge-mirror-root .blog h2,
body.home .edge-mirror-root .blog h3 {
  color: #333 !important;
}

body.home .edge-mirror-root .blog p:not(.eyebrow) {
  color: #526278 !important;
}
