/* sundayvisit.com.au/guides/: the finish the saying and memory games printables (3 Dec 2026, PR E).
   Loaded after guides.css and puzzles.css (which give the buttons, the cards and the one-per-page print rules).
   Nothing under 18px on screen. On paper: sayings and word lists at 20 point or larger, the word cards at 28 point.
   Chrome 78: no flex gap, and a plain value before any clamp(). */

/* Finish the saying: each start, its ending in brackets on screen, and a line to write on paper. */
.sy-list { margin: 0 0 1.25rem; padding: 0 0 0 2.5rem; }
.sy-list > li { margin: 0 0 .75rem; padding-left: .25rem; font: 600 1.375rem/1.5 var(--sans); }
.sy-ans { font-weight: 400; color: var(--pine); }
.sy-line { display: none; }
/* The page already shows each ending, so the printed answers sheet is for paper only. */
.sy-answers { display: none; }
.sy-answer-list { margin: 0; padding: 0 0 0 2.5rem; font: 400 1.125rem/1.55 var(--sans); }

/* Memory games: the word cards, the shopping list ideas and the categories. */
.mem-sheet h3 { margin: 1.25rem 0 .75rem; font-size: 1.25rem; }
.mem-cards { display: grid; grid-template-columns: 1fr 1fr; grid-gap: .75rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.sv-guide .mem-cards li.mem-card { display: flex; align-items: center; justify-content: center; margin: 0; padding: 1.1rem .25rem; min-height: 5.5rem; border: 2px dashed #9aa3ad; border-radius: 12px; background: #fffdf8; text-align: center; font: 700 1.375rem/1.2 var(--sans); letter-spacing: .04em; color: var(--ink); overflow-wrap: break-word; }
.mem-shop { columns: 2; margin: 0 0 1rem; padding: 0; list-style: none; font: 400 1.25rem/1.8 var(--sans); }
.sv-guide .mem-shop li { margin: 0; break-inside: avoid; }
.mem-shop strong { display: inline-block; width: 1.75rem; color: var(--pine); }
.mem-cats { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font: 400 1.25rem/1.3 var(--sans); }
.mem-cats th, .mem-cats td { padding: .55rem .5rem; border-bottom: 1px solid #9aa3ad; text-align: left; }
.mem-cats thead th { border-bottom: 2px solid var(--ink); font-weight: 600; }
.mem-cats tbody th { font-weight: 400; }
.mem-box { width: 3.5rem; }
.mem-box::before { content: ""; display: block; width: 2.25rem; height: 2.25rem; border: 2px solid var(--ink); border-radius: 4px; }
@media (min-width: 40rem) {
  .sv-guide .mem-cards li.mem-card { font-size: 1.75rem; min-height: 6.5rem; }
  .mem-cats { font-size: 1.375rem; }
}
@media (max-width: 30rem) {
  .sy-list { padding-left: 30px; }
  .mem-shop { columns: 1; }
  .sv-guide .mem-cards li.mem-card { font-size: 1.25rem; letter-spacing: 0; padding-left: 0; padding-right: 0; }
}

@media print {
  .sy-guide-band { display: none !important; }
  .sy-list { margin: 0; padding-left: 17mm; }
  .sy-list > li { margin: 0 0 4.2mm; font-size: 20pt; line-height: 1.3; }
  .sy-ans { display: none; }
  .sy-line { display: inline-block; width: 70mm; height: 1em; border-bottom: 1.2pt solid #555; vertical-align: baseline; margin-left: 3mm; }
  .sy-answers { display: block; break-before: page; }
  .sy-answer-cols { columns: 2; column-gap: 10mm; }
  .sy-answers .wsp-answer { display: block; width: auto; max-width: none; margin: 0 0 6mm; break-inside: avoid; }
  .sy-answers .wsp-answer h3 { margin: 0 0 2mm; font-size: 16pt; }
  .sv-guide .sy-answer-list li + li, .sv-guide .sy-list li + li { margin-top: 0; }
  .sy-answer-list { padding-left: 11mm; font-size: 15pt; line-height: 1.4; }
  /* A sheet that runs over several pages: each page of it is its own sheet. */
  .wsp-puzzle.mem-multi { break-inside: auto; }
  .mem-sheet { break-after: page; }
  .mem-sheet:last-of-type { break-after: auto; }
  .mem-sheet h3 { margin: 0 0 3mm; font-size: 20pt; }
  .mem-cards { grid-gap: 4mm; margin: 0; }
  .sv-guide .mem-cards li.mem-card { min-height: 52mm; padding: 0; border: 1.2pt dashed #666; border-radius: 3mm; background: none; font-size: 28pt; }
  .mem-shop { font-size: 22pt; line-height: 1.7; }
  .mem-cats { font-size: 20pt; }
  .mem-cats th, .mem-cats td { padding: 3.5mm 2mm; border-bottom: .75pt solid #666; }
  .mem-box::before { width: 10mm; height: 10mm; border: 1.5pt solid #000; }
  .mem-cats .mem-write { width: 60mm; }
}
