/* Round 13: client final changes (seo). Loaded after the r8 files. */

/*
 * Headings that look like headings (client point 4): the 404 page's two
 * panel titles were 11px uppercase labels marked up as H2s. They stay H2s
 * and now read as the panel's titles.
 */
.error404.premium-inner .nf-panel__h {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-transform: none;
}

/* Search: the count pill's spoken word ("2 results") stays out of sight. */
.search.premium-inner .search-group__h span .screen-reader-text {
  min-width: 0;
  width: 1px;
  height: 1px;
  padding: 0;
}

/*
 * No word alone on the last line (client, Round 13). Titles are joined in
 * PHP (elite_ortho_nowidow()); these short texts balance their lines.
 */
.post-type-archive-elite_resource.premium-inner .care__p,
body.page-template-template-contact .cdet--cards .cdet__note,
.post-type-archive-elite_resource.premium-inner .res-card .tcard__title {
  text-wrap: balance;
}

/* A short compound word in a heading ("Tax-Deductible?") never breaks at its hyphen (elite_ortho_seo_heading_html()). */
.eo-nw { white-space: nowrap; }
