/* Onboarding tour (block "onboarding-birthdaybanner") */

.bb-onb {
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  background: var(--bb-white);
}

.bb-onb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
}
.bb-onb-topbar-label {
  font-family: var(--bb-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bb-muted);
}
.bb-onb-skip {
  font-family: var(--bb-font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--bb-muted);
}
.bb-onb-skip:hover { color: var(--bb-ink); }

.bb-onb-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px 24px;
}

.bb-onb-slide {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: center;
}
/* render.php gives every slide but the first a `hidden` attribute and the
   JS toggles it as the tour advances, same pattern as the wizard's
   completion modal. `display: grid` above has the same specificity as the
   browser's own `[hidden] { display: none }` UA rule, and being an
   author rule it wins regardless — every slide rendered at once, side by
   side (the shared `.bb-onb-shell` is a flex row), blowing the layout far
   past the viewport width instead of showing one slide at a time. */
.bb-onb-slide[hidden] {
  display: none;
}

.bb-onb-eyebrow {
  display: block;
  font-family: var(--bb-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bb-blue);
  margin-bottom: 14px;
}

.bb-onb-icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bb-gradient-135);
  color: var(--bb-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.bb-onb-icon-tile svg { width: 28px; height: 28px; }

.bb-onb-copy h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.bb-onb-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--bb-body);
  margin: 0 0 20px;
  max-width: 34em;
}
.bb-onb-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bb-onb-points li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--bb-ink);
}
.bb-onb-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--bb-blue-15);
  border: 1.5px solid var(--bb-blue);
}

.bb-onb-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--bb-radius-card);
  background: var(--bb-gradient-135);
  display: flex;
  align-items: flex-end;
  padding: 26px;
  box-shadow: var(--sh-photo);
}
.bb-onb-visual-banner {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.bb-onb-visual-title { font-family: var(--bb-font-heading); font-weight: 800; font-size: 18px; color: var(--bb-ink); }
.bb-onb-visual-sub { font-size: 12.5px; color: var(--bb-muted); }

.bb-onb-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  padding: 18px 32px 32px;
}
.bb-onb-back {
  font-family: var(--bb-font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bb-muted);
  border: none;
  background: none;
  cursor: pointer;
}
.bb-onb-back:hover { color: var(--bb-ink); }

.bb-onb-dots { display: flex; align-items: center; gap: 6px; }
.bb-onb-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, .16);
  padding: 0;
  cursor: pointer;
  transition: width .2s var(--bb-ease), background .2s var(--bb-ease);
}
.bb-onb-dot.is-active { width: 26px; background: var(--bb-gradient-135); }

.bb-onb-counter { font-size: 12px; color: var(--bb-muted); min-width: 52px; text-align: center; }

.bb-onb-next {
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  background: var(--bb-coral);
  color: var(--bb-white);
  font-family: var(--bb-font-heading);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--sh-cta);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.bb-onb-next:hover { transform: translateY(-1px); color: var(--bb-white); }
/* Same [hidden]-vs-author-rule collision as .bb-onb-slide above: this class's
   own `display: inline-flex` otherwise beats the UA `[hidden]{display:none}`
   rule, so script.js's toggle between Next and the final "Open The Studio"
   link (both share this class) left both visible at once. */
.bb-onb-next[hidden] { display: none; }

@media (max-width: 900px) {
  .bb-onb-slide { grid-template-columns: 1fr; }
  .bb-onb-visual { aspect-ratio: 16 / 9; order: -1; }
  .bb-onb-footer { flex-wrap: wrap; }
}
