/* Dutch Exercises mobile-width repair — V9, 2026-08-23
   Scope: Dutch Exercises only. Desktop styling remains unchanged. */
@media (max-width: 760px) {
  html[lang="nl"],
  html[lang="nl"] body {
    max-width: 100%;
  }

  /* Prevent the detail-page hero from retaining a desktop/two-column width
     on narrow Safari viewports. */
  html[lang="nl"] .subject-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html[lang="nl"] .subject-hero-copy,
  html[lang="nl"] .subject-hero-copy > *,
  html[lang="nl"] .subject-system-note,
  html[lang="nl"] .subject-hero-visual {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html[lang="nl"] .subject-hero-copy h1 {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: manual !important;
  }

  html[lang="nl"] .subject-hero-copy p,
  html[lang="nl"] .subject-system-note,
  html[lang="nl"] .subject-system-note span,
  html[lang="nl"] .subject-system-note strong {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  html[lang="nl"] .subject-hero-visual img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}
