/* 전체 랩핑 */
.vehicle-wrap {
  max-width: 1640px;
  margin: 0 auto;
  background: #f7f9fb;
  padding-bottom: 40px;
}

/* 타이틀 영역 */
.page-title-section .vehicle-title {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 60px 45px 20px 45px;
}
.vehicle-title img {
  width: 38px; height: 38px; display: block;
}
.vehicle-title h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #232241;
  margin: 0;
  letter-spacing: -2px;
}

/* --- 기준별 분류 --- */
.vehicle-classify-category {
  display: flex;
  gap: 36px;
  justify-content: space-between;
  padding: 0 75px 50px 75px;
}
.vehicle-classify-box {
  flex: 1;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(40,60,90,0.05);
  /* padding: 20px 30px 30px 30px; */
  min-width: 335px;
}
.vehicle-classify-subject {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.vehicle-classify-subject img {
  width: 28px; height: 28px;
}
.vehicle-classify-subject h3 {
  font-size: 1.15rem;
  font-weight: bold;
  color: #3d2363;
  margin: 0;
}
.vehicle-classify-box ul {
  margin: 0;
  padding-left: 30px;
  color: #353a42;
  font-size: 1.04rem;
  line-height: 1.8;
}
.vehicle-classify-box li {
  margin-bottom: 4px;
}

/* --- 차량 분류 제목 --- */
.vehicle-card-category {
  margin: 0 auto;
  padding: 0 75px 20px 75px;
}

/* --- 그룹별 카드 토픽(제목+아이콘) --- */
.vehicle-card-group {
  margin-bottom: 22px;
}
.vehicle-card-topic {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0 12px 0;
  font-size: 1.13rem;
  font-weight: 500;
  color: #20418f;
}

/* --- 차량 그룹별 행 --- */
.vehicle-card-row, .vehicle-row {
  display: flex;
  gap: 27px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

/* --- 개별 차량 카드 --- */
.vehicle-card {
  background: #fff;
  border: 1.5px solid #e1e3ea;
  border-radius: 14px;
  box-shadow: 0 1px 5px 0 rgba(40,60,90,0.07);
  /* 👇 핵심: gap이 24px × (4-1) = 72px, (1600-72)/4=382px */
  /* width: 360px;
  height: 300px;
  min-width: 140px;
  max-width: 360px; */
  width: 335px;
  height: 250px;
  min-width: 140px;
  max-width: 335px;
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.15s, border-color 0.2s;
}
.vehicle-card:hover {
  border-color: #55aaff;
  box-shadow: 0 3px 18px 0 rgba(80, 140, 250, 0.15);
}
.vehicle-card img {
 /*  width: 138px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 7px;
  background: #f5f6fa;
  border-radius: 7px;
  box-shadow: 0 1px 2px 0 rgba(100,120,150,0.07); */
  width: 100%;
  height: 100%;
  aspect-ratio: 382/170; /* 카드 내 고정 비율 예시(원하는대로 조절) */
  object-fit: fill;     /* 또는 fill(가로세로 왜곡, cover는 자르기) */
  display: block;
  border-radius: 14px 14px 0 0;  /* 카드 모양 맞추기 */
  box-shadow: none;
  margin-bottom: 0;
  /* background: #f5f6fa; */
}
.vehicle-card p {
/*   font-size: 1rem;
  color: #30305a;
  margin: 0;
  text-align: center; */
  padding: 12px 0;
  font-size: 1.1rem;
  color: #30305a;
  margin: 0;
  text-align: center;
  background: #fff;
}

/* --- 그룹 내 마지막 행 하단 마진 제거 --- */
.vehicle-card-group:last-child .vehicle-card-row,
.vehicle-card-group:last-child .vehicle-row {
  margin-bottom: 0;
}

/* --- 전체 차량 그리드 레이아웃 --- */
.vehicle-card-grid {
  /* margin: 0 auto; */
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- 반응형 (태블릿 이하) --- */
@media (max-width: 1200px) {
  .vehicle-classify-category {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px 28px 16px;
  }
  .vehicle-classify-box {
    min-width: unset;
  }
  .vehicle-card-category {
    padding: 0 12px 20px 12px;
  }
}
@media (max-width: 800px) {
  .vehicle-card-row, .vehicle-row {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
  }
  .vehicle-card {
    width: 46vw;
    min-width: 120px;
    max-width: 160px;
    padding: 10px 5px 7px 5px;
  }
  .vehicle-card img {
    width: 100px;
    height: 54px;
  }
  .page-title-section .vehicle-title {
    padding: 36px 10px 10px 10px;
  }
}

/* --- 모바일 --- */
@media (max-width: 500px) {
  .vehicle-card {
    width: 98vw;
    min-width: unset;
    max-width: unset;
  }
  .vehicle-classify-box {
    padding: 14px 6px;
  }
}