/* Shared stylesheet for generated pages (directory, jobs, board, spotlight, bylaws, event and resource pages).
   Extracted from governance.html on 10.18.26. The 13 hand-built pages keep their own inline CSS. */

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --navy: #1a2744; --navy-light: #243556;
      --teal: #207670; --teal-light: #e6f5f3;
      --gold: #8a6020; --gold-light: #f5ecd8;
      --cream: #faf8f4; --white: #ffffff;
      --gray-50: #f7f7f8; --gray-100: #ededf0; --gray-200: #d4d4da;
      --gray-400: #9191a0; --gray-600: #5c5c6e;
      --text: #2e2e3a; --text-secondary: #5c5c6e;
      --font-serif: 'Source Serif 4', Georgia, serif;
      --font-sans: 'DM Sans', system-ui, sans-serif;
      --max-width: 1140px;
    }
    html { scroll-behavior: smooth; scroll-padding-top: 80px; }
    body { font-family: var(--font-sans); color: var(--text); line-height: 1.6; background: var(--cream); }

    /* ── NAV ── */
    .nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: rgba(255,255,255,0.97);
      border-bottom: 1px solid var(--gray-100);
      backdrop-filter: blur(8px);
      transition: box-shadow 0.3s;
    }
    .nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
    .nav-inner {
      max-width: var(--max-width); margin: 0 auto;
      padding: 0 1.5rem; height: 72px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .nav-logo {
      font-family: var(--font-serif); font-weight: 700; font-size: 1.35rem;
      color: var(--navy); text-decoration: none; letter-spacing: -0.02em;
      display: flex; flex-direction: column; line-height: 1.2;
    }
    .nav-logo .nav-clca { color: var(--teal); }
    .nav-tagline {
      font-family: var(--font-sans); font-weight: 400; font-size: 0.67rem;
      color: var(--text-secondary); letter-spacing: 0; line-height: 1.3;
      white-space: nowrap;
    }
    .nav-links { display: flex; gap: 0.25rem; align-items: center; }
    .nav-links > a {
      color: var(--text-secondary); text-decoration: none; font-size: 0.9rem;
      font-weight: 500; padding: 0.5rem 0.85rem; border-radius: 6px;
      transition: color 0.2s, background 0.2s;
    }
    .nav-links > a:hover { color: var(--navy); background: var(--gray-50); }
    .nav-links > a.active { color: var(--navy); font-weight: 600; }
    .nav-cta {
      background: var(--teal) !important; color: var(--white) !important;
      padding: 0.5rem 1.1rem !important; border-radius: 6px !important;
      font-weight: 600 !important; transition: background 0.2s !important;
    }
    .nav-cta:hover { background: #248577 !important; }

    /* Dropdowns */
    .nav-dropdown { position: relative; }
    .nav-drop-trigger {
      display: flex; align-items: center; gap: 0.25rem;
      color: var(--text-secondary); background: none; border: none; cursor: pointer;
      font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500;
      padding: 0.5rem 0.85rem; border-radius: 6px;
      transition: color 0.2s, background 0.2s;
    }
    .nav-drop-trigger:hover,
    .nav-drop-trigger[aria-expanded="true"] { color: var(--navy); background: var(--gray-50); }
    .nav-drop-trigger.active { color: var(--navy); font-weight: 600; }
    .nav-chevron { font-size: 0.7rem; transition: transform 0.2s; display: inline-block; }
    .nav-drop-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
    .nav-drop-menu {
      position: absolute; top: calc(100% + 4px); left: 0;
      background: var(--white); border: 1px solid var(--gray-100);
      border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      min-width: 200px; padding: 0.4rem 0; list-style: none;
      opacity: 0; visibility: hidden; transform: translateY(-6px);
      transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
      z-index: 200;
    }
    .nav-dropdown.open .nav-drop-menu {
      opacity: 1; visibility: visible; transform: translateY(0);
    }
    .nav-drop-menu a {
      display: block; padding: 0.55rem 1rem;
      color: var(--text-secondary); text-decoration: none; font-size: 0.88rem;
      font-weight: 500; transition: color 0.15s, background 0.15s;
    }
    .nav-drop-menu a:hover,
    .nav-drop-menu a.active { color: var(--navy); background: var(--gray-50); }
    .nav-drop-menu a.active { font-weight: 600; }

    .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
    .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

    /* ── PAGE HERO ── */
    .page-hero { background: var(--navy); padding: 5.5rem 1.5rem 3rem; color: var(--white); }
    .page-hero-inner { max-width: var(--max-width); margin: 0 auto; }
    .page-hero h1 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
    .page-hero p { color: rgba(255,255,255,0.7); max-width: 620px; font-size: 1rem; line-height: 1.6; }

    /* ── SECTIONS ── */
    .section-wrap { padding: 3rem 1.5rem; }
    .section-wrap.white { background: var(--white); }
    .section-wrap.cream { background: var(--cream); }
    .section-inner { max-width: var(--max-width); margin: 0 auto; }
    .section-title {
      font-family: var(--font-serif); font-size: clamp(1.4rem, 2.5vw, 1.9rem);
      font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 0.5rem;
      letter-spacing: -0.02em;
    }
    .section-subtitle { font-size: 0.95rem; color: var(--text-secondary); max-width: 640px; line-height: 1.7; margin-bottom: 2rem; }

    /* ── BYLAWS BUTTON ── */
    .btn-bylaws {
      display: inline-block;
      background: var(--teal); color: var(--white);
      padding: 0.85rem 1.75rem; border-radius: 8px;
      font-weight: 600; text-decoration: none;
      font-size: 0.95rem; transition: background 0.2s;
      margin-top: 1.25rem;
    }
    .btn-bylaws:hover { background: #1a5f55; }

    /* ── OFFICER TABLE ── */
    .officer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      border: 1px solid var(--gray-200);
      border-radius: 10px;
      overflow: hidden;
      margin-top: 1.75rem;
    }
    .officer-row {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 0;
      border-bottom: 1px solid var(--gray-100);
    }
    .officer-row:last-child { border-bottom: none; }
    .officer-title {
      padding: 1rem 1.25rem;
      font-weight: 600; font-size: 0.9rem; color: var(--navy);
      background: var(--gray-50);
      border-right: 1px solid var(--gray-100);
      display: flex; align-items: center;
    }
    .officer-desc {
      padding: 1rem 1.25rem;
      font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65;
      display: flex; align-items: center;
    }

    /* ── BOARD LINK ── */
    .teal-link {
      display: inline-flex; align-items: center; gap: 0.35rem;
      color: var(--teal); text-decoration: none; font-weight: 500; font-size: 0.95rem;
      margin-top: 1.5rem; transition: color 0.2s;
    }
    .teal-link:hover { color: #1a5f55; text-decoration: underline; }

    /* ── COMMITTEE CARDS ── */
    .committee-cards {
      display: flex; gap: 1.5rem; margin-top: 1.75rem; flex-wrap: wrap;
    }
    .committee-card {
      flex: 1; min-width: 260px;
      background: var(--white); border: 1px solid var(--gray-200);
      border-radius: 10px; padding: 1.5rem;
    }
    .committee-card h3 {
      font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700;
      color: var(--navy); margin-bottom: 0.5rem; line-height: 1.3;
    }
    .committee-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

    /* ── ELECTIONS TIMELINE ── */
    .election-timeline {
      margin: 1.75rem 0;
      display: flex; flex-direction: column; gap: 0;
    }
    .timeline-item {
      display: flex; gap: 1.25rem;
      padding-bottom: 1.75rem;
      position: relative;
    }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-marker {
      display: flex; flex-direction: column; align-items: center;
      flex-shrink: 0;
    }
    .timeline-dot {
      width: 36px; height: 36px; border-radius: 50%;
      background: var(--teal); color: var(--white);
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
    }
    .timeline-line {
      width: 2px; background: var(--gray-200); flex: 1; margin-top: 4px;
      min-height: 24px;
    }
    .timeline-item:last-child .timeline-line { display: none; }
    .timeline-content { padding-top: 0.4rem; }
    .timeline-date {
      font-weight: 700; font-size: 0.88rem; color: var(--teal);
      margin-bottom: 0.25rem; display: block;
    }
    .timeline-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

    /* ── ELECTION SUBHEADINGS ── */
    .election-sub {
      font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
      color: var(--navy); margin-top: 2rem; margin-bottom: 0.5rem;
    }
    .election-body { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; max-width: 720px; }
    .election-body a { color: var(--teal); text-decoration: none; }
    .election-body a:hover { text-decoration: underline; }

    /* ── POLICIES ── */
    .policy-block { margin-top: 1.75rem; }
    .policy-block + .policy-block { margin-top: 2rem; }
    .policy-block h3 {
      font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
      color: var(--navy); margin-bottom: 0.5rem;
    }
    .policy-block p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; max-width: 720px; }

    /* ── FOOTER ── */
    .footer {
      background: var(--navy); color: rgba(255,255,255,0.6); padding: 3rem 1.5rem 2rem;
    }
    .footer-inner {
      max-width: var(--max-width); margin: 0 auto;
      display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 2rem;
    }
    .footer-brand .nav-logo { color: var(--white); display: inline-block; }
    .footer-brand p { font-size: 0.85rem; margin-top: 0.5rem; max-width: 300px; line-height: 1.6; }
    .footer-links { display: flex; gap: 3rem; }
    .footer-col h4 {
      font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.08em; color: rgba(255,255,255,0.55); margin-bottom: 0.75rem;
    }
    .footer-col a {
      display: block; color: rgba(255,255,255,0.6); text-decoration: none;
      font-size: 0.88rem; padding: 0.25rem 0; transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--white); }
    .footer-bottom {
      max-width: var(--max-width); margin: 2rem auto 0; padding-top: 1.5rem;
      border-top: 1px solid rgba(255,255,255,0.1);
      font-size: 0.8rem; text-align: center;
    }

    /* ── MOBILE ── */
    @media (max-width: 768px) {
      .nav-tagline { display: none; }
      .nav-links {
        display: none; position: fixed; top: 72px; left: 0; right: 0;
        background: var(--white); flex-direction: column; padding: 1rem;
        border-bottom: 1px solid var(--gray-100); box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        gap: 0.1rem;
      }
      .nav-links.open { display: flex; }
      .nav-links > a { width: 100%; }
      .nav-dropdown { width: 100%; }
      .nav-drop-trigger { width: 100%; justify-content: space-between; }
      .nav-drop-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; border-radius: 0;
        padding: 0.2rem 0 0.2rem 1rem; display: none;
      }
      .nav-dropdown.open .nav-drop-menu { display: block; }
      .nav-toggle { display: block; }
      .footer-inner { flex-direction: column; }
      .footer-links { flex-direction: column; gap: 1.5rem; }
      .officer-row { grid-template-columns: 1fr; }
      .officer-title { border-right: none; border-bottom: 1px solid var(--gray-100); }
      .committee-cards { flex-direction: column; }
    }

    /* ── SKIP LINK ── */
    .skip-link {
      position: absolute; top: -100%; left: 1rem;
      background: var(--navy); color: var(--white);
      padding: 0.75rem 1.25rem; border-radius: 0 0 6px 6px;
      font-weight: 600; font-size: 0.9rem; text-decoration: none;
      z-index: 200; transition: top 0.1s;
    }
    .skip-link:focus { top: 0; }

    /* ── FOCUS STYLES ── */
    :focus-visible {
      outline: 3px solid var(--teal);
      outline-offset: 2px;
    }
    .nav-links a:focus-visible,
    .nav-drop-trigger:focus-visible { border-radius: 6px; }

    /* ── REDUCED MOTION ── */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { transition: none !important; animation: none !important; }
      html { scroll-behavior: auto; }
    }
  
    /* --- footer brand mark (added) --- */
    .footer-brand { position: relative; }
    .footer-mark { height: 96px; width: auto; display: block; margin-bottom: 1rem; background: #fff; padding: 0.75rem 0.9rem; border-radius: 10px; }

  
    /* --- audit patch 10.18.26 --- */
    :root { --gold-on-dark: #e0b25c; }
    .hero-badge, .page-hero .section-label, .events-feature .event-date,
    section#iclca .section-label, .page-hero p a { color: var(--gold-on-dark) !important; }
    .hero-badge { border-color: rgba(224,178,92,0.45) !important; }
    .footer-col-title { font-size: 1.17em; font-weight: 700; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; }
    .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
    .hp { display: none !important; }
    main > .section-wrap:first-child { padding-top: calc(72px + 2.5rem); }
    .footer .nav-clca { color: #7ecdc8; }
    main p a:not([class]), main .centers-list li > a, main .prose li > a { text-decoration: underline; text-underline-offset: 2px; }
    .banner-card.teal .banner-label, .banner-card.teal p { color: #fff !important; }
    .prose table { display: block; overflow-x: auto; max-width: 100%; }
    .btn[aria-disabled="true"], .btn-disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
    .jump-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 1.25rem; font-size: 0.9rem; }
    .jump-nav a { color: inherit; opacity: 0.85; text-decoration: underline; text-underline-offset: 3px; }
    .page-hero .jump-nav a { color: #fff; }
    .breadcrumb { font-size: 0.82rem; margin-bottom: 0.75rem; color: rgba(255,255,255,0.7); }
    .breadcrumb a { color: #fff; }
  
/* ---------- generated-page components (10.18.26) ---------- */
    .btn {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.8rem 1.6rem; border-radius: 8px; font-size: 0.95rem;
      font-weight: 600; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
    }
    .btn-primary { background: var(--teal); color: var(--white); }
    .btn-primary:hover { background: #248577; transform: translateY(-1px); }
    .board-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
    .board-card {
      flex: 1 1 280px; max-width: 345px;
      background: var(--gray-50); border-radius: 10px; padding: 1.75rem;
      border: 1px solid var(--gray-100); transition: transform 0.2s, box-shadow 0.2s;
    }
    .board-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
    .board-photo {
      width: 104px; height: 104px; border-radius: 50%; object-fit: cover;
      object-position: center top; display: block; margin-bottom: 1.1rem;
      border: 3px solid var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.10);
      background: var(--gray-100);
    }

    .board-photo-empty {
      width: 104px; height: 104px; border-radius: 50%; margin-bottom: 1.1rem;
      display: flex; align-items: center; justify-content: center;
      border: 3px dashed var(--gray-200); background: var(--gray-50);
      color: var(--gray-400); font-family: var(--font-serif);
      font-size: 1.6rem; font-weight: 700; line-height: 1;
    }

    .board-role {
      font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.08em; color: var(--teal); margin-bottom: 0.5rem;
    }
    .board-card h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); }
    .board-card .institution { font-size: 0.9rem; color: var(--text-secondary); margin-top: 0.25rem; }
    .board-card .job-title { font-size: 0.82rem; color: var(--gray-600); margin-top: 0.15rem; font-style: italic; }
    .board-card .bio { font-size: 0.85rem; color: var(--gray-600); margin-top: 0.75rem; line-height: 1.6; }
    .sp-carousel { position: relative; max-width: 760px; margin: 2rem auto 0; }
    .sp-viewport { position: relative; overflow: hidden; border-radius: 10px;
                   border: 1px solid var(--gray-100); background: var(--gray-50); }
    .sp-track { display: flex; transition: transform 380ms cubic-bezier(0.22,0.61,0.36,1); }
    .sp-slide { min-width: 100%; }
    .sp-slide img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
    .sp-cap { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6;
              padding: 0.75rem 1rem; background: var(--white); }
    .sp-btn { position: absolute; top: 50%; transform: translateY(-50%);
              width: 40px; height: 40px; border-radius: 50%; border: none;
              background: rgba(26,39,68,0.78); color: #fff; cursor: pointer;
              font-size: 1.1rem; line-height: 1; display: flex; align-items: center;
              justify-content: center; transition: background 0.2s; }
    .sp-btn:hover { background: var(--navy); }
    .sp-prev { left: 0.6rem; } .sp-next { right: 0.6rem; }
    .sp-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.9rem; }
    .sp-dot { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
              background: var(--gray-200); cursor: pointer; transition: background 0.2s; }
    .sp-dot[aria-current="true"] { background: var(--teal); }
    .sp-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    @media (prefers-reduced-motion: reduce) { .sp-track { transition: none; } }
    .board-name-link { color: inherit; text-decoration: none; border-bottom: 2px solid var(--teal); }
    .board-name-link:hover { color: var(--teal); }
    .badge-type { font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 20px; white-space: nowrap; }
    .badge-full { background: var(--teal-light); color: var(--teal); }
    .badge-part { background: var(--gold-light); color: #8a6020; }
    .job-meta { font-size: 0.88rem; color: var(--text-secondary); }
    .job-meta strong { color: var(--text); }
    .prose { max-width: 760px; margin: 0 auto; line-height: 1.8; }
    .prose p + p { margin-top: 1rem; }
    .prose h2 { font-family: var(--font-serif); color: var(--navy); font-size: 1.4rem; margin: 2.25rem 0 0.6rem; line-height: 1.25; scroll-margin-top: 90px; }
    .prose h3 { font-family: var(--font-serif); color: var(--navy); font-size: 1.1rem; margin: 1.5rem 0 0.4rem; scroll-margin-top: 90px; }
    .prose ul, .prose ol { margin: 0.6rem 0 0.6rem 1.4rem; }
    .prose li { margin: 0.3rem 0; }
    .prose a { color: var(--teal); }
    .prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
    .prose th, .prose td { text-align: left; vertical-align: top; padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--gray-100); }
    .prose th { color: var(--navy); }
    .note-box { background: var(--teal-light); border: 1px solid rgba(42,143,130,0.25); border-radius: 10px; padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: 0.92rem; }
    .meta-line { color: var(--text-secondary); font-size: 0.9rem; }
    .page-hero .breadcrumb a { color: #fff; }
    .center-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
    .center-list li { background: var(--white); border: 1px solid var(--gray-100); border-radius: 10px; padding: 1rem 1.25rem; }
    .center-list h3 { font-family: var(--font-serif); font-size: 1.08rem; color: var(--navy); margin: 0; }
    .center-list a { color: var(--teal); font-weight: 600; }
    .chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }
    .chip { font-size: 0.72rem; font-weight: 600; background: var(--gray-50); border: 1px solid var(--gray-100); color: var(--text-secondary); border-radius: 4px; padding: 0.1rem 0.45rem; }
    .chip.conf { background: #e7f4ec; color: #1d6b3f; border-color: #bfe0cb; }
    .chip.rec { background: var(--gold-light); color: #6b4a14; border-color: #e6d3a8; }
    .copy-box { width: 100%; font-family: ui-monospace, Menlo, monospace; font-size: 0.78rem; padding: 0.6rem; border: 1px solid var(--gray-200); border-radius: 6px; background: var(--gray-50); min-height: 4.5rem; }
    .btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
    .btn-outline-dark { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 8px; border: 1.5px solid var(--teal); color: var(--teal); font-weight: 600; text-decoration: none; }
    .job-detail-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.75rem; margin: 1.25rem 0; }
    .job-detail-facts div { background: var(--cream); border-radius: 8px; padding: 0.75rem 1rem; }
    .job-detail-facts dt { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); }
    .job-detail-facts dd { font-weight: 600; color: var(--navy); margin: 0.15rem 0 0; }
    .board-card { text-align: left; }
    .board-card .bio { text-align: left; }
    main a:not([class]) { color: var(--teal); }
