:root {
  --navy: #000033;
  --blue: #0066cc;
  --green: #b0fd64;
  --lavender: #ccccff;
  --text: #252525;
  --muted: #5b6470;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 16px/1.5 Calibri, Arial, Helvetica, sans-serif;
}

a {
  color: #064f9b;
}

a:hover {
  text-decoration: none;
}

.site-header,
.main-nav,
.sub-nav,
main,
.site-footer {
  width: min(100% - 32px, 900px);
  margin-inline: auto;
}

.site-header {
  padding: 14px 0;
  text-align: center;
}

.site-header img {
  display: block;
  width: 100%;
  max-width: 825px;
  height: auto;
  margin: 0 auto;
}

.nav-shell {
  background: var(--navy);
}

.main-nav,
.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 0;
  list-style: none;
}

.main-nav {
  margin-bottom: 0;
}

.main-nav a {
  display: block;
  padding: 12px 0;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a[aria-current="page"] {
  color: var(--green);
}

.sub-nav {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 8px;
  padding-bottom: 8px;
}

.sub-nav a {
  color: #555;
  text-decoration: none;
}

.sub-nav a[aria-current="page"] {
  color: #000;
  font-weight: 700;
}

main {
  padding: 18px 0 36px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.15;
  text-align: center;
}

.directory {
  width: 100%;
  border-collapse: collapse;
}

.directory th,
.directory td {
  padding: 12px 14px;
  vertical-align: top;
}

.directory th {
  width: 35%;
  text-align: right;
  font-size: 1.05rem;
  font-style: italic;
}

.directory tr:nth-child(odd) {
  background: var(--lavender);
}

.committee-title,
.panel-title {
  margin: 22px 0 0;
  padding: 10px 14px;
  background: var(--blue);
  color: #fff;
  font-size: 1.25rem;
  text-align: center;
}

.committee {
  margin: 0;
  padding: 18px;
  text-align: center;
}

.committee:nth-of-type(odd) {
  background: #f4f4ff;
}

.note {
  text-align: center;
  color: var(--muted);
}

.talk-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.talk-list li {
  padding: 16px 14px;
  border-bottom: 1px solid #ddd;
}

.talk-list strong,
.talk-list span {
  display: block;
}

.talk-list span {
  margin-top: 5px;
  color: var(--muted);
}

.full-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.site-footer {
  padding: 24px 0 40px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}

.site-footer img {
  display: block;
  width: min(100%, 790px);
  height: auto;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .site-header,
  .main-nav,
  .sub-nav,
  main,
  .site-footer {
    width: min(100% - 22px, 900px);
  }

  .main-nav {
    justify-content: center;
  }

  .sub-nav {
    display: block;
    text-align: center;
  }

  .sub-nav li + li {
    margin-top: 6px;
  }

  .directory th,
  .directory td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .directory th {
    padding-bottom: 0;
  }

  .directory td {
    padding-top: 4px;
  }
}
