/* =========================
   SINGLE POST – TECH JOURNAL
   ========================= */

.container--narrow {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0px;
}
.related-post__wraper {
  padding: 0 106px;
}
/* hero */
.tech-article__image {
  margin-bottom: 40px;
}

.tech-article__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--ak-radius-xxl);
  max-height: 530px;
  object-fit: cover;
}

/* meta */
.tech-article__date {
  display: block;
  font-size: 20px;
  color: #009846;
  margin-bottom: 12px;
}

.tech-article__title {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--ak-text-black);
}

/* content */
.tech-article__content {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ak-text-p);
  margin-bottom: 135px;
}

.tech-article__content p {
  margin-bottom: 16px;
}

.tech-article__content h2 {
  font-size: 24px;
  margin: 32px 0 16px;
}

.tech-article__content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* drop cap */
/* .tech-article__content p:first-of-type::first-letter {
  float: left;
  font-size: 56px;
  line-height: 1;
  font-weight: 600;
  margin-right: 12px;
  margin-top: 4px;
} */

/* =========================
   RELATED POSTS
   ========================= */

.related-posts {
  margin-top: 64px;
}

.related-posts__title {
  font-size: 40px;
  line-height: 1;
  color: var(--ak-text-black);
  width: 50%;
}

.tech-card {
  background: transparent;
}

.tech-card__image img {
  width: 100%;
  border-radius: var(--ak-radius-xxl);

  height: 100%;
  object-fit: cover;
}

.tech-card__title {
  font-size: 16px;
  margin-bottom: 8px;
}

.tech-card__date {
  font-size: 14px;
  color: #8b8b8b;
}

/* arrows */
.related-posts__nav {
  display: flex;
  gap: 12px;
  width: 50%;
  justify-content: flex-end;
}

.related-posts__prev,
.related-posts__next {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: #101010;
  cursor: pointer;
}

/* .related-posts__prev::before,
.related-posts__next::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: relative;
  top: 15px;
  left: 15px;
} */

/* .related-posts__prev::before {
  transform: rotate(135deg);
}

.related-posts__next::before {
  transform: rotate(-45deg);
} */
.related-posts__title-block {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  max-width: 1920px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 40px;
}
.related-posts__slider {
  padding: 0 20px;
  margin-bottom: 40px;
}

.tech-card__image {
  height: 380px;
  margin-bottom: 20px;
}
.tech-journal__back-btn {
  display: flex;
  height: 65px;
  justify-content: center;
  align-items: center;

  margin: 0px auto 120px;
  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;
  width: fit-content;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.tech-journal__back-btn:hover {
  background: var(--ak-green-hover);
  transform: translateY(-1px);
}
/* .tech-article_content p::first-letter {
  float: none;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
} */

.tech-article__content ul {
  list-style: disc !important;
  padding-left: 20px;
}

.tech-article__content ul li {
  list-style: disc !important;
}

/*----------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1471px) {
  .container--narrow {
    max-width: 981px;
  }
  .related-post__wraper {
    padding: 0 79px;
  }
  .tech-article__date {
    font-size: 14px;
  }
  .tech-article__title {
    font-size: 34px;
    margin-bottom: 75px;
  }
  .tech-article__content {
    font-size: 14px;
  }
  .related-posts__title {
    font-size: 34px;
  }
  .related-posts__title-block {
    margin-bottom: 30px;
  }
  .related-posts__slider {
    margin-bottom: 30px;
  }
  .tech-card__image {
    height: 300px;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 1024px) {
  .tech-article__image {
    margin-bottom: 30px;
  }
  .tech-card__image {
    height: 315px;
  }
}

@media screen and (max-width: 768px) {
  .tech-article__title {
    font-size: 26px;
  }

  .container--narrow {
    padding: 0 16px;
  }
  .related-post__wraper {
    padding: 0px;
  }
}

@media (max-width: 425px) {
  .tech-article__image img {
    height: 302px;
  }
  .tech-article__title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .related-posts__title {
    font-size: 24px;
  }
  .related-posts__title-block {
    padding: 0 10px;
  }
  .related-posts__slider {
    padding: 0 10px;
  }
  .tech-card__image {
    height: 296px;
  }
  .tech-journal__back-btn {
    height: 55px;
    margin: 0px auto 100px;
  }
}
