/* ==========================================================================
   BrightMinds — Parent-first layout stylesheet
   --------------------------------------------------------------------------
   Hand-written (NOT Tailwind). The theme ships a pre-compiled tailwind.css and
   there is no build step on the server, so every new section uses the .bmp-
   prefix instead of utility classes. Nothing here collides with Tailwind.

   Dark mode: the theme toggles `.dark` on <html> ("Calm mode"). All tokens are
   re-declared under .dark so the new sections follow along automatically.
   ========================================================================== */

:root {
  --bmp-ink:        #1B1637;
  --bmp-ink-soft:   #4C4668;
  --bmp-ink-faint:  #7A7595;
  --bmp-brand:      #6D5DF6;
  --bmp-brand-deep: #4B3ED1;
  --bmp-brand-wash: #F0EEFF;
  --bmp-sage:       #1F8A7A;
  --bmp-sage-wash:  #E7F4F1;
  --bmp-shop:       #B8710D;
  --bmp-shop-wash:  #FDF4E3;
  --bmp-shop-line:  #EBD5AC;
  --bmp-page:       #FBFAFD;
  --bmp-card:       #FFFFFF;
  --bmp-line:       #E7E4F0;
  --bmp-radius:     14px;
  --bmp-shadow:     0 1px 2px rgba(27,22,55,.04), 0 8px 24px rgba(27,22,55,.05);
  --bmp-max:        1140px;
}

.dark {
  --bmp-ink:        #EDEBFF;
  --bmp-ink-soft:   #C3BFE4;
  --bmp-ink-faint:  #9A94C4;
  --bmp-brand:      #8B79FF;
  --bmp-brand-deep: #A897FF;
  --bmp-brand-wash: #2A2550;
  --bmp-sage:       #6FD3C1;
  --bmp-sage-wash:  #1D3B39;
  --bmp-shop:       #F0B65E;
  --bmp-shop-wash:  #2E2517;
  --bmp-shop-line:  #4A3B22;
  --bmp-page:       #17152B;
  --bmp-card:       #221F3F;
  --bmp-line:       rgba(137,119,255,.18);
  --bmp-shadow:     0 1px 2px rgba(0,0,0,.30), 0 8px 24px rgba(0,0,0,.35);
}

/* --------------------------------------------------------------------------
   Base scaffolding
   -------------------------------------------------------------------------- */
.bmp { color: var(--bmp-ink); }
.bmp *, .bmp *::before, .bmp *::after { box-sizing: border-box; }
.bmp img { max-width: 100%; display: block; height: auto; }

.bmp-wrap { max-width: var(--bmp-max); margin: 0 auto; padding: 0 22px; }

.bmp-section { padding: 72px 0; border-top: 1px solid var(--bmp-line); }
.bmp-section--flush { border-top: 0; }

.bmp-eyebrow {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bmp-ink-faint);
  margin: 0 0 10px; display: flex; align-items: center; gap: 9px;
}
.bmp-eyebrow::before {
  content: ""; width: 22px; height: 2px;
  background: var(--bmp-brand); border-radius: 2px; flex: none;
}

.bmp-head { margin-bottom: 34px; max-width: 70ch; }
.bmp-head h2 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.14; letter-spacing: -.01em;
  margin: 0 0 12px; color: var(--bmp-ink);
}
.bmp-lede { color: var(--bmp-ink-soft); font-size: 17px; margin: 0; max-width: 62ch; }

/* --------------------------------------------------------------------------
   Buttons — high specificity on purpose, so header/footer anchor rules in
   tailwind.css cannot repaint the label colour.
   -------------------------------------------------------------------------- */
