/* =============================================================================
   Phase 151O.8.1 — Roll Back Unsafe Global Visual Overrides + Heading Safety Baseline

   This file intentionally no longer contains the rejected 151O.8 broad global
   label/card/section-spacing overrides. It is kept as a tiny late safety layer
   for display-heading clipping only, so previously approved sections such as
   homepage stats, What I Build, How I Work, FAQ cards, testimonials, and project
   cards return to their pre-151O.8 visual treatment.
   ========================================================================== */

/* Display-heading clipping safety only. Do not use this file for card, label,
   spacing, button, nav, TOC, or section redesigns. */
.mht-content-heading,
.mht-content-heading > span,
.mht-content-heading > em,
.mht-section-title,
.mht-page-title,
.mht-page-hero__title,
.mht-page-hero__title > span,
.mht-page-hero__title > em,
.mht-hero__headline,
.mht-hero__headline > span,
.mht-hero__headline > em,
.mht-page-cta__heading,
.mht-page-cta__heading > span,
.mht-page-cta__heading > em,
.mht-project-case__section-heading,
.mht-project-story__title,
.mht-project-story__title > span,
.mht-project-story__title > em,
.mht-faq__heading,
.mht-faq__heading > span,
.mht-faq__heading > em,
.mht-contact-fallback__heading,
.mht-enquiries__section-heading {
  overflow: visible !important;
}

.mht-content-heading,
.mht-page-hero__title,
.mht-hero__headline,
.mht-page-cta__heading,
.mht-project-case__section-heading,
.mht-project-story__title,
.mht-faq__heading,
.mht-contact-fallback__heading,
.mht-enquiries__section-heading {
  padding-top: max(0.02em, 1px);
  padding-bottom: max(0.16em, 3px);
}

.mht-content-heading em,
.mht-page-hero__title em,
.mht-hero__headline em,
.mht-page-cta__heading em,
.mht-project-story__title em,
.mht-faq__heading em,
.mht-faq__heading-gradient {
  display: inline-block;
  padding-top: 0.03em;
  padding-bottom: 0.18em;
  overflow: visible !important;
}

.mht-page-cta__content,
.mht-project-story__header,
.mht-project-story__inner,
.mht-page-hero__inner,
.mht-hero__content,
.mht-faq__head,
.mht-contact-fallback__head {
  overflow: visible !important;
}
