/* sundayvisit.com.au/guides/christmas-bingo-for-seniors/: Christmas bingo cards (2 Dec 2026, SVWD-38).
   Loaded after bingo.css, whose cards, caller's lists and print rules it uses. Some Christmas words are longer than
   the main bingo page's six letters: on paper every one fits a square whole at 18 point, and on screen a word too long
   for its square breaks at a syllable (a soft hyphen in the page), never across the square's edge.
   Chrome 78: no flex gap, and a plain value before any clamp(). */

.xbingo-page .bingo-grid.bingo-words { hyphens: manual; }
.xbingo-page .bingo-grid.bingo-words td { overflow-wrap: break-word; word-wrap: break-word; line-height: 1.1; }

/* The star keeps inside its square when 200% text makes the square narrow (the main bingo page's star does not). */
.xbingo-page .bingo-star-shape { max-width: 100%; height: auto; }

/* A caller's sheet holds one theme: its words in two columns, three where there is room. */
.xbingo-page .bingo-lists { grid-template-columns: 1fr; max-width: 38rem; }

@media (min-width: 64rem) {
  /* The longer words keep a whole line only at a card's full width: one card to a row, as at 40rem. */
  .xbingo-page .bingo-pair { grid-template-columns: 1fr; max-width: 38rem; }
  .xbingo-page .bingo-pair .bingo-cut { display: flex; }
  .xbingo-page .bingo-grid.bingo-words { font-size: 1.25rem; }
  .xbingo-page .bingo-lists { grid-template-columns: 1fr; max-width: 38rem; }
}

@media print {
  .xbingo-page .bingo-lists { display: block; max-width: none; }
  .xbingo-page .bingo-list h3 { margin: 0 0 4mm; font-size: 20pt; }
  .xbingo-page .bingo-list ul { columns: 3; font-size: 20pt; line-height: 1.6; }
  .xbingo-guide-band { display: none !important; }
}
