/* =========================================
   7. 보상리포트(성공사례/선임후기) 상세 공통 스타일 (.report-view-*)
========================================= */
.report-section.view-section {
    padding: 0 0 120px;
    border-top: 10px solid #B70000;
}
.review-section.view-section{
  padding: 0 0 120px;
}
/* 공통 래퍼 */
.report-view-wrap {
  width: 100%;
  max-width: 1022px; /* 피그마 고정 가로폭 */
  margin: 0 auto;
}

/* --- 상단 타이틀 영역 --- */
.report-view-header {
  min-height: 180px; /* 최소 높이 설정 */
  padding: 90px 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 180px 안에서 텍스트를 수직 중앙으로 예쁘게 정렬 */
}

.review-view-header {
  min-height: 180px; /* 최소 높이 설정 */
  padding: 90px 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 180px 안에서 텍스트를 수직 중앙으로 예쁘게 정렬 */
}


.report-view-category {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 0 24px; 
  height: 38px;
  border: 0.5px solid #B70000; /* Active Color */
  background: #B70000;         /* Active Color */
  color: #FFFFFF;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 600;

  color: #FFF;
text-align: center;
font-family: Pretendard;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: 1.4;
    margin-bottom: 20px;
}

.report-view-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.report-view-title {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  word-break: keep-all;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-view-title-sub {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: 38px; /* 152% */
  margin-bottom: 80px; /* PC: 날짜와 동일한 하단 여백을 주어 완벽한 한 줄 수평 정렬 맞춤 */
  flex: 1; /* Flexbox 내에서 남은 공간 차지 */
  min-width: 0; /* 텍스트 넘침 방지 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-view-date {
  color: #313131;
  text-align: right;
  font-family: 'Pretendard', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 300;
  line-height: 38px; /* 253.333% */
  flex-shrink: 0;
  margin-right: 0;
  margin-bottom: 80px;
}

.review-view-date {
  color: #313131;
  text-align: right;
  font-family: 'Pretendard', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 300;
  line-height: 38px; /* 253.333% */
  flex-shrink: 0;
  margin-right: 0;
  margin-left: auto; /* Flexbox 내에서 완벽한 우측 정렬 */
}
.review-view-divider{
  margin-bottom: 20px;
}
.review-view-divider {
  width: 100%;
  height: 1px;
  background: rgba(49, 49, 49, 0.5); /* 0.5px 느낌을 위한 투명도 처리 */
  margin-bottom: 40px;  
  border-top: 2px solid #B70000;
}
.review-view-category {
  color: #B70000;
  font-family: Pretendard;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4
}
.report-view-divider {
  width: 100%;
  height: 1px;
  background: rgba(49, 49, 49, 0.5); /* 0.5px 느낌을 위한 투명도 처리 */
  margin-bottom: 40px;  
}

.review-view-divider {
  width: 100%;
  height: 1px;
  background: rgba(49, 49, 49, 0.5); /* 0.5px 느낌을 위한 투명도 처리 */
  margin-bottom: 40px;  
}


/* --- 본문 (이미지 및 캡션) --- */
.report-view-body {
  padding-bottom: 60px;
}

.review-view-body {
  padding-bottom: 60px;
}

.report-view-img-wrap {
  text-align: center;
  margin-bottom: 100px;
  width: 100%;
  position: relative;
  z-index: 0;
  padding: 44px 0;
}
.review-view-img-wrap {
  text-align: center;
  margin-bottom: 100px;
  width: 100%;
  position: relative;
  z-index: 0;
  padding: 0;
  margin-bottom: 10px;
}

/* 이미지 영역 배경만 화면 100% 꽉 차게 확장 */
.report-view-img-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: #EFEFEF;
  z-index: -1;
}

.report-view-img-wrap img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.review-view-img-wrap img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.report-view-caption {
  color: #666666;
  text-align: center;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 28px;
  margin-bottom: 60px;
}

.review-view-caption {
  color: #666666;
  text-align: center;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 28px;
  margin-bottom: 60px;
}


