/* sundayvisit.com.au/guides/large-print-bingo-cards-for-seniors/: printable large print bingo cards (23 Nov 2026).
   Loaded after guides.css and puzzles.css (which give the buttons, cards and the one-per-page print rules).
   Nothing under 18px on screen. On paper a page holds two cards, one above the other with a line to cut along:
   numbers at 28 point, words at 18 point, the letters at 20 point and every other line at 14 point or larger.
   Chrome 78: no flex gap, and a plain value before any clamp(). */

/* Two cards to a page: one above the other on a phone and on paper, side by side on a wide screen. On a phone a
   card reaches out to the edges of the page's card, so that every word sits on one line of its square. */
.bingo-pair { display: grid; grid-template-columns: 1fr; grid-gap: 1.25rem; }
.bingo-card { margin: 0 -0.9rem; padding: .25rem; border-radius: 16px; background: var(--card); box-shadow: 0 1px 0 var(--rule), 0 14px 32px -24px rgba(19, 36, 59, .35); }
.bingo-card-name { margin: 0 0 .5rem; padding: 0 .75rem; font-size: 1.25rem; font-weight: 600; }

.bingo-grid, .bingo-caller { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; border: 3px solid var(--ink); background: #fffdf8; color: var(--ink); }
.bingo-grid { font: 600 1.25rem/1.1 var(--sans); }
.bingo-grid th, .bingo-caller th { padding: .35rem 0; border: 1px solid #9aa3ad; border-bottom: 3px solid var(--ink); font: 600 1.25rem/1 var(--sans); }
.bingo-grid td { height: 3.25rem; padding: 0; border: 1px solid #9aa3ad; vertical-align: middle; }
/* A word square: every word is six letters or fewer, so each fits on one line, at the smallest text the site shows. */
.bingo-grid.bingo-words { font-size: 1.125rem; font-weight: 500; hyphens: auto; }
.bingo-grid.bingo-words td { height: 3.75rem; }

/* The centre square: a star, and no word. */
.bingo-star-shape { display: block; width: 1.9rem; height: 2rem; margin: 0 auto; }
.bingo-star-shape polygon { fill: var(--sun); stroke: var(--ring); stroke-width: 4; stroke-linejoin: round; }

/* The line to cut along, between the two cards of a page. */
.bingo-cut { display: flex; align-items: center; margin: 0; color: var(--ink-soft); font-size: 1.125rem; }
.bingo-cut::before, .bingo-cut::after { content: ""; flex: 1 1 0; border-top: 2px dashed #9aa3ad; }
.bingo-cut span { padding: 0 .75rem; }

/* The caller's sheet: the numbers laid out as the cards are, in the same five columns. */
.bingo-caller { margin: 0 0 1.25rem; font: 600 1.25rem/1 var(--sans); }
.bingo-caller td { height: 2.5rem; border: 1px solid #9aa3ad; }

/* The caller's lists, one for each theme of the word cards. */
.bingo-lists { display: grid; grid-template-columns: 1fr; grid-gap: 1rem; }
.bingo-list { padding: .75rem 1rem; border-radius: 16px; background: var(--card); box-shadow: 0 1px 0 var(--rule); }
.bingo-list h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.bingo-list ul { margin: 0; padding: 0 0 0 1.5rem; columns: 2; font-size: 1.125rem; line-height: 1.8; }

@media (min-width: 40rem) {
  .bingo-pair, .bingo-caller, .bingo-lists { max-width: 38rem; }
  .bingo-card { margin: 0; padding: .75rem; }
  .bingo-card-name { padding: 0; }
  .bingo-grid { font-size: 1.5rem; }
  .bingo-grid td { height: 4.5rem; padding: .2rem; }
  .bingo-grid.bingo-words { font-size: 1.25rem; }
  .bingo-star-shape { width: 2.4rem; height: 2.5rem; }
  .bingo-caller td { height: 2.75rem; }
  .bingo-list ul { columns: 3; }
}

@media (min-width: 64rem) {
  /* Side by side, the squares are narrower again, and a line to cut along belongs to the printed page. */
  .bingo-pair { grid-template-columns: 1fr 1fr; max-width: none; }
  .bingo-pair .bingo-cut { display: none; }
  .bingo-grid.bingo-words { font-size: 1.125rem; }
  .bingo-lists { grid-template-columns: 1fr 1fr; max-width: none; }
}

@media print {
  .bingo-page .wsp-how { margin-bottom: 4mm; }
  .bingo-pair { display: block; }
  .bingo-card { margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .bingo-card-name { margin: 0 0 2mm; padding: 0; font-size: 16pt; }
  .bingo-grid { width: 100%; font-size: 28pt; border: 2.5pt solid #000; background: none; color: #000; }
  .bingo-grid th { padding: 0; height: 10mm; border: .75pt solid #888; border-bottom: 2.5pt solid #000; font-size: 20pt; }
  .bingo-grid td { height: 16mm; padding: 0; border: .75pt solid #888; }
  .bingo-grid.bingo-words { font-size: 18pt; }
  /* The word squares' taller minimum on screen (in rem, which is larger where the site's text is larger) gives way on paper. */
  .bingo-grid.bingo-words td { height: 16mm; }
  .bingo-star-shape { width: 12mm; height: 12.5mm; }
  .bingo-star-shape polygon { stroke: #000; }
  .bingo-cut { margin: 4mm 0; color: #444; font-size: 14pt; }
  .bingo-cut::before, .bingo-cut::after { border-top: 1.5pt dashed #888; }
  .bingo-cut span { padding: 0 4mm; }
  .bingo-caller { width: 100%; font-size: 22pt; border: 2.5pt solid #000; background: none; color: #000; }
  .bingo-caller th { padding: 0; height: 12mm; border: .75pt solid #888; border-bottom: 2.5pt solid #000; font-size: 22pt; }
  .bingo-caller td { height: 13mm; border: .75pt solid #888; }
  .bingo-lists { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 5mm; }
  .bingo-list { padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .bingo-list h3 { margin: 0 0 2mm; font-size: 14pt; }
  .bingo-list ul { padding-left: 6mm; columns: 1; font-size: 14pt; line-height: 1.4; }
  /* The guides' lists put space between their items (guides.css, .sv-guide li + li): a caller's list needs its lines close. */
  .sv-guide .bingo-list li + li { margin-top: 0; }
  /* The last page is the last: nothing forces a break after it, and the sources stay on screen. */
  .bingo-last { break-after: auto; }
  .bingo-sources-band { display: none !important; }
}
