@charset "utf-8";
.news{
    margin-top: 14rem;
}
#news-list{
}
#news-list .title-box{
    width: calc(50% - 7rem);
}
#news-list .title{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14rem;
}
#news-list .title h1{
    font-size: 3.6rem;
    font-weight: 300;
}
#news-list .title p{
    color: var(--grey-color-);
    font-size: 1.8rem;
    margin-top: 2rem;
}
#news-list .title p span{
    display: block;
}
#news-list .title p b{
    color: var(--black-color-);
}
#news-search{
    display: block;
    position: relative;
    width: calc(50% - 7rem);
}
#news-search .search-field{
    position: relative;
}
#news-search .sch_bar{
    display: flex;
}
#news-search .sch_bar i{
    font-size: 2rem;
}
#news-search input{
    border: none;
    border-bottom: 1px solid var(--black-color-);
    padding: 1rem;
    font-size: 2rem;
    color: var(--black-color-);
    width: 100%;
}
#category{
    margin-top: 8rem;
}
#category-item{
    display: flex;
    gap: 1.4rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
#category-item li a{
    font-size: 1.6rem;
    border: 1px solid var(--black-color-);
    display: block;
    padding: 1rem 2rem;
    border-radius: 10rem;
}
#category-item li a#bo_cate_on{
    background-color: var(--black-color-);
    color: white;
}
#news-item{
    margin-top: 8rem;
}
#news-item .page-news-list i{
    margin-right: 1rem;
    font-size: 2rem;
    width: 2rem;
    line-height: 1.2;
}
#news-item h2{
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
}
#news-item .page-news{
    display: flex;
    flex-direction: column;
}
#news-item .page-news-list{
    border-top: 1px solid var(--black-color-);
    width: calc(50% + 50%);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}
#news-item .page-news-list-link{
    display: flex;
    align-items: center;
    padding: 3rem 0;
}
#news-item .page-news-list-link time{
    margin-left: auto;
    color: var(--grey-color-);
}
#news-item .page-news-list .view-btn{
    width: 2rem;
    height: 2rem;
    margin-left: 3rem;
    position: relative;
    display: block;
}
#news-item .page-news-list .view-btn::before,
#news-item .page-news-list .view-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: 100%;
    background-color: var(--black-color-);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}
#news-item .page-news-list .view-btn::after {
    width: 100%;
    height: 1px;
}
#news-item .page-news-list .page-news-content{
    height: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-2rem);
    transition: transform .5s, opacity 1s;
}
#news-item .page-news-list .page-news-content p{
    color: var(--grey-color-);
    padding: 2rem;
    border-radius: 0 10rem 10rem 10rem;
    margin-top: 0;
    font-size: 1.6rem;
}

#news-item .page-news-list.active .page-news-content{
    height: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

#news-item .page-news-list.active .page-news-content p{
    margin-top: 2rem;
}
.sch_word{
    background-color: var(--blue-color-);
    font-weight: 300;
}
#news-view header{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--black-color-);
}
#news-view-subject{
    font-size: 4rem;
    line-height: 1.4;
    font-weight: 600;
}
#news-view time{
    margin-top: 2rem;
}
#news-view-contents{
    font-size: 1.8rem;
    margin-top: 5rem;
}
#news-view-contents figure, #news-view-contents img{
    margin: 0;
    padding: 0;
    max-width: 60rem;
}
#news-view-contents p{
    line-height: 1.4;
    font-size: 1.8rem
}
#news-view #bo_v_link li {
    padding: 0;
    position: relative;
    margin: 0;
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

    display: flex;
    justify-content: center;
    align-items: center;
}

#news-view #bo_v_link li a.move-links,
#news-view-contents a.move-links {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  background-color: var(--blue-color-);
  color: white;
  font-weight: 600;
  border-radius: 100rem;
  padding: 1.6rem 3rem;
  font-size: 1.8rem;
  gap: 1rem;
  line-height: normal;
  text-decoration: none; 
}
#news-view #bo_v_link li a.move-links::after ,
#news-view-contents a.move-links::after {
  content: '';
  width: 2rem;
  height: auto;
  aspect-ratio: 1 /1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url('/img/common/arrow-right.svg');
  
}
/* hover 시에도 밑줄 제거 */
a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
    .box{
        padding: 0;
    }
    .news{
        margin-top: 12rem;
    }
    #news-list .title{
        gap: 5rem;
        padding: 0 4rem;
        width: 100%;
    }
    #news-list .title-box{
        width: 100%;
    }
    #news-search{
        width: 100%;
    }
    #category{
        width: 100%;
        padding-left: 4rem;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    #category::-webkit-scrollbar {
        display: none;
    }
    #category-item{
        /*flex-wrap: nowrap;*/
    }
    #category-item li:last-child{
        padding-right: 4rem;
    }
    #news-item{
        padding: 0 4rem; 
    }
    #news-item .page-news-list-link{
        flex-wrap: wrap;
        padding: 2rem 0;
    }
    #news-item h2{
        width: calc(100% - 3rem);
        padding-right: 5rem;
    }
    #news-item .page-news-list-link time{
        margin-left: 0;
        margin-top: 1rem;
    }
    #news-item .page-news-list .view-btn{
        width: 1.4rem;
        height: 1.4rem;
        margin-left: auto;
        margin-top: -2rem;
    }
    #news-item .page-news-list .page-news-content p{
        padding: 0;
        padding-bottom: 3rem;
    }
    #news-view{
        padding: 0 4rem;
    }
    #news-view-subject{
        font-size: 3.6rem;
        line-height: 1.4;
    }
    #news-view-contents{
     
    }
    #news-view-contents p{
        font-size: 2rem;
    }
    br{
        display: inherit;
    }
    #news-view-contents figure, #news-view-contents img{
        max-width: 100%;
    }



    .bo_v_nb li {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
    }
    .bo_v_nb li .nb_tit {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
    }
    .bo_v_nb li a {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }