@charset "utf-8";

.news__list {
  margin-top: 80px;
  padding: 0 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
@media screen and (min-width: 768px) {
  .news__list {
    padding: 0 45px;
  }
}

.news__list .webgene-blog {
  background: #fff;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  border-radius: 10px 0 0 10px;
  padding-bottom: 50px;
}
@media screen and (min-width: 1367px) {
  .news__list .webgene-blog {
    border-radius: 10px;
  }
}

.news__wrap a{
  padding: 28px 0 ;
  border-bottom: 1px solid #A7A7A7;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 25px;
}
@media screen and (min-width:  768px) {
  .news__wrap a{
    flex-direction: row;
  }
}
@media screen and (min-width: 1100px) {
  .news__wrap a{
    padding: 30px 0 29px ;
    gap: 40px;
  }
}
.news__wrap:last-of-type a {
  border-bottom: none;
}
.news__wrap a:hover .news__head img{
  scale: 1.1;
}

.news__head {
  aspect-ratio: 170 / 128;
  width: min(100%, 300px);
  height: auto;
  overflow: hidden;
  flex-shrink: 0;
}
@media screen and (min-width:  768px) {
  .news__head {
    width: 170px;
  }
}
.news__head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.5s;
}

.news__body {
  padding-right: 48px;
  flex-grow: 1;
  position: relative;
  width: 100%;
}
.news__body::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  background: url('../images/arrow-blue.svg') center / contain no-repeat;
  width: 28px;
  height: 18px;
}

.news__date {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.02em;
  display: inline;
}

.news__tag {
  padding: 3px 7px;
  background: #C6ECFA;
  color: #368EE8;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.08em;
  width: fit-content;
  display: inline;
  margin-left: 26px;
}

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

.news-category > .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
@media screen and (min-width: 1300px) {
  .news-category > .webgene-blog {
    justify-content: start;
  }
}

.news__cat {
  width: min(100%, 200px);
}

.news__cat a{
  width: 100%;
  min-width: 110px;
  border: 1px solid #BAD4EB;
  background: #BAD4EB;
  border-radius: 42px;
  padding: 12px 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #2F88E9;
  transition: all 0.3s;
}
@media screen and (min-width: 768px) {
  .news__cat a{
    min-width: 200px;
  }
}
.news__cat a:hover {
  background: #2F88E9;
  color: #fff;
}

.news__list > .webgene-blog{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.news-list .webgene-pagination {
  margin-top: 100px;
}