@charset "UTF-8";

.p-news__body {
  padding-block: 70px 80px;
}
@media screen and (min-width:768px) {
  .p-news__body {
    padding-block: 100px 130px;
  }
}
.p-news__body .l-inner {
  padding: 0 20px;
  position: relative;
}
@media screen and (min-width:768px) {
  .p-news__body .l-inner {
    padding: 0 50px;
  }
}
@media screen and (min-width:1367px) {
  .p-news__body .l-inner {
    padding-inline: calc((100vw - 1266px) / 2);
  }
}

.p-news__categories {
  padding-bottom: 60px;
}
@media screen and (min-width:768px) {
  .p-news__categories {
    padding-bottom: 97px;
  }
}

.p-news__categories > .webgene-blog {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 40px;
}
@media screen and (min-width:1024px) {
  .p-news__categories > .webgene-blog {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 20px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-inline: auto;
    max-width: 1106px;
  }
}
@media screen and (min-width:1200px) {
  .p-news__categories > .webgene-blog {
    gap: min(4.0263543192vw, 55px);
  }
}

.p-news__cat {
  display: block;
  position: relative;
  width: clamp(290px, 24.3045387994vw, 332px);
  padding-block: 12px 26px;
  padding-left: 20px;
  padding-right: 50px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.p-news__cat::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: url(../images/btn-arrow-blue.png) no-repeat center center/cover;
  rotate: 90deg;
}
.p-news__cat::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #011e55;
  opacity: 0.5;
}
@media (any-hover: hover) {
  .p-news__cat:hover::before {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    translate: 0 10px;
  }
}
.p-news__cat span {
  font-size: 14px;
  line-height: 1.4285714286;
  letter-spacing: 1.12px;
  font-weight: 500;
  color: #011e55;
}

.p-news__wrap > .webgene-blog {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 535.57px;
  margin-inline: auto;
  gap: 35px 30px;
}
@media screen and (min-width:1024px) {
  .p-news__wrap > .webgene-blog {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1106px;
  }
}

.p-news__item {
  width: min(100%, 535.57px);
  height: 255.64px;
  max-width: 535.57px;
  padding: 40px 34px 35px 37px;
  background: #ffffff;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  border-radius: 10px;
  position: relative;
}
.p-news__item::after {
  content: "";
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: url(../images/btn-arrow-blue.png) no-repeat center center/cover;
}
.p-news__item a {
  height: 100%;
}
@media screen and (min-width:1024px) {
  .p-news__item {
    width: clamp(100%, 39.2071742313vw, 535.57px);
    height: clamp(200px, 18.7144948755vw, 255.64px);
  }
}

.p-news__date {
  color: #24354c;
  font-size: 14px;
  line-height: 1.4285714286;
}

.p-news__tag {
  margin-top: 21px;
}
.p-news__tag span {
  min-width: 74px;
  padding: 2px 12px;
  text-align: center;
  background: #f6f8fc;
  color: #1b427a;
  border: 1px solid #1b427a;
  border-radius: 10px;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
}

.p-news__title {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 1.28px;
  font-weight: 500;
  color: #555555;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.webgene-pagination {
  margin-top: 110px;
  font-size: 14px;
  justify-self: center;
  grid-column: 1/-1;
}

.webgene-pagination a:hover {
  opacity: 0.7;
}

.webgene-pagination ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  gap: 10px;
  -webkit-padding-start: 0;
          padding-inline-start: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.webgene-pagination ul .number a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  line-height: 2.2;
  border-radius: 50%;
  background-color: #fff;
  color: #283B54;
}

.webgene-pagination ul .number.selected a {
  background: #011E54;
  color: #fff;
  border-radius: 50%;
}

li.next,
li.prev {
  position: relative;
}

li.next a,
li.prev a {
  height: 40px;
  width: 40px;
  padding: 2px;
  position: relative;
}

li.prev:after,
li.next:after {
  pointer-events: none;
  content: "";
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 40px;
  height: 40px;
}

li.prev:after {
  background-image: url("../images/page-prev.png");
  left: 0;
}

li.next:after {
  background-image: url("../images/page-next.png");
  right: 0;
}

@media screen and (min-width: 768px) {
  li.next {
    margin-left: 30px;
  }
  li.prev {
    margin-right: 30px;
  }
  li.next a,
  li.prev a {
    margin-top: 3px;
    width: auto;
    padding-block: 10px;
    z-index: 10;
    line-height: 1;
  }
  li.prev a {
    padding-left: 48px;
    color: #919191;
  }
  li.next a {
    padding-right: 48px;
    color: #393939;
  }
  li.prev:after,
  li.next:after {
    pointer-events: auto;
  }
}