/* Games landing story. Capability, pricing and account behaviour stay unchanged. */
.bf-story-page[data-family-page="hub"] .family-hero {
  gap: clamp(1.75rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 6vw, 5rem);
}
.bf-story-page[data-family-page="hub"] .family-hero h1 {
  max-width: 13ch;
  font-family: inherit;
  font-size: clamp(2.8rem, 5.4vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.bf-story-page[data-family-page="hub"] .games-story-intro > p:not(.family-note) {
  max-width: 36ch;
  margin-block: 1.5rem;
  line-height: 1.7;
}
.bf-story-page[data-family-page="hub"] .family-hero-actions { align-items: center; gap: 1rem 1.5rem; }
.bf-story-page[data-family-page="hub"] .games-return-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #6656a0;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.bf-story-page[data-family-page="hub"] .family-note {
  padding: .875rem 1rem;
  border: 1px solid #e0d6bd;
  border-radius: .75rem;
  color: #655c43;
  background: #f7f2e7;
  font-size: .875rem;
  line-height: 1.6;
}
.bf-story-page[data-family-page="hub"] .games-story-intro > .family-note { margin-top: 1.5rem; }
.bf-story-page[data-family-page="hub"] .bf-landing-photo img { border-radius: 1rem 1rem 4rem 1rem; object-fit: cover; }
.bf-story-page[data-family-page="hub"] .bf-landing-photo figcaption { font-size: .75rem; }
.bf-story-page[data-family-page="hub"] .bf-hero-context {
  padding-block: 1.5rem;
  border-block: 1px solid #e4dfd8;
}
.bf-story-page[data-family-page="hub"] .bf-hero-context strong { color: #69636f; font-size: .875rem; font-weight: 500; }
.bf-story-page[data-family-page="hub"] .bf-hero-context ol { gap: 1rem 2rem; }
.bf-story-page[data-family-page="hub"] .bf-hero-context li { align-items: center; font-size: .875rem; }
.bf-story-page[data-family-page="hub"] .bf-hero-context li::before {
  width: 1.75rem;
  height: 1.75rem;
  color: #6656a0;
  background: #eeeaf5;
  font-size: .75rem;
  font-weight: 600;
}
.bf-story-page[data-family-page="hub"] #choose-game { scroll-margin-top: 2rem; }
.bf-story-page[data-family-page="hub"] .family-section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.bf-story-page[data-family-page="hub"] .family-section-header { margin-bottom: 2rem; }
.bf-story-page[data-family-page="hub"] .family-section-header h2 { max-width: 26ch; font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-wrap: balance; }
.bf-story-page[data-family-page="hub"] .family-section-header p { max-width: 58ch; margin-top: .8rem; line-height: 1.65; }
.bf-story-page[data-family-page="hub"] .game-card-grid { gap: clamp(1rem, 2.5vw, 2rem); }
.bf-story-page[data-family-page="hub"] .game-card {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-color: #e0dce6;
  border-radius: 1rem;
  background: #f2eef7;
  box-shadow: none;
}
.bf-story-page[data-family-page="hub"] .game-card.is-date { border-color: #d9e1d6; background: #edf2ea; }
.bf-story-page[data-family-page="hub"] .game-icon { border-radius: .75rem; background: #e6def0; color: #5b4b86; font-family: inherit; }
.bf-story-page[data-family-page="hub"] .game-card.is-date .game-icon { background: #dfe8dd; color: #526650; }
.bf-story-page[data-family-page="hub"] .game-card h3 { margin-top: 1.5rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -.025em; }
.bf-story-page[data-family-page="hub"] .game-card p,
.bf-story-page[data-family-page="hub"] .game-card ul { color: #69636f; line-height: 1.65; }
.bf-story-page[data-family-page="hub"] .game-card ul { gap: .5rem; margin-block: 1.25rem 2rem; }
.bf-story-page[data-family-page="hub"] .game-card .button-link { background: #fffdf9; color: #54447e; border: 1px solid #d3cbdc; box-shadow: none; }
.bf-story-page[data-family-page="hub"] .game-card .button-link:hover { background: #f7f3fa; border-color: #6656a0; transform: none; }
.bf-story-page[data-family-page="hub"] .games-story-details {
  margin-top: 1.5rem;
  padding-block: 1rem;
  border-block: 1px solid #e4dfd8;
}
.bf-story-page[data-family-page="hub"] .games-story-details summary {
  width: fit-content;
  min-height: 44px;
  padding-block: .65rem;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  color: #54447e;
}
.bf-story-page[data-family-page="hub"] .games-story-details .bf-game-entry { margin-top: .5rem; border: 0; padding: .5rem 0; background: none; box-shadow: none; }
.bf-story-page[data-family-page="hub"] .games-story-details p { max-width: 75ch; font-size: .875rem; line-height: 1.7; }
.bf-story-page[data-family-page="hub"] .games-guide-links { margin-bottom: 0; }
.bf-story-page[data-family-page="hub"] .workflow-grid { gap: 1.5rem; }
.bf-story-page[data-family-page="hub"] .workflow-step { padding: 1.25rem 0; border: 0; border-top: 1px solid #d8d1df; border-radius: 0; background: none; }
.bf-story-page[data-family-page="hub"] .workflow-step span { color: #6656a0; font-weight: 500; }
.bf-story-page[data-family-page="hub"] .workflow-step h3 { margin-block: .8rem .65rem; font-size: 1.1rem; }
.bf-story-page[data-family-page="hub"] .workflow-step p { font-size: .9rem; line-height: 1.7; }
@media (max-width: 760px) {
  .bf-story-page[data-family-page="hub"] .family-hero { gap: 2rem; }
  .bf-story-page[data-family-page="hub"] .family-hero h1 { max-width: 17ch; }
  .bf-story-page[data-family-page="hub"] .games-story-intro > p:not(.family-note) { max-width: 48ch; }
  .bf-story-page[data-family-page="hub"] .bf-landing-photo img { max-height: 24rem; }
  .bf-story-page[data-family-page="hub"] .game-card .button-link { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .bf-story-page[data-family-page="hub"] .family-hero-actions { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .bf-story-page[data-family-page="hub"] .family-hero-actions > .button-link { width: 100%; justify-content: center; }
  .bf-story-page[data-family-page="hub"] .bf-hero-context ol { grid-template-columns: 1fr; gap: .75rem; }
  .bf-story-page[data-family-page="hub"] .workflow-grid { gap: .5rem; }
}
