.tech-journal-page {
  max-width: 1920px;
  padding: 0 20px 20px 20px;
  color: var(--ak-text-black);
  margin: 0 auto;
}
.tech-journal__title {
  font-size: 40px;
  margin-bottom: 40px;
  line-height: 95%;
}

.tech-journal__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 20px;
  row-gap: 35px;
}
.tech-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tech-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tech-card__image {
  border-radius: var(--ak-radius-xxl);
  height: 380px;
  margin-bottom: 20px;
  overflow: hidden;
}
.tech-card__image img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

.tech-card__title {
  color: var(--ak-text-black);
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 95%;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* кількість рядків */
  -webkit-box-orient: vertical;
  overflow: hidden;

  max-height: calc(0.95em * 2); /* страховка */
}

.tech-card__date {
  font-size: 16px;
  color: #9b9b9b;
  line-height: 155%;
  margin-top: auto;
}

.tech-journal__load-more {
  display: flex;
  height: 65px;
  justify-content: center;
  align-items: center;

  margin: 65px auto 160px;
  padding: 0px 50px;
  background: var(--ak-green);
  color: #fff;
  border-radius: var(--ak-radius-lg);
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.tech-journal__load-more:hover {
  background: var(--ak-green-hover);
  color: white;
}

/* responsive */
@media screen and (max-width: 1471px) {
  .tech-journal__grid {
    row-gap: 30px;
  }
  .tech-journal__title {
    font-size: 34px;
    margin-bottom: 30px;
  }
  .tech-card__title {
    font-size: 14px;
  }
  .tech-card__date {
    font-size: 12px;
  }

  .tech-card__image {
    height: 300px;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 1025px) {
  .tech-journal__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tech-card__image {
    height: 280px;
  }
  .tech-journal__load-more {
    height: 55px;
    margin: 30px auto 120px;
    padding: 0px 50px;
    font-size: 14px;
  }
}

@media screen and (max-width: 769px) {
  .tech-journal__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 426px) {
  .tech-journal-page {
    padding: 0 10px 20px 10px;
  }
  .tech-journal__title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .tech-card__title {
    font-size: 18px;
  }
  .tech-card__date {
    font-size: 14px;
  }
  .tech-journal__grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .tech-card__image {
    height: 296px;
  }
  .tech-journal__load-more {
    margin: 30px auto 100px;
  }
}
