.blogs-header {
  grid-column: center-start / center-end;

  @media only screen and (max-width: 768px) {
    grid-column: full-start / full-end;
    margin: 0 2rem;
  }

  &__title {
    line-height: 8.5rem;
    font-size: 8.5rem;
    font-weight: 500;
    text-align: center;
    padding-top: 6rem;
    padding-bottom: 3rem;

    @media only screen and (max-width: 768px) {
      font-size: 6rem;
    }

    @media only screen and (max-width: 576px) {
      font-size: 10vw;
      line-height: 5.8rem;
      padding-top: 6rem;
      padding-bottom: 2rem;
    }
  }

  &__categories-tags {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    padding: 5rem;

    @media only screen and (max-width: 768px) {
      padding: 1rem;
      margin-bottom: 2rem;
    }

    @media only screen and (max-width: 576px) {
      padding: 0;
    }
  }

  &__category {
    font-size: 1.8rem;
    color: var(--darkGrey);
    border-radius: 10rem;
    border: 0.1rem solid var(--mainGrey);
    padding: 1rem 2rem;
    margin: 0.5rem;
    transition: var(--mainTransition);

    @media only screen and (max-width: 576px) {
      font-size: 1.4rem;
      border: 0.1rem solid var(--mainGrey);
      padding: 0.6rem 1.6rem;
      margin: 0.4rem;
    }

    &:hover {
      background-color: var(--mainGrey);
    }
  }

  &__tag {
    font-size: 1.8rem;
    border-radius: 10rem;
    border: 0.1rem solid var(--mainGrey);
    padding: 1rem 2rem;
    margin: 0.5rem;
    transition: var(--mainTransition);
    color: var(--darkGrey);

    @media only screen and (max-width: 576px) {
      font-size: 1.4rem;
      border: 0.1rem solid var(--mainGrey);
      padding: 0.6rem 1.6rem;
      margin: 0.4rem;
    }

    &:hover {
      background-color: var(--mainGrey);
    }
  }

  &__category-icon {
    width: 1.6rem;
    height: 1.6rem;
    margin-right: 0.5rem;
    margin-bottom: -0.22rem;

    @media only screen and (max-width: 576px) {
      width: 1.5rem;
      height: 1.3rem;
      margin-right: 0.3rem;
    }
  }

  &__tag-icon {
    width: 1.3rem;
    height: 1.3rem;
    margin-right: 0.5rem;

    @media only screen and (max-width: 576px) {
      width: 1.4rem;
      height: 1.1rem;
      margin-right: 0.2rem;
    }
  }
}
