:root {
  --cbs-cyan: #00a1cd;
  --cbs-indigo: #271d6c;
  --cbs-white: #ffffff;
  --cbs-indigo-soft: rgba(39, 29, 108, 0.08);
  --cbs-indigo-mid: rgba(39, 29, 108, 0.18);
  --cbs-indigo-text: rgba(39, 29, 108, 0.78);
  --cbs-cyan-soft: rgba(0, 161, 205, 0.1);
  --cbs-cyan-mid: rgba(0, 161, 205, 0.22);
  --cbs-shadow: 0 24px 60px rgba(39, 29, 108, 0.08);
  --story-text-label: clamp(0.82rem, 0.8rem + 0.12vw, 0.9rem);
  --story-text-meta: clamp(0.76rem, 0.74rem + 0.1vw, 0.84rem);
  --story-text-body: clamp(0.98rem, 1.02vw, 1.06rem);
}

html,
body {
  padding: 0;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(0, 161, 205, 0.08) 0%, #ffffff 18%, #ffffff 78%, rgba(39, 29, 108, 0.08) 100%);
  color: var(--cbs-indigo);
  font-family: "Akko Pro", "Segoe UI", sans-serif;
}

body .container-fluid {
  padding: 0;
}

a {
  color: var(--cbs-cyan);
}

button,
input {
  font: inherit;
}

.app-shell {
  width: min(1740px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 0.45rem 0 3.2rem;
}

.story-hero {
  position: relative;
  margin-bottom: clamp(0.28rem, 0.6vw, 0.45rem);
  padding: clamp(0.46rem, 0.9vw, 0.62rem) clamp(0.66rem, 1.2vw, 0.86rem) clamp(0.5rem, 1vw, 0.68rem);
  border-radius: 20px;
  border: 1px solid rgba(0, 161, 205, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.985), rgba(255, 255, 255, 0.96)),
    linear-gradient(180deg, rgba(0, 161, 205, 0.03), rgba(39, 29, 108, 0.02));
  box-shadow: 0 14px 34px rgba(39, 29, 108, 0.05);
}

.story-hero-error ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--cbs-indigo-text);
  line-height: 1.6;
}

.story-step-kicker,
.story-visual-chip {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--story-text-meta);
  font-weight: 700;
}

.story-step-kicker {
  color: var(--cbs-cyan);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  line-height: 1;
}

.story-chapter-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cbs-cyan);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  font-weight: 800;
}

.hero-meta-row {
  margin-top: 0.22rem;
}

.hero-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 20;
}

.hero-info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  border: 1px solid rgba(39, 29, 108, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(39, 29, 108, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(39, 29, 108, 0.05);
}

.hero-info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.24rem;
  border-radius: 999px;
  background: var(--cbs-cyan);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
}

