/* QA fixes for group C (case studies). Linked only from the five case study pages. */

/* QA-004, QA-229: Board-Level Readout card headings readable on the dark gradient and using the full card width */
:root body main .case-story-card.case-story-card h3 {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  max-width: none !important;
  opacity: 1 !important;
}

/* QA-227: breadcrumb link and previous / next case study navigation */
.crumbs a.qa-crumb-cases { color: inherit; }
.qa-case-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1080px; margin: 40px auto 32px; padding-top: 24px; border-top: 1px solid rgba(45, 46, 95, .14); }
.qa-case-nav a { display: flex; flex-direction: column; gap: 4px; max-width: calc(50% - 8px); color: #2d2e5f; text-decoration: none; font-weight: 600; line-height: 1.3; }
.qa-case-nav a small { font-size: 13px; font-weight: 500; color: #5b6075; }
.qa-case-nav a:hover strong, .qa-case-nav a:focus-visible strong { text-decoration: underline; }
.qa-case-nav .qa-next { margin-left: auto; text-align: right; }
@media (max-width: 600px) {
  .qa-case-nav a { max-width: 100%; flex: 1 1 100%; }
  .qa-case-nav .qa-next { text-align: left; margin-left: 0; }
}
