/*
 * UMW SEO heading semantic compatibility.
 *
 * These rules preserve the original Webflow visual base
 * when an element changes semantic heading level.
 *
 * :where() keeps the helper class at zero specificity,
 * allowing existing Webflow classes to continue winning.
 */

/* Elements that were originally H1. */
h2:where(.seo-from-h1),
h3:where(.seo-from-h1),
p:where(.seo-from-h1),
div:where(.seo-from-h1) {
  font-family: inherit;
  color: inherit;
  text-align: inherit;
  letter-spacing: inherit;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 38px;
  font-weight: bold;
  line-height: 44px;
}

/* Elements that were originally H2. */
h1:where(.seo-from-h2) {
  font-family: var(--primary-font);
  color: var(--neutral-04);
  text-align: center;
  letter-spacing: -1.5px;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2em;
}
