.article-banner {
  min-height: 30rem;
  height: max-content;
}

.article-banner > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 30rem;
  height: max-content;
}

.banner-background-image {
  position: absolute;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  width: 100%;
}

.banner-background-image picture,
.banner-background-image picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  object-position: 92%;
}

.banner-background-image picture::after {
  content: "";
  position: absolute;
  inset: 0; 
  background:
    linear-gradient(to right, var(--background-linear-gradient-midnight) 0%, transparent 100%);
  pointer-events: none; 
}

.breadcrumbs {
  color: var(--text-sky-light);
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: var(--text-sky-light);
  text-decoration: none;
}

.breadcrumbs a:hover {
  cursor: pointer;
  text-decoration: underline; 
  color: var(--text-sky-light);
}

.breadcrumb {
  font-weight: var(--text-extra-bold);
  line-height: var(--line-height-120);
}

.breadcrumb::after {
  content: ''; 
  display: inline-block; 
  background-repeat: no-repeat;
  background-position: center;
  width: 0.44rem; 
  height: 0.75rem; 
  background-image: url('../../icons/dark-vector.svg');
  background-size: contain; 
  margin: 0 0.75rem;
}

.breadcrumb:last-child::after {
  display: none;
}

.banner-image .breadcrumb::after {
  content: ''; 
  display: inline-block; 
  background-repeat: no-repeat;
  background-position: center;
  width: 0.44rem; 
  height: 0.75rem; 
  background-image: url('../../icons/breadcrumb-arrow.svg');
  margin: 0 0.75rem;
  background-size: cover; 
}

.banner-image .breadcrumb:last-child::after {
  display: none;
}

.breadcrumb:last-child {
  color: var(--text-disabled);
  cursor: default;
}

.breadcrumb:hover {
  text-decoration: none; 
}

.single-breadcrumb .breadcrumb:last-child {
  color: var(--text-sky-light);
}

.banner-content {
  padding: 2.5rem;
  z-index: 3;
}

.banner-image .banner-content {
  padding: 0 2.5rem;
}

/* stylelint-disable no-descending-specificity */
.article-banner h4,
.article-banner h4 > strong,
.article-banner h4 > em, 
.article-banner h4 > strong > em {
  margin-bottom: 0;
  font-size: var(--heading-font-m);
  width: 100%;
  font-weight: var(--text-regular);
  text-shadow: none;
}

.inverse h4,
.inverse h4 > strong,
.inverse h4 > em,
.inverse h4 > strong > em,
.inverse p {
  font-weight: var(--text-regular);
  color: var(--text-inverse);
  text-shadow: var(--text-shadow);
}

.banner-author, .banner-date-time {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.25rem;
  text-shadow: var(--text-shadow);
}

.banner-author p, .banner-date-time p {
  margin: 0;
}

.banner-date-time {
  margin-bottom: 0.5rem;
}

.author-image {
  width: 3rem;
  height: 3rem;
  border: 0.125rem solid var(--border-subtle-selected);
  border-radius: 50%;
  margin-right: 1.25rem;
}

@media (width >= 393px) {
  .article-banner {
    height: 20rem;
  }

  .banner-image {
    height: 22rem;
  }
}

@media (width >= 600px) {
  .article-banner {
    height: 19rem;
  }

  .banner-image {
    height: 25rem;
  }

  .banner-image .banner-content {
    padding: 2.5rem;
  }

  .banner-content {
    width: 70%;
  }
}

@media (width >= 768px) {
  .banner-image .banner-content {
    padding: 2.5rem;
  }

  .banner-content h4,
  .banner-content h4 > strong,
  .banner-content h4 > em,
  .banner-content h4 > strong > em {
    font-size: var(--heading-font-l);
  }

  .article-banner h4,
  .article-banner h4 > strong,
  .article-banner h4 > em, 
  .article-banner h4 > strong > em {
    margin-bottom: 0;
    font-size: var(--heading-font-m);
    width: 90%;
  }
}

@media (width >= 992px) {
  .article-banner {
    min-height: 18rem;
    height: max-content;
  }

  .article-banner .banner-content {
    padding: 5rem;
  }

  .banner-image .banner-content {
    padding: 5rem;
    height: 100%;
  }
  
  .article-banner > div {
    justify-content: center;
    min-height: 18rem;
    height: max-content;
  }

  .article-banner h4,
  .article-banner h4 > strong,
  .article-banner h4 > em, 
  .article-banner h4 > strong > em {
    margin-bottom: 0;
    font-size: var(--heading-font-m);
    width: 80%;
  }
}


@media (width >= 1255px) {  
  .article-banner .banner-content {
    padding: 5rem;
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
  }

  .article-banner > div {
    justify-content: flex-end;
    min-height: 30rem;
    height: max-content;
  }
  
  .article-banner h4,
  .article-banner h4 > strong,
  .article-banner h4 > em, 
  .article-banner h4 > strong > em {
    margin-bottom: 0;
    font-size: var(--heading-font-m);
    width: 70%;
  }
}
