/* px_cargo cargo-hero — layout + look per style (template tokens only) */

/* ===== style-1 ===== */


.px-cargo-hero.style-1 {
  display: block;
  min-height: 0;
  padding: 0;
  background: none;
  color: inherit;
}
.px-cargo-hero.style-1::before {
  content: none;
}
/* Ink band: field image under a navy gradient; top padding clears the floating header */
.px-cargo-hero.style-1 .px-cargo-hero__band {
  position: relative;
  isolation: isolate;
  padding: calc(var(--px-header-h) + 9rem) 0 10.5rem;
  background: var(--px-ink-surface) var(--px-bg, none) center / cover no-repeat;
  color: var(--px-ink-text);
}
.px-cargo-hero.style-1 .px-cargo-hero__band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--px-ink-surface) 92%, transparent) 15%,
    color-mix(in srgb, var(--px-ink-surface) 45%, transparent));
}
/* Eyebrow on the photo band reads white, like the title */
.px-cargo-hero.style-1 .px-cargo-hero__eyebrow {
  color: var(--color-white);
}
.px-cargo-hero.style-1 .px-cargo-hero__title {
  margin: 0;
  font-size: var(--px-hero-title-size);
  line-height: var(--px-display-leading);
  color: var(--color-white);
}
.px-cargo-hero.style-1 .px-cargo-hero__title b,
.px-cargo-hero.style-1 .px-cargo-hero__title em {
  font-style: normal;
  font-weight: inherit;
  color: var(--color-primary);
}
.px-cargo-hero.style-1 .px-cargo-hero__intro {
  max-width: 33rem;
  margin: 0 0 2.5rem;
  font-size: var(--px-fs-lg);
  color: var(--color-white);
}
.px-cargo-hero.style-1 .px-cargo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--px-gap);
  margin: 0;
}
.px-cargo-hero.style-1 .px-cargo-hero__reel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--color-primary);
  font-size: var(--px-fs-xs);
  font-weight: 700;
  letter-spacing: var(--px-label-tracking);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
}
.px-cargo-hero.style-1 .px-cargo-hero__reel:hover {
  color: var(--color-primary);
}
/* Right column: yellow stat card + thumbnail, equal height */
.px-cargo-hero.style-1 .px-cargo-hero__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.px-cargo-hero.style-1 .px-cargo-hero__stat {
  display: flex;
  flex-direction: column;
  padding: 1.875rem;
  border-radius: var(--px-radius);
  background: var(--color-primary);
  color: var(--color-dark);
}
.px-cargo-hero.style-1 .px-cargo-hero__stat-value {
  margin-bottom: 0.625rem;
  font-family: var(--px-font-display);
  font-size: var(--h3-font-size);
  font-weight: var(--heading-font-weight);
  line-height: 1;
}
.px-cargo-hero.style-1 .px-cargo-hero__stat-label {
  line-height: 1.4;
}
.px-cargo-hero.style-1 .px-cargo-hero__stat-note {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--color-dark) 20%, transparent);
  font-size: var(--px-fs-sm);
}
.px-cargo-hero.style-1 .px-cargo-hero__thumb,
.px-cargo-hero.style-1 .px-cargo-hero__thumb .px-editable-media {
  height: 100%;
  min-height: 15rem;
}
.px-cargo-hero.style-1 .px-cargo-hero__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  border-radius: var(--px-radius);
  object-fit: cover;
  /* A photo on the dark band: light hairline + lift, so a dark image still reads as its own card */
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-white) 22%, transparent), 0 1.25rem 2.5rem color-mix(in srgb, var(--color-black) 35%, transparent);
}
.px-cargo-hero.style-1 .px-cargo-hero__bg-edit {
  margin-top: var(--px-gap);
}
/* Tracking bar overlapping the band */
.px-cargo-hero.style-1 .px-cargo-hero__track {
  position: relative;
  z-index: 2;
  margin-top: -4.375rem;
}
.px-cargo-hero.style-1 .px-cargo-hero__track-box {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 2.125rem 1.875rem;
  border-radius: var(--px-radius);
  background: var(--color-white);
  box-shadow: var(--px-shadow);
}
.px-cargo-hero.style-1 .px-cargo-hero__track-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  font-family: var(--px-font-display);
  font-size: var(--h5-font-size);
  color: var(--color-dark);
}
.px-cargo-hero.style-1 .px-cargo-hero__track-label i {
  color: var(--color-secondary);
}
@media (max-width: 991.98px) {.px-cargo-hero.style-1 .px-cargo-hero__band {
    padding: calc(var(--px-header-h) + 3rem) 0 8rem;
  }
.px-cargo-hero.style-1 .px-cargo-hero__track-box {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

}
@media (max-width: 575.98px) {.px-cargo-hero.style-1 .px-cargo-hero__side {
    grid-template-columns: 1fr;
  }
/* Phones: shorter band, buttons stacked full width, stat card + photo side by side and shorter */
.px-cargo-hero.style-1 .px-cargo-hero__band {
    padding: calc(var(--px-header-h) + 2rem) 0 7rem;
  }
.px-cargo-hero.style-1 .px-cargo-hero__intro {
    margin-bottom: 1.75rem;
  }
.px-cargo-hero.style-1 .px-cargo-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
.px-cargo-hero.style-1 .px-cargo-hero__actions .btn {
    width: 100%;
  }
.px-cargo-hero.style-1 .px-cargo-hero__reel {
    align-self: center;
  }
.px-cargo-hero.style-1 .px-cargo-hero__side {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
.px-cargo-hero.style-1 .px-cargo-hero__stat {
    padding: 1.25rem;
  }
.px-cargo-hero.style-1 .px-cargo-hero__stat-label {
    font-size: var(--px-fs-sm);
  }
.px-cargo-hero.style-1 .px-cargo-hero__stat-note {
    font-size: var(--px-fs-xs);
  }
.px-cargo-hero.style-1 .px-cargo-hero__thumb,
.px-cargo-hero.style-1 .px-cargo-hero__thumb .px-editable-media,
.px-cargo-hero.style-1 .px-cargo-hero__thumb-img {
    min-height: 11rem;
  }
.px-cargo-hero.style-1 .px-cargo-hero__track-box {
    padding: 1.25rem;
  }

}


/* ===== style-2 — page banner ===== */
.px-cargo-hero.style-2 .px-cargo-hero__band {
  position: relative;
  isolation: isolate;
  padding: calc(var(--px-header-h) + 5rem) 0 6rem;
  background: var(--px-ink-surface) var(--px-bg, none) center / cover no-repeat;
  color: var(--px-ink-text);
}

.px-cargo-hero.style-2 .px-cargo-hero__band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--px-ink-surface) 94%, transparent) 25%,
    color-mix(in srgb, var(--px-ink-surface) 55%, transparent));
}

