.hero-article {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--color-neutral--light);
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-article__media {
  position: relative;
  flex: 0 0 auto;
  z-index: 3;
}

.hero-article__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-article__media::after {
  content: none;
}

.hero-article__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 2rem 1.5rem 3rem;
}

.hero-article__title {
  margin: 0;
  line-height: 1.2;
  font-weight: 800;
}

.hero-article__text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-article__text p {
  margin: 0 0 0.75rem;
  font-size: var(--text-size-l);
}

.hero-article__text p:last-child {
  margin-bottom: 0;
}

.hero-article__text strong {
  font-weight: 700;
}

.hero-article__info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 0.5rem;
}

.hero-article__date,
.hero-article__category {
  height: 43px;
  display: flex;
  align-items: center;
  padding-left: 24px;
  padding-right: 32px;
  border-top-left-radius: 16px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 8px;
  box-sizing: border-box;
}

.hero-article__date {
  width: 144px;
  background-color: var(--color-neutral--dark);
  color: var(--color-white);
}

.hero-article__category {
  border: 1px solid;
  cursor: default;
}


@media all and (min-width: 750px) {
  .hero-article__content {
    padding: 3rem 2.5rem 4rem;
  }
}

@media all and (min-width: 1000px) {
  .hero-article {
    flex-direction: row-reverse;
    align-items: stretch;
    min-height: 420px;
    gap: 2rem;
  }

  .hero-article__media {
    flex: 0 0 45%;
    width: 45%;
  }

  .hero-article__media::after {
    content: "";
    position: absolute;
    top: 82%;
    left: -4%;
    width: 18%;
    aspect-ratio: 1 / 2.98;
    transform: translateY(-50%);
    background: url(../../images/article/shape.svg) no-repeat center / contain;
    pointer-events: none;
    z-index: 3;
  }

  .hero-article__content {
    flex: 0 0 55%;
    width: 55%;
    justify-content: center;
    max-width: 780px;
    padding: 4rem 2rem 4rem 3rem;
  }

  .hero-article__text {
    font-size: 1rem;
  }

  .hero-article__media img {
    border-radius: 300px 0 0 0;
  }
}


@media all and (min-width: 1200px) {
  .hero-article {
    min-height: 450px;
  }

  .hero-article__content {
    padding: 5rem 3rem 5rem 3rem;
  }
}


@media all and (min-width: 1440px) {
  .hero-article__media::after {
    top: 67%;
  }
}

@media all and (min-width: 1550px) {
  .hero-article__content {
    padding: 5rem 3rem 5rem 0rem;
  }
}

@media all and (min-width: 1700px) {
  .hero-article {
    min-height: 520px;
  }
}

@media all and (min-width: 1850px) {
  .hero-article {
    min-height: 570px;
  }
}
