.bz-course-hero[hidden],
.bz-course-hero [hidden] {
  display: none !important;
}

.bz-course-hero {
  width: min(100%, 35rem);
  margin-top: clamp(1rem, 3vw, 1.8rem);
  padding-top: .85rem;
  border-top: 1px solid #ed3039;
  color: #fff;
  text-align: left;
}

.bz-course-hero__label {
  margin: 0 0 .2rem;
  color: #ff787c;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bz-course-hero__date {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.bz-course-hero .bz-course-hero__price {
  margin: .35rem 0 0;
  color: #fff;
  font-size: 1rem;
}

.bz-course-hero .bz-course-offer__price {
  color: #fff;
  font-weight: 700;
}

.bz-course-hero__button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  margin-top: .75rem;
  padding: .55rem .9rem;
  color: #fff !important;
  background: #c82226;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
}

.bz-course-hero__button:hover,
.bz-course-hero__button:focus-visible {
  background: #a9161d;
}

.bz-course-hero__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.bz-course-hero-target {
  scroll-margin-top: 6rem;
}

[data-bz-course-hero] {
  box-sizing: border-box;
  max-width: 30rem;
}

[data-bz-course-hero] .bz-course-offer [data-bz-price] {
  color: #fff !important;
}

/* Let the hero and its Page Builder row grow with the booking block. */
.bz-course-hero-spacing.sppb-section,
.bz-course-hero-spacing.pp-hero,
.bz-course-hero-spacing.omcqb-hero,
.bz-course-hero-spacing.tmcqb-final-hero,
.bz-course-hero-spacing > :is(.pp-hero__inner, .omcqb-hero__inner, .tmcqb-final-hero__inner) {
  height: auto !important;
  max-height: none !important;
}

.bz-course-hero-spacing > :is(.pp-hero__inner, .omcqb-hero__inner, .tmcqb-final-hero__inner) {
  box-sizing: border-box;
  padding-block: clamp(3rem, 5.5vw, 5.5rem) !important;
}

.bz-course-hero-spacing .pp-hero__content {
  padding-top: 0 !important;
  position: relative;
  isolation: isolate;
}

.bz-course-hero-spacing .pp-hero__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.25rem -1rem;
  background: linear-gradient(90deg, rgba(8, 8, 8, .95), rgba(8, 8, 8, .82) 89%, rgba(8, 8, 8, .4));
  pointer-events: none;
}

.bz-course-hero-spacing .tmcqb-final-hero__content {
  transform: none !important;
}

#pistol-instructor-hero.bz-course-hero-instructor .pic-hero-cfc-style__features {
  width: 100%;
  max-width: 33rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#pistol-instructor-hero.bz-course-hero-instructor .pic-hero-cfc-style__feature {
  box-sizing: border-box;
  min-width: 0;
  padding-inline: clamp(.35rem, 1vw, .85rem);
  white-space: normal;
  overflow-wrap: anywhere;
}

#pistol-instructor-hero.bz-course-hero-instructor .pic-hero-cfc-style__feature:first-child {
  padding-inline-start: 0;
}

@media (max-width: 767px) {
  .bz-course-hero-spacing > :is(.pp-hero__inner, .omcqb-hero__inner, .tmcqb-final-hero__inner) {
    padding-block: 2.75rem 3rem !important;
  }

  #pistol-instructor-hero.bz-course-hero-instructor .pic-hero-cfc-style__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #pistol-instructor-hero.bz-course-hero-instructor .pic-hero-cfc-style__feature:first-child {
    padding-inline-start: clamp(.35rem, 1vw, .85rem);
  }
}
