.blog-category {
  grid-column: center-start / center-end;

  display: grid;
  grid-template-rows: auto;
  grid-row-gap: 2rem;

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

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

  &__banner-img {
    max-height: 50rem;
    object-fit: cover;

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

    @media only screen and (max-width: 576px) {
      height: 24rem;
    }
  }

  &__banner {
    display: grid;
    grid-template-rows: repeat(3, 6rem);

    margin-top: 2rem;
    border-radius: 1rem;
    background-color: var(--primaryColor);

    @media only screen and (max-width: 576px) {
      grid-template-rows: repeat(3, 4rem);
    }
  }

  &__title {
    grid-row: 2;
    justify-self: center;
    align-self: center;

    font-size: 5rem;
    color: var(--mainWhite);
    margin: 0;

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