@charset "utf-8";

.top-news__wrap {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 60px;
}
@media screen and (min-width: 1024px) {
  .top-news__wrap {
   grid-template-columns: 243px auto;
    justify-content: space-between;
    gap: 50px;
  }
  .top-news__body {
    margin-top: 28px;
   width: min(calc(814 / 1366 * 100vw), 900px);
  }
}


.news__wrap a{
  width: 100%;
  background: #FFFFFF;
  padding: 20px 75px 20px 20px;
  position: relative;
  
  &::before {
  content: "";
    position: absolute;
    width: 33px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
  background: url('../images/arrow-news.svg') center / contain no-repeat;
}
  
  &:hover {
    background: #e9e9e9;
  }
}
@media screen and (min-width: 768px) {
  .news__wrap a{
  padding: 34px 105px 33px 40px;
    
      &::before {
    width: 45px;
    height: 50px;
    right: 25px;
}
  }
}

.news__wrap + .news__wrap {
  margin-top: 16px;
}

.news__body {
  display: flex;
  gap: 7px;
    flex-direction: column;
}
@media screen and (min-width: 768px) {
  .news__body {
      flex-direction: row;
    gap: 40px;
  }
}

.news__meta {
  display: flex;
  align-items: center;
  gap: 16px;
      flex-shrink: 0;
}

.news__date {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0;
  color: #ACACAC;
  display: inline;
}

.news__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  line-height: calc(24 / 16);
  letter-spacing: 0;
}
@media screen and (min-width: 768px) {
  .news__title {
    -webkit-line-clamp: 1;
  }
}


.news__list .webgene-pagination {
  margin: 70px 0 55px;
}