/* One brand palette; discovery and reading pages share these tokens. */
:root {
  --fan-primer-background: #111512;
  --fan-primer-header: #0b0f0c;
  --fan-primer-cream: #f5f5e9;
  --fan-primer-orange: #ff633b;
  --fan-primer-muted: #afb7ac;
  --fan-primer-line: #343b33;
  --fan-primer-surface: #1c231d;
  --fan-primer-copy: #c9d0c5;
  --fan-primer-body: Arial, 'Helvetica Neue', sans-serif;
  --fan-primer-display: Impact, 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --fan-primer-focus: #aee3fa;
}

/* Selected Full Name artwork is shared by every header and footer. */
.brand { flex-shrink: 0; min-height: 44px; }
.brand .brand-logo { display: block; width: 220px; height: auto; }
.site-footer .brand .brand-logo { width: 200px; }
@media(max-width:600px) {
  .brand .brand-logo, .site-footer .brand .brand-logo { width: 180px; }
  .site-footer { flex-wrap: wrap; row-gap: 18px; }
}
@media(max-width:480px) {
  .site-header { min-height: 104px; }
  .site-header .header-inner { min-height: 104px; flex-wrap: wrap; align-content: center; gap: 8px 12px; }
  .site-header .main-nav { order: 3; flex-basis: 100%; height: 32px; justify-content: flex-start; }
}

/* Shared notices stay readable across discovery, reference and course styles. */
body .site-footer.site-footer { display: block; width: min(1280px,calc(100% - 80px)); max-width: none; margin: 48px auto 0; padding: 28px 0 32px; border-top: 2px solid var(--fan-primer-orange); color: var(--fan-primer-muted); font-family: var(--fan-primer-body); }
.site-footer .footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; }
.site-footer .footer-explore { font-size: 13px; line-height: 1.6; color: var(--fan-primer-cream); text-decoration: none; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 0 26px; margin-top: 17px; }
.site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; line-height: 1.5; text-decoration: none; color: var(--fan-primer-cream); }
.site-footer .footer-notice { max-width: 860px; margin: 12px 0 0; font-size: 13px; line-height: 1.7; }
.site-footer .footer-copyright { margin: 12px 0 0; font-size: 12px; line-height: 1.7; }
.site-footer .footer-copyright a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--fan-primer-orange); }
.site-footer a:focus-visible { outline: 3px solid var(--fan-primer-focus); outline-offset: 5px; }
@media(max-width:800px) { body .site-footer.site-footer { width: calc(100% - 40px); } }
@media(max-width:540px) { body .site-footer.site-footer { width: calc(100% - 36px); margin-top: 32px; padding-block: 24px; } .site-footer .footer-top { align-items: flex-start; } .site-footer .footer-links { gap: 0 22px; } }

.breadcrumbs{margin:0 0 1.5rem;color:var(--muted,#bac5b6);font-size:.88rem;line-height:1.5}.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.35rem .55rem;padding:0;margin:0;list-style:none}.breadcrumbs li+li:before{content:"›";margin-right:.55rem;color:#9baca0}.breadcrumbs a{color:inherit;text-decoration:underline;text-underline-offset:.2em}.breadcrumbs [aria-current]{color:var(--cream,#f3eddb)}
.hub-topics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:1rem;margin:2rem 0}.hub-topics a{display:flex;flex-direction:column;gap:.5rem;padding:1.25rem;border:1px solid #bac5b633;text-decoration:none;color:inherit}.hub-topics span,.hub-course p{color:var(--muted,#bac5b6)}.hub-course{margin:2rem 0;padding-block:1.5rem;border-block:1px solid #bac5b633}.hub-course>.guide-start{margin:1rem 0}.hub-course>a:not(.guide-start){display:block;color:var(--cream,#f3eddb)}.hub-questions{margin-block:1rem}.hub-guide{margin-top:2rem}.hub-guide a{color:var(--cream,#f3eddb)}