.bmp a.bmp-btn, .bmp button.bmp-btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600; font-size: 14.5px; line-height: 1.3;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.bmp a.bmp-btn--primary, .bmp button.bmp-btn--primary { background: var(--bmp-brand); color: #fff; }
.bmp a.bmp-btn--primary:hover, .bmp button.bmp-btn--primary:hover { background: var(--bmp-brand-deep); color: #fff; }
.bmp a.bmp-btn--ghost, .bmp button.bmp-btn--ghost { background: transparent; border-color: var(--bmp-line); color: var(--bmp-ink); }
.bmp a.bmp-btn--ghost:hover { border-color: var(--bmp-brand); color: var(--bmp-brand-deep); }
.bmp a.bmp-btn--shop, .bmp button.bmp-btn--shop { background: var(--bmp-shop); color: #fff; }
.bmp a.bmp-btn--shop:hover { background: #96590A; color: #fff; }
.dark .bmp a.bmp-btn--shop { color: #17152B; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.bmp-hero { padding: 58px 0 56px; }
.bmp-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.bmp-hero h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(32px, 4.8vw, 52px); line-height: 1.1;
  letter-spacing: -.015em; margin: 0 0 18px; color: var(--bmp-ink);
}
.bmp-hero h1 em {
  font-style: normal; color: var(--bmp-brand-deep);
  background: linear-gradient(to top, var(--bmp-brand-wash) 34%, transparent 34%);
  padding: 0 2px;
}
.bmp-hero__intro { font-size: 18px; color: var(--bmp-ink-soft); max-width: 52ch; margin: 0 0 26px; }
.bmp-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.bmp-hero__cta .bmp-btn { padding: 13px 22px; font-size: 15.5px; }

.bmp-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--bmp-ink-faint); font-weight: 500; margin: 0; padding: 0; list-style: none; }
.bmp-trust b { color: var(--bmp-ink); font-weight: 700; font-family: 'Baloo 2', cursive; }

.bmp-hero__art { position: relative; }
.bmp-hero__frame { border-radius: 20px; overflow: hidden; border: 1px solid var(--bmp-line); box-shadow: var(--bmp-shadow); background: var(--bmp-card); }
.bmp-float {
  position: absolute; background: var(--bmp-card); border: 1px solid var(--bmp-line);
  border-radius: 12px; box-shadow: 0 10px 30px rgba(27,22,55,.10);
  padding: 12px 14px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 10px; color: var(--bmp-ink);
}
.bmp-float--a { bottom: -18px; left: -14px; }
.bmp-float--b { top: -16px; right: -10px; }
.bmp-float__pill { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; flex: none; }
.bmp-float small { display: block; font-weight: 500; color: var(--bmp-ink-faint); font-size: 11.5px; }

/* --------------------------------------------------------------------------
   Path band (the signature element)
   -------------------------------------------------------------------------- */
.bmp-pathband { background: var(--bmp-card); }
.bmp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bmp-step { border-left: 2px solid var(--bmp-line); padding: 2px 0 2px 18px; }
.bmp-step--now { border-left-color: var(--bmp-brand); }
.bmp-step__n { font-family: 'Baloo 2', cursive; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--bmp-ink-faint); text-transform: uppercase; }
.bmp-step--now .bmp-step__n { color: var(--bmp-brand-deep); }
.bmp-step h3 { font-family: 'Baloo 2', cursive; font-size: 17px; margin: 6px 0; color: var(--bmp-ink); }
.bmp-step p { margin: 0 0 9px; font-size: 14px; color: var(--bmp-ink-soft); line-height: 1.55; }
.bmp-step a { font-size: 13.5px; font-weight: 600; color: var(--bmp-brand-deep); text-decoration: none; }
.bmp-step a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Need hubs
   -------------------------------------------------------------------------- */
.bmp-hubs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bmp-hub {
  background: var(--bmp-card); border: 1px solid var(--bmp-line);
  border-radius: var(--bmp-radius); padding: 22px 20px;
  text-decoration: none; display: block; color: var(--bmp-ink);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.bmp-hub:hover { border-color: var(--bmp-brand); transform: translateY(-3px); box-shadow: var(--bmp-shadow); }
.bmp-hub svg { margin-bottom: 14px; }
.bmp-hub h3 { font-family: 'Baloo 2', cursive; font-size: 18px; margin: 0 0 7px; color: var(--bmp-ink); }
.bmp-hub p { margin: 0 0 14px; font-size: 14px; color: var(--bmp-ink-soft); line-height: 1.55; }
.bmp-hub__count { font-size: 12.5px; font-weight: 700; color: var(--bmp-brand-deep); }

/* --------------------------------------------------------------------------
   Series cards
   -------------------------------------------------------------------------- */
.bmp-series { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bmp-serie { background: var(--bmp-card); border: 1px solid var(--bmp-line); border-radius: var(--bmp-radius); overflow: hidden; box-shadow: var(--bmp-shadow); }
.bmp-serie__cover { height: 118px; position: relative; overflow: hidden; background: var(--bmp-brand-wash); }
.bmp-serie__cover img { width: 100%; height: 100%; object-fit: cover; }
.bmp-serie__cover span {
  position: absolute; left: 14px; bottom: 12px; background: rgba(27,22,55,.86); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px;
}
.bmp-serie__pad { padding: 20px 24px 22px; }
.bmp-serie__pad h3 { font-family: 'Baloo 2', cursive; font-size: 21px; margin: 0 0 6px; color: var(--bmp-ink); }
.bmp-serie__pad > p { font-size: 14.5px; color: var(--bmp-ink-soft); margin: 0 0 14px; }
.bmp-parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bmp-line); }
.bmp-parts li { border-bottom: 1px solid var(--bmp-line); }
.bmp-parts a { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--bmp-ink); }
.bmp-parts a:hover { color: var(--bmp-brand-deep); }
.bmp-parts__n { font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 12px; color: var(--bmp-ink-faint); min-width: 20px; flex: none; }
.bmp-parts__mins { margin-left: auto; font-size: 12.5px; color: var(--bmp-ink-faint); flex: none; }

