/*
 * Words by Lia v2: runtime typography isolation from Astra/global styles.
 * Integrate AFTER assets/css/site.css and assets/css/wordpress.css.
 * Only the dedicated v2 template adds body.wbl-v2-review.
 * No font downloads, layout changes, form behaviour or validation overrides.
 */

body.wbl-v2-review {
  --wbl-font-body: Arial, Helvetica, sans-serif;
  --wbl-font-heading: Georgia, "Times New Roman", serif;
  --serif: var(--wbl-font-heading);
  font-family: var(--wbl-font-body) !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none;
  line-height: normal;
  text-transform: none !important;
}

/* Explicit text rules defeat typography assigned directly to these elements. */
body.wbl-v2-review :is(p, ul, ol, li, dl, dt, dd, small, label, legend) {
  font-family: var(--wbl-font-body) !important;
  font-style: normal !important;
  text-transform: none !important;
}

body.wbl-v2-review :is(p, ul, ol, li, dl, dt, dd, small) {
  font-weight: 400 !important;
}

body.wbl-v2-review :is(h1, h2, h3, h4, h5, h6, summary) {
  font-family: var(--wbl-font-heading) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  text-transform: none !important;
  color: #102b46 !important;
}

body.wbl-v2-review :is(h1, h2, h3, h4, h5, h6) > span {
  font-family: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  text-transform: none !important;
}

body.wbl-v2-review .cta :is(h1, h2, h3, h4, h5, h6) {
  color: #fff !important;
}

body.wbl-v2-review :is(.step-number, .service-count) {
  font-family: var(--wbl-font-heading) !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

body.wbl-v2-review :is(.brand strong, .footer-brand > strong) {
  font-family: var(--wbl-font-heading) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

body.wbl-v2-review .brand small {
  font-family: var(--wbl-font-body) !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Keep the two intentional uppercase treatments from the approved preview. */
body.wbl-v2-review .eyebrow {
  font-family: var(--wbl-font-body) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

body.wbl-v2-review .contact-grid dt {
  text-transform: uppercase !important;
}

body.wbl-v2-review .training-list strong {
  font-family: var(--wbl-font-body) !important;
  font-style: normal !important;
  font-weight: 500 !important;
  text-transform: none !important;
}

/* Heading links inherit the serif; navigation links inherit the body font. */
body.wbl-v2-review a {
  font-family: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  text-transform: none !important;
  text-decoration: none !important;
  color: inherit !important;
}

body.wbl-v2-review a:hover {
  color: #806125 !important;
}

body.wbl-v2-review :is(.brand, .desktop-nav, .language-picker, .site-footer, .text-link, .contact-link) {
  color: #102b46 !important;
}

body.wbl-v2-review :is(.desktop-nav, .mobile-nav, .language-picker, .footer-nav, .footer-languages, .social-links, .footer-socials) {
  font-family: var(--wbl-font-body) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

body.wbl-v2-review .language-picker a[aria-current="true"] {
  font-weight: 700 !important;
}

/* Native controls retain their existing sizes, borders and state handling. */
body.wbl-v2-review :is(button, input, select, textarea) {
  font-family: var(--wbl-font-body) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

body.wbl-v2-review :is(a.button, button.button) {
  font-family: var(--wbl-font-body) !important;
  font-weight: 600 !important;
  line-height: normal !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  color: #102b46 !important;
}

body.wbl-v2-review :is(a.button, button.button):hover {
  color: #fff !important;
}

body.wbl-v2-review .menu-toggle {
  font-family: var(--wbl-font-body) !important;
  font-weight: 400 !important;
  line-height: normal !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

body.wbl-v2-review a.social-link {
  font-family: var(--wbl-font-body) !important;
  font-weight: 500 !important;
  text-transform: none !important;
}

body.wbl-v2-review :is(a.social-link:hover, .footer-nav a:hover, .footer-nav a[aria-current="page"], .footer-languages a:hover, .footer-languages a[aria-current="true"]) {
  color: #102b46 !important;
}

/* Scope native SureForms typography without touching icon fonts or layouts. */
body.wbl-v2-review .wbl-v2-sureforms .srfm-form-container {
  font-family: var(--wbl-font-body) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

body.wbl-v2-review .wbl-v2-sureforms :is(input, select, textarea, button) {
  font-family: var(--wbl-font-body) !important;
  font-size: 16px !important;
  font-style: normal !important;
  text-transform: none !important;
}

body.wbl-v2-review .wbl-v2-sureforms :is(label, legend) {
  font-family: var(--wbl-font-body) !important;
  font-style: normal !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

body.wbl-v2-review .wbl-v2-sureforms .srfm-submit-container button.wp-block-button__link {
  min-height: 52px !important;
  padding: 14px 28px !important;
  border: 1px solid #af8b43 !important;
  border-radius: 3px !important;
  background: #af8b43 !important;
  color: #102b46 !important;
  white-space: normal !important;
  font-family: var(--wbl-font-body) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

body.wbl-v2-review .wbl-v2-sureforms .srfm-submit-container button.wp-block-button__link:hover:not(:disabled),
body.wbl-v2-review .wbl-v2-sureforms .srfm-submit-container button.wp-block-button__link:focus-visible:not(:disabled) {
  background: #c09d52 !important;
  border-color: #c09d52 !important;
  color: #102b46 !important;
}

/* Underlines made with borders and the approved keyboard focus stay visible. */
body.wbl-v2-review :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #436c94 !important;
  outline-offset: 5px !important;
}

body.wbl-v2-review .cta :is(a, button):focus-visible {
  outline-color: #d2b67d !important;
}

body.wbl-v2-review .wbl-v2-sureforms :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #102b46 !important;
  outline-offset: 3px !important;
}


/* Wrap long source URLs inside published policy content on small screens. */
body.wbl-v2-review .legal-body {
  overflow-wrap: anywhere;
}
