.collection-hero__inner {
  display: grid;
}

.collection-hero--with-image .collection-hero__inner {
  margin-bottom: 0;
  padding-bottom: 0;
}

.collection-hero:not(.collection-hero--with-image)
  .collection-hero__text-wrapper {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: inherit;
  }
}

.collection-hero__text-wrapper {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  text-align: center;
}

@media screen and (min-width: 750px) {
  .collection-hero {
    padding: 0;
  }

  .collection-hero__inner {
    align-items: center;
    flex-direction: row;
    padding-bottom: 0;
  }
}

.collection-hero__title {
  margin: 2.5rem 0 0;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .collection-hero__title {
    line-height: initial;
  }
}

.collection-hero__description {
  max-width: 80rem;
  padding-inline: 1.6rem;
}

.collection-hero__title + .collection-hero__description {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: calc(1 + 0.5 / var(--font-body-scale));
  color: rgb(var(--color-foreground));
}

@media screen and (min-width: 750px) {
  .collection-hero__title + .collection-hero__description {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 2rem;
  }

  .collection-hero__description {
    max-width: 66.67%;
    margin-inline: auto;
  }
}

.collection-hero:not(.collection-hero--with-image) .collection-hero__title {
  color: rgb(var(--color-foreground-secondary));
}

.collection-hero--with-image .collection-hero__title {
  margin: 0;
}

.collection-hero .breadcrumbs {
  color: rgb(var(--color-foreground-secondary));
  max-width: var(--page-width);
  margin-block: 2.4rem;

  @media screen and (max-width: 1024px) {
    margin-block-end: 2.4rem;
  }
}

.collection-hero .breadcrumbs__item {
  font-size: 2.2rem;
}

.collection-hero .breadcrumbs__item {
  line-height: initial;
}

.collection-hero .breadcrumbs__item a {
  font-size: 2.2rem;
  text-decoration: none;
  @media screen and (max-width: 768px) {
    font-family: Gotham;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
  }
}

.collection-hero .breadcrumbs__link[aria-current="page"]:hover,
.collection-hero .breadcrumbs__link[aria-current="page"]:focus {
  text-decoration: none;
}

.collection-hero--with-image .collection-hero__text-wrapper {
  padding: 5rem 0 4rem;
}

.collection-hero:not(.collection-hero--with-image)
  .collection-hero__text-wrapper {
  color: rgb(var(--color-foreground-secondary));
}

.collection-hero__image-container {
  border: var(--media-border-width) solid
    rgba(var(--color-foreground), var(--media-border-opacity));
  border-radius: var(--media-radius);
  box-shadow: var(--media-shadow-horizontal-offset)
    var(--media-shadow-vertical-offset) var(--media-shadow-blur-radius)
    rgba(var(--color-shadow), var(--media-shadow-opacity));
  grid-column: 1;
  grid-row: 1;
  text-align: center;
  position: relative;

  &::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    opacity: 0.15;
  }

  img {
    max-height: 500px;
    object-fit: cover;
    max-width: 100%;
    width: 100%;
    display: block;

    @media screen and (max-width: 768px) {
      max-height: 100%;
      height: 100%;
    }
  }
}

@media screen and (min-width: 750px) {
  .collection-hero--with-image .collection-hero__text-wrapper {
    padding: 4rem 2rem 4rem 0;
    flex-basis: 50%;
  }
}
