/* ============================================================
   Articulate proposal layout — three-column standard
   Enforced pattern: left jump-nav · middle content · right related
   Used across all proposal/microsite pages under /labs/
   ============================================================ */

/* Wrapper widens to accommodate three columns — !important to beat
   page-inline .wrap { max-width: ... } rules that pre-date the layout. */
.wrap.three-col {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 32px 20px 96px !important;
}

.three-col-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}

/* LEFT — in-page navigation */
.nav-left {
  position: sticky;
  top: 24px;
  align-self: start;
  font-family: "Source Sans Pro", -apple-system, sans-serif;
  font-size: 13px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.nav-left h4 {
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B6B6B;
  margin: 0 0 12px;
  font-weight: 700;
}
.nav-left ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid #E5E0D5; }
.nav-left li { margin: 0; }
.nav-left a {
  display: block;
  padding: 6px 0 6px 12px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: #5A6C7D;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  transition: color 0.12s, border-color 0.12s;
}
.nav-left a:hover {
  color: #0A0A0A;
  border-left-color: #2E2E85;
}
.nav-left a.active {
  color: #2E2E85;
  border-left-color: #2E2E85;
  font-weight: 600;
}

/* MIDDLE — main content column */
.content-main {
  min-width: 0;
  max-width: 720px;
}

/* RIGHT — related content / outgoing links */
.related-right {
  position: sticky;
  top: 24px;
  align-self: start;
  font-family: "Source Sans Pro", -apple-system, sans-serif;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.related-right h4 {
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B6B6B;
  margin: 0 0 12px;
  font-weight: 700;
}
.related-right .related-group {
  margin-bottom: 20px;
}
.related-right .related-group h5 {
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  color: #0A0A0A;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.related-right ul { list-style: none; margin: 0; padding: 0; }
.related-right li { margin: 0 0 6px; }
.related-right a {
  display: block;
  color: #2E2E85;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  padding: 3px 0;
}
.related-right a:hover {
  color: #1A1A5C;
  text-decoration: underline;
}
.related-right a .meta {
  display: block;
  color: #6B6B6B;
  font-size: 10px;
  margin-top: 1px;
}

/* Collapse to single column on narrow screens — under 900px now (was 1100). */
@media (max-width: 900px) {
  .three-col-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nav-left, .related-right {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .nav-left { order: -1; background: #F4F2EE; padding: 14px 18px; border-radius: 6px; }
  .nav-left ul { display: flex; flex-wrap: wrap; gap: 4px 12px; border-left: none; }
  .nav-left a { padding: 4px 0; border-left: none; }
  .nav-left a::before { content: "·"; margin-right: 6px; color: #B0B0B0; }
  .nav-left li:first-child a::before { content: ""; margin-right: 0; }
  .related-right { border-top: 1px solid #E5E0D5; padding-top: 22px; margin-top: 14px; }
  .content-main { max-width: 100%; }
}
