/* ============================================================
   78-landing — small layout tweaks for the Raleigh-Durham SEO
   landing pages (templates/landing-*-in-raleigh-durham.html).
   They reuse the 65-serv-* section markup; .sec-78-landing is
   added alongside so these rules never touch service pages.
   ============================================================ */

/* "Our Formula": 3 cards with a title + paragraph */
.sec-78-landing .sec-78-landing__formula-grid {
  grid-template-columns: repeat(3, 1fr);
}
.sec-78-landing .sec-78-landing__formula-card {
  justify-content: flex-start;
}
.sec-78-landing__formula-copy {
  color: var(--text-on-bone-dim);
  max-width: 34ch;
}

/* Conditions: 4 cards in one row */
.sec-78-landing .sec-78-landing__helps-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* CTA under the split copy */
.sec-78-landing__cta {
  margin-top: 0.5rem;
}

/* Second split: photo on the left on desktop */
@media (min-width: 861px) {
  .sec-78-landing--reverse .sec-65-serv-what__split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }
  .sec-78-landing--reverse .sec-65-serv-what__media { order: -1; }
}

@media (max-width: 900px) {
  .sec-78-landing .sec-78-landing__formula-grid { grid-template-columns: 1fr; }
  .sec-78-landing .sec-78-landing__helps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sec-78-landing .sec-78-landing__helps-grid { grid-template-columns: 1fr; }
}
