@charset "utf-8";
/************************************************************************************************************
                                          시민 법률지원 - 기타주요사업-법률구조제도
************************************************************************************************************/ 
:root {
  --primary-blue: #236bb5;
  --dark-navy: #2e3e5c;
  --bg-gray: #f2f4f7;
  --border-gray: #d1d8e0;
  --point-orange: #e65100; /* [ 구조승인 시 ] 타이틀 색상 */
  --step-blue: #1e5da5; /* 박스 배경색 */
  --border-light: rgba(255, 255, 255, 0.2);
}

.law-service-wrapper {
  max-width: 1320px;
  margin: 50px auto;
  padding: 0 20px;
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
}

/* 상단 프로필 섹션 */
.header-box {
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  padding: 0px 30px 0px 0;
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
  background: #fff;
}
.profile-img {
  width: 215px;
  height: 181px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.header-info h2 {
  margin: 0 0 10px 0;
  font-size: 26px;
  color: #00468c;
}
.header-info h2 small {
  font-size: 16px;
  margin-right: 8px;
  color: #00468c;
  font-weight: 600;
}
.header-info span {
  margin-left: 10px;
}
.header-info p {
  margin: 0;
  font-size: 1.9rem;
  word-break: keep-all;
  color: #444;
}
.highlight-blue {
  color: #00468c;
  font-weight: 500;
  font-size: 2.2rem;
}
.highlight-gray {
  color: #565656;
  font-weight: 400;
  font-size: 2rem
}
/* 본문 콘텐츠 */
.content-title {
  font-size: 3.7rem;
  font-weight: 600;
  line-height: 25px;
  color: #222;
  margin: 30px 0 40px;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 25px;
  color: #222;
  margin: 50px 0 20px;
  padding-left: 15px;
  border-left: 5px solid #00468c;
}
.content02-text {
  font-size: 2rem;
  color: #333;
  font-weight: 400;
  line-height: 36px;
  margin-top: -40px;
  margin-bottom: 15px;
  word-break: keep-all;
}
.accent-pink-box {
  margin: 20px 0;
  padding: 20px;
  background-color: #fff5f8;
  border-radius: 10px;
}
.accent-pink {
  color: #e91e63;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
/* 프로세스 바 (화살표형) */
.process-bar {
  display: flex;
  background: var(--primary-blue);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 20px;
}
.step-item {
  flex: 1;
  padding: 25px 10px;
  text-align: center;
  color: #fff;
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.step-num {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  border-bottom: 1px solid #fff;
  display: inline-block;
  padding-bottom: 2px;
}
.fee-list {
  list-style: none; /* 기본 점 제거 */
  padding: 0;
  margin: 0;
}
.fee-list li {
  font-size: 17px;
  color: #444;
  line-height: 1.8;
  position: relative;
  padding-left: 15px; /* 글머리 기호 여백 */
  word-break: keep-all; /* 단어 단위 줄바꿈 (가독성) */
}
/* 이미지의 '-' 글머리 기호 재현 */
.fee-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #666;
  font-weight: bold;
}
/* 참고사항 스타일 */
.fee-notice {
  font-size: 14px;
  color: #888;
  margin-top: 15px;
  padding-left: 15px;
}
.process-group-wrapper {
  display: flex;
  gap: 40px; /* 그룹 간 간격 */
}
/* 3단계 영역은 3배, 1단계 영역은 1배 비율 */
.process-group.approved {
  flex: 3;
}
.process-group.rejected {
  flex: 1;
}
/* 상황별 타이틀 (오렌지색) */
.group-title {
  color: var(--point-orange);
  font-size: 22px;
  font-weight: 600;
  margin: 30px 0 15px;
}
/* 박스 컨테이너 */
.step-box-container {
  display: flex;
  background-color: var(--step-blue);
  border-radius: 8px;
  overflow: hidden;
}
/* 각 단계 박스 */
.step-box {
  flex: 1;
  padding: 30px 15px;
  text-align: center;
  color: #fff;
  position: relative;
}
/* 박스 사이 세로 구분선 */
.step-box:not(:last-child) {
  border-right: 1px solid var(--border-light);
}
/* n단계 텍스트 */
.step-label {
  font-size: 20px;
  font-weight: 700;
  display: inline-block;
  border-bottom: 1px solid #fff; /* 흰색 밑줄 */
  margin-bottom: 12px;
  padding-bottom: 2px;
}
/* 단계 상세 설명 */
.step-info {
  font-size: 17px;
  font-weight: 400;
  margin: 0;
  word-break: keep-all;
}
.step-txt {
  font-size: 16px;
  line-height: 1.3;
}
.only-mo {
  display: none;
}
/* 모바일 반응형 */
@media (max-width: 768px) {
  .header-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .main-tabs .tab-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .tab-item {
    border-bottom: 1px solid #fff;
    font-size: 1.5rem;
  }
  .profile-card {
    flex-direction: column;
    text-align: center;
  }
  .profile-img {
    border: 3px solid #ddd
  }
  .profile-img img {
    width: 120px;
    height: 120px;
  }
  .process-bar {
    flex-direction: column;
  }
  .step-item {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .process-group-wrapper {
    flex-direction: column; /* 그룹끼리 위아래 배치 */
    gap: 5px;
  }
  .process-group {
    width: 100%;
  }
  .step-box-container {
    flex-direction: column; /* 박스 안의 단계들도 위아래 배치 */
    min-height: auto;
  }
  .step-box {
    padding: 20px;
    border-right: none !important;
    border-bottom: 1px solid var(--border-light);
  }
  .only-mo {
    display: inline;
  }
}
