/* Page banner: centered title + breadcrumb path underneath */
.bm-page-banner {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.25rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% -10%, rgba(110, 78, 242, 0.28), transparent 55%),
    linear-gradient(180deg, #1a1a20 0%, #1f1f24 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bm-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.bm-page-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin-inline: auto;
}

.bm-page-banner__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(90deg, #fff 0%, #d7ccff 55%, #8c71ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bm-page-banner__nav {
  display: flex;
  justify-content: center;
}

.bm-page-banner__path {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.bm-page-banner__crumb {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
}

.bm-page-banner__link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bm-page-banner__link:hover,
.bm-page-banner__link:focus-visible {
  color: #b7a3ff;
  text-decoration: none;
}

.bm-page-banner__current {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.bm-page-banner__sep {
  margin: 0 0.45rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Less top padding on page sections when the banner is present */
body:has(.bm-page-banner) .section-padding {
  padding-top: 4.5rem;
}

body:has(.bm-page-banner) .pt-120,
body:has(.bm-page-banner) .pt-130,
body:has(.bm-page-banner) .pt-150,
body:has(.bm-page-banner) .pt-200 {
  padding-top: 4rem;
}

[data-bs-theme="light"] .bm-page-banner {
  background:
    radial-gradient(ellipse 80% 70% at 50% -10%, rgba(110, 78, 242, 0.16), transparent 55%),
    linear-gradient(180deg, #f3f0fc 0%, #f6f4fd 100%);
  border-bottom-color: rgba(31, 31, 36, 0.08);
}

[data-bs-theme="light"] .bm-page-banner__title {
  background: linear-gradient(90deg, #1f1f24 0%, #5a3dd6 70%, #6e4ef2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-bs-theme="light"] .bm-page-banner__crumb {
  color: rgba(31, 31, 36, 0.5);
}

[data-bs-theme="light"] .bm-page-banner__link {
  color: rgba(31, 31, 36, 0.65);
}

[data-bs-theme="light"] .bm-page-banner__link:hover,
[data-bs-theme="light"] .bm-page-banner__link:focus-visible {
  color: #6e4ef2;
}

[data-bs-theme="light"] .bm-page-banner__current {
  color: #1f1f24;
}

[data-bs-theme="light"] .bm-page-banner__sep {
  color: rgba(31, 31, 36, 0.35);
}

@media (max-width: 767.98px) {
  .bm-page-banner {
    padding: 3.25rem 0 2.5rem;
  }

  body:has(.bm-page-banner) .section-padding {
    padding-top: 3.25rem;
  }

  body:has(.bm-page-banner) .pt-120,
  body:has(.bm-page-banner) .pt-130,
  body:has(.bm-page-banner) .pt-150,
  body:has(.bm-page-banner) .pt-200 {
    padding-top: 2.75rem;
  }
}