/* --------------------------------------------------------------------------
   Toolkit / commerce zone — deliberately a different surface so a reader
   always knows when they are looking at a recommendation.
   -------------------------------------------------------------------------- */
.bmp-commerce { background: var(--bmp-shop-wash); border-top: 1px solid var(--bmp-shop-line); border-bottom: 1px solid var(--bmp-shop-line); }
.bmp-disclosure {
  background: var(--bmp-card); border: 1px solid var(--bmp-shop-line); border-radius: 10px;
  padding: 13px 16px; font-size: 13.5px; color: var(--bmp-ink-soft);
  display: flex; gap: 11px; align-items: flex-start; margin-bottom: 26px;
}
.bmp-disclosure b { color: var(--bmp-shop); }
.bmp-method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
.bmp-method div { font-size: 13.5px; color: var(--bmp-ink-soft); line-height: 1.55; }
.bmp-method strong { display: block; font-family: 'Baloo 2', cursive; font-size: 15px; color: var(--bmp-ink); margin-bottom: 4px; }

.bmp-pick { display: grid; grid-template-columns: 230px 1fr; gap: 28px; background: var(--bmp-card); border: 1px solid var(--bmp-shop-line); border-radius: var(--bmp-radius); padding: 24px; margin-bottom: 26px; }
.bmp-pick__img { background: #fff; border: 1px solid var(--bmp-shop-line); border-radius: 10px; padding: 10px; display: grid; place-items: center; }
.bmp-badge { font-family: 'Poppins', sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--bmp-shop); margin: 0 0 8px; }
.bmp-pick h3 { font-family: 'Baloo 2', cursive; font-size: 23px; margin: 0 0 8px; color: var(--bmp-ink); }
.bmp-pick__body > p { font-size: 14.5px; color: var(--bmp-ink-soft); margin: 0 0 14px; max-width: 60ch; }
.bmp-why { background: var(--bmp-shop-wash); border-left: 3px solid var(--bmp-shop); padding: 11px 14px; border-radius: 0 8px 8px 0; font-size: 14px; margin-bottom: 16px; color: var(--bmp-ink-soft); }
.bmp-why b { color: var(--bmp-shop); }

