/* Inner-page banner + breadcrumb. Dimensions/typography match the original
   Globax ".rich-header" (height 380px, 72px Montserrat title, "BILI" eyebrow). */
/* Default banner (e.g. Coverage): just the globe image, no colour wash. */
.bili-page-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 520px;
  background-color: #212121;
  background-image: url(/assets/images/globus_image_large_color_7.jpg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

/* Coloured wash variants are applied inline via the `color` prop (see PageBanner). */

/* Photo banner variant (background image supplied inline): keep true colours. */
.bili-page-banner--photo {
  background-color: #141414;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: normal;
}

/* Nudge the banner heading block slightly left. */
.bili-page-banner > .container {
  transform: translateX(-164px);
}

.bili-page-banner > .nationwide-delivery-container {
  transform: translateX(-6px);
}

@media (max-width: 767px) {
  .bili-page-banner > .container {
    transform: translateX(-12px);
  }
}

.bili-page-eyebrow {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.bili-page-title {
  display: inline-block;
  margin: 0;
  padding: 0 16px;
  background: #fff;
  color: #212121;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 72px;
  line-height: 88px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* Default breadcrumb: full-width white strip below the banner (blue pages). */
.bili-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #ececec;
  padding: 22px 0;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  font-size: 16px;
}
.bili-breadcrumb a {
  color: #616161;
  text-decoration: none;
  transition: color 0.2s ease;
}
.bili-breadcrumb a:hover {
  color: #ea2325;
}
.bili-breadcrumb .sep {
  margin: 0 12px;
  color: #bdbdbd;
}
.bili-breadcrumb .current {
  color: #212121;
}

/* Overlap variant (photo banners, e.g. Contact): a white card that overlaps the
   bottom of the banner, occupying ~two-thirds so the photo shows on the right. */
.bili-breadcrumb--overlap {
  background: transparent;
  border-bottom: 0;
  padding: 0;
  position: relative;
  z-index: 3;
  margin-top: -56px;
}
.bili-breadcrumb--overlap .bili-breadcrumb-inner {
  display: block;
  width: 100%;
  background: #fff;
  padding: 26px 40px;
}
@media (max-width: 991px) {
  .bili-breadcrumb--overlap .bili-breadcrumb-inner {
    width: 82%;
  }
}
@media (max-width: 767px) {
  /* The theme pins .container to a narrow (~272px) centred width on phones,
     which squeezed the "Home . <page>" breadcrumb into the middle. Let the
     breadcrumb container use the full width (with small gutters) on all pages. */
  .bili-breadcrumb .container {
    width: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .bili-breadcrumb--overlap .bili-breadcrumb-inner {
    width: 100%;
    padding: 20px 24px;
  }
}

@media (max-width: 991px) {
  .bili-page-banner {
    min-height: 330px;
  }
  .bili-page-title {
    font-size: 44px;
    line-height: 60px;
    letter-spacing: 2px;
  }
}
@media (max-width: 575px) {
  .bili-page-title {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 1px;
    padding: 0 12px;
  }
}
