/* ==========================================================================
   Shared block overrides for the new pages (404, contact, thank you,
   search results, privacy policy).

   The header, trust banner, office locations and footer are shared components,
   but these comps size the locations and footer differently from the defaults
   in styles.css. Scoped to .rmp so the four original pages are untouched.
   Comp: locations 366 desktop / 1001 mobile · footer 549 / 1138.
   ========================================================================== */

/* ---- footer ---- */
.rmp .footer-legal { height: auto; padding-bottom: 49px; }   /* comp shrinks above 375 */

/* ---- office locations ---- */
.rmp .locations { padding: 64px var(--pad); }
.rmp .locations h2 { font-size: 24px; line-height: 29.76px; }
.rmp .locations-text { padding-bottom: 24px; gap: 20px; }
.rmp .accordion { padding: 0; display: grid; gap: 8px; }
.rmp .accordion-item + .accordion-item { border-top: 0; }
.rmp .accordion-item.open { margin-bottom: 16px; }
.rmp .accordion-header { height: 80px; }
.rmp .accordion-content .map { height: 218px; }

@media (min-width: 1440px) {
  .rmp .footer-legal { height: auto; margin-top: 48px; padding-bottom: 0; }
  .rmp .footer-block { min-height: 288px; }

  .rmp .locations { padding: 64px 48px; min-height: 0; }
  .rmp .locations h2 { font-size: 32px; line-height: 38.4px; }
  .rmp .locations-text { padding-bottom: 24px; }
}