.bmp-table { width: 100%; border-collapse: collapse; background: var(--bmp-card); border: 1px solid var(--bmp-shop-line); border-radius: var(--bmp-radius); overflow: hidden; font-size: 14.5px; }
.bmp-table th, .bmp-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--bmp-shop-line); vertical-align: middle; color: var(--bmp-ink); }
.bmp-table th { font-family: 'Baloo 2', cursive; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--bmp-ink-faint); }
.bmp-table tr:last-child td { border-bottom: 0; }
.bmp-prod { display: flex; align-items: center; gap: 12px; }
.bmp-prod img { width: 46px; height: 46px; object-fit: contain; border: 1px solid var(--bmp-shop-line); border-radius: 8px; padding: 3px; background: #fff; flex: none; }
.bmp-prod b { display: block; font-size: 14.5px; line-height: 1.3; }
.bmp-prod small { color: var(--bmp-ink-faint); }
.bmp-tlink { color: var(--bmp-shop); font-weight: 600; text-decoration: none; white-space: nowrap; }
.bmp-tlink:hover { text-decoration: underline; }

/* In-article affiliate card (used by the [bmp_pick] shortcode) */
.bmp-inline-pick {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center;
  background: var(--bmp-shop-wash); border: 1px solid var(--bmp-shop-line);
  border-radius: var(--bmp-radius); padding: 18px; margin: 32px 0;
}
.bmp-inline-pick img { border-radius: 8px; background: #fff; }
.bmp-inline-pick h4 { font-family: 'Baloo 2', cursive; font-size: 18px; margin: 4px 0 6px; color: var(--bmp-ink); }
.bmp-inline-pick p { font-size: 14px; color: var(--bmp-ink-soft); margin: 0 0 12px; }
.bmp-inline-pick .bmp-badge { margin-bottom: 2px; }

/* --------------------------------------------------------------------------
   Child zone — flagged ad-free
   -------------------------------------------------------------------------- */
.bmp-kidzone { background: var(--bmp-brand-wash); border-top: 1px solid var(--bmp-line); border-bottom: 1px solid var(--bmp-line); }
.bmp-flag {
  display: inline-flex; gap: 8px; align-items: center; background: var(--bmp-card);
  border: 1px solid var(--bmp-line); color: var(--bmp-brand-deep);
  font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 99px; margin-bottom: 20px;
}
.bmp-games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bmp-game {
  background: var(--bmp-card); border: 1px solid var(--bmp-line); border-radius: var(--bmp-radius);
  padding: 20px; text-decoration: none; display: block; color: var(--bmp-ink);
  transition: transform .16s ease, box-shadow .16s ease;
}
.bmp-game:hover { transform: translateY(-3px); box-shadow: var(--bmp-shadow); }
.bmp-game svg { margin-bottom: 12px; }
.bmp-game h3 { font-family: 'Baloo 2', cursive; font-size: 17px; margin: 0 0 5px; }
.bmp-game p { margin: 0; font-size: 13.5px; color: var(--bmp-ink-soft); }

/* --------------------------------------------------------------------------
   Dashboard proof
   -------------------------------------------------------------------------- */
.bmp-dash__title { font-family: 'Baloo 2', cursive; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.14; margin: 0 0 12px; color: var(--bmp-ink); }
.bmp-dash { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.bmp-dash__list { list-style: none; margin: 18px 0 24px; padding: 0; }
.bmp-dash__list li { display: flex; gap: 11px; font-size: 15px; margin-bottom: 11px; color: var(--bmp-ink-soft); }
.bmp-dash__list li span { color: var(--bmp-sage); font-weight: 700; flex: none; }
.bmp-mock { background: var(--bmp-card); border: 1px solid var(--bmp-line); border-radius: 16px; padding: 22px; box-shadow: var(--bmp-shadow); }
.bmp-mock__top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.bmp-mock__av { width: 42px; height: 42px; border-radius: 12px; background: var(--bmp-brand-wash); display: grid; place-items: center; font-size: 20px; flex: none; }
.bmp-mock__top b { font-size: 15px; font-family: 'Baloo 2', cursive; }
.bmp-mock__top small { display: block; color: var(--bmp-ink-faint); font-size: 12.5px; }
.bmp-mock__streak { margin-left: auto; font-size: 12.5px; font-weight: 700; background: var(--bmp-shop-wash); color: var(--bmp-shop); padding: 5px 10px; border-radius: 99px; flex: none; }
.bmp-bar { margin-bottom: 13px; }
.bmp-bar__lab { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.bmp-bar__track { height: 8px; background: var(--bmp-line); border-radius: 99px; overflow: hidden; }
.bmp-bar__fill { height: 100%; border-radius: 99px; }
.bmp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.bmp-tile { background: var(--bmp-page); border: 1px solid var(--bmp-line); border-radius: 10px; padding: 12px; text-align: center; }
.bmp-tile b { display: block; font-family: 'Baloo 2', cursive; font-size: 21px; }
.bmp-tile small { font-size: 11.5px; color: var(--bmp-ink-faint); }
.bmp-nextstep { margin-top: 16px; background: var(--bmp-sage-wash); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--bmp-sage); }

/* --------------------------------------------------------------------------
   Article cards
   -------------------------------------------------------------------------- */
.bmp-arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bmp-art {
  background: var(--bmp-card); border: 1px solid var(--bmp-line); border-radius: var(--bmp-radius);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column; color: var(--bmp-ink);
  transition: transform .16s ease, box-shadow .16s ease;
}
.bmp-art:hover { box-shadow: var(--bmp-shadow); transform: translateY(-3px); }
.bmp-art__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bmp-brand-wash); }
.bmp-art__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bmp-art__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.bmp-art__meta { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bmp-ink-faint); margin-bottom: 9px; }
.bmp-art h3 { font-family: 'Baloo 2', cursive; font-size: 18px; margin: 0 0 8px; line-height: 1.28; }
.bmp-art p { font-size: 14px; color: var(--bmp-ink-soft); margin: 0 0 14px; flex: 1; }
.bmp-art__next { font-size: 13px; font-weight: 600; color: var(--bmp-brand-deep); border-top: 1px dashed var(--bmp-line); padding-top: 11px; }