/* --- 본문 텍스트 블록 --- */
.report-view-block {
  margin-bottom: 50px;
}

.report-view-block-title {
  display: flex;
  align-items: center;
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 38px;
  margin-bottom: 20px;
}

.report-view-block-title::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 27px;
  background: #B70000;
  margin-right: 12px;
}

/* 성공사례(숫자 뱃지형)에서는 타이틀 옆 빨간 막대 제거 */
.report-view-block-title.no-bar::before {
  display: none;
}

/* 빨간색 번호 뱃지 (성공사례용) */
.report-view-num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 5px;
  background: #B70000;
  color: #FFFFFF;
  font-family: 'Pretendard', sans-serif;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 15px;
}

.report-view-desc {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 20px;
  line-height: 28px; /* 140% */
  word-break: keep-all;
}

.report-view-desc strong,
.report-view-desc .txt-red {
  color: #B70000;
  font-weight: 600;
}

/* --- 하단 회색 안내문 박스 --- */
.report-view-disclaimer {
  width: 100%;
  max-width: 929px; /* 피그마 고정 너비 */
  margin: 60px 0;
  background: #EFEFEF;
  padding: 40px 0;
  text-align: center;
  box-sizing: border-box;
  max-width: 957px;
}

.report-view-disclaimer p {
  color: #666666;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin: 0;
  word-break: keep-all;
}

/* =========================================
   이전글 / 다음글 네비게이션 영역
========================================= */
.detail-nav-wrap {
  width: 100%;
  max-width: 957px; /* 요청하신 라인 가로 수치 */
  margin: 0;
  border-top: 1px solid #939393; /* 0.25px 느낌을 브라우저에 맞게 1px로 또렷하게 */
  border-bottom: 1px solid #939393;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 20px 10px;
  border-bottom: 1px solid #EAEAEA; /* 아이템 사이 얇은 회색 선 */
  text-decoration: none;
  transition: background-color 0.2s;
}

.nav-item:last-child {
  border-bottom: none; /* 마지막 줄은 테두리 중복 방지 */
}

.nav-item:hover {
  background: #FAFAFA; /* 마우스 오버 시 살짝 배경색 변화 */
}

.nav-label {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 97px; /* 라벨 너비 고정 */
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
}

.nav-label svg {
  flex-shrink: 0;
}

.nav-title {
  color: #808080;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 400;
  flex: 1;
  min-width: 0; /* Flexbox 내에서 텍스트가 삐져나가는 것 방지 */
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* 글이 길면 ... 처리 */
}

