/* Site-wide inner page hero — corporate navy + cyan */

body .bsc-page-hero {
  --bsc-ph-navy: #00233d;
  --bsc-ph-cyan: #009bb0;
  position: relative;
  isolation: isolate;
  min-height: clamp(280px, 38vw, 420px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bsc-ph-navy);
  color: #fff;
  margin: 0;
  padding: clamp(5.5rem, 9vw, 7.5rem) 0 clamp(4.5rem, 7vw, 6rem);
}

body .bsc-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body .bsc-page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transform: scale(1.04);
}

body .bsc-page-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 35, 61, 0.72) 0%, rgba(0, 35, 61, 0.78) 45%, rgba(0, 35, 61, 0.88) 100%),
    linear-gradient(90deg, rgba(0, 35, 61, 0.55) 0%, rgba(0, 35, 61, 0.25) 55%, rgba(0, 35, 61, 0.4) 100%);
}

body .bsc-page-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

body .bsc-page-hero__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--bsc-ph-cyan);
  opacity: 0.85;
}

body .bsc-page-hero__path path {
  animation: bsc-ph-path 22s linear infinite;
}

@keyframes bsc-ph-path {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -280; }
}

body .bsc-page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0;
}

body .bsc-page-hero__title {
  order: 1 !important;
  margin: 0 0 1.35rem;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  position: relative;
  display: block;
  width: 100%;
  animation: bsc-ph-in 0.7s ease both;
}

body .bsc-page-hero__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4em;
  width: 3.25rem;
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bsc-ph-cyan) 0%, rgba(0, 155, 176, 0) 100%);
}

body .bsc-page-hero__crumb {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  margin: 1.1rem 0 0 !important;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: rgba(0, 20, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  align-self: flex-start !important;
  order: 2 !important;
  animation: bsc-ph-in 0.7s ease 0.12s both;
}

body .bsc-page-hero__crumb a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

body .bsc-page-hero__crumb a:hover {
  color: var(--bsc-ph-cyan);
}

body .bsc-page-hero__sep,
body .bsc-page-hero__current {
  color: var(--bsc-ph-cyan);
}

body .bsc-page-hero__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  width: 100%;
  height: clamp(48px, 7vw, 80px);
  color: #fff;
  display: block;
  pointer-events: none;
}

@keyframes bsc-ph-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  body .bsc-page-hero {
    min-height: 240px;
    padding: 4.75rem 0 3.75rem;
  }

  body .bsc-page-hero__title {
    font-size: clamp(2.1rem, 9vw, 2.75rem);
  }

  body .bsc-page-hero__crumb {
    font-size: 0.82rem;
    padding: 0.45rem 0.9rem;
    max-width: 100%;
    flex-wrap: wrap;
  }

  body .bsc-page-hero__path {
    opacity: 0.55;
  }
}