.px-cargo-hero.style-2 .px-cargo-hero__crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: var(--px-fs-xs);
  font-weight: 600;
  letter-spacing: var(--px-label-tracking);
  text-transform: uppercase;
  color: var(--color-white);
}

.px-cargo-hero.style-2 .px-cargo-hero__crumbs li + li::before {
  content: "/";
  margin-inline-end: 0.5rem;
  color: var(--color-primary);
}

.px-cargo-hero.style-2 .px-cargo-hero__crumbs a {
  color: var(--color-primary);
  text-decoration: none;
}

.px-cargo-hero.style-2 .px-cargo-hero__title {
  max-width: 18ch;
  margin: 0;
  font-size: var(--px-h1-size);
  color: var(--color-white);
}

.px-cargo-hero.style-2 .px-cargo-hero__title b,
.px-cargo-hero.style-2 .px-cargo-hero__title em {
  font-style: normal;
  font-weight: inherit;
  color: var(--color-primary);
}

.px-cargo-hero.style-2 .px-cargo-hero__intro {
  max-width: 40rem;
  margin: 0;
  font-size: var(--px-fs-lg);
  color: var(--color-white);
}

@media (max-width: 991.98px) {
  .px-cargo-hero.style-2 .px-cargo-hero__band {
    padding: calc(var(--px-header-h) + 3rem) 0 4rem;
  }
}
