/* ── Bickerstaff SEO layer ─────────────────────────────────────────────
   Semantic-heading + linking support. Every rule here exists to keep a
   converted element rendering EXACTLY as it did with its previous tag.
   Do not restyle the site from this file. */

/* Screen-reader-only page titles (a11y-standard clip pattern) */
.u-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* index/contacts: city names were <h1 class="subheading">, now <h2>.
   .subheading sets everything except line-height, which the old base h1
   rule supplied (44px). Base h2 would give .5rem — restore the h1 value. */
h2.subheading { line-height: 44px; }

/* people: names were <div class="people-name">, now <h2>.
   Class sets family/size/line-height/paddings; restore div margins/weight. */
h2.people-name { margin: 0; font-weight: 400; }

/* Rich-text section labels on case pages were <h4>, now <h2>/<h3>.
   Exact copy of the site's base h4 rule so nothing shifts. */
.c-rich-text h2, .c-rich-text h3 {
  color: #000;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: Hershey Times, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 90%;
}

/* Empty CMS heading neutralized to a div; keep the h4 margin box (20px) */
.u-h4-gap { margin-top: 10px; margin-bottom: 10px; }

/* Case pages: small related-service line above the back-to-top strip.
   Extra bottom padding keeps it clear of the fixed footer. */
.case-meta-links {
  text-align: center;
  padding: 10px 20px 90px;
  font-family: Brunswick Grotesque, sans-serif;
  font-size: .8rem;
  line-height: 1.4;
  color: #000;
}
.case-meta-links a { color: #000; text-decoration: none; }
.case-meta-links a:hover { color: #d3d3d3; }

/* In-content links inside rich text: site idiom is black, no underline,
   grey on hover, [brackets] as the affordance */
.c-rich-text a { color: #000; text-decoration: none; }
.c-rich-text a:hover { color: #d3d3d3; }

/* Service-page FAQ questions: one step below section labels */
.service-faq h3 { font-size: 1.1rem; line-height: 110%; }

/* Service pages: keep the last content clear of the fixed footer */
.service-bottom-gap { height: 90px; width: 100%; }

/* Service pages: FAQ block typography rides on .c-rich-text; nothing extra
   needed, but keep answers readable if long. */
.service-faq p { max-width: 70ch; }

/* products.html: services map (static section above the fixed footer) */
.seo-services-map {
  margin: 5rem auto 0;
  padding: 0 20px 120px;
  max-width: 1000px;
  text-align: center;
}
.seo-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  padding: 0 2rem 1rem;
}
.seo-services-list a {
  color: #000;
  font-family: Brunswick Grotesque, sans-serif;
  font-size: .9rem;
  line-height: 1.1;
  text-decoration: none;
}
.seo-services-list a:hover { color: #d3d3d3; }
