:root {
  --notice-font-default: "Pretendard", sans-serif;
  --notice-color-main: #3276a1;
  --notice-color-main-hover: #3f9eda;
  --notice-color-list-hover: #f7f7f9;
  --notice-color-text: #474747;
  --notice-color-text-strong: #303030;
  --notice-color-list-pin: #eaf3fa;
}

.wacus-community {
  font-family: var(--notice-font-default);
  font-weight: 400;

  color: var(--notice-color-text);
}

.view_btn_list {
  position: relative;

  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.view_cont img {
  max-width: 100%;
}
.view_btn_list .other_page_btn a {
  display: flex;
  gap: 10px;
}

.view_btn_list .other_page_btn.next a {
  text-align: right;
}

.view_btn_list .list_btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.view_btn_list .list_btn a {
  color: var(--notice-color-main);
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.8px;
}
.view_btn_list .other_page_btn a p {
  color: var(--notice-color-text);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.72px;
  line-height: 1.3;
}

.view_btn_list .other_page_btn a:hover p {
  text-decoration: underline;
}

.view_btn_list .other_page_btn a > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .view_btn_list .list_btn a {
    font-size: 16px;
  }
  .view_btn_list {
    gap: 10px;
  }

  .view_btn_list .other_page_btn a {
    width: 8em;
  }

  .view_btn_list .other_page_btn a p {
    font-size: 14px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 원하는 줄 수 */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: 2.8em; /* line-height × 줄 수 */
  }
  .view_btn_list .other_page_btn a span {
    display: none;
  }
}

.notice_list {
  margin-top: 40px;
}
.notice_list > h6 {
  color: var(--notice-color-text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -1.6px;
}

.notice_list > h6 .point_color {
  color: var(--notice-color-main);
  font-weight: 600;
}

.notice_list > ul {
  margin-top: 20px;
  border-top: solid 2px var(--notice-color-main);
  border-bottom: solid 2px var(--notice-color-main);
}
.notice_list > ul li {
}

.notice_list > ul .pin_notice {
  background: var(--notice-color-list-pin);
}
.notice_list > ul li a {
  display: flex;
  justify-content: space-between;
  padding: 30px 40px;
  box-sizing: border-box;
  border-bottom: 1px solid #dbdbdb;
}
.notice_list > ul li:last-child a {
  border-bottom: 0;
}
.notice_list > ul li .left {
  display: flex;
  align-items: center;
  gap: 32px;
}
.notice_list > ul li .left > span {
  width: 88px;
  text-align: center;
  color: #303030;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.notice_list > ul .pin_notice .left > span {
  color: #fff;
  background-color: var(--notice-color-main);
  padding: 0.6em 0;
  box-sizing: border-box;
  border-radius: 8px;
}
.notice_list > ul li .left > p {
  color: var(--notice-color-text);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.72px;
}
.notice_list > ul li .right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice_list > ul li .right > p {
  color: var(--notice-color-text);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.6px;
}
.notice_list {
}

@media screen and (min-width: 768px) {
  .notice_list > ul li:hover {
    background-color: var(--notice-color-list-hover);
    transition: all 0.3s;
  }
  .notice_list > ul li:hover .left > p {
    text-decoration: underline;
  }
}
@media screen and (max-width: 768px) {
  .notice_list > h6 {
    font-size: 16px;
    letter-spacing: -1px;
  }
  .notice_list {
    margin-top: 20px;
  }

  .notice_list > ul li a {
    padding: 15px 10px;
  }
  .notice_list > ul li .left {
    flex: 1;
  }
  .notice_list > ul li .left > span {
    font-size: 12px;
    width: 60px;
    padding: 10px 5px;
    box-sizing: border-box;
  }
  .notice_list > ul .pin_notice .left > span {
    padding: 10px 5px;
  }
  .notice_list > ul li .left {
    gap: 15px;
  }
  .notice_list > ul li .left > p {
    font-size: 16px;
    white-space: nowrap; /* 텍스트가 한 줄로 제한 */
    overflow: hidden; /* 넘치는 텍스트 숨기기 */
    text-overflow: ellipsis; /* 넘치는 텍스트를 ... 으로 처리 */
    width: 100%; /* 부모 요소의 너비에 맞추기 */
    display: block;
    max-width: 180px;
  }
  .notice_list > ul li .right {
  }
  .notice_list > ul li .right > div {
    display: none;
  }
  .notice_list > ul li .right > p {
    font-size: 12px;
  }
}
@media screen and (max-width: 350px) {
  .notice_list > ul li .left > p {
    max-width: 100px;
  }
}

.comm_tit {
  text-align: center;
}

.comm_tit .date_tit {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.comm_tit .date_tit p {
  color: var(--notice-color-text);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.64px;
}

.view-content-wrap {
  width: 100%;

  margin-top: 6rem;
  padding: 80px 0;

  border-top: solid 2px var(--notice-color-main);
  border-bottom: solid 2px var(--notice-color-main);
}

.view_cont {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;

  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.view_cont .text_box {
  color: var(--notice-color-text);
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.72px;
}
@media screen and (max-width: 768px) {
  .view_cont {
    margin-top: 40px;
    padding: 40px 0;
  }
}
