/* 2026-11-23 w7  Phones (up to 767px), student pages of layer A. Linked last, after the theme and menu_fix.css. */
@media screen and (max-width: 767px) {
  /* header line above the logo (top pages): 10px -> 12px */
  .c-header__txt { font-size: 12px !important; line-height: 1.5 !important; padding: 0 10px; }

  /* recruitment box on the top page: the four study buttons 11px -> 12.5px */
  .rc-studies a { font-size: 12.5px !important; }

  /* "Information" notice on the top page: 36px red text -> readable size, full width */
  .c-contact__txt[style] { font-size: 18px !important; line-height: 1.6 !important; padding: 0 12px; }
  .c-contact__txt[style] a { font-size: 18px !important; }

  /* career list: the two robots sit below the list instead of over the company names */
  .c-members__course__img { position: static !important; display: inline-block; margin: 18px 12px 0 0; vertical-align: bottom; }
  .c-members__course__img img { width: 60px !important; }

  /* student numbers: tables and charts fit the screen width (no sideways scrolling) */
  .wl-table { min-width: 0 !important; table-layout: fixed; }
  .wl-table th, .wl-table td { font-size: 12.5px !important; padding: 6px 2px !important; }
  .wl-table thead th { font-size: 12px !important; min-width: 0 !important; white-space: normal !important; word-break: break-all; line-height: 1.3; }
  .wl-table thead th:first-child, .wl-table tbody th { width: 5.6em; min-width: 0 !important; font-size: 12px !important; white-space: nowrap !important; }
  .wl-chart { padding: 8px 6px 4px !important; }
  .wl-chart__inner { min-width: 0 !important; height: 320px !important; }
  .wl-chart__inner--short { height: 220px !important; }

  /* gallery: the caption window when an icon is tapped is opaque, fits long English titles and scrolls if needed */
  .c-mc__popup { background-color: #ffffff !important; height: auto !important; min-height: 30vh; max-height: 80vh; overflow-y: auto; padding: 16px 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
  .c-mc__popup__inner { height: auto !important; min-height: 30vh; }
  .c-mc__popup__inner img { max-width: 60vw; }
  .c-mc__popup__inner p { font-size: 15px !important; line-height: 1.6; padding: 8px 10px 0; color: #111111 !important; }
  .c-overlay.is-active__popup { background: rgba(0, 0, 0, .35); opacity: 1; }
}
