@charset "utf-8";

.article-list .inner {
  padding: 80px 0 160px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin: 0 auto;
}

.article-list .cate-list {
  border-radius: 7px;
  background: #e6e2d8;
  padding: 20px 0;
}

.article-list .cate-list .scroll-area {
  width: 70%;
  margin: 0 auto;
  overflow: auto;
}

.article-list .cate-list .scroll-area,
.article-list .cate-list .webgene-blog {
  display: flex;
  align-items: center;
}

.article-list .cate-list .scroll-area>a {
  font-weight: 700;
  font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
  color: #192633;
  position: relative;
  display: flex;
  align-items: center;
  padding: 5px 24px;
  border-radius: 4px;
  transition: .4s ease;
  margin: 0 24px;
  white-space: nowrap;
}

.article-list .cate-list .scroll-area>a:hover,
.article-list .cate-list .webgene-item a:hover {
  background: #150e06;
  color: #e6e2d8;
}



.article-list .cate-list .webgene-item {
  font-weight: 700;
  font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
  color: #192633;
  transition: 0.4s ease;
  white-space: nowrap;
  padding: 0 24px;
  border-left: 1px solid #150E06;
  border-right: 1px solid #150E06;
}

.article-list .cate-list .webgene-item a {
  transition: var(--default);
  padding: 5px 24px;
  border-radius: 4px;
}




.article-main .webgene-blog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px 80px;
}

.article-main .webgeneLink {
  padding-bottom: 6px;
  border-bottom: 1px solid #150E06;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: .4s ease;
  height: 100%;
}

.article-main .webgeneLink:hover {
  opacity: 50%;
}

.blogDetailImg {
  aspect-ratio: 311/422;
  margin-bottom: 13px;
}

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

.cate {
  font-size: clamp(0.688rem, 0.672rem + 0.06vw, 0.75rem);
  text-align: center;
  color: #e6e2d8;
  padding: 4px 8px;
  border-radius: 50px;
  background: #150E06;
  border: 1px solid #150E06;
  margin-bottom: 6px;
}

.ItemTit {
  font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
  line-height: calc(26/18);
  color: #150E06;
  margin-bottom: 10px;
}

.date {
  font-size: clamp(0.688rem, 0.672rem + 0.06vw, 0.75rem);
  text-align: right;
  color: #150E06;
  width: 100%;
}

.webgene-pagination {
  width: 100%;
  grid-column: 1/5;
}

.webgene-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.webgene-pagination ul .number {
  width: 44px;
  height: 43px;
  font-size: clamp(0.875rem, 0.723rem + 0.65vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #e6e2d8;
  color: #150e06;

  transition: var(--default);
}

.webgene-pagination ul .number.selected,
.webgene-pagination ul .number:hover {
  font-size: clamp(0.875rem, 0.723rem + 0.65vw, 1.5rem);
  text-align: center;
  color: #e6e2d8;
  border-radius: 4px;
  background: #150e06;
}

.article-detail .inner {
  padding: 80px 0 120px;
}


.blogDetail-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.blogDetail-wrap-title {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #150e06;
  ;
}

.article-detail .cate {
  margin-bottom: 12px;
}

.article-detail .blogDetailImg {
  aspect-ratio: unset;
  margin-bottom: 0;
}

.article-detail .blogDetailImg img {
  width: 100%;
  height: auto;
}

.article-detail .inTit01 {
  font-weight: 700;
  font-size: clamp(0.875rem, 0.784rem + 0.39vw, 1.25rem);
  line-height: calc(29 / 20);
  color: #192633;
  margin-bottom: 12px;
}

.article-detail .txt01 {
  font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
  color: #150e06;
  width: 100%;
  padding-bottom: 80px;
  border-bottom: 1px solid #150e06;
}

.article-detail .back {
  margin-right: auto;
  font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
  color: #150e06;
}



@media (max-width: 1180px) {
  .article-main .webgene-blog {
    gap: 35px 40px;
  }
}

@media (max-width: 1023px) {
  .article-list .cate-list .scroll-area {
    width: 80%;
  }


}

@media (max-width: 767px) {
  .article-list .inner {
    padding: 40px 0 120px;
    gap: 32px;
  }

  .article-detail .inner {
    padding: 40px 0 120px;

  }

  .blogDetail-wrap {
    gap: 24px;
  }

  .article-detail .txt01 {
    padding-bottom: 64px;
  }



  .article-main .webgene-blog {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .webgene-pagination {
    grid-column: 1/3;
  }

  .webgene-pagination ul .number {
    width: 28px;
    height: 27px;
  }
}