/* Only the Christmas regulation: shared legal-page styles remain the template. */
.christmas-rules-page .christmas-rules-sublist > li::marker {
  content: counter(list-item, lower-alpha) ") ";
}
.christmas-rules-table { margin-block: 20px; }
.christmas-rules-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.christmas-rules-table th,
.christmas-rules-table td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.christmas-rules-table thead { background: #e6eddf; }
.christmas-rules-table tbody { background: #fff; }
.christmas-rules-table th:first-child { width: 9%; }
.christmas-rules-return { margin-top: 8px; }
/* Keep the table semantics and every date readable without page overflow. */
@media (max-width: 599px) {
  .christmas-rules-table { margin-left: -1.8rem; }
  .christmas-rules-table table,
  .christmas-rules-table tbody,
  .christmas-rules-table tr { display: block; }
  .christmas-rules-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .christmas-rules-table tbody { background: transparent; }
  .christmas-rules-table tbody tr + tr { margin-top: 16px; }
  .christmas-rules-table tbody th,
  .christmas-rules-table tbody td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; width: auto; padding: 10px; background: #fff; }
  .christmas-rules-table tbody th:first-child { width: auto; }
  .christmas-rules-table tbody th { background: #e6eddf; }
  .christmas-rules-table tbody td { border-top: 0; }
  .christmas-rules-table tbody th::before,
  .christmas-rules-table tbody td::before { content: attr(data-label); font-weight: 700; }
}
