/* =========================================
   합의왕 소개 서브페이지 전용 스타일 (about.css)
========================================= */

/* --- 1. 본문 상단 타이틀 영역 --- */
.about-section {
  padding: 100px 0 120px;
  background: #FFFFFF;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-header .sub-tit {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4; /* 172.727% */
  margin-bottom: 5px;
}

.about-header .main-tit {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}

.about-header .desc {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 27px; /* 150% */
}

/* --- 2. 3단 특징 카드 영역 (보상 특화 센터) --- */
.feature-grid-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 카드 공통 뼈대 */
.feature-card {
  background: #F8F9FA; /* 아주 옅은 회색 배경 */
  display: flex;
  flex-direction: column;
}

/* 상단 이미지 영역 */
.feature-img-wrap {
  position: relative;
  width: 100%;
  height: 168px; /* 요청하신 이미지 영역 높이 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.feature-img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* 어두운 오버레이 깔기 */
.feature-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* 글씨가 잘 보이도록 어둡게 */
  z-index: 2;
}

/* 이미지 위 텍스트 */
.feature-img-text {
  position: relative;
  z-index: 3;
  text-align: center;
}

.feature-img-text .ko-tit {
  color: #FFF;
  font-family: 'Pretendard', sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.4; /* 152% */
  display: block;
}

.feature-img-text .en-tit {
  color: #FFF;
  /* 'Continuous' 폰트가 없을 경우를 대비해 cursive(필기체) 속성 추가 */
  font-family: 'Continuous', 'Pretendard', cursive; 
  font-size: 23px;
  font-weight: 400;
  line-height: 1.4; /* 165.217% */
  font-style: italic; /* 필기체 느낌 강조 */
  display: block;
}

