/* ========================================
   BREADCRUMB — Shared Component
   Single source of truth for breadcrumb design + position
   on every interior page. Pinned absolutely to the top-left
   of its hero container so it occupies a fixed position
   regardless of how the hero centers its main content.

   STANDARD (single source of truth):
   - --hhs-bc-top    : distance from the top of the hero
                       container to the top of the breadcrumb.
   - --hhs-bc-left   : distance from the left wall of the hero
                       container to the left edge of the
                       breadcrumb. Matches the left padding
                       used by left-aligned hero content on
                       every interior page (173/60/24).
   - --hhs-bc-bottom : LEGACY — kept for backwards compatibility.
                       Breadcrumb is now absolutely positioned
                       and does not consume vertical flow.

   NOTE: Hero-scoped rules (positioning anchor, mobile padding
   override, short-viewport safety net) live in `hero.css`.
   ======================================== */

:root {
  --hhs-bc-top: 140px;
  --hhs-bc-left: 173px;
  --hhs-bc-bottom: 24px;
}

.hero__breadcrumb {
  position: absolute;
  top: var(--hhs-bc-top);
  left: var(--hhs-bc-left);
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-white);
  z-index: 3;
}

.hero__breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.hero__breadcrumb a:hover {
  opacity: 0.8;
}

.hero__breadcrumb-current {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__breadcrumb-separator {
  margin: 0 4px;
  opacity: 0.75;
}

/* Light-hero modifier — for pages whose hero has a light
   background (e.g. careers, media). Inverts the text color. */
.hero__breadcrumb--on-light {
  color: var(--color-black);
}

/* === Tablet === */
@media (max-width: 1024px) {
  :root {
    --hhs-bc-top: 110px;
    --hhs-bc-left: 60px;
    --hhs-bc-bottom: 20px;
  }

  .hero__breadcrumb {
    font-size: 15px;
  }
}

/* === Mobile === */
@media (max-width: 768px) {
  :root {
    --hhs-bc-top: 135px;
    --hhs-bc-left: 24px;
    --hhs-bc-bottom: 16px;
  }

  .hero__breadcrumb {
    font-size: 14px;
  }
}
