/* Overlay stylesheet for the historical-archive republish. Loaded after the
   original site.css so it only refines spacing/typography/responsiveness;
   it does not replace the original theme. */

* { box-sizing: border-box; }

body {
  max-width: 900px;
  margin: 0 auto !important;
  line-height: 1.6;
  font-size: 15px;
}

img { max-width: 100%; height: auto; }

table.lessons {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
}

.archive-notice {
  background: #fff7e0;
  border-bottom: 3px solid #e0b400;
  color: #5a4600;
  font-size: 13px;
  padding: 8px 16px;
  text-align: center;
}

.archive-quicknav {
  list-style: none;
  margin: 6px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  justify-content: flex-end;
}

.archive-ticker {
  font-size: 13px;
  padding: 6px 4px;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  table.lessons, table.lessons tr, table.lessons th, table.lessons td {
    display: block;
    width: 100% !important;
  }
  .archive-quicknav { justify-content: flex-start; }
}

.archive-footer-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  padding: 16px 8px 30px;
}
