@charset "utf-8";

.page-wrapper {
  padding: 80px 0 120px;
}

.cat-list {
  display: flex;
  gap: 76px;
  margin-bottom: 72px;
}

.cat-list .webgene-blog {
  display: flex;
  gap: 80px;
}

.cat-list .catitem {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 18px;
  color: #000;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all .4s ease;
}

.cat-list .catitem:hover {
  filter: opacity(60%);
  transition: all .4s ease;
}

.cat-list .catitem::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #000;
  transform: rotate(45deg);
  display: inline-block;
  vertical-align: middle;
}

.newswrap .webgene-blog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 28px;
}

.newsItem .newsLink {
  display: flex;
  gap: 16px;
  transition: all .4s ease;
}

.newsItem .newsLink:hover {
  filter: opacity(60%);
  transition: all .4s ease;
}

.newsItem .newsLink .newsCatch {
  max-width: 241px;
  width: 100%;
  height: 238px;
}

.newsItem .newsLink .newsTextWrap {
  flex: 1;
}

.newsItem .newsLink .newsCatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsTextWrap .newsItemText {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 17px;
}

.newsTextWrap .newsItemText .newsItemTime {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
  color: #000;
}

.newsTextWrap .newsItemText .newsItemCate {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  color: #000;
  padding: 4px 15px;
  border-radius: 50px;
  border: 1px solid #000;
  width: fit-content;
}

.newsTextWrap .newsItemTit {
  font-family: var(--font-en);
  font-weight: 600;
  line-height: 23px;
  font-size: 16px;
  color: #000;
  padding-bottom: 20px;
  border-bottom: 1px solid #000;
}

.newsdetailwrap .newsDetail {
  max-width: 840px;
  width: 100%;
  margin: auto;
}

.newsDetail-wrap-title {
  margin-bottom: 20px;
}

.newsDetail-wrap-title .newsItemText {
  display: flex;
  gap: 32px;
  align-items: center;

}

.newsDetail-wrap-title .newsItemText .newsItemTime {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 16px;
  color: #000;
}

.newsDetail-wrap-title .newsItemText .newsItemCate {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  color: #000;
  padding: 4px 15px;
  border-radius: 50px;
  border: 1px solid #000;
  width: fit-content;
}

.newsdetailwrap .newsDetailTit {
  font-family: var(--font-en);
  font-weight: 600;
  line-height: 29px;
  font-size: 20px;
  color: #000;
  margin-bottom: 20px;
}

.newsDetailTxt {
  margin-top: 40px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 32px;
  color: #000;
}

.newsDetail-wrap {
  padding-bottom: 80px;
  border-bottom: 2px solid #000;
  margin-bottom: 56px;
}

.newsDetail-wrap .News-detail-img {
    width: 100%;
    height: 489px;
}

.newsDetail-wrap .News-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsDetailBtnBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.newsDetailBtnBox .btn {
  max-width: 325px;
  height: 67px;
}

.newsDetailBtnBox .btn p {
  font-size: 20px;
}

.newsDetailBtnBox .btn .btn__diamond {
  width: 46px;
  height: 46px;
}

.newsDetailBtnBox .webgene-item-aroundPageLink {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 16px;
  color: #000;
  transition: all .4s ease;
}

.newsDetailBtnBox .webgene-item-aroundPageLink:hover {
  filter: opacity(60%);
  transition: all .4s ease;
}

.webgene-pagination {
  margin-top: 20px;
  width: 100%;
  grid-column: 1 / 3;
}

.webgene-pagination ul {
  padding: 0;
  margin: 0;
  display: flex;
  gap: 40px;
}

.webgene-pagination ul .number {
  list-style: none;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 24px;
  color: #000;
}

.webgene-pagination ul .number.selected {
  background-color: #000;
  color: #FFF;
  width: 27px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.webgene-pagination ul .number::marker {
  content: none;
}

@media (max-width: 1152px) {
    .page-wrapper {width: 90%;}
    .newswrap .webgene-blog {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .newswrap .webgene-blog .newsTextWrap {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .page-wrapper {
        padding: 23px 0 80px;
    }
    .cat-list {
        margin-bottom: 32px;
    }
    .cat-list,.cat-list .webgene-blog {
        gap: 36px;
    }

    .cat-list .catitem::before {
        width: 15px;
height: 15px;
    }

    .cat-list .catitem {
        font-size: 15px;
    }
    .newsItem .newsLink .newsCatch {
        max-width: 123px;
        height: 120px;
    }
    .newsTextWrap .newsItemText {
        gap: 5px;
    }
    .newsTextWrap .newsItemText .newsItemTime {
        font-size: 13px;
    }
    .newsTextWrap .newsItemText .newsItemCate {
        font-size: 10px;
        padding: 0 6px;
    }
    .newsTextWrap .newsItemTit {
        font-size: 12px;
        line-height: 17px;
    }
    .newsTextWrap .newsItemTit {
        padding-bottom: 16px;
    }
    .webgene-pagination ul .number {
        font-size: 19px;
    }
    .webgene-pagination ul .number.selected {
        width: 22px;
        height: 44px;
    }
    .newsDetail-wrap-title .newsItemText .newsItemTime {
        font-size: 14px;
    }
    .newsDetail-wrap-title .newsItemText {
        gap: 22px;
        margin-bottom: 14px;
    }
    .newsDetail-wrap-title .newsItemText .newsItemCate {
        font-size: 12px;
        padding: 4px 10px;
    }


    .newsdetailwrap .newsDetailTit {
        font-size: 16px;
        line-height: 23px;
    }
    .newsDetail-wrap {
        padding-bottom: 64px;
        margin-bottom: 30px;
    }

    .newsDetail-wrap .News-detail-img {
    height: 214px;
}
.newsDetailTxt {
    margin-top: 30px;
    font-size: 14px;
line-height: 24px;
}
.newsDetailBtnBox {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr minmax(0, auto);
  grid-template-rows: auto auto;
  align-items: center;
  width: 100%;
  row-gap: 40px;
}

.newsDetailBtnBox .webgene-item-prevPageLink,
.newsDetailBtnBox .webgene-item-nextPageLink {
  white-space: nowrap;
}

.newsDetailBtnBox .webgene-item-prevPageLink {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.newsDetailBtnBox .webgene-item-nextPageLink {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.newsDetailBtnBox .btn {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  width: 241px;
  height: 55px;
}
.newsDetailBtnBox .btn p {
    font-size: 16px;
}
}