/* Shared layout for the campaign content pages. Builds on /theme.css and ./theme.css.
   The overview keeps the full seal masthead; the inner pages use a compact .pagehead. */

main { padding-bottom: 1rem; }
.section { margin: 2.5rem 0; }
.prose p { max-width: 64ch; }
.prose p, .prose li { color: var(--ink); }

/* .pagehead (compact inner-page header) lives in the campaign skin so the form pages share it. */

/* Overview "start here" cards. */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: var(--gap);
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}
.hero-card {
  display: flex;
  flex-direction: column;
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gilt);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
}
.hero-card:hover { border-left-color: var(--accent); }
.hero-card strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.hero-card span { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }

/* Section heading with a short gilt underline. */
.section-head { margin: 0 0 1rem; }
.section-head h2 { margin: 0; font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 400; letter-spacing: 0.005em; }
.section-head .count { color: var(--muted); font-size: 0.95rem; font-family: var(--font-body); }
.section-head::after { content: ""; display: block; width: 2.5rem; height: 2px; margin-top: 0.6rem; background: var(--gilt); }

/* The twelve districts ledger. */
.ledger { list-style: none; margin: 0; padding: 0; }
.district { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.2rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.district:first-child { border-top: 1px solid var(--line); }
.district__num { grid-row: 1 / span 3; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--gilt); text-align: right; }
.district__trade { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.district__tag {
  display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.4rem;
  font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 2px; vertical-align: 0.15em;
}
.district__people { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.95rem; }
.district__char { margin: 0.35rem 0 0; }

details.note { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0 1rem; }
details.note > summary { cursor: pointer; padding: 0.85rem 0; font-weight: 600; color: var(--indigo); }
details.note[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 0.8rem; }
details.note ul { margin: 0 0 1rem; padding-left: 1.2rem; }
details.note li { margin: 0.35rem 0; }

/* Player-safe lore cards. */
.lore-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: var(--gap); }
.lore-card { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gilt); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.lore-card h3 { margin: 0 0 0.5rem; font-weight: 400; font-size: 1.3rem; }
.lore-card p { margin: 0.5rem 0 0; }

/* Call-to-action pair and safety list. */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }
.cta-row .btn { flex: 1 1 14rem; }
.safety-list { padding-left: 1.2rem; }
.safety-list li { margin: 0.5rem 0; max-width: 64ch; }

/* Simple step prompts (character concept). */
.prompts { margin: 0; padding: 0; list-style: none; }
.prompts > li { padding: 0.8rem 0; border-bottom: 1px solid var(--line); max-width: 64ch; }
.prompts > li:first-child { border-top: 1px solid var(--line); }
.prompts .term { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.15rem; }
