/* Keep Formidable's real labels available to assistive technology. */
.frm_forms label.ernest-screen-reader-label {
    display: block !important;
    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;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
/* Semantic corrections retain the approved presentation. */
.post-dtl-bnr .btn-tab > h1 { font-size: var(--h2-size); }
@media (max-width: 767px) {
    .post-dtl-bnr .btn-tab > h1 { font-size: 36px; line-height: 1.2; }
}
.ernest-legal-title { padding-top: 60px; }

/* Mobile title containment; retain desktop typography and layout. */
@media (max-width: 991px) {
  body .v2-page-banner h1,
  body .v2-cases-hero h1,
  body .v2-case-detail-hero h1 {
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    overflow-wrap: anywhere;
  }
  body :is(h1,h2,h3,h4,h5,h6) {
    overflow-wrap: anywhere;
  }
}
