/* Simple, clean styling modeled after UW course pages */
:root {
  --text: #1f2937;
  --muted: #4b5563;
  --bg: #ffffff;
  /* UW brand-inspired colors */
  --brand: #4b2e83;       /* UW Purple */
  --brand-dark: #39275b;  /* Darker purple */
  --gold: #b7a57a;        /* UW Gold (accent) */
  --border: #e5e7eb;
  --link: #4b2e83;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji"; color: var(--text); background: var(--bg); }

.container { max-width: 980px; margin: 0 auto; padding: 0 16px; }

.site-header { background: var(--brand); color: white; padding: 28px 0; border-bottom: 4px solid var(--gold); }
.site-header h1 { margin: 0 0 4px; font-size: 28px; }
.site-header .subtitle { margin: 0 12px 0 0; opacity: 0.95; font-size: 15px; }
.top-nav { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 16px; }
.top-nav a { color: #ffffff; text-decoration: none; padding: 0; border: none; }
.top-nav a:hover { text-decoration: underline; }

main { padding: 28px 0 48px; }
section { margin-bottom: 36px; }
section h2 { margin: 0 0 10px; font-size: 22px; }

.key-list { margin: 8px 0 0 0; padding-left: 20px; }
.note { color: var(--muted); font-size: 14px; }

.lecture-list { padding-left: 20px; }
.lecture-list li { margin: 10px 0; }
.lecture-date { font-weight: 600; margin-right: 6px; }
.refs { font-size: 14px; color: var(--muted); }
.refs a { color: var(--link); }

.site-footer { border-top: 4px solid var(--gold); padding: 18px 0; color: var(--muted); font-size: 14px; }

/* Lectures table styling (UW-like) */
.lectures-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.lectures-table th, .lectures-table td { border: 1px solid var(--border); padding: 10px 12px; vertical-align: top; }
.lectures-table thead th { background: #f3f4f6; text-align: left; font-weight: 600; }
.lectures-table tbody tr:nth-child(even) { background: #fcfdff; }
.lectures-table a { color: var(--link); text-decoration: none; }
.lectures-table a:hover { text-decoration: underline; }
.lectures-table .no-class td { color: #6b7280; font-style: italic; background: #f9fafb; }
.lectures-table .tba-row td { background: #f8fafc; color: #4b5563; font-style: italic; }
