/* City pages: one vertical rhythm from the hero to the archive, matching the approved
   information design (88px sections, 2.4rem heading lead, 820px reading column). */
#main-content .eg-redesign :is(.intro-section, .process-section, .testimonials-section, .seo-section) {
  padding: 88px 0;
}
#main-content .eg-redesign .section-header {
  margin-bottom: 56px;
}
#main-content .eg-redesign :is(.section-header, .hero-form-card, .mid-cta) h2,
#main-content .eg-redesign :is(.process-step, .eg-editorial-item) h3 {
  margin-top: 0;
}
#main-content .eg-redesign .seo-content {
  max-width: 820px;
}
#main-content .eg-redesign .seo-content h2 {
  margin: 2.4rem 0 0.9rem;
  font-size: 28px;
  line-height: 1.3;
}
#main-content .eg-redesign .seo-content h2:first-child {
  margin-top: 0;
}
#main-content .eg-redesign .seo-content p {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 1.1rem;
}
#main-content .eg-redesign .seo-content p:last-child {
  margin-bottom: 0;
}

/* Steps: number, heading and copy share one left edge on every viewport. */
#main-content .eg-redesign .process-steps {
  gap: 40px 32px;
}
#main-content .eg-redesign .process-steps::before {
  display: none;
}
#main-content .eg-redesign .process-step {
  text-align: left;
}
#main-content .eg-redesign .step-number {
  margin: 0 0 20px;
  box-shadow: none;
}
#main-content .eg-redesign .process-step h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 8px;
}
#main-content .eg-redesign .process-step p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* SEO content city pages: the local services copy sits beside the city photo. */
#main-content .eg-city-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: 2.5rem;
}
#main-content .eg-city-feature__copy > :first-child {
  margin-top: 0;
}
#main-content .eg-city-feature__copy > p:last-child {
  margin-bottom: 0;
}
#main-content .eg-city-feature__photo {
  margin: 0;
  min-width: 0;
}
#main-content .eg-city-feature__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--eg-radius-panel, 16px);
}
#main-content .eg-city-feature__photo figcaption {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--eg-color-muted, #505c63);
}

@media (max-width: 800px) {
  #main-content .eg-city-feature {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 768px) {
  #main-content .eg-redesign :is(.intro-section, .process-section, .testimonials-section, .seo-section) {
    padding: 52px 0;
  }
  #main-content .eg-redesign .section-header {
    margin-bottom: 36px;
  }
  #main-content .eg-redesign .process-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  #main-content .eg-redesign .process-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
  }
  #main-content .eg-redesign .step-number {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    margin: 0;
    font-size: 20px;
  }
  #main-content .eg-redesign .process-step h3 {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin: 0;
  }
  #main-content .eg-redesign .process-step p {
    grid-column: 2;
    margin-top: 4px;
  }
}