/* --------------------------------------------------------------------------
   Quotes
   -------------------------------------------------------------------------- */
.bmp-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bmp-quote { background: var(--bmp-card); border: 1px solid var(--bmp-line); border-radius: var(--bmp-radius); padding: 22px; }
.bmp-quote p { font-size: 15px; margin: 0 0 16px; line-height: 1.6; color: var(--bmp-ink); }
.bmp-who { display: flex; align-items: center; gap: 11px; }
.bmp-who__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 14px; color: #fff; flex: none; }
.bmp-who b { font-size: 14px; display: block; }
.bmp-who small { font-size: 12.5px; color: var(--bmp-ink-faint); }

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */
.bmp-news { background: #1B1637; color: #fff; border-radius: 18px; padding: 44px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.bmp-news h2 { font-family: 'Baloo 2', cursive; color: #fff; font-size: 31px; margin: 0 0 12px; line-height: 1.15; }
.bmp-news p { color: #BDB7DA; margin: 0 0 6px; font-size: 15px; }
.bmp-news small { color: #8C86AD; font-size: 12.5px; }
.bmp-form { display: flex; gap: 9px; }
.bmp-form input { flex: 1; min-width: 0; padding: 13px 15px; border-radius: 10px; border: 1px solid #3A3360; background: #241E45; color: #fff; font-family: inherit; font-size: 15px; }
.bmp-form input::placeholder { color: #8C86AD; }

/* --------------------------------------------------------------------------
   Series navigation (single posts)
   -------------------------------------------------------------------------- */
.bmp-serienav { background: var(--bmp-card); border: 1px solid var(--bmp-line); border-radius: var(--bmp-radius); padding: 20px 22px; margin: 34px 0; }
.bmp-serienav__head { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bmp-ink-faint); margin: 0 0 12px; }
.bmp-serienav ol { list-style: none; margin: 0; padding: 0; counter-reset: bmp-part; }
.bmp-serienav li { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--bmp-line); font-size: 14.5px; }
.bmp-serienav li:last-child { border-bottom: 0; }
.bmp-serienav li a { color: var(--bmp-ink); text-decoration: none; }
.bmp-serienav li a:hover { color: var(--bmp-brand-deep); }
.bmp-serienav li[aria-current="true"] { font-weight: 700; color: var(--bmp-brand-deep); }
.bmp-serienav__n { font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 12px; color: var(--bmp-ink-faint); min-width: 22px; flex: none; }

/* --------------------------------------------------------------------------
   Sticky continue bar
   -------------------------------------------------------------------------- */
.bmp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: var(--bmp-card); border-top: 1px solid var(--bmp-line);
  box-shadow: 0 -6px 24px rgba(27,22,55,.07);
  transform: translateY(110%); transition: transform .3s ease;
}
.bmp-sticky.is-on { transform: none; }
.bmp-sticky__in { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.bmp-sticky p { margin: 0; font-size: 14px; color: var(--bmp-ink-soft); }
.bmp-sticky b { color: var(--bmp-ink); }
.bmp-sticky .bmp-btn { margin-left: auto; white-space: nowrap; }
.bmp-sticky__x { background: none; border: 0; font-size: 20px; color: var(--bmp-ink-faint); cursor: pointer; line-height: 1; padding: 4px 8px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .bmp-hubs { grid-template-columns: repeat(2, 1fr); }
  .bmp-arts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .bmp-hero__grid { grid-template-columns: 1fr; gap: 52px; }
  .bmp-float--a { left: 0; }
  .bmp-dash { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 880px) {
  .bmp-steps { grid-template-columns: 1fr 1fr; }
  .bmp-series { grid-template-columns: 1fr; }
  .bmp-quotes { grid-template-columns: 1fr; }
  .bmp-games { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .bmp-news { grid-template-columns: 1fr; padding: 30px; }
}
@media (max-width: 760px) {
  .bmp-section { padding: 56px 0; }
  .bmp-pick { grid-template-columns: 1fr; }
  .bmp-method { grid-template-columns: 1fr; }
  .bmp-table th:nth-child(2), .bmp-table td:nth-child(2),
  .bmp-table th:nth-child(3), .bmp-table td:nth-child(3) { display: none; }
  .bmp-arts { grid-template-columns: 1fr; }
  .bmp-inline-pick { grid-template-columns: 1fr; }
  .bmp-inline-pick img { max-width: 120px; }
}
@media (max-width: 520px) {
  .bmp-steps { grid-template-columns: 1fr; }
  .bmp-hubs { grid-template-columns: 1fr; }
  .bmp-form { flex-direction: column; }
  .bmp-sticky p { font-size: 13px; }
}

/* Respect the theme's reduced-motion promise */
@media (prefers-reduced-motion: reduce) {
  .bmp * { transition: none !important; animation: none !important; }
  .bmp-sticky { transition: none !important; }
}

/* Focus ring matches the theme's existing a11y outline */
.bmp a:focus-visible, .bmp button:focus-visible, .bmp input:focus-visible {
  outline: 3px solid var(--bmp-brand); outline-offset: 3px; border-radius: 6px;
}

/* ==========================================================================
   v3.1 additions — search, levels, FAQ, breadcrumbs, related, progress
   ========================================================================== */

/* --- Search block ------------------------------------------------------- */
.bmp-search { background: var(--bmp-card); border: 1px solid var(--bmp-line); border-radius: var(--bmp-radius); padding: 26px 28px; }
.bmp-search__form { display: flex; gap: 10px; margin: 0 0 14px; }
.bmp-search__form input[type="search"] {
  flex: 1; min-width: 0; padding: 13px 16px; font-size: 15.5px; font-family: inherit;
  border: 2px solid var(--bmp-line); border-radius: 10px;
  background: var(--bmp-page); color: var(--bmp-ink);
}
.bmp-search__form input[type="search"]:focus { border-color: var(--bmp-brand); outline: none; }
.bmp-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--bmp-ink-faint); }
.bmp-chip {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 13.5px;
  padding: 6px 12px; border-radius: 99px; background: var(--bmp-brand-wash);
  color: var(--bmp-brand-deep); border: 1px solid transparent;
}
.bmp-chip:hover { border-color: var(--bmp-brand); }

/* --- Level / age router ------------------------------------------------- */
.bmp-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bmp-level {
  background: var(--bmp-card); border: 1px solid var(--bmp-line); border-radius: var(--bmp-radius);
  padding: 20px; text-decoration: none; display: block; color: var(--bmp-ink);
  transition: border-color .16s ease, transform .16s ease;
}
.bmp-level:hover { border-color: var(--bmp-brand); transform: translateY(-3px); }
.bmp-level__yrs { font-family: 'Baloo 2', cursive; font-size: 27px; font-weight: 800; color: var(--bmp-brand-deep); line-height: 1; }
.bmp-level h3 { font-family: 'Baloo 2', cursive; font-size: 16px; margin: 8px 0 5px; }
.bmp-level p { margin: 0; font-size: 13.5px; color: var(--bmp-ink-faint); }

/* --- FAQ (native <details>, works without JS) --------------------------- */
.bmp-faq { max-width: 820px; }
.bmp-faq details {
  background: var(--bmp-card); border: 1px solid var(--bmp-line);
  border-radius: var(--bmp-radius); margin-bottom: 10px; overflow: hidden;
}
.bmp-faq details[open] { border-color: var(--bmp-brand); }
.bmp-faq summary {
  cursor: pointer; padding: 16px 20px; font-family: 'Baloo 2', cursive;
  font-size: 17px; color: var(--bmp-ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.bmp-faq summary::-webkit-details-marker { display: none; }
.bmp-faq summary::after {
  content: "+"; font-size: 22px; color: var(--bmp-brand-deep); flex: none; line-height: 1;
}
.bmp-faq details[open] summary::after { content: "\2212"; }
.bmp-faq summary:hover { color: var(--bmp-brand-deep); }
.bmp-faq .bmp-faq__a { padding: 0 20px 18px; font-size: 15px; color: var(--bmp-ink-soft); line-height: 1.65; margin: 0; }

/* --- Breadcrumbs -------------------------------------------------------- */
.bmp-crumbs { font-size: 13.5px; color: var(--bmp-ink-faint); margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.bmp-crumbs a { color: var(--bmp-ink-faint); text-decoration: none; }
.bmp-crumbs a:hover { color: var(--bmp-brand-deep); text-decoration: underline; }
.bmp-crumbs span[aria-hidden] { opacity: .5; }

/* --- Related guides rail ------------------------------------------------ */
.bmp-related { margin: 44px 0 0; }
.bmp-related h2 { font-family: 'Baloo 2', cursive; font-size: 23px; margin: 0 0 18px; color: var(--bmp-ink); }
.bmp-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bmp-related__card {
  background: var(--bmp-card); border: 1px solid var(--bmp-line); border-radius: var(--bmp-radius);
  overflow: hidden; text-decoration: none; color: var(--bmp-ink); display: block;
  transition: transform .16s ease, box-shadow .16s ease;
}
.bmp-related__card:hover { transform: translateY(-3px); box-shadow: var(--bmp-shadow); }
.bmp-related__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bmp-brand-wash); }
.bmp-related__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bmp-related__card > div:last-child { padding: 14px 16px 16px; }
.bmp-related__card h3 { font-family: 'Baloo 2', cursive; font-size: 15.5px; line-height: 1.3; margin: 0 0 6px; }
.bmp-related__card small { font-size: 12.5px; color: var(--bmp-ink-faint); }

/* --- Reading progress bar ---------------------------------------------- */
.bmp-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--bmp-brand); z-index: 55; transition: width .1s linear;
}

/* --- Sticky bar clearance so it never covers footer content ------------ */
body.bmp-has-sticky { padding-bottom: 68px; }

@media (max-width: 880px) {
  .bmp-levels { grid-template-columns: repeat(2, 1fr); }
  .bmp-related__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bmp-levels { grid-template-columns: 1fr 1fr; }
  .bmp-related__grid { grid-template-columns: 1fr; }
  .bmp-search { padding: 20px; }
  .bmp-search__form { flex-direction: column; }
  body.bmp-has-sticky { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .bmp-progress { transition: none; } }

/* ==========================================================================
   v3.2 — Customizer-uploaded images
   Sized and cropped so an upload of any dimension drops into the same slot
   the built-in SVG occupied, without shifting the layout.
   ========================================================================== */

/* Hero: matches the 520x400 viewBox of the illustration it replaces. */
.bmp-hero__img { width: 100%; height: auto; aspect-ratio: 13 / 10; object-fit: cover; display: block; }

/* Hub + game icons: square, rounded to match the SVG tiles. */
.bmp-hub__img,
.bmp-game__img {
  width: 46px; height: 46px; object-fit: cover;
  border-radius: 13px; margin-bottom: 14px; background: var(--bmp-brand-wash);
}
.bmp-game__img { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }

/* Dashboard screenshot mode: the card becomes a frame, no inner padding. */
.bmp-mock--shot { padding: 0; overflow: hidden; }
.bmp-mock--shot img { width: 100%; height: auto; display: block; }

/* Avatar inside the built-in mockup. */
.bmp-mock__av-img { width: 42px; height: 42px; object-fit: cover; border-radius: 12px; display: block; }
.bmp-mock__av:has(.bmp-mock__av-img) { background: none; }

/* Quote headshots: circle-cropped, same footprint as the initials chip. */
.bmp-who__av-img { width: 38px; height: 38px; object-fit: cover; border-radius: 50%; flex: none; display: block; }

/* Optional newsletter image, above the form on the dark panel. */
.bmp-news__img { width: 100%; height: auto; border-radius: 12px; margin-bottom: 16px; }

@media (max-width: 560px) {
  .bmp-hero__img { aspect-ratio: 4 / 3; }
}
