.categories {
  margin-top: 63px;
  padding-bottom: 40px;
}
@media (max-width: 1024px) {
  .categories {
    margin-top: 47px;
  }
}
.categories .title {
  max-width: 480px;
}
.categories__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 1024px) {
  .categories__grid {
    margin-top: 23px;
    gap: 17px;
  }
}
.categories .description {
  max-width: 321px;
}
@media (max-width: 1024px) {
  .categories .description {
    max-width: 100%;
  }
}

.post {
  background-image: linear-gradient(180deg, rgba(27, 26, 31, 0.72) 0%, rgba(33, 32, 39, 0.72) 100%);
  border-radius: 16px;
  position: relative;
  min-height: 236px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(33.3333% - 16px);
  overflow: hidden;
}
@media (max-width: 1024px) {
  .post {
    width: 100%;
    padding: 16px;
    align-items: flex-end;
  }
}
.post__wrap {
  padding-right: 100px;
  position: relative;
  z-index: 3;
}
@media (max-width: 1200px) {
  .post__wrap {
    padding-right: 72px;
  }
}
@media (max-width: 767px) {
  .post__wrap {
    padding-right: 0;
  }
}
.post .post__title {
  max-width: 304px;
}
.post:nth-child(5n+1), .post:nth-child(5n+2) {
  width: calc(50% - 12px);
}
@media (max-width: 1024px) {
  .post:nth-child(5n+1), .post:nth-child(5n+2) {
    width: 100%;
    padding: 16px;
  }
}
.post:nth-child(5n+1) .description, .post:nth-child(5n+2) .description {
  max-width: 439px;
}
@media (max-width: 1024px) {
  .post:nth-child(5n+1) .description, .post:nth-child(5n+2) .description {
    max-width: 100%;
  }
}
.post:nth-child(5n+1) .post__wrap, .post:nth-child(5n+2) .post__wrap {
  padding-right: 147px;
}
@media (max-width: 767px) {
  .post:nth-child(5n+1) .post__wrap, .post:nth-child(5n+2) .post__wrap {
    padding-right: 0;
  }
}
.post:nth-child(5n+1) .post__title, .post:nth-child(5n+2) .post__title {
  max-width: 100%;
}
.post:nth-child(5n+1) .post__icon, .post:nth-child(5n+2) .post__icon {
  right: -9%;
  top: 50%;
}
.post__link {
  font-family: "Play";
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #72F037;
  display: flex;
  align-items: center;
  margin-top: 15px;
  gap: 8px;
  width: fit-content;
  text-decoration: none;
}
.post__link:hover span:after {
  width: 100%;
}
.post__link span {
  position: relative;
}
.post__link span::after {
  content: "";
  position: absolute;
  width: 0;
  bottom: 0;
  height: 1px;
  left: 0;
  background: #72F037;
  transform-origin: 0 0;
  transition: all 0.3s ease;
}
.post__icon {
  position: absolute;
  right: -20%;
  top: 54%;
  transform: translateY(-50%);
}
@media (max-width: 1200px) {
  .post__icon {
    max-width: 206px;
  }
}
@media (max-width: 1024px) {
  .post__icon {
    position: static;
    transform: translateY(0);
    max-width: 131px;
  }
}
@media (max-width: 767px) {
  .post__icon {
    max-width: 131px;
    margin-top: -15px;
    height: 90px;
  }
}
.post__title {
  font-family: "Play";
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #EBEBEB;
  margin-bottom: 18px;
}
@media (max-width: 1200px) {
  .post__title {
    font-size: 20px;
    line-height: 24px;
  }
}
@media (max-width: 767px) {
  .post__title {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 8px;
  }
}
.post__flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}