.hero-info-label {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-info-tooltip {
  position: absolute;
  top: calc(100% + 0.38rem);
  right: 0;
  width: min(26rem, calc(100vw - 3rem));
  padding: 0.68rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--cbs-indigo-mid);
  background: rgba(255, 255, 255, 0.98);
  color: var(--cbs-indigo);
  font-size: 0.8rem;
  line-height: 1.42;
  box-shadow: 0 12px 24px rgba(39, 29, 108, 0.08);
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-info-wrap:hover .hero-info-tooltip,
.hero-info-wrap:focus-within .hero-info-tooltip {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-search-wrap {
  width: 100%;
}

.hero-search-wrap label {
  display: block;
  margin: 0 0 0.14rem;
  color: var(--cbs-indigo);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-search-form {
  margin: 0;
}

.hero-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 0.44rem;
  align-items: center;
}

.hero-search-row input {
  width: 100%;
  height: auto;
  padding: 0.62rem 0.86rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 161, 205, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--cbs-indigo);
  font-size: 0.93rem;
  line-height: 1.35;
  box-shadow: 0 6px 16px rgba(39, 29, 108, 0.05);
}

.hero-search-row input:focus {
  outline: none;
  border-color: rgba(0, 161, 205, 0.46);
  box-shadow:
    0 0 0 3px rgba(0, 161, 205, 0.08),
    0 10px 24px rgba(39, 29, 108, 0.06);
}

.hero-search-submit,
.hero-search-clear,
.hero-info-button {
  height: 2.46rem;
  padding: 0 0.86rem;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.hero-search-submit {
  border: 0;
  background: var(--cbs-indigo);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(39, 29, 108, 0.1);
}

.hero-search-submit:hover,
.hero-search-clear:hover,
.hero-info-button:hover {
  transform: translateY(-1px);
}

.hero-search-clear {
  border: 1px solid rgba(39, 29, 108, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(39, 29, 108, 0.82);
  box-shadow: 0 6px 16px rgba(39, 29, 108, 0.05);
}

.hero-search-clear,
.hero-info-button {
  width: 6.3rem;
  justify-content: center;
}

.hero-info-button:focus-visible {
  outline: none;
  border-color: rgba(0, 161, 205, 0.46);
  box-shadow:
    0 0 0 3px rgba(0, 161, 205, 0.08),
    0 10px 24px rgba(39, 29, 108, 0.06);
}

.hero-search-help,
.hero-search-empty {
  margin: 0.3rem 0 0;
  color: var(--cbs-indigo-text);
  font-size: 0.8rem;
  line-height: 1.4;
}

.hero-selection-line {
  margin: 0.42rem 0 0;
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: var(--cbs-cyan-soft);
  border: 1px solid var(--cbs-cyan-mid);
  color: var(--cbs-indigo);
  font-size: 0.84rem;
  font-weight: 600;
}

.hero-search-results {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.hero-search-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  padding: 0.78rem 0.9rem;
  width: 100%;
  border: 1px solid rgba(0, 161, 205, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cbs-indigo);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hero-search-result:hover,
.hero-search-result.is-selected {
  border-color: rgba(0, 161, 205, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(39, 29, 108, 0.06);
}

.hero-search-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(0, 161, 205, 0.12);
  color: var(--cbs-cyan);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-search-copy {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.hero-search-copy strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.hero-search-copy span {
  color: rgba(39, 29, 108, 0.62);
  font-size: 0.86rem;
  line-height: 1.4;
}

.story-hero h1,
.story-chapter-title,
.story-step-title {
  margin: 0;
  color: var(--cbs-indigo);
  font-weight: 700;
  line-height: 0.98;
}

.story-hero h1 {
  margin-top: 0;
  max-width: none;
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  line-height: 1.2;
}

.hero-dek,
.story-chapter-dek,
.story-step-summary {
  margin: 0;
  color: var(--cbs-indigo-text);
  line-height: 1.72;
}

.hero-dek {
  margin-top: 0.35rem;
  max-width: 34rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.story-sequence {
  display: flex;
  flex-direction: column;
  gap: clamp(0.12rem, 0.45vw, 0.22rem);
}

.story-progress-shell {
  position: sticky;
  top: clamp(0.5rem, 1.2vw, 0.85rem);
  z-index: 26;
  margin: 0 0 clamp(2.2rem, 4.2vw, 3.7rem);
}

.story-progress-nav {
  padding: clamp(0.35rem, 0.9vw, 0.7rem) clamp(0.3rem, 0.7vw, 0.6rem) clamp(1rem, 1.8vw, 1.25rem);
  overflow-x: auto;
  scrollbar-width: thin;
}

.story-progress-items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--story-progress-count), minmax(5.4rem, 1fr));
  gap: clamp(0.3rem, 0.8vw, 0.55rem);
  width: 100%;
  min-width: max(100%, calc(var(--story-progress-count) * 6rem));
  align-items: start;
}

.story-progress-items::before {
  content: "";
  position: absolute;
  left: clamp(1.5rem, 2.2vw, 2rem);
  right: clamp(1.5rem, 2.2vw, 2rem);
  top: 4.7rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 161, 205, 0.14) 0%,
    rgba(0, 161, 205, 0.62) 28%,
    rgba(39, 29, 108, 0.24) 72%,
    rgba(39, 29, 108, 0.12) 100%
  );
}

.story-progress-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(4.1rem, auto) 2.15rem;
  justify-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cbs-indigo);
  cursor: pointer;
  text-align: center;
}

.story-progress-copy {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
}

.story-progress-label {
  display: -webkit-box;
  max-width: 6.6rem;
  min-height: calc(1.22em * 2);
  color: rgba(39, 29, 108, 0.5);
  font-size: var(--story-text-label);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.01em;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 220ms ease, transform 220ms ease, opacity 220ms ease;
}

.story-progress-date {
  color: rgba(39, 29, 108, 0.42);
  font-size: var(--story-text-meta);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.story-progress-node-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
}

.story-progress-node,
.story-progress-node-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition:
    transform 240ms ease,
    box-shadow 260ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    opacity 240ms ease;
}

.story-progress-node {
  border: 1px solid rgba(0, 161, 205, 0.32);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 10px rgba(0, 161, 205, 0.04),
    0 10px 22px rgba(39, 29, 108, 0.08);
}

.story-progress-node-core {
  inset: 0.4rem;
  background: rgba(39, 29, 108, 0.22);
  opacity: 0.7;
}

.story-progress-item.is-past .story-progress-label {
  color: rgba(39, 29, 108, 0.66);
}

.story-progress-item.is-past .story-progress-node-core {
  background: rgba(0, 161, 205, 0.68);
  opacity: 1;
}

.story-progress-item.is-current .story-progress-label {
  color: rgba(39, 29, 108, 0.96);
  transform: translateY(-1px);
}

.story-progress-item.is-current .story-progress-date {
  color: rgba(39, 29, 108, 0.7);
}

.story-progress-item.is-current .story-progress-node {
  transform: scale(1.34);
  border-color: rgba(0, 161, 205, 0.62);
  box-shadow:
    0 0 0 12px rgba(0, 161, 205, 0.08),
    0 0 0 22px rgba(0, 161, 205, 0.03),
    0 14px 28px rgba(39, 29, 108, 0.11);
}

.story-progress-item.is-current .story-progress-node-core {
  background: linear-gradient(145deg, rgba(0, 161, 205, 0.98), rgba(39, 29, 108, 0.78));
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .story-progress-shell {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 220ms ease, transform 260ms ease;
  }

  html.progress-rail-collapsed .story-progress-shell {
    opacity: 0;
    transform: translateY(-0.8rem);
    pointer-events: none;
  }

  html.progress-rail-collapsed.show-progress-rail .story-progress-shell,
  html.progress-rail-collapsed .story-progress-shell.is-hovering,
  html.progress-rail-collapsed .story-progress-shell:focus-within {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.story-chapter {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  scroll-margin-top: 4.8rem;
  padding: 0;
  border-radius: 0;
  border: 0;
  overflow: visible;
}

.story-chapter::before {
  display: none;
}

.story-chapter-tone-1::before {
  background:
    radial-gradient(circle at 14% 14%, rgba(0, 161, 205, 0.09), rgba(0, 161, 205, 0) 34%),
    linear-gradient(180deg, rgba(0, 161, 205, 0.035), rgba(255, 255, 255, 0) 42%, rgba(39, 29, 108, 0.035) 100%);
}

.story-chapter-tone-2::before {
  background:
    radial-gradient(circle at 84% 18%, rgba(39, 29, 108, 0.08), rgba(39, 29, 108, 0) 36%),
    linear-gradient(180deg, rgba(39, 29, 108, 0.03), rgba(255, 255, 255, 0) 40%, rgba(0, 161, 205, 0.03) 100%);
}

.story-chapter-tone-3::before {
  background:
    radial-gradient(circle at 18% 82%, rgba(0, 161, 205, 0.085), rgba(0, 161, 205, 0) 34%),
    linear-gradient(180deg, rgba(0, 161, 205, 0.028), rgba(255, 255, 255, 0) 38%, rgba(39, 29, 108, 0.042) 100%);
}

.story-chapter-tone-4::before {
  background:
    radial-gradient(circle at 88% 76%, rgba(39, 29, 108, 0.08), rgba(39, 29, 108, 0) 34%),
    linear-gradient(180deg, rgba(39, 29, 108, 0.028), rgba(255, 255, 255, 0) 40%, rgba(0, 161, 205, 0.04) 100%);
}

.story-chapter-transition {
  display: none;
}

.story-chapter-transition-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 161, 205, 0) 0%,
    rgba(0, 161, 205, 0.58) 18%,
    rgba(39, 29, 108, 0.24) 62%,
    rgba(39, 29, 108, 0) 100%
  );
}

