/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #222;
  background: #fff;
  overflow-y: scroll;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: #1a2744;
  text-decoration: underline;
  text-decoration-color: #aab;
  text-underline-offset: 2px;
}
a:hover {
  text-decoration-color: #1a2744;
}

/* ---- Header ---- */
.site-header {
  background: #1a2744;
  color: #fff;
  padding: 20px 0 20px;
}
.site-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.site-title:hover {
  color: #fff;
  text-decoration: none;
}
.site-subtitle {
  font-size: 13px;
  color: #b0bdd0;
  margin-top: 1px;
}

/* ---- Navigation ---- */
.site-nav {
  background: #f0f1f4;
  border-bottom: 1px solid #d8dbe0;
  overflow: hidden;
}
.site-nav .container {
  display: flex;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.nav-links li {
  margin: 0;
}
.nav-links li a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1;
  color: #1a2744;
  text-decoration: none;
  font-weight: 500;
}
.nav-links li a:hover,
.nav-links li.active a {
  background: #dcdee4;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #fff;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  position: absolute;
}
.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}
.nav-toggle-label span::before {
  content: "";
  top: -7px;
}
.nav-toggle-label span::after {
  content: "";
  top: 7px;
}

@media (max-width: 640px) {
  .site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-toggle-label {
    display: block;
  }
  .site-subtitle {
    display: none;
  }
  .nav-toggle ~ .site-nav {
    display: none;
  }
  .nav-toggle:checked ~ .site-nav {
    display: block;
  }
  .nav-toggle:checked ~ .site-nav .nav-links {
    display: flex;
    flex-direction: column;
  }
}

/* ---- Main Content ---- */
main.container {
  padding: 24px 24px 0;
}

h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 12px;
}
h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a2744;
  margin-top: 32px;
  margin-bottom: 8px;
  padding-top: 20px;
  border-top: 1px solid #e4e7ec;
}
h3 {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin-top: 24px;
  margin-bottom: 6px;
}

p {
  margin-bottom: 12px;
}

ul, ol {
  margin-bottom: 12px;
  padding-left: 24px;
}
li {
  margin-bottom: 3px;
}

hr {
  border: none;
  border-top: 1px solid #e4e7ec;
  margin: 24px 0;
}

/* ---- Tables ---- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
  border-top: 1px solid #eee;
}
thead th {
  text-align: left;
  padding: 8px 12px;
  background: #f0f1f4;
  border-bottom: 2px solid #d8dbe0;
  font-weight: 600;
  color: #1a2744;
}
tbody td {
  padding: 6px 12px;
  border-bottom: 1px solid #eee;
}
tbody tr:hover {
  background: #f8f9fb;
}

/* ---- Lead paragraph (homepage) ---- */
.lead {
  font-size: 19px;
  line-height: 1.65;
}

/* ---- Action links (reddish buttons) ---- */
.action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.action-links a {
  display: inline-block;
  padding: 10px 20px;
  background: #8b2332;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
}
.action-links a:hover {
  background: #6e1a27;
  color: #fff;
}
.action-links a.secondary {
  background: transparent;
  border: 2px solid #1a2744;
  padding: 8px 18px;
  color: #1a2744;
}
.action-links a.secondary:hover {
  background: #1a2744;
  color: #fff;
}
/* ---- Award sections ---- */
.committee {
  font-size: 14px;
  color: #555;
  margin-top: 2px;
}
.committee-note {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

/* ---- Cards ---- */
.card {
  background: #f7f8fa;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 16px 0;
}
.card-accent {
  border-left: 4px solid #8b2332;
}
.card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a2744;
  margin: 0 0 8px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.card-grid .card {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.card > :last-child {
  margin-bottom: 0;
}
.card-winner .person-role {
  margin-bottom: 8px;
}
.card-winner p {
  margin-bottom: 8px;
}
.person-name,
.card-big {
  font-size: 16px;
  font-weight: 600;
  color: #1a2744;
  margin: 5px 0 1px;
}
.person-inst,
.card-sub {
  font-size: 13px;
  color: #666;
}
.card .action-links {
  margin: 12px 0 0;
}
a.card-link {
  display: block;
  text-decoration: none;
  color: #222;
}
a.card-link:hover {
  border-color: #8a93a3;
  background: #f0f2f6;
}
.person-links {
  margin-top: auto;
  padding-top: 8px;
}
.person-links .icon-link:first-child {
  margin-left: 0;
}

/* ---- Key/value metadata ---- */
.meta {
  margin: 0;
  padding: 0;
}
.meta-row {
  display: flex;
  gap: 14px;
  padding: 5px 0;
}
.meta-row + .meta-row {
  border-top: 1px solid #e7e9ee;
}
.meta-row dt {
  flex: 0 0 96px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a93a3;
  padding-top: 3px;
}
.person-role,
.card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a93a3;
}
.meta-row dd {
  flex: 1;
  margin: 0;
  font-size: 15px;
  color: #333;
}
.card .committee-note {
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px solid #e7e9ee;
  font-size: 12px;
  color: #99a0ac;
}

/* ---- Document chips ---- */
.doc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #1a2744;
  background: #eef0f4;
  border: 1px solid #dfe3ea;
  border-radius: 999px;
  text-decoration: none;
}
.doc-chip svg {
  flex-shrink: 0;
  opacity: 0.65;
}
.doc-chip:hover {
  background: #1a2744;
  color: #fff;
  border-color: #1a2744;
  text-decoration: none;
}
.doc-chip:hover svg {
  opacity: 1;
}

/* ---- Accordions ---- */
details.acc {
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  margin: 8px 0;
  background: #fff;
}
details.acc > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px 12px 38px;
  font-size: 16px;
  font-weight: 600;
  color: #1a2744;
  position: relative;
  border-radius: 5px;
}
details.acc[open] > summary {
  border-radius: 5px 5px 0 0;
}
details.acc > summary::-webkit-details-marker {
  display: none;
}
details.acc > summary::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #8b2332;
  border-bottom: 2px solid #8b2332;
  transform: translateY(-70%) rotate(-45deg);
  transition: transform 0.15s ease;
}
details.acc[open] > summary::before {
  transform: translateY(-30%) rotate(45deg);
}
details.acc > summary:hover {
  background: #f7f8fa;
  text-decoration: none;
}
details.acc[open] > summary {
  background: #f7f8fa;
  border-bottom: 1px solid #e4e7ec;
}
.acc-body {
  padding: 12px 16px;
}
.acc-body > :last-child {
  margin-bottom: 0;
}
.acc-body table {
  margin: 0;
  border-top: none;
}

/* ---- Icon links (officer contact) ---- */
.icon-link {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  color: #1a2744;
  text-decoration: none;
  opacity: 0.5;
}
.icon-link:hover {
  opacity: 1;
}
.icon-link svg {
  vertical-align: middle;
}

/* ---- Collapsible sections ---- */
details {
  margin-top: 8px;
}
details summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: #1a2744;
  padding: 6px 0;
}
details summary:hover {
  text-decoration: underline;
}

/* ---- Footer ---- */
.site-footer {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid #d8dbe0;
}
.site-footer p {
  font-size: 13px;
  color: #888;
  text-align: center;
}

/* ---- Print ---- */
@media print {
  .site-header, .site-nav, .site-footer { display: none; }
  main { padding: 0; }
}
