.g-gols-categories {
  display: grid;
  grid-template-columns: 1.7fr repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 35px;
  grid-row-gap: 24px;
  margin-bottom: 24px;
}
.g-gols-categories .category-item:first-child {
  grid-area: 1 / 1 / 3 / 2;
}
.g-cols-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  grid-column-gap: 35px;
  grid-row-gap: 24px;
  margin-bottom: 24px;
}
/*.g-gols-categories .category-item:nth-child(2) {*/
/*    grid-area: 1 / 4 / 2 / 6;*/
/*}*/
/*.g-gols-categories .category-item:nth-child(3) {*/
/*    grid-area: 1 / 6 / 2 / 8;*/
/*}*/
/*.g-gols-categories .category-item:nth-child(4) {*/
/*    grid-area: 2 / 4 / 3 / 6;*/
/*}*/
/*.g-gols-categories .category-item:nth-child(5) {*/
/*    grid-area: 2 / 6 / 3 / 8;*/
/*}*/
.category-item {
  width: 100%;
}
.g-gols-categories .category-item:not(:first-child) .category-image img {
  max-width: 230px;
  max-height: 230px;
}
.category-image {
  border: 1px solid #e6e6e6;
  background: linear-gradient(
    180deg,
    #fcfcfc 0%,
    #f4f4f4 40%,
    #e6fffc 50%,
    #7ccfc6 70%
  );
  border-radius: 30px;
  margin-bottom: 10px;
  height: calc(100% - 42px);
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: 100% 300%;
  background-position: 0 151%;
  transition: 0.4s ease;
  padding: 30px 10px;
}
.item-link {
  min-width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 1px solid var(--color1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color1);
  font-size: 15px;
  transition: 0.4s ease;
}
.category-item:hover .category-image {
  background-position: 0 224%;
  border-color: var(--color1);
}
.category-item:hover .item-link {
  background: var(--color1);
  color: #fff;
}
.category-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
}
.category-title {
  font-variation-settings: var(--fw-400);
  font-size: 18px;
  line-height: 1.4;
  color: #000;
}
@media screen and (max-width: 1200px) {
  .g-gols-categories .category-item:not(:first-child) .category-image img {
    max-width: 190px;
    max-height: 190px;
  }
}
@media screen and (max-width: 992px) {
  .g-cols-fit {
    grid-column-gap: 15px;
  }
  .g-gols-categories .category-item:not(:first-child) .category-image img {
    max-width: 130px;
    max-height: 130px;
  }
  .category-title {
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .g-gols-categories .category-item:not(:first-child) .category-image img {
    max-width: 50%;
    max-height: unset;
  }
  .g-gols-categories {
    display: grid;
    grid-column-gap: 17px;
    grid-row-gap: 17px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, auto);
  }
  .g-gols-categories .category-item:first-child {
    grid-area: 1 / 1 / 3 / 3;
  }

  .item-link {
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--color1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color1);
    font-size: 12px;
    transition: 0.4s ease;
  }
}
@media screen and (max-width: 576px) {
  .category-title {
    font-size: 14px;
  }
}