.story-chapter-transition-glow {
  position: absolute;
  left: clamp(12%, 18vw, 22%);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(7rem, 10vw, 9rem);
  height: clamp(2.1rem, 3vw, 2.8rem);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(0, 161, 205, 0.24), rgba(0, 161, 205, 0.08) 42%, rgba(0, 161, 205, 0) 72%),
    radial-gradient(circle at 68% 50%, rgba(39, 29, 108, 0.12), rgba(39, 29, 108, 0) 62%);
  filter: blur(9px);
}

.story-chapter-transition-pulse {
  position: absolute;
  left: clamp(12%, 18vw, 22%);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0, 161, 205, 0.95), rgba(39, 29, 108, 0.7));
  box-shadow:
    0 0 0 8px rgba(0, 161, 205, 0.08),
    0 0 0 18px rgba(0, 161, 205, 0.035),
    0 10px 20px rgba(39, 29, 108, 0.1);
}

.story-chapter-header {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  padding: 0 0.5rem;
}

.story-chapter-title {
  margin-top: 0.55rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.story-chapter-dek {
  margin-top: 1rem;
  max-width: 52rem;
  font-size: clamp(0.96rem, 1.2vw, 1.06rem);
  line-height: 1.65;
}

.story-chapter-steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.08rem;
}

.story-step {
  min-height: auto;
  display: flex;
  align-items: stretch;
  padding: 0;
  opacity: 1;
  transform: none;
}

html.scrolly-enhanced .story-step {
  opacity: 0.42;
  transform: translateY(20px);
  transition: opacity 320ms ease, transform 420ms ease;
}

html.scrolly-enhanced .story-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.story-step-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.story-text-block,
.story-visual-block {
  opacity: 1;
  transform: none;
}

html.scrolly-enhanced .story-step .story-text-block,
html.scrolly-enhanced .story-step .story-visual-block {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 420ms ease, transform 520ms ease;
}

html.scrolly-enhanced .story-step.is-active .story-text-block,
html.scrolly-enhanced .story-step.is-active .story-visual-block {
  opacity: 1;
  transform: translateY(0);
}

.story-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}

.story-step-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  padding: 0.28rem 0.52rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 161, 205, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 3px 9px rgba(39, 29, 108, 0.04);
}

.story-step-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
}

.story-step-topline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  justify-content: flex-end;
}

.story-step-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.28rem;
  height: 1.28rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: rgba(0, 161, 205, 0.1);
  color: var(--cbs-cyan);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.story-step-title {
  max-width: none;
  font-size: clamp(0.82rem, 0.95vw, 0.94rem);
  line-height: 1.16;
}

.story-step-summary {
  max-width: none;
  font-size: clamp(0.72rem, 0.8vw, 0.79rem);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.story-step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.52rem;
  margin-top: 0;
  max-width: none;
}

.story-step-meta-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.16rem;
  min-width: 0;
  max-width: 100%;
}

