/* table-fix.css — RebeccaLForbes.com
   June 2026: fixes single-word mid-word breaking in the first column of
   .simple tables (e.g. "Discursi/ve", "Institut/ional" on artifact-formation.html).

   Root cause: a global word-break: break-all / overflow-wrap: anywhere rule in
   site.css reaches into table cells. This file overrides that reach for
   .simple tables only, so no other element on the site is affected. Scoped and
   load-order-safe: load this AFTER site.css in the <head> and it wins on conflict.

   Add to each page that contains a .simple table, immediately after the site.css
   link in <head>:
     <link rel="stylesheet" href="table-fix.css">
*/

/* Keep category keywords on one line and stop aggressive splitting in the
   first column. The first column holds short single-word labels, so nowrap is
   safe; if a future label needs two words it will still wrap on the space,
   never mid-word. */
table.simple td:first-child,
table.simple th:first-child {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* Defensive: ensure no cell in a .simple table splits words mid-character,
   even if a global rule tries to. Whole-word wrapping on long content is fine. */
table.simple td,
table.simple th {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