/* 하단 설명 텍스트 영역 */
.feature-desc-wrap {
  height: 156px; /* 요청하신 텍스트 영역 높이 */
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

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

/* 빨간색 강조 텍스트 */
.feature-desc .highlight {
  color: #B70000;
  font-weight: 600;
  display: block;
  margin-top: 5px; /* 줄바꿈 후 약간의 간격 */
}

/* --- 3. 하단 빨간색 배너 영역 --- */
.about-banner {
  width: 100%;
  height: 139px; /* 요청하신 높이 */
  background: #B70000;
  /* 디자인에 희미한 로고가 있다면 아래처럼 background 속성으로 깔아줍니다 */
  /* background: #B70000 url('/assets/images/daegun/bg_logo_pattern.png') no-repeat center/contain; */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.about-banner p {
  color: #FFF;
  text-align: center;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px; /* 138.889% */
  position: relative;
  z-index: 1;
}

.about-banner p strong {
  font-weight: 800;
}

.about-banner-logo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 85px;
  height: 83px;
  fill: #FFF;
  pointer-events: none;
}


/* =========================================
   4. 합의왕 강점 영역 (.strength-section)
========================================= */
.strength-section {
  padding: 100px 0 120px;
  background: #F8F9FA; /* 시안처럼 아주 옅은 회색 바탕 */
}

.strength-container {
  max-width: 1000px; /* 텍스트 양옆이 너무 벌어지지 않게 1000px로 조여줌 */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px; /* 좌우 단락 사이 간격 */
}

/* --- 왼쪽: 타이틀 영역 --- */
.strength-left {
  width: 45%;
  flex-shrink: 0;
}

.strength-left .sub-tit {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  display: block;
}

.strength-left .main-tit {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  display: block;
}

.strength-left .desc {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 27px; /* 150% */
  word-break: keep-all;
}

/* --- 오른쪽: 4가지 차이점 타임라인 영역 --- */
.strength-right {
  flex: 1; /* 남은 공간을 모두 차지함 */
}

.strength-list {
  display: flex;
  flex-direction: column;
}

.strength-item {
  position: relative;
  padding-left: 45px; /* 왼쪽에 아이콘이 들어갈 자리 45px 확보 */
  margin-bottom: 40px; /* 각 항목 사이의 간격 */
}

/* 마지막 항목은 아래 여백 제거 */
.strength-item:last-child {
  margin-bottom: 0;
}

/* SVG 아이콘 위치 고정 */
.strength-icon {
  position: absolute;
  left: 0;
  top: 5px; /* 제목 높이에 맞춰 시각적 중앙 정렬 */
  width: 28px;
  height: 28px;
  z-index: 2;
}

/* 아이콘과 아이콘을 잇는 세로 점선 (마법의 코드!) */
.strength-item::after {
  content: '';
  position: absolute;
  left: 13.5px; /* 28px 아이콘의 정중앙 지점 */
  top: 36px; /* 아이콘 바로 아래부터 선 시작 */
  width: 1px;
  height: calc(100% + 4px); /* 다음 아이콘 직전까지 선을 쭉 늘림 */
  border-left: 1.5px dashed #B70000;
  z-index: 1;
}

/* 마지막 항목은 아래로 이어지는 선이 없어야 하므로 숨김 처리 */
.strength-item:last-child::after {
  display: none;
}

.strength-item-tit {
  color: #B70000;
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4; /* 237.5% */
  display: block;
}

.strength-item-desc {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  word-break: keep-all;
}


/* =========================================
   5. 오시는 길 영역 (.location-section)
========================================= */
.location-section {
  padding: 100px 0 120px;
  background: #FFFFFF;
}

.location-header {
  text-align: center;
  margin-bottom: 50px;
}

.location-header h3 {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.4; /* 140.741% */
  margin-bottom: 12px;
}

.location-header p {
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 27px; /* 150% */
}

/* --- 지도 및 정보창 중앙 정렬 래퍼 (707px) --- */
.sub-map-wrap {
  width: 100%;
  max-width: 707px; /* 요청하신 지도 너비 고정 */
  margin: 0 auto;
  padding: 0 20px; /* 모바일 안전 여백 */
}

/* 지도 이미지 영역 */
.sub-map-area {
  width: 100%;
  height: 416px; /* 요청하신 지도 높이 */
  background: #EAEAEA;
  margin-bottom: 20px;
}

.sub-map-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 하단 정보 박스 */
.sub-info-box {
  width: 100%;
  height: 96px; /* 요청하신 박스 높이 */
  border-radius: 5px;
  border: 0.5px solid #939393;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

/* 박스 왼쪽의 굵은 빨간 선 */
.sub-info-box::before {
  content: '';
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 6px;
  background: #B70000;
  border-radius: 5px 0 0 5px;
}

/* '서울 본사' 텍스트 영역 */
.sub-info-branch {
  width: 180px; 
  color: #B70000;
  font-family: 'Pretendard', sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4; /* 180.952% */
  text-align: center;
  flex-shrink: 0;
}

/* 위치, 상담예약 상세 정보 영역 */
.sub-info-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px; 
  height: 60px;
  padding-left: 30px;
  border-left: 1px solid #E0E0E0; /* 텍스트 사이 세로 구분선 */
}

.sub-info-details dl {
  display: flex;
  align-items: center;
  margin: 0;
}

/* 소제목 (위치, 상담예약) */
.sub-info-details dt {
  width: 80px;
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4; /* 237.5% */
  flex-shrink: 0;
}

/* 상세 내용 */
.sub-info-details dd {
  margin: 0;
  color: #313131;
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
}

/* =========================================
   모바일 반응형 (화면 가로 992px 이하일 때)
========================================= */
@media screen and (max-width: 992px) {
  /* 태블릿/모바일에서는 3칸을 1칸씩 세로로 나열합니다 */
  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 360px; /* 카드가 너무 넓어지지 않게 방어 */
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .about-header { margin-bottom: 40px; }
  .about-section { padding: 60px 0 80px; }
  
  .about-header .sub-tit { font-size: 18px; line-height: 1.4; margin-bottom: 6px;}
  .about-header .main-tit { font-size: 22px; line-height: 1.4; margin-bottom: 0;}
  .about-header .desc { font-size: 15px; line-height: 1.5; }
  
  .feature-img-text .ko-tit { font-size: 22px; color: #FFF;
text-align: center;
font-family: Pretendard;
font-size: 18px;
font-style: normal;
font-weight: 800;
line-height: 1.4; /* 211.111% */}
  .feature-img-text .en-tit { font-size: 20px; color: #FFF;
text-align: center;
font-family: Continuous;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 1.4; /* 237.5% */}
  .feature-desc { font-size: 17px; line-height: 1.5; }
  
  .about-banner { height: auto; padding: 40px 20px; }
  .about-banner p { 
    color: #FFF;
font-family: Pretendard;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px;

  }

  .feature-grid-wrap {
        padding: 0 40px;
  }
}



/* =========================================
   모바일 반응형 (화면 가로 992px 이하일 때)
========================================= */
@media screen and (max-width: 992px) {
  /* 좌우 배치를 위아래 배치로 변경 */
  .strength-container {
    flex-direction: column;
    gap: 50px;
  }
  
  .strength-left {
    width: 100%;
    text-align: center; /* 모바일에서는 가운데 정렬이 더 예쁨 */
  }
  
  .strength-right {
    width: 100%;
    margin-left: 50px;
  }
}

@media screen and (max-width: 768px) {
  .strength-section { padding: 60px 0 80px; }
  .strength-left .sub-tit { font-size: 18px; line-height: 1.4; 
  color: #313131;
text-align: center;
font-family: Pretendard;
font-size: 15px;
font-style: normal;
font-weight: 700;
line-height: 25px; /* 166.667% */
}
  .strength-left .main-tit { font-size: 22px; line-height: 1.4; margin-bottom: 10px;
  color: #313131;
font-family: Pretendard;
font-size: 21px;
font-style: normal;
font-weight: 700;
line-height: 25px;}
  .strength-left .desc { font-size: 16px; line-height: 1.5; 
    color: #313131;
text-align: center;
font-family: Pretendard;
font-size: 13px;
font-style: normal;
font-weight: 300;
line-height: 20px; /* 153.846% */
  }
  .strength-item-tit { font-size: 15px; line-height: 1.5; margin-bottom: 6px; }
  .strength-item-desc { font-size: 13px; line-height: 1.5; }
  .strength-item { padding-left: 40px; margin-bottom: 30px; }
}

/* =========================================
   모바일 반응형 (화면 가로 768px 이하일 때)
========================================= */
@media screen and (max-width: 768px) {
  .location-section { padding: 60px 0 80px; }
  .location-header {
    margin-bottom: 25px;
  }
  .location-header h3 { font-size: 22px; line-height: 1.4; margin-bottom: 8px; 
  color: #313131;
text-align: center;
font-family: Pretendard;
font-size: 21px;
font-style: normal;
font-weight: 700;
line-height: 23px; /* 109.524% */
  }
  .location-header p { font-size: 15px; line-height: 1.5; 
  color: #313131;
text-align: center;
font-family: Pretendard;
font-size: 13px;
font-style: normal;
font-weight: 300;
line-height: 20px; /* 153.846% */
} 
  .sub-map-wrap {
    padding: 0 40px;
  }
  /* 👇 지도 높이를 줄이면서, 하단 정보 박스와의 간격을 30px(또는 40px)로 넉넉하게 띄웁니다 */
  .sub-map-area { 
    height: 300px; 
    margin-bottom: 30px; /* 이 부분을 추가/수정해 주세요! */
  }
  
  .sub-info-box {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  
  .sub-info-box::before {
        /* 1. 기존 좌측 선 설정 무효화 및 상단 선으로 변경 */
        left: -1px;
        right: -1px; /* 가로로 꽉 차게 늘려줍니다 */
        bottom: auto; /* 세로로 늘어나는 속성 해제 */
        width: auto; /* 고정 두께 6px 해제 */
        
        /* 2. 상단 선 두께 및 모서리 둥글기 수정 */
        top: -1px; 
        height: 6px; /* 위쪽 선의 두께를 6px로 줍니다 */
        border-radius: 5px 5px 0 0; /* ✨ 왼쪽/오른쪽 위 모서리만 5px 둥글게 깎아줍니다! */
    }

  .sub-info-branch {
    width: 100%;
    text-align: left;
    padding-left: 10px;
    margin-bottom: 12px;
    color: #B70000;
font-family: Pretendard;
font-size: 15px;
font-style: normal;
font-weight: 600;
line-height: 38px; /* 253.333% */
  }
  
  .sub-info-details {
    width: 100%;
    height: auto;
    padding-left: 10px;
    border-left: none; /* 세로선 제거 */
  }
  
  .sub-info-details dl {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  
  .sub-info-details dt {
    color: #313131;
font-family: Pretendard;
font-size: 12px;
font-style: normal;
font-weight: 600;
line-height: 1.4; /* 316.667% */
  } 
  .sub-info-details dd {
    line-height: 1.5;
    color: #313131;
font-family: Pretendard;
font-size: 12px;
font-style: normal;
font-weight: 300;
line-height: 1.4; /* 316.667% */
  }
}
