/* Preserve template-specific controls and the original print layout. */
@media screen {
  /* Contact-style pages have longer titles than the reference supplies. */
  html[data-qcs-vixan-exact] main.qcs-vixan-contact:is(.purpose-assessment, .portal-access-page) {
    --utility-contact-title: clamp(2.25rem, 5vw, 4.5rem);
  }

  html[data-qcs-vixan-exact] main.qcs-vixan-contact:is(.purpose-assessment, .portal-access-page) .qcs-vixan-contact-hero h1 {
    overflow-wrap: normal;
    word-break: normal;
  }

  html[data-qcs-vixan-exact] main.portal-access-page.qcs-vixan-contact .portal-access-panel > .portal-brand-logo {
    display: none;
  }

  /* Match the Vixan Service and Contact section labels. */
  html[data-qcs-vixan-exact] main.qcs-vixan-utility:is(.purpose-solution, .purpose-learning, .purpose-assessment, .qcs-vixan-reading, .portal-access-page)
    .qcs-vixan-utility-hero .cs_section_subtitle {
    color: var(--utility-text);
    font-family: var(--body-font-family);
  }

  /* Keep the course navigation and player in their original semantic order. */
  html[data-qcs-vixan-exact] main.fg-course.qcs-vixan-reading .qcs-vixan-reading-hero {
    padding-bottom: 0;
    background: #fff;
  }

  html[data-qcs-vixan-exact] main.fg-course.qcs-vixan-reading .fg-hero-copy {
    padding-block: 0;
    background: transparent;
  }

  html[data-qcs-vixan-exact] main.fg-course.qcs-vixan-reading .fg-navigation {
    gap: 4px clamp(14px, 2vw, 30px);
    padding: 0 0 10px;
    border-color: var(--utility-rule);
  }

  html[data-qcs-vixan-exact] main.fg-course.qcs-vixan-reading .fg-navigation a {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    color: var(--utility-ink);
    background: transparent;
    font-weight: 600;
  }

  html[data-qcs-vixan-exact] main.fg-course.qcs-vixan-reading .fg-navigation a:is([aria-current="page"], :hover, :focus-visible) {
    color: #963d00;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: .35em;
  }

  /* Capabilities follows the lined Vixan services layout on screen. */
  html[data-qcs-vixan-exact] main.brochure-shell.qcs-vixan-reading .brochure-service-list > section {
    padding: 24px 0;
    border: 0;
    border-top: 1px solid var(--utility-rule);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  html[data-qcs-vixan-exact] main.brochure-shell.qcs-vixan-reading .brochure-service-list > section h3 {
    font-family: var(--heading-font-family);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
  }

  html[data-qcs-vixan-exact] main.brochure-shell.qcs-vixan-reading .brochure-service-list > section a {
    color: var(--utility-ink);
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
  }

  html[data-qcs-vixan-exact] main.brochure-shell.qcs-vixan-reading .brochure-service-list > section a:is(:hover, :focus-visible) {
    color: #963d00;
  }

  @media (max-width: 767px) {
    html[data-qcs-vixan-exact] main.qcs-vixan-contact:is(.purpose-assessment, .portal-access-page) {
      --utility-contact-title: clamp(2.25rem, 11vw, 3.125rem);
    }
  }
}