.story-step-meta-label {
  color: rgba(39, 29, 108, 0.46);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.story-step-meta-value {
  color: rgba(39, 29, 108, 0.78);
  font-size: 0.73rem;
  line-height: 1.15;
  max-width: min(18rem, 40vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-step-meta-item.is-trefwoorden .story-step-meta-value {
  max-width: min(40rem, 64vw);
}

.story-visual-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.story-visual-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.8rem;
  padding: 0.12rem 0.34rem;
  border-radius: 999px;
  border: 1px solid var(--cbs-cyan-mid);
  background: rgba(255, 255, 255, 0.92);
  color: var(--cbs-indigo);
}

.story-visual-chip-primary {
  font-size: clamp(0.68rem, 0.74vw, 0.74rem);
  font-weight: 800;
}

.story-step-link-row {
  margin-top: 0;
  max-width: 58rem;
}

.story-step-title-link {
  color: inherit;
  text-decoration: none;
}

.story-step-title-link:hover {
  text-decoration: underline;
}

.story-step-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--cbs-cyan-soft);
  border: 1px solid var(--cbs-cyan-mid);
  color: var(--cbs-indigo);
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.story-step-link:hover {
  border-color: rgba(0, 161, 205, 0.4);
}

.story-visual-frame {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--cbs-cyan-mid);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--cbs-shadow);
  padding: clamp(1rem, 1.5vw, 1.4rem);
  overflow: hidden;
}

.story-visual-frame-brief {
  display: flex;
  align-items: stretch;
  min-height: clamp(20rem, 32vw, 25rem);
  background:
    linear-gradient(145deg, rgba(0, 161, 205, 0.09), rgba(39, 29, 108, 0.07)),
    rgba(255, 255, 255, 0.98);
}

.story-brief-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.6rem, 2.5vw, 2.8rem);
  border-radius: 22px;
  border: 1px solid rgba(39, 29, 108, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.96);
}

.story-brief-card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--story-text-meta);
  font-weight: 800;
  color: var(--cbs-cyan);
}

.story-brief-card-title {
  margin: 0;
  font-size: clamp(1.45rem, 1.9vw, 2rem);
  line-height: 1.15;
}

.story-brief-card-text {
  margin: 0;
  color: var(--cbs-indigo-text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.story-brief-card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  background: var(--cbs-cyan-soft);
  border: 1px solid var(--cbs-cyan-mid);
  color: var(--cbs-indigo);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.story-brief-card-link:hover {
  border-color: rgba(0, 161, 205, 0.4);
}

@media (max-width: 1120px) {
  .hero-meta-row {
    display: block;
  }

  .hero-search-wrap {
    width: 100%;
  }

  .hero-info-wrap {
    position: relative;
    align-self: auto;
  }

  .hero-info-tooltip {
    right: 0;
    width: min(22rem, calc(100vw - 2rem));
  }

  .story-step-grid {
    grid-template-columns: 1fr;
  }

  .story-step-panel {
    padding: 0.3rem 0.45rem;
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: min(100vw - 18px, 100%);
    padding-bottom: 3rem;
  }

  .story-hero {
    padding: 0.56rem 0.58rem;
    border-radius: 16px;
  }

  .story-hero h1 {
    max-width: none;
    font-size: clamp(0.9rem, 3.8vw, 1.02rem);
  }

  .hero-search-row {
    grid-template-columns: 1fr;
  }

  .hero-search-submit,
  .hero-search-clear,
  .hero-info-button {
    width: 100%;
  }

  .hero-info-wrap {
    width: 100%;
  }

  .hero-info-tooltip {
    left: 0;
    right: auto;
    width: min(19rem, calc(100vw - 2rem));
  }

  .story-chapter {
    padding: 0;
    border-radius: 0;
  }

  .story-chapter-title,
  .story-step-title {
    font-size: clamp(0.76rem, 3.2vw, 0.86rem);
  }

  .story-step {
    min-height: auto;
  }

  .story-progress-items {
    min-width: max(100%, calc(var(--story-progress-count) * 6.4rem));
  }

  .story-step-summary {
    font-size: 0.69rem;
    line-height: 1.18;
  }

  .story-step-meta-value {
    max-width: min(15rem, 75vw);
  }
}
