.test-page .breadcrumb { flex-wrap: wrap; }
.test-page .brand > span { font-size: 11px; }
.test-page .header-inner { gap: 12px; }
.test-page .header .brand { min-width: 0; flex: 1; }
.test-page .header .language-link { flex-shrink: 0; }
.test-page .test-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.test-page h1 { max-width: 30ch; overflow-wrap: anywhere; }
.test-page .test-content { min-width: 0; }
.test-page .test-figure { margin: 0; }
.test-page .test-figure img { display: block; width: 100%; height: auto; }
.test-page .test-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.test-page .test-facts { margin-top: 28px; }
.test-page .test-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.test-page .test-actions .button { white-space: normal; text-align: left; }
.test-page .test-actions .button span { min-width: 0; }
.test-page #addTest { min-height: 54px; }
.test-page #testProgrammeStatus { min-height: 24px; margin-top: 12px; }
.test-page #testLinkStatus input { width: 100%; max-width: 600px; padding: 8px; font-size: 14px; }
.test-page .test-related { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.test-page .test-related h2 { font-size: 22px; }
.test-page .test-related ul { margin-top: 16px; padding-left: 20px; }
.test-page .test-related li + li { margin-top: 12px; }
.test-page .test-related a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) {
  .test-page .test-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .test-page .test-figure { max-width: 400px; }
}
@media (max-width: 767px) {
  .test-page .test-actions { align-items: stretch; }
  .test-page .test-actions > .button { width: 100%; }
}
