/* Shared stylesheet for all six fictional organisation sites. --brand is set per site. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #1f2328; background: #fff; }
.wrap { max-width: 72rem; margin: 0 auto; padding-inline: 1rem; }

/* The fiction disclaimer: first element on every page, never hidden. */
.fiction-banner {
  position: sticky; top: 0; z-index: 10;
  padding: 0.75rem 1rem; text-align: center;
  font-weight: 700; font-size: 1.05rem;
  color: #1a1a1a; background: #ffd400;
  border-bottom: 4px solid #1a1a1a;
}

.site-header { background: var(--brand, #283593); color: #fff; padding-block: 1rem; }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center; justify-content: space-between; }
.site-name { color: #fff; font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.site-header nav a { color: #fff; text-decoration: none; padding: 0.2rem 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-bottom-color: #fff; }

main { padding-block: 1.5rem 3rem; }
h1 { color: var(--brand, #283593); font-size: 2rem; line-height: 1.2; }
h2 { margin-top: 2rem; font-size: 1.3rem; }
a { color: var(--brand, #283593); }
.card { border-left: 6px solid var(--brand, #283593); background: #f5f6f8; padding: 0.25rem 1.25rem; margin-block: 1.5rem; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin-block: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.6rem; border-bottom: 1px solid #d0d7de; }
th { background: #f5f6f8; }

.policy-meta { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; background: #f5f6f8; padding: 0.75rem 1rem; }
.policy-meta dt { font-weight: 700; }
.policy-meta dd { margin: 0; }

.site-footer { background: #24292f; color: #e6e6e6; padding-block: 1.5rem; font-size: 0.92rem; }
.site-footer a { color: #fff; }
.fiction-note { font-weight: 700; color: #ffd400; }
.pdf-link a { font-weight: 700; }
@media print {
  .fiction-banner { position: static; }
  .site-header nav, .pdf-link { display: none; }
}
