/**
 * SEO heading-level parity — keep visual design when H2↔H1 tags swap.
 * Page-scoped only. Does not change layout, colors, or spacing beyond matching
 * the styles already applied to the previous heading tag.
 */

/* Pricing — promote .sec-title h2 styles to h1 */
body.page-id-141 .pricing-section .sec-title h1 {
  position: relative;
  display: block;
  font-family: var(--bn-font, inherit) !important;
  letter-spacing: -0.015em;
  color: var(--bn-navy-deep, #222222) !important;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 0 4px !important;
  padding-bottom: 0;
}

body.page-id-141 .pricing-section .sec-title.center h1:before {
  content: none !important;
  display: none !important;
}

body.page-id-141 .pricing-section .sec-title.center h1:after {
  content: "" !important;
  display: block !important;
  position: static !important;
  width: 120px !important;
  height: 2px !important;
  margin: 12px auto 0 !important;
  border: none !important;
  border-radius: 0 !important;
  transform: none !important;
  background: #25B7A7 !important;
  background-image: none !important;
  -webkit-mask-image: none;
  animation: none;
}

/* Fallback if pricing-upgrade vars missing */
body.page-id-141 .sec-title h1 {
  font-size: 36px;
  line-height: 48px;
  color: #222222;
  font-weight: 500;
}

/* Contact Us — promote form section title to H1 with same look as H2 */
body.page-id-13904 .question-section .sec-title h1,
body.page-id-1842 .question-section .sec-title h1 {
  position: relative;
  display: block;
  font-size: 36px;
  line-height: 48px;
  color: #222222;
  font-weight: 500;
  padding-bottom: 31px;
  margin-bottom: 31px;
}

body.page-id-13904 .question-section .sec-title h1:before,
body.page-id-1842 .question-section .sec-title h1:before {
  position: absolute;
  content: '';
  width: 130px;
  height: 2px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(0, 222, 255, 1) 0%, rgba(113, 65, 177, 1) 0%, rgba(0, 222, 255, 1) 100%);
}

body.page-id-13904 .question-section .sec-title h1:after,
body.page-id-1842 .question-section .sec-title h1:after {
  position: absolute;
  content: '';
  width: 45px;
  height: 4px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgb(255, 114, 0) 0%, rgba(113, 65, 177, 1) 0%, rgba(0, 222, 255, 1) 100%);
}

/* CRM Management — demoted award title keeps former H1 appearance */
body.page-id-119 .award-section .content-box h2 {
  position: relative;
  display: block;
  font-size: 42px;
  line-height: 50px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  margin: 0;
}
