@charset "utf-8";

/* news */
.news {
  padding-top: clamp(5.000rem, 2.417rem + 5.382vw, 8.875rem);
  padding-bottom: clamp(5.000rem, -1.292rem + 13.108vw, 14.438rem);
}
.news__inner {
  padding-right: clamp(1.250rem, -17.458rem + 38.976vw, 29.313rem);
  padding-left: clamp(1.250rem, -17.458rem + 38.976vw, 29.313rem);
}
.news__container {
  display: flex;
  flex-direction: column;
}
.news__block {
  display: flex;
  flex-direction: column;
}
.news__block .webgene-blog {
  width: 100%;
  margin: 0;
  padding: 0;
}
.news__block .webgene-item {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* news detail */
.newsDetail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.750rem, 0.417rem + 0.694vw, 1.250rem);
}
.newsDetailTime {
  font-size: clamp(1.000rem, 0.667rem + 0.694vw, 1.500rem);
  font-weight: 500;
  line-height: 1;
  color: #333;
}
.newsDetailCate {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: clamp(1.625rem, 1.292rem + 0.694vw, 2.125rem);
  padding: 0 clamp(0.750rem, 0.417rem + 0.694vw, 1.250rem);
  background-color: #0f3666;
  border-radius: 5px;
  font-size: clamp(0.750rem, 0.583rem + 0.347vw, 1.000rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.newsDetailTit {
  margin-top: clamp(0.500rem, 0.417rem + 0.174vw, 0.625rem);
  padding-bottom: clamp(0.625rem, 0.458rem + 0.347vw, 0.875rem);
  border-bottom: 1px solid #000;
  font-size: clamp(1.125rem, 0.875rem + 0.521vw, 1.500rem);
  font-weight: 500;
  line-height: clamp(1.750rem, 1.583rem + 0.347vw, 2.000rem);
  color: #000;
}
.newsDetailImg {
  width: 100%;
  max-width: 844px;
  margin-top: clamp(2.500rem, 1.667rem + 1.736vw, 3.750rem);
  margin-right: auto;
  margin-left: auto;
}
.newsDetailImg img {
  border-radius: 10px;
}
.newsDetailTxt {
  max-width: 844px;
  margin-top: clamp(2.500rem, 1.667rem + 1.736vw, 3.750rem);
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: clamp(1.375rem, 1.292rem + 0.174vw, 1.500rem);
  color: #000;
  overflow-wrap: anywhere;
}
.newsDetailTxt img {
  margin-top: 1em;
      aspect-ratio: 4 / 3;
    object-fit: contain;
}

/* pdf */
.news-pdf {
  max-width: 844px;
  margin-right: auto;
  margin-left: auto;
}
.news-pdf .pdfLink {
  display: inline-block;
  margin-top: clamp(1.250rem, 0.750rem + 1.042vw, 2.000rem);
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 500;
  line-height: 1.5;
  color: #0f3666;
  text-decoration: underline;
  transition: color 0.3s;
}
.news-pdf .pdfLink:hover {
  color: #ff880a;
}
.newsBtnBox:empty {
  display: none;
}

/* back btn */
.news__block > a {
  display: block;
  width: fit-content;
  margin-top: clamp(5.000rem, 0.833rem + 8.681vw, 11.250rem);
  margin-right: auto;
  margin-left: auto;
}
.newsdetail-btn__icon {
  transform: scaleX(-1);
}

@media (max-width: 767px) {
  .news__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 389px) {
  .news__inner {
    padding-right: 16px;
    padding-left: 16px;
  }
  .newsDetailCate {
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
  .newsDetailTit {
    font-size: 16px;
    line-height: 26px;
  }
}
