/* COLORS */
/* TYPOGRAPHY */
/* ---- MEDIA QUERIES ----- */
.blog-hero {
  aspect-ratio: 1920/869;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  max-height: 86.9rem;
  width: 100%;
}
.blog-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(4rem, 5vw, 8rem) 0 clamp(3.2rem, 5vw, 12rem);
  width: 100%;
  gap: 5.6rem;
}
.blog-hero .blog-hero-content {
  max-width: 81.6rem;
}
.blog-hero .blog-hero-categories {
  display: flex;
  gap: 0.8rem;
  margin: 0 0 1.6rem;
}
.blog-hero .blog-hero-category {
  padding: 0.8rem 1.6rem;
  border-radius: 100vw;
  background-color: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-weight: 600;
}
.blog-hero .heading {
  margin: 0 0 2.4rem;
}
.blog-hero .blog-hero-meta-wrapper {
  white-space: nowrap;
}
.blog-hero .post-author {
  text-align: right;
}
.blog-hero .blog-hero-meta {
  margin: 0.8rem 0 0;
  text-align: right;
}
.blog-hero .overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}

@media (max-width: 768px) {
  .blog-hero {
    aspect-ratio: 375/612;
    max-height: unset;
    max-height: calc(100dvh - 10rem);
  }
  .blog-hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 1.6rem;
  }
  .blog-hero .blog-hero-content {
    max-width: 81.6rem;
  }
  .blog-hero .blog-hero-categories {
    margin: 0 0 0.8rem;
  }
  .blog-hero .heading {
    margin: 0 0 0.8rem;
  }
  .blog-hero .blog-hero-meta-wrapper {
    margin: 2.4rem 0 0;
  }
  .blog-hero .post-author {
    text-align: left;
  }
  .blog-hero .blog-hero-meta {
    text-align: left;
    font-size: 1.4rem;
  }
}