/* Shared look for pages that opt in with <body class="chapter-theme">.
   Mirrors the new chapter website: Source Sans 3, deep red accent, warm white. */
body.chapter-theme {
  --primary: #9f2a2a;
  --primary-strong: #7f1f1f;
  --primary-mid: #b83a3a;
  --bg: #fcfbf8;
  --ink: #232a33;
  --muted: #6b7280;
  --border: #e5e7ec;
  --radius: 6px;
  font-family: "Source Sans 3", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  margin: 0;
}

body.chapter-theme .site-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

body.chapter-theme .primary-btn {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  font-weight: 650;
  cursor: pointer;
}
body.chapter-theme .primary-btn:hover { background: var(--primary-strong); }
body.chapter-theme .ghost-btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
}
body.chapter-theme .ghost-btn:hover { background: #f3f4f6; }

body.chapter-theme .site-header { background: var(--bg); border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
body.chapter-theme .site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding: 8px 0; }
body.chapter-theme .site-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
body.chapter-theme .site-brand img { width: 91px; height: 35px; object-fit: contain; }
body.chapter-theme .site-brand span { border-left: 1px solid var(--border); padding-left: 14px; font-size: 19px; font-weight: 700; }
body.chapter-theme .site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
body.chapter-theme .site-nav a { color: var(--ink); text-decoration: none; }
body.chapter-theme .site-nav a:hover { color: var(--primary); }
body.chapter-theme .site-nav a.site-cta { background: var(--primary); color: #fff; padding: 9px 16px; border-radius: var(--radius); }
body.chapter-theme .site-nav a.site-cta:hover { background: var(--primary-strong); color: #fff; }

body.chapter-theme .site-footer { background: #1c222b; color: #d6dae0; margin-top: 48px; padding: 32px 0 20px; font-size: 14px; }
body.chapter-theme .site-footer a { color: #fff; text-decoration: none; }
body.chapter-theme .site-footer a:hover { text-decoration: underline; }
body.chapter-theme .site-footer-main { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
body.chapter-theme .site-footer-name { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 4px; }
body.chapter-theme .site-footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
body.chapter-theme .site-footer-bottom { border-top: 1px solid #343b46; margin-top: 22px; padding-top: 14px; font-size: 12px; color: #98a0ac; }

body.chapter-theme .page-intro { padding: 36px 0 8px; }
body.chapter-theme .page-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; color: var(--primary); margin: 0; }
body.chapter-theme .page-eyebrow::before { content: ""; width: 27px; height: 2px; background: var(--primary); }
body.chapter-theme .page-intro h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; font-weight: 700; margin: 14px 0 0; }
body.chapter-theme .page-intro p { color: var(--muted); font-size: 17px; margin: 10px 0 0; }

/* Staff pages that use the shared topbar/view-panel layout */
body.chapter-theme .view-panel { max-width: 1080px; margin: 0 auto; padding: 8px 16px 48px; box-sizing: border-box; }
body.chapter-theme .view-panel .topbar { padding: 16px 0; border-bottom: 1px solid var(--border); }
body.chapter-theme .view-panel .brand-logo { display: none; }
body.chapter-theme .view-panel .brand-wrap { gap: 0; }
body.chapter-theme .landing-panel { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(20, 25, 35, 0.06); }
body.chapter-theme .landing-panel input,
body.chapter-theme .landing-panel select,
body.chapter-theme .landing-panel textarea { max-width: 100%; box-sizing: border-box; }
