@charset "utf-8";

.news.page {
  padding-block: 80px 180px;
}

@media screen and (min-width: 768px) {
  .news.page {
    padding-block: 120px 226px;
  }
}

.news__container .webgene-blog {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.news__item-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 40px 20px 15px;
  background: var(--color-white);
  position: relative;
}

@media screen and (min-width: 768px) {
  .news__item-link {
    padding: 25px 49px 25px 45px;
    flex-direction: row;
    gap: 38px;
    align-items: center;
  }
}

.news__item-link::after {
  position: absolute;
  content: "";
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: url(../images/arrow-icon.svg) no-repeat center center/contain;
  aspect-ratio: 25/25;
  width: 25px;
  height: auto;
  transition: right 0.3s ease;
}

.news__item-link:hover::after {
  right: 5px;
}

@media screen and (min-width: 768px) {
  .news__item-link::after {
    right: 20px;
  }

  .news__item-link:hover::after {
    right: 15px;
  }
}

.news__item-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

@media screen and (min-width: 900px) {
  .news__item-row {
    gap: 28px;
  }
}

.news__item-time {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: calc(20 / 1000 * 1em);
  color: rgba(42, 42, 42, 0.8);
}

.news__item-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: calc(20 / 1000 * 1em);
  line-height: 1.2;
  padding: 3px 5px;
  background: rgba(42, 42, 42, 0.8);
  color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .news__item-tag {
    font-size: 11px;
  }
}

.news__item-title {
  font-size: 14px;
  line-height: calc(35.2 / 14);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