/* =========================================
   목록 버튼 영역
========================================= */
.detail-list-action {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.btn-list {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 137px;
  height: 55px;
  background: #EFEFEF; /* 시안에 맞는 깔끔한 연회색 바탕 */
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px; /* 모서리 살짝 둥글게 */
  transition: background-color 0.3s;
}

.btn-list:hover {
  background: #E0E0E0; /* 마우스 올렸을 때 살짝 진해지는 효과 */
}

/* =========================================
   상세페이지 모바일 반응형 (기존 @media 안쪽에 추가!)
========================================= */
@media screen and (max-width: 768px) {
  .report-section.view-section{
    padding: 0;
  }

  .review-section.view-section{
    padding: 0;
  }
  .report-view-header { 
    height: auto; /* 모바일에서는 180px 고정을 풀고 자연스럽게 텍스트를 감싸도록 변경 */
    padding: 40px 40px 20px; /* top에 10px 더함, left 30px 병합 */
  }

  .review-view-header { 
    height: auto; /* 모바일에서는 180px 고정을 풀고 자연스럽게 텍스트를 감싸도록 변경 */
    padding: 30px 40px 20px; /* top에 10px 더함, left 30px 병합 */
  }

  .report-view-category {
    height: 26px;
    margin: 40px 0 10px 50px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 8px;
    
  }
  
  .review-view-category{
    width: 100%;
    height: 26px;
    margin: 40px 0 10px 50px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 8px;

    color: #B70000;
    font-family: Pretendard;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px; /* 292.308% */
  }

  
  .report-view-title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .report-view-title { font-size: 22px; line-height: 1.4; margin-bottom: 5px; 
  color: #313131;
font-family: Pretendard;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: 1.4;
margin-bottom: 0;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.report-view-title-sub {
  color: #313131;
font-family: Pretendard;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 1.4;
margin-bottom: 0; /* 모바일에서는 하단 여백 초기화 */
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
  .report-view-date { 
    align-self: flex-end; /* 모바일에서 우측 정렬 */
    margin-right: 0;
    margin-bottom: 6px;
    color: #313131;
    text-align: right;
    font-family: Pretendard;
    font-size: 10px;
    font-weight: 300;
    line-height: 1.4; 
  }

  .review-view-date { 
    align-self: flex-end; /* 모바일에서 우측 정렬 */
    margin-right: 0;
    margin-bottom: 6px;
    color: #313131;
    text-align: right;
    font-family: Pretendard;
    font-size: 10px;
    font-weight: 300;
    line-height: 1.4; 
  }
  .report-view-body{
    padding-bottom: 0;
  }

  .review-view-body{
    padding-bottom: 0;
  }

  .report-view-divider { margin-bottom: 30px; }

  .review-view-divider { margin-bottom: 23px; }
  
  .report-view-img-wrap{
    padding: 27px 64px;
    margin-bottom: 25px;
  }

  .review-view-caption{
    color: #666;
    text-align: center;
    font-family: Pretendard;
    font-size: 7.5px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 14px;
  }
  .review-view-img-wrap{
    padding: 0 40px;
  }

  .report-view-block{
    padding: 0 38px;
    margin-bottom: 25px;
  }

  .report-view-block-title { font-size: 20px; 
  color: #313131;
font-family: Pretendard;
font-size: 17px;
font-style: normal;
font-weight: 700;
line-height: 38px; /* 223.529% */
margin-bottom: 0;

}
  .report-view-block-title::before { height: 22px; width: 5px; margin-right: 8px; }
  .report-view-num {
     width: 30px; height: 30px; font-size: 16px; margin-right: 10px; 
    color: #FFF;
text-align: center;
font-family: Pretendard;
font-size: 15px;
font-style: normal;
font-weight: 700;
line-height: 38px; /* 253.333% */
  }
  .report-view-desc { font-size: 16px; line-height: 1.6; 
  
font-family: Pretendard;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 1.4
}
.report-view-desc strong, .report-view-desc .txt-red {
color: #B70000;
font-family: Pretendard;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 1.4;
}
  
  .report-view-disclaimer { padding: 20px; margin: 40px 38px; width: auto;
     margin-bottom: 60px;}
  .report-view-disclaimer p { font-size: 14px; line-height: 1.5; 
  color: #666;
  text-align: center;
  font-family: Pretendard;
  font-size: 10px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.4
}

  .detail-nav-wrap {
    width: calc(100% - 80px); /* 양쪽 40px씩 여백 */
    margin: 0 auto;
    padding: 0;
  }

  /* 이전글/다음글 모바일 최적화 */
  .nav-item { padding: 8px 5px; }
  .nav-label { width: 85px; font-size: 15px; gap: 8px; 
  color: #313131;
text-align: center;
font-family: Pretendard;
font-size: 12px;
font-style: normal;
font-weight: 500;
line-height: 28px; /* 233.333% */}
  .nav-title { 
    font-size: 15px; 
    color: #808080;
    font-family: Pretendard;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 18px; /* 150% */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 목록 버튼 모바일 최적화 */
  .detail-list-action { margin-top: 27px; margin-bottom: 70px;}

  .btn-list { width: 100%; max-width: 137px; height: 50px; font-size: 16px; 
    max-width: 63px;
height: 28px;
color: #313131;
text-align: center;
font-family: Pretendard;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 28px; /* 200% */
  }
}