@charset "utf-8";

.top-news__wrap {
    flex-grow: 1;
}
.top-news__wrap .webgene-blog {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
}
@media screen and (min-width: 600px) {
  .top-news__wrap .webgene-blog {
      gap: 5px;
  }
}

.news__wrap a {
  padding: 20px;
  border-radius: 0 45px 45px 0;
  background: #fff;
  border: 1px solid #F8DCB9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
@media screen and (min-width: 600px) {
  .news__wrap a {
    padding: 5px 30px 5px 5px;
    border-radius: 0 65px 65px 0;
  }
}
.news__wrap a::after {
  content: "";
  background: url('../images/icon-arrow-orange.svg') center / contain no-repeat;
  width: 30px;
  height: 30px;
    flex-shrink: 0;
}
@media screen and (min-width: 600px) {
 .news__wrap a::after {
    width: 40px;
  height: 40px;
  }
}
.news__wrap a:hover {
  background: #F8DCB9;
}

.news__item {
  display: flex;
  align-items: start;
  gap: 25px;
  flex-direction: column;
  flex-grow: 1;
}
@media screen and (min-width: 600px) {
  .news__item {
    flex-direction: row;
    align-items: center;
  }
}

.news__head {
  aspect-ratio: 140 / 100;
  width: 200px;
  height: 100%;
  border: 1px solid #F5EBDE;
      margin-inline: auto;
  flex-shrink: 0;
}
@media screen and (min-width: 600px) {
  .news__head {
    width: 140px;
    margin-inline: 0;
  }
}

.news__head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news__body{
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
}

.news__meta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.news__tag {
  padding: 2px 5px;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  min-width: 65px;
  width: fit-content;
  background: #FDF5EB;
  color: #F7934A;
}

.news__date {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  color: rgba(101, 85, 66, 0.7);
}

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

.news-category > .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  background: #FFFFFF;
  border-radius: 25px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.16);
  text-align: center;
  width: fit-content;
  max-width: 301px;
  justify-content: center;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
 .news-category > .webgene-blog {
   max-width: 100%;
   justify-content: start;
   margin: 0;
  }
}

.news__cat {
  width: 100%;
}
.news__cat a {
  border-radius: 50px;
  padding: 15px 38px;
  width: 100%;
}
@media screen and (min-width: 768px) {
 .news__cat,
  .news__cat a {
  width: auto;
}
}

.news__cat a.is-active {
  background: #FFA639;
  color: #fff;
  opacity: 1 !important;
}
.news__cat a:hover {
  opacity: 0.7;
}

.news__list > .webgene-blog{
  margin-top: 70px;
  max-width: 1009px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 5px;
}
.news-list .webgene-pagination {
  margin-top: 100px;
}