/* The test directory uses the shared clinic typography, navigation and colours. */
.mb-test-directory .test-container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.mb-test-directory .test-hero { padding: 52px 0 40px; background: linear-gradient(120deg, #edf5fa, #fafcfe); }
.mb-test-directory .test-hero h1 { margin: 0 0 20px; }
.mb-test-directory .test-hero p { max-width: 66ch; margin: 0; color: #465a6d; font-size: 19px; line-height: 1.65; }
.mb-test-directory .test-shortcuts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 24px; }
.mb-test-directory .test-shortcuts a,
.mb-test-directory .test-topic-nav a { color: #21577f; text-underline-offset: 4px; font-size: 16px; }
.mb-test-directory .test-topic-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 24px 0; border-bottom: 1px solid #d0dbe5; }
.mb-test-directory .test-topic-nav a { display: inline-flex; align-items: center; min-height: 40px; }
.mb-test-directory .test-group { padding: 40px 0 16px; }
.mb-test-directory .test-group h2 { margin: 0 0 12px; font-size: clamp(25px, 3vw, 30px); color: #0b1d33; }
.mb-test-directory .test-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; margin: 0; padding: 0; list-style: none; }
.mb-test-directory .test-list li { min-width: 0; margin: 0; }
.mb-test-directory .test-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; min-height: 110px; padding: 22px 0; border-bottom: 1px solid #d0dbe5; color: #17293b; text-decoration: none; }
.mb-test-directory .test-link h3 { margin: 0 0 6px; font: 600 19px/1.4 var(--font-body); }
.mb-test-directory .test-link p { margin: 0; color: #465a6d; font-size: 16px; line-height: 1.6; }
.mb-test-directory .test-arrow { flex-shrink: 0; color: #2e6b9e; font-size: 22px; }
.mb-test-directory .test-link:hover h3 { color: #21577f; text-decoration: underline; text-underline-offset: 4px; }
.mb-test-directory .test-next { margin-top: 44px; padding: 40px 0; background: #edf5fa; }
.mb-test-directory .test-next h2 { margin: 0 0 14px; font-size: 30px; }
.mb-test-directory .test-next p { max-width: 68ch; margin: 0 0 24px; font-size: 18px; color: #465a6d; }
.mb-test-directory .test-footer-link { display: inline-block; margin: 22px 0 0; color: #21577f; font-size: 16px; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .mb-test-directory .test-container { width: calc(100% - 40px); }
  .mb-test-directory .test-hero { padding: 32px 0; }
  .mb-test-directory .test-hero p { font-size: 18px; }
  .mb-test-directory .test-list { grid-template-columns: 1fr; }
  .mb-test-directory .test-topic-nav { gap: 4px 20px; padding: 18px 0; }
  .mb-test-directory .test-group { padding-top: 32px; }
  .mb-test-directory .test-link { min-height: 100px; padding: 18px 0; }
}
