.highlight-post-2 {
  width: 100%;
  margin: 80px 0;
  overflow: hidden;

  @include sm {
    margin: 50px 0;
  }

  &__wrapper {
    width: 100%;
    margin: 0 auto;
  }

  &__container {
    width: 100%;
    min-height: 768px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;

    @include sm {
      padding: 0 16px;
      min-height: auto;
      flex-direction: column;
    }
  }

  &__bg-image {
    @include image-aspect-ratio(100%, 53%);

    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    @include sm {
      @include image-aspect-ratio(100%, 151%);

      position: absolute;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  &__info-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 705px;
    background-color: $white;
    padding: 64px 40px;

    @include sm {
      padding: 32px;
      margin: 256px 0 16px;
    }
  }

  &__author-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  &__author {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    margin-right: 16px;

    &:last-child {
      margin-right: 0;
    }
  }

  &__author-date {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  &__post-date {
    font-size: 1.4rem;
    text-align: right;
    margin-top: 8px;
    white-space: nowrap;
  }

  &__photo {
    border-radius: 100%;
    overflow: hidden;
    width: 32px;
    height: 32px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  &__name {
    display: inline-block;
    margin-left: 8px;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.8rem;
    letter-spacing: -0.01em;
    color: $primary-color;
  }

  &__title {
    position: relative;
    font-size: 3.8rem;
    line-height: 4.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: $primary-color;
    text-indent: 140px;
    margin: 0;

    @include chevron-right-blog;

    &::after {
      display: none;
    }

    @include sm {
      font-size: 2.1rem;
      line-height: 2.5rem;
      letter-spacing: -0.01em;
      text-indent: 70px;
    }

    &::before {
      content: "";
      width: 120px;
      height: 1px;
      background: linear-gradient(270deg, #F39200 0%, #{$yellow} 22.66%, #{$green} 47.98%, #{$blue}  76.13%, #{$gray-70} 100%);
      display: inline-block;
      position: absolute;
      top: 21px;
      left: 0;

      @include sm {
        width: 60px;
        top: 14px;
      }
    }
  }

  &__tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 32px;
  }

  &__tag {
    background: rgba(1, 156, 219, 0.1);
    color: $blue;
    padding: 8px;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.8rem;
    letter-spacing: -0.01em;
    margin-right: 4px;
    margin-bottom: 4px;

    &:last-child {
      margin-right: 0;
    }
  }

  &:hover {
    .highlight-post-2__title {
      text-decoration: underline;

      @include sm {
        text-decoration: none;
      }

      &::after {
        display: block;

        @include sm {
          display: none;
        }
      }
    }
  }
}
