/* Loaded only at <=780px. Keep intrinsic grid/flex widths inside the page gutters. */
.wrap { overflow-wrap: anywhere; }
.calendar-stand { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calendar-leaf,
.calendar-leaf > *,
.date-ruler > *,
.date-gutter > *,
.reading-links > *,
.reading-links a > span,
.footer-inner > * { min-width: 0; max-width: 100%; }
.code-line { width: 100%; }
.code-word { white-space: nowrap; }
.reading-links,
.footer-inner { grid-template-columns: minmax(0, 1fr); }
.header-pages,
.footer-pages,
.shop-link { min-width: 0; max-width: 100%; }
.reading-links i,
.shop-link i { flex-shrink: 0; }

@media (max-width: 420px) {
  /* Reserve the first screen for the complete H1 and both selectable codes. */
  .home .panorama { margin-top: 16px; }
  .home .opening { padding-top: 16px; }
  .home .opening .intro p { line-height: 1.5; }
  .home .offer-topline { margin-top: 12px; padding-bottom: 9px; }
  .home .calendar-stand { padding-top: 16px; }
  .discount { font-size: clamp(2.5rem, 12.3vw, 3rem); white-space: nowrap; }
}
