.case-single-wrap {
  max-width: 1400px;
  margin: calc(var(--header-h) + 6vw) auto;
  margin-bottom: 0px;
  padding: 0 10px;
}

/* 상단 */
.case-top {
  position: relative;
}

.case-meta {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.case-category {
  position: relative;
  color: #0054b1;
  font-weight: 600;
  margin-right: 20px;
}

.case-category::after {
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  width: 1px;
  height: 10px;
  background: #000;
  content: "";
}

.case-date {
  color: #919191;
  font-size: 14px;
}

.case-title {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 5px;
  line-height: 1.4;
  color: #00070f;
}

/* 본문 */
.case-content {
  font-size: 16px;
  line-height: 1.85;
  color: #585656;
  padding: 40px 0 60px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

/* 네비게이션 전체 */
.case-nav-area {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  /* position: relative;
        width: 100%;
        border-top: 1px solid #ddd;
        padding-top: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center; */
}

.case-nav.prev,
.case-nav.next {
  display: flex;
  align-items: center;
}

/* 좌·우 버튼 */
.case-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  height: 100%;
}

/* 왼쪽은 왼쪽 정렬 */
.case-nav.prev {
  justify-content: flex-start;
}

/* 오른쪽은 오른쪽 정렬 */
.case-nav.next {
  justify-content: flex-end;
  margin-left: auto;
}

.case-nav.prev a {
  margin-left: 0;
}

.case-nav.next a {
}

/* 중앙 목록 버튼 */
.case-nav.center {
  display: flex;
  justify-content: center;
  /* position: absolute;
        top: 80%;
        left: 50%;
        transform: translate(-50%, -50%); */
  width: 80px;
  height: 80px;
}

.case-list-btn {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background: #f7f7f7;
  justify-content: center;
  align-items: center;
  transition: 0.2s;
}

.case-list-btn:hover {
  background: #eee;
}

.case-list-btn img {
  width: 22px;
}

.nav-title {
  font-size: 14px;
  color: #666;
}

/* sp_share btn css */

.share_btn--wrapper {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

.share_btn--wrapper .share_ic {
  width: 25px;
  height: 25px;
}

.share_btn--wrapper .share_btn_util--block {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: -19px;
  right: 35px;
  width: max-content;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
  border-radius: 20px;
  transition: all 0.4s ease;
  background: #fff;
}

.share_btn--wrapper .share_btn_util--block.active {
  visibility: visible;
  opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 22px -10px;
}

.share_btn--wrapper .share_btn_util--block::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: rotate(90deg);
  right: -14px;
  border-bottom: 25px solid #fff;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-radius: 2px;
  margin-top: -12px;
}

.share_btn--wrapper .share_btn_util--block li {
}

.share_btn--wrapper .share_btn_util--block li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  transition: all 0.4s ease;
}

.share_btn--wrapper .share_btn_util--block li a:hover {
  transform: translateY(-3px);
}

.copy-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

@media screen and (max-width: 767px) {
  .case-single-wrap {
    padding: 0 20px;
  }
  .case-category {
    font-size: 14px;
  }
  .case-title {
    font-size: 17px;
    font-weight: 600;
  }

  .share_btn--wrapper {
    top: unset;
    bottom: 0;
  }

  .case-content {
    padding: 30px 0;
  }

  .case-nav.center {
    width: 60px;
    height: 60px;
  }

  .case-nav .nav-title {
    display: none;
  }
}
