/* v6 mobile safety net (3 Dec 2026), loaded last on every v6 page (home, pricing, NOVA, HALO, AURA) by inspace_v6_render.
   Martijn: "Check ook even op mobile voor safari want bijv bij aura is het helemaal niet responsive ... ook andere browsers en
   pagina's controleren graag!" On an iPhone (WebKit) the AURA hero ran off the right edge: Safari sized the centred hero column
   wider than the screen, and the gradient words ("automatische piloot.") were one unbreakable block.
   The rule behind all of it: on a phone nothing may be wider than the screen. Buttons, headings and pills may wrap; a grid
   column never grows to the min-content of a nowrap label. Carousels and marquees keep their own overflow (they clip it). */
@media (max-width: 640px) {
  /* buttons wrap instead of pushing their column wider than the screen */
  .btn, .cv-btn, .a3h-offer { white-space: normal !important; max-width: 100%; min-width: 0; height: auto !important;
    min-height: var(--h, 50px); padding-top: 12px; padding-bottom: 12px; text-align: center; line-height: 1.2; }
  .btn svg, .cv-btn svg, .a3h-offer svg { flex: none; }
  /* nowrap spans inside headings and body copy may break on a phone */
  h1 *, h2 *, h3 *, .lead *, p * { white-space: normal !important; }
  h1, h2, h3, h4, p, li, label, .btn { overflow-wrap: break-word; }

  /* AURA hero: the copy column is exactly the screen minus its padding (WebKit made it 48px too wide) */
  .a3h-copy { box-sizing: border-box; width: 100%; max-width: 640px; min-width: 0; align-self: center; }
  .a3h-copy > * { max-width: 100%; min-width: 0; }
  /* split headings: the gradient highlight rose as one block and could not wrap; on a phone its words wrap like the rest */
  .sw .w:has(em), .sw .w:has(em) > .wi { display: inline; }

  /* NOVA loop card: a long tag ("Geoptimaliseerd door NOVA") and status ("Klaar voor beoordeling") wrap to two lines (nl-be, 2px too wide) */
  .nl-hd { flex-wrap: wrap; row-gap: 8px; }
  /* NOVA: the compare tabs share the pill and wrap their label; the "recovered" badge drops under the heading; the plot note shrinks */
  .ny-pick button { flex: 1 1 0; min-width: 0; height: auto; min-height: 44px; padding: 6px 10px; white-space: normal; line-height: 1.15; }
  .nc-hd { flex-wrap: wrap; row-gap: 8px; }
  /* pricing: a plan figure that is a word ("Skreddersydd produksjon") may wrap */
  .pr-n.is-word { white-space: normal; line-height: 1.15; }
}
@media (max-width: 380px) {
  .nc-fix { font-size: 8px; letter-spacing: .06em; }
}
