/*
 * V7.20 · Mobile fit + tap targets.
 * Only layout constraints at the breakpoints where main.css already switches to one column.
 * Hero/Lens markup, texts, media and animation stay untouched; desktop is not affected.
 */

/* 1 · Hero: main.css uses `1fr` here, so the column grew to the longest word ("Kommunikation,"). */
@media (max-width: 1180px) {
  .v3_hero_inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .v3_hero_inner > * {
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .v3_hero h1 {
    font-size: clamp(2.4rem, 13.4vw, 4rem);
  }
  .v3_hero .status_line,
  .v3_hero .v3_hero_lead,
  .v3_hero .hero_actions,
  .v3_hero .v3_hero_modes {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .v3_hero .v3_hero_modes a,
  .v3_hero .v3_hero_modes strong,
  .v3_hero .v3_hero_modes small {
    min-width: 0;
  }
}

/* 2 · Lens: same guard for its one-column layouts (≤1000px: 1fr + rail, ≤700px: 1fr). */
@media (max-width: 1000px) {
  .lens_story_layout {
    grid-template-columns: minmax(0, 1fr) 58px;
  }
  .lens_story_layout > * {
    min-width: 0;
  }
}
@media (max-width: 700px) {
  .lens_story_layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 360px) {
  .lens_story h2,
  .lens_story h3,
  .lens_story p {
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* 2b · About (inside the optional details): demo console and career grid had the same 1fr blowout at 320px. */
@media (max-width: 767px) {
  .creative_demo,
  .nw18_career {
    grid-template-columns: minmax(0, 1fr);
  }
  .creative_demo > *,
  .nw18_career > *,
  .concept_system_demo {
    min-width: 0;
  }
  .concept_system_canvas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .concept_system_canvas *,
  .nw18_career > * {
    overflow-wrap: break-word;
  }
}

/* 5 · Tap targets: text links at least 44px high on touch widths. */
@media (max-width: 767px) {
  .text_link {
    min-height: 44px;
    align-items: center;
  }
}
