/* The Fable look for the world pages and gift guides (17.11, Guy: "make the articles fit B").
   Loaded after style.css (and blog.css): same layout and content, with the Fable site's colours, header, buttons, hero and footer
   (tokens from site/b/b.css). Written into the pages by production/world-pages.mjs and production/blog-pages.mjs. */
:root {
  --purple-900: #1B1740;   /* Fable "night" */
  --purple-800: #26215C;   /* Fable "night-2" */
  --purple-600: #534AB7;
  --purple-100: #EEEDFE;
  --gold: #FAC775;
  --gold-mid: #EF9F27;
  --cream: #FFFDF9;        /* Fable "paper" */
  --text: #221E4A;         /* Fable "ink" */
  --muted: #5B577A;
  --border: #E8E3F5;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(38, 33, 92, .12);
}
body { background: var(--cream); color: var(--text); overflow-x: hidden; }
h1, h2, h3 { color: var(--text); letter-spacing: -.01em; line-height: 1.12; }

/* Header: the dark Fable bar */
.site-header { background: rgba(27, 23, 64, .94); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header .container { padding: 0; min-height: 64px; }
.site-header .logo img { height: 34px; width: auto; }
.site-header .nav a:not(.btn) { color: #E9E6FF; }
.site-header .nav a:not(.btn):hover { color: var(--gold); }
.site-header .nav .btn { padding: 11px 18px; font-size: .98rem; }

/* Season bar (config.js): the Fable gold band */
.season-bar { background: var(--gold); color: var(--purple-900); font-weight: 800; font-size: .92rem; }
.season-bar b { color: var(--purple-900); }

/* Buttons: the Fable gold pill and white outline */
.btn { line-height: 1.1; }
.btn--primary { background: linear-gradient(180deg, #FFD58C 0%, var(--gold) 55%, #F3B556 100%); color: var(--purple-900); border-color: #E9A440; box-shadow: 0 8px 24px rgba(239, 159, 39, .35); }
.btn--primary:hover { background: linear-gradient(180deg, #FFD58C 0%, var(--gold) 55%, #F3B556 100%); box-shadow: 0 12px 30px rgba(239, 159, 39, .5); }
.btn--secondary { background: #fff; color: var(--purple-600); border-color: var(--purple-600); }
.btn--secondary:hover { background: var(--purple-100); }

/* Hero of a world page: the Fable night sky */
.hero.world-hero { position: relative; color: #fff; background: radial-gradient(1200px 600px at 20% -10%, #4B3FA8 0%, var(--purple-800) 45%, var(--purple-900) 100%); padding: 48px 0 64px; }
.hero.world-hero h1 { color: #fff; }
.hero.world-hero p, .hero.world-hero p.lead { color: #D9D5F7; }
.hero.world-hero .world-note, .hero.world-hero .world-note a { color: #fff; }
.hero.world-hero .hero-eyebrow { background: rgba(255, 255, 255, .1); color: var(--gold); border: 1px solid rgba(250, 199, 117, .35); }
.hero.world-hero .btn--secondary { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero.world-hero .hero-video { transform: none; border: 0; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
@media (max-width: 860px) { .hero.world-hero { padding-top: 20px; } }

/* Sections, cards, breadcrumbs */
.crumbs a { color: var(--purple-600); }
.section--purple { background: var(--purple-800); }
.example, .blog-card { border: 1px solid var(--border); }
.world-price { border-radius: var(--radius); }
.world-price span { color: var(--purple-900); }
.faq details { border-radius: 14px; }

/* Footer: the Fable night footer */
.site-footer { background: var(--purple-900); color: #B9B3E6; }
.site-footer a { color: #D9D5F7; }
.site-footer a:hover { color: var(--gold); }
.site-footer img { height: 30px; width: auto; }
