/* 뉴스 상세보기 */
#news_view {
  width: 100% !important;
  margin-top: 100px !important;
  border-top: solid 1px black !important;
}
.newsView_title {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 24px 32px !important;
  border-bottom: solid 1px var(--color-e8) !important;
}
.newsView_title .date p {
  color: var(--color-57) !important;
}

.newsView_contents {
  padding: 42px 32px 112px !important;
  border-bottom: solid 1px var(--color-76) !important;
}
.newsView_contents p {
  line-height: 1.8 !important;
}

.nextPrev_wrap {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 62px !important;
  padding: 0 40px !important;
  padding-bottom: 62px !important;
}
.next_view {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 50% !important;
  cursor: pointer !important;
}
.next_view img {
  margin-right: 10px !important;
}
.next_view p:first-of-type {
  padding-right: 32px !important;
  font-weight: 600 !important;
}
.next_view p:last-of-type {
  width: 80% !important;
  text-align: left !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.none_news {
  color: var(--color-76) !important;
}

.prev_view {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: 50% !important;
  cursor: pointer !important;
}
.prev_view img {
  margin-left: 10px !important;
}
.prev_view p:first-of-type {
  text-align: right !important;
  width: 80% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.prev_view p:last-of-type {
  padding-left: 32px !important;
  font-weight: 600 !important;
}
.next_view img:hover,
.next_view p:hover,
.prev_view img:hover,
.prev_view p:hover {
  cursor: pointer !important;
  transition: 0.3s !important;
}

/* 태블릿 (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  #news_view {
    margin-top: 80px !important;
  }
  
  .newsView_title {
    padding: 20px 24px !important;
  }
  
  .newsView_title .title h1 {
    font-size: 24px !important;
  }
  
  .newsView_contents {
    padding: 32px 24px 80px !important;
  }
  
  .nextPrev_wrap {
    padding: 0 24px !important;
    padding-bottom: 50px !important;
    margin-top: 50px !important;
  }
  
  .next_view p:first-of-type,
  .prev_view p:last-of-type {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }
}

/* 모바일 (768px 이하) */
@media screen and (max-width: 768px) {
  #news_view {
    margin-top: 60px !important;
  }
  
  .newsView_title {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 20px 16px !important;
  }
  
  .newsView_title .title {
    width: 100% !important;
    margin-bottom: 12px !important;
  }
  
  .newsView_title .title h1 {
    font-size: 20px !important;
    line-height: 1.4 !important;
  }
  
  .newsView_title .date {
    width: 100% !important;
  }
  
  .newsView_contents {
    padding: 24px 16px 60px !important;
  }
  
  .newsView_contents p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  
  .nextPrev_wrap {
    flex-direction: column !important;
    padding: 0 16px !important;
    padding-bottom: 40px !important;
    margin-top: 40px !important;
    gap: 24px !important;
  }
  
  .next_view,
  .prev_view {
    width: 100% !important;
    padding: 16px !important;
    border: 1px solid var(--color-e8) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
  }
  
  .next_view {
    justify-content: flex-start !important;
    cursor: pointer !important;
  }
  
  .prev_view {
    justify-content: flex-start !important;
    flex-direction: row-reverse !important;
  }
  
  .next_view p:first-of-type {
    padding-right: 16px !important;
    min-width: 60px !important;
  }
  
  .prev_view p:last-of-type {
    padding-left: 16px !important;
    min-width: 60px !important;
  }
  
  .next_view p:last-of-type,
  .prev_view p:first-of-type {
    width: calc(100% - 76px) !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  .prev_view p:first-of-type {
    text-align: left !important;
  }
  
  .next_view img,
  .prev_view img {
    width: 16px !important;
    height: 16px !important;
  }
}

/* 소형 모바일 (375px 이하) */
@media screen and (max-width: 375px) {
  #news_view {
    margin-top: 40px !important;
  }
  
  .newsView_title {
    padding: 16px 12px !important;
  }
  
  .newsView_title .title h1 {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
  
  .newsView_title .date p {
    font-size: 12px !important;
  }
  
  .newsView_contents {
    padding: 20px 12px 40px !important;
  }
  
  .newsView_contents p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  
  .nextPrev_wrap {
    padding: 0 12px !important;
    padding-bottom: 30px !important;
    margin-top: 30px !important;
    gap: 16px !important;
  }
  
  .next_view,
  .prev_view {
    padding: 12px !important;
    cursor: pointer !important;
  }
  
  .next_view p:first-of-type,
  .prev_view p:last-of-type {
    font-size: 13px !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
  
  .next_view p:last-of-type,
  .prev_view p:first-of-type {
    font-size: 13px !important;
    width: calc(100% - 64px) !important;
  }
  
  .none_news {
    font-size: 12px !important;
  }
}