/* ============================================================
   PageBanner — hero banner reused on internal pages
   Matches the live colisbridge.fr internal page header
   (banner image + dark navy overlay + breadcrumb + uppercase H1)
   ============================================================ */

.page-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 440px;
  /* Padding-top compensates for the fixed header so the banner image
     extends up behind it (matches the live site) */
  padding: var(--header-height) 0 40px;
  margin-top: calc(-1 * var(--header-height));
  background-color: var(--color-navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  overflow: hidden;
}

/* Navy overlay over the background image (light — image stays visible) */
.page-banner__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(36, 50, 105, 0.4);
  z-index: 0;
}

/* Inner content sits above the overlay */
.page-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
}

/* Breadcrumb (sits below the title, matching the live site) */
.page-banner .breadcrumb {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.page-banner .breadcrumb ol {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-banner .breadcrumb li {
  display: inline;
  color: rgba(255, 255, 255, 0.8);
}

.page-banner .breadcrumb li + li::before {
  content: " › ";
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.6);
}

.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-banner .breadcrumb a:hover,
.page-banner .breadcrumb a:focus-visible {
  color: var(--color-white);
  text-decoration: underline;
}

.page-banner .breadcrumb li[aria-current="page"] {
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}

/* Main banner title */
.page-banner__title {
  margin-top: 0;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--color-white);
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .page-banner {
    min-height: 250px;
    padding: var(--header-height) 0 40px;
  }

  .page-banner__title {
    font-size: 32px;
  }

  .page-banner .breadcrumb {
    font-size: 13px;
  }
}
