/* Each committee's area (/committees, TW #6375), scoped so it looks right in the admin layout (Bootstrap, light)
   and the members' layout (bigger type, a narrow card, light or dark). */
.committee {
  --c-fg: #1d1d1b; --c-muted: #6b6a66; --c-line: #e6e2d8; --c-accent: #0b5cad; --c-on-accent: #ffffff; --c-soft: #f6f4ee;
  max-width: 760px; color: var(--c-fg);
}
.member-page .committee {
  --c-fg: var(--m-fg); --c-muted: var(--m-muted); --c-line: var(--m-line); --c-accent: var(--m-accent);
  --c-on-accent: var(--m-on-accent); --c-soft: var(--m-card);
}
/* div.committee: above the members' layout's own heading rules, which load after this file. */
div.committee h1 { font-size: 1.75rem; margin: 0 0 0.5rem; }
div.committee h2 { font-size: 1.3rem; margin: 1.5rem 0 0.5rem; }
div.committee h3 { font-size: 1.15rem; margin: 0 0 0.2rem; }
.committee p { margin: 0 0 0.5rem; }
.committee a { color: var(--c-accent); }
.committee__intro, .committee__muted { color: var(--c-muted); }
.committee__back { margin-bottom: 0.25rem; }

.committee__list, .committee__links, .committee__people, .committee-files { list-style: none; margin: 0; padding: 0; }
.committee__list li, .committee__links li { border-bottom: 1px solid var(--c-line); }
.committee__list a, .committee__links a { display: flex; align-items: center; gap: 12px; min-height: 52px; text-decoration: none; color: var(--c-fg); }
.committee__links a > span:nth-child(2) { font-weight: 700; }
.committee__links a em { margin-left: auto; font-style: normal; color: var(--c-muted); font-size: 0.95rem; text-align: right; }
.committee__links a:hover > span:nth-child(2), .committee__list a:hover { text-decoration: underline; }
.committee__people { columns: 2 12rem; }
.committee__people li { padding: 0.2rem 0; break-inside: avoid; }

.committee-note { margin: 1rem 0; padding: 0.75rem 1rem; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-soft); }
div.committee .committee-note h2 { margin: 0 0 0.4rem; font-size: 1.1rem; border: 0; padding: 0; }
.committee-note__body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.95rem; }

.committee-file { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--c-line); }
.committee-file__text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.committee-file__text p { font-size: 1rem; }
.committee-file__text p:last-child { margin-bottom: 0; font-size: 0.95rem; }
.committee .committee-file__download {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1rem;
  border-radius: 10px; background: var(--c-accent); color: var(--c-on-accent); font-weight: 700; text-decoration: none;
}
.committee .committee-file__download:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
@media (max-width: 520px) {
  .committee-file { flex-direction: column; align-items: stretch; }
  .committee .committee-file__download { width: 100%; }
}
