/* sundayvisit.com.au/guides/: the large print trivia, Christmas trivia and word scramble pages (23 Nov 2026).
   Loaded after guides.css and puzzles.css (which give the buttons, cards, answers and the one-per-page print
   rules). Nothing under 18px on screen. On paper: questions at 17 point and choices at 16 point, ten to an A4
   page; scrambled words at 26 point with a line to write on. Chrome 78: no flex gap. */

.qz-list { margin: 0 0 1.25rem; padding: 0 0 0 2.25rem; }
.qz-list > li { margin: 0 0 1.25rem; padding-left: .25rem; font: 600 1.25rem/1.45 var(--sans); }
.sv-guide ul.qz-choices { display: flex; flex-wrap: wrap; margin: .35rem -1.5rem 0 0; padding: 0; list-style: none; font: 400 1.1875rem/1.4 var(--sans); }
.sv-guide .qz-choices li { margin: 0 1.5rem .25rem 0; padding: 0; white-space: nowrap; }
/* A choice wider than its line (a 320px phone, bigger text, a long answer) wraps inside itself with a hanging indent,
   so the wrapped words line up under the first word, not under "a)"; a single word too long for the line breaks
   (SVWD-29). A choice that fits still moves to a new line whole, so short choices look as before. */
.sv-guide .qz-choices li { white-space: normal; overflow-wrap: break-word; max-width: calc(100% - 1.5rem); padding-left: 1.3em; text-indent: -1.3em; }
.qz-letter { font-weight: 700; color: var(--pine); }

/* The answers: one short list per round. */
.qz-answer-list { margin: 0; padding: 0 0 0 1.75rem; font: 400 1.125rem/1.55 var(--sans); }

/* Word scramble: the jumbled word in big spaced letters, then a line to write the answer on. */
.sv-guide ol.ws-list { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.ws-list li { display: flex; flex-wrap: wrap; align-items: baseline; margin: 0 0 1rem; }
.ws-n { width: 2.5rem; font: 600 1.25rem/1 var(--sans); color: var(--ink-soft); }
.ws-jumble { min-width: 12rem; margin-right: 1rem; font: 700 1.625rem/1.3 var(--sans); letter-spacing: .3em; color: var(--ink); }
.ws-line { flex: 1 1 10rem; min-width: 10rem; height: 1.75rem; border-bottom: 2px solid var(--rule); }
.ws-count { margin-left: .75rem; font: 400 1.125rem/1 var(--sans); color: var(--ink-soft); }

/* SVWD-29: on a phone the list's and the hanging indent's paddings stay at their standard-text sizes (30px, 25px) as
   text grows; in rem/em they doubled at 200% text and broke choices mid-word (Distro's review of #1262). */
@media (max-width: 30rem) {
  .sv-guide ol.qz-list { padding-left: 30px; }
  .sv-guide .qz-choices li { padding-left: 25px; text-indent: -25px; }
}

/* SVWD-30: with 200% text on a phone the choices' and the scramble's rem margins stay at their standard-text px sizes,
   and the text grows only as far as the longest everyday word (Melbourne, Queensland) still fits whole on the line.
   Standard text keeps its sizes. Chrome 78, which has no min(), keeps the rem sizes. */
@media (max-width: 30rem) {
  .sv-guide ol.qz-list > li { padding-left: .25rem; padding-left: min(.25rem, 4px); }
  .sv-guide ul.qz-choices { margin-right: -24px; font-size: 1.1875rem; font-size: min(1.1875rem, max(19px, calc(13.5vw - 19px))); }
  .sv-guide .qz-choices li { margin-right: 24px; max-width: calc(100% - 24px); }
  .ws-jumble { min-width: 12rem; min-width: min(12rem, 192px); margin-right: 1rem; margin-right: min(1rem, 16px); font-size: 1.625rem; font-size: min(1.625rem, max(26px, calc(9.8vw - 10px))); }
  .ws-line { min-width: 10rem; min-width: min(10rem, 160px); }
}

/* SVWD-33: the same on wider screens: with enlarged text the scramble's min-width, margin and line stay at their
   standard-text px sizes (the px caps are the 110% root's, from 768px; below that the rem size is the smaller), and
   its letters grow only as far as the longest word (ROUAKOBAKR, about 10em wide with its spacing) still fits on the
   line, with room for a desktop scroll bar. Standard text keeps its sizes. Chrome 78, which has no min(), keeps the
   rem sizes. */
@media (min-width: 30.0625rem) {
  .ws-jumble { min-width: 12rem; min-width: min(12rem, 211.2px); margin-right: 1rem; margin-right: min(1rem, 17.6px); font-size: 1.625rem; font-size: min(1.625rem, max(26px, calc(10vw - 19px))); }
  .ws-line { min-width: 10rem; min-width: min(10rem, 176px); }
}

@media (min-width: 40rem) {
  .qz-list > li { font-size: 1.375rem; }
  .ws-jumble { min-width: 16rem; min-width: min(16rem, 281.6px); font-size: 2rem; font-size: min(2rem, max(32px, calc(10vw - 30px))); }
}

@media print {
  .qz-list { padding-left: 9mm; margin: 0; }
  .qz-list > li { margin: 0 0 3.2mm; font-size: 17pt; line-height: 1.25; }
  .sv-guide ul.qz-choices { margin-top: .5mm; font-size: 16pt; line-height: 1.3; }
  /* Paper keeps each choice on one line with no hanging indent, exactly as before SVWD-29 (the PDFs match). */
  .sv-guide .qz-choices li { margin-right: 9mm; white-space: nowrap; max-width: none; padding-left: 0; text-indent: 0; }
  .qz-letter { color: #000; }
  /* All the answers on one A4 page: three short lists to a row. */
  .wsp-answers .wsp-answer { max-width: 57mm; margin: 0 4mm 5mm 0; }
  .qz-answer-list { padding-left: 7mm; font-size: 12pt; line-height: 1.3; }
  .sv-guide .qz-answer-list li { margin: 0; }
  .ws-list li { margin: 0 0 5.5mm; }
  .ws-n { width: 10mm; font-size: 16pt; color: #333; }
  .ws-jumble { min-width: 80mm; font-size: 26pt; letter-spacing: .25em; color: #000; }
  .ws-line { height: 9mm; border-bottom: 1pt solid #555; }
  .ws-count { font-size: 13pt; color: #333; }
}
