/* Bylaws TOC (V3) — sticky TOC + numbered articles. */

.aaca-v3 .bylaws {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.aaca-v3 .bylaws__toc {
  position: sticky;
  top: 24px;
  font-family: var(--sans);
  border-top: 1px solid var(--rule-strong);
  padding-top: 18px;
}
.aaca-v3 .bylaws__toc-head {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--bronze-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.aaca-v3 .bylaws__toc ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.aaca-v3 .bylaws__toc li { list-style: none; margin: 0; }
.aaca-v3 .bylaws__toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.aaca-v3 .bylaws__toc a:hover { color: var(--bronze-deep); border-bottom-color: var(--bronze); }
.aaca-v3 .bylaws__toc-num {
  font-family: var(--serif-text);
  font-style: italic;
  color: var(--bronze-deep);
  font-size: 13px;
  min-width: 2.5ch;
}

.aaca-v3 .bylaws__body { display: flex; flex-direction: column; gap: clamp(40px, 6vh, 64px); }
.aaca-v3 .bylaws__article {
  scroll-margin-top: 24px;
  padding-top: clamp(24px, 4vh, 36px);
  border-top: 1px solid var(--rule-strong);
}
.aaca-v3 .bylaws__article:first-child { border-top: 0; padding-top: 0; }
.aaca-v3 .bylaws__article-num {
  font-family: var(--serif-text);
  font-style: italic;
  color: var(--bronze-deep);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  display: block;
  margin-bottom: 6px;
}
.aaca-v3 .bylaws__article-title {
  font-family: var(--serif-display);
  font-weight: 500 !important;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.008em !important;
  color: var(--ink);
  margin: 0 0 24px !important;
}

.aaca-v3 .bylaws__section { margin-top: 28px; }
/* When body is a single wysiwyg field, all section-head spans + p's render
 * into one .bylaws__section div. Restore demo's per-section vertical rhythm
 * by giving each (non-first) head 28px top margin. */
.aaca-v3 .bylaws__section .bylaws__section-head {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--bronze-deep);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
  margin-top: 28px;
}
.aaca-v3 .bylaws__section > .bylaws__section-head:first-child { margin-top: 0; }
.aaca-v3 .bylaws__section p {
  margin: 10px 0 0 !important;
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.6;
}
.aaca-v3 .bylaws__section ul,
.aaca-v3 .bylaws__section ol { margin-top: 10px !important; padding-left: 1.4em; }
.aaca-v3 .bylaws__section li { margin-top: 6px; line-height: 1.55; color: var(--text); }

/* .notice is shared — moved to aaca-v3-design-system.css. */

@media (max-width: 880px) {
  .aaca-v3 .bylaws { grid-template-columns: 1fr; gap: 40px; }
  .aaca-v3 .bylaws__toc { position: static; }
}
