:root {
  --color-bg: #fbfaf8;
  --color-text: #262421;
  --color-muted: #6b6863;
  --color-accent: #7a1f2b;
  --color-accent-light: #f4e7e8;
  --color-border: #e3e0da;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --max-width: 46rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

header {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

nav a:hover {
  color: var(--color-accent);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-text);
}

h1 {
  font-size: 2.1rem;
  margin: 0 0 1.5rem;
}

h2 {
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
}

h2:first-of-type {
  margin-top: 0;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.35rem;
}

a {
  color: var(--color-accent);
}

strong {
  color: var(--color-text);
}

.announcement {
  background: var(--color-accent-light);
  border-left: 3px solid var(--color-accent);
  padding: 0.9rem 1.1rem;
  border-radius: 0 4px 4px 0;
  color: var(--color-text);
  font-size: 0.95rem;
}

.material-section {
  margin-bottom: 2.5rem;
}

.material-section ul {
  list-style: none;
  padding-left: 0;
}

.material-section li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.material-section li:last-child {
  border-bottom: none;
}

.empty-note {
  color: var(--color-muted);
  font-style: italic;
  font-size: 0.95rem;
}

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--color-border);
}

footer a {
  color: var(--color-muted);
}

main.wide {
  max-width: 68rem;
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
}

table.schedule {
  border-collapse: collapse;
  width: 100%;
  min-width: 44rem;
  font-size: 0.93rem;
}

table.schedule th,
table.schedule td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--color-border);
}

table.schedule thead th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

table.schedule tbody tr:nth-child(even) {
  background: #f5f3ef;
}

table.schedule .col-num {
  width: 3rem;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

table.schedule .col-topic {
  width: 22%;
}

table.schedule .col-readings,
table.schedule .col-concepts {
  width: 25%;
}

table.schedule .col-slides {
  width: 15%;
}

