/* section.main */
section.main {
  width: 100%;
  padding: 140px 50px 0;
  box-sizing: border-box;
}

section.main .img-wrap,
section.main .img-wrap img {
  width: 100%;
}

/* section.category */
section.category {
  background-color: #FDFDFD;
  padding: 30px 50px 30px;
  width: 100%;
  box-sizing: border-box;
}
section.category .category-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 130px; */
  max-width: 1070px;
  margin: 0 auto;
}
section.category .category-wrap .category-item {
  width: 165px;
  cursor: pointer;
  transition: all .5s;
}
section.category .category-wrap .category-item .img-wrap {
  width: 50%;
  margin: 0 auto;
  padding: 10px;
  border-radius: 10px;
  transition: all .5s;
}
section.category .category-wrap .category-item:hover {
  background-color: #e3f0f8;
  border-radius: 10px;
}
/* section.category .category-wrap .category-item .img-wrap, */
section.category .category-wrap .category-item .img-wrap img {
  width: 100%;
}
section.category .category-wrap .category-item p {
  text-align: center;
  margin-top: 16px;
  color: rgba(0, 106, 53, 0.6);
  font-size: 18px;
  /* transition: all .5s; */
}
section.category .category-wrap .category-item:hover > p {
  color: #00B368;
  font-weight: 600;
}
.notice-item:hover {
  color: #00B368;
  font-weight: 600;
}

/* section.news */
section.news {
  padding: 60px 50px 80px;
}
section.news .news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
section.news .news-header h2 {
  font-weight: 700;
  font-size: 28px;
}
section.news .news-header a.btn-more {
  font-family: "Jalnan";
  color: #006A3F;
  display: flex;
  align-items: center;
} 
section.news .news-content {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
}
section.news .news-content .news-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
section.news .news-content .img-wrap {
  width: 160px;
  height: 160px;
  background-color: #006A3F;
  padding: 30px 37px;
  box-sizing: border-box;
  border-radius: 15px;
}
section.news .news-content .img-wrap img {
  width: 100%;
}
section.news .news-content .news-card {
  background: #FFFFFF;
  box-shadow: 3px 3px 5px rgba(203, 203, 203, 0.2);
  border-radius: 15px;
  padding: 16px 13px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 160px;
}
section.news .news-content .news-card p {
  width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* section.event */
section.event {
  padding: 36px 50px 95px;
  box-sizing: border-box;
}
section.event .section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}
section.event .slide .slick-list {
  border-radius: 10px;
}
section.event .slide .slick-list .event-wrap {
  height: 100%;
}
section.event .slide .slick-list .event-wrap img {
  width: 100%;
}

@media all and (max-width:1080px) {
  section.news .news-content .news-card p {
    width: 260px;
  }

  /* section.event .slide .slick-list {
    border-radius: 10px;
    height: 380px;
  } */
}
@media all and (max-width:900px) {
  section.news .news-content .news-wrap {
    grid-template-columns: 100%;
  }
}
@media all and (max-width:768px) {
  section.category .category-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    row-gap: 30px;
  }
  section.category .category-wrap .category-item {
    width: 90px;
  }
  section.category .category-wrap .category-item p {
    font-size: 16px;
  }

  section.news .news-content {
    grid-template-columns: 100%;
  }

  section.main {
    padding: 130px 25px 0;
  }
  section.category {
    padding: 50px 25px 30px;
  }
  section.news {
    padding: 30px 25px 40px;
}
  section.event {
    padding: 36px 25px 95px;
  }

  header {
    padding: 16px 25px;
  }
  header .logo h1 {
    font-size: 16px;
  }
  header .nav {
    gap: 10px;
    align-items: center;
  }
  header .nav a {
    font-size: 16px;
  }
  header .nav .material-icons-outlined {
    font-size: 16px;
    align-self: flex-end;
  }
  
  /* section.event .slide .slick-list {
    height: 280px;
  } */
  section.news .news-content .img-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }
  section.news .news-content .img-wrap img {
    width: 80%;
  }
  section.news .news-header h2,
  section.event .section-title {
    font-size: 22px;
  }
  section.event .section-title,
  section.news .news-header {
    margin-bottom: 20px;
  }

  .modal_wrap .modal_cnt {
    width: 90%;
  }
}