/* src/main/webapp/resources/css/pages/freight/freightCago.css */

.freight-section {
  max-width: 1640px;
  margin: 0 auto;
  background: #fff;
}

/* 타이틀 */
.page-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 30px 0px 30px;
  padding: 70px 45px 0 45px;
}
.page-title img {
  width: 34px; height: 34px; display: block;
}
.page-title h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #232241;
  margin: 0;
}

/* 그리드 */
.freight-grid {
  display: grid;
  max-width: 1640px;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
  gap: 30px 30px;
  padding: 0px 75px 30px 75px;
}

/* 카드 전체 */
.freight-card {
  background: #fff;
  border-radius: 18px;
  border: 1.8px solid #00B0F0;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;   /* 모든 요소 중앙정렬 */
  padding: 20px 20px 20px 20px;
  transition: box-shadow 0.2s;
}

.freight-card:hover {
  box-shadow: 0 8px 28px 0 rgba(0,176,240,0.08);
}

.freight-card-title {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.freight-card-title h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #3d2363;
  margin: 0;
  justify-content: center;
  width: 100%;
}

/* 이미지+내용 row(좌우) 배치, 높이 동일 */
.freight-card-img-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

/* 이미지박스 */
.freight-image-box {
  width: 300px;
  height: 190px;
  border-radius: 15px;
  overflow: hidden;
  background: #f9f9f9;
  border: 1.8px solid #00B0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}
.freight-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}

/* 내용박스 */
.freight-card-content {
  flex: 1 1 0;
  min-width: 0;
  background: #e7d5f8;
  border-radius: 15px;
  border: 1.8px solid #00B0F0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  height: 190px;
}

.freight-card-content ul {
  list-style: disc inside;
  padding: 15px;
  margin: 0;
}
.freight-card-content li {
  font-size: 1.11rem;
  color: #332c37;
  margin-bottom: 8px;
  display: list-item;
  align-items: flex-start;
  gap: 6px;
}
/* 닷 크기/색상 조절 (최신 브라우저) */
.freight-card-content li::marker {
  font-size: 1.1em;   /* 텍스트와 동일하게 */
  color: #332c37;     /* 텍스트 색상과 동일하게 */
  line-height: 1;
}
/* 버튼 중앙정렬 */
.freight-card .btn.btn-large.btn_w110 {
  margin: 20px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
}

.btn.btn-large.btn_w110:hover {
  background: #018ac1;
}
.btn.btn-large.btn_w110 img {
  width: 28px; height: 28px; /* margin-right: 5px; */
}

/* 반응형 1열 전환 */
@media (max-width: 1050px) {
  .freight-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 4vw 32px 4vw;
  }
  .freight-card {
    min-height: 0;
  }
  .freight-card-img-content {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-height: 0;
  }
  .freight-image-box, .freight-card-content {
    margin: 0 auto;
    width: 90%;
    max-width: 370px;
  }
  .freight-card-content {
    min-height: 100px;
    height: auto;
    padding: 16px 12px 14px 12px;
  }
}
@media (max-width: 600px) {
  .page-title { font-size: 1.13rem; padding: 12px 0 8px 0; }
  .freight-image-box { height: 22vw; max-height: 110px; }
  .freight-card-content { padding: 10px 6px 10px 8px; }
}

.small-cargo-section {
  max-width: 1640px;
  margin: 0 auto;
  background: #fff;
  padding-bottom: 30px;
}

/* 타이틀 */
.small-cargo-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 30px 40px 30px;
  padding: 70px 45px 0 45px;
}
.small-cargo-title img {
  width: 34px; height: 34px; display: block;
}
.small-cargo-title h2 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #232241;
  margin: 0;
}
.small-cargo-des-promo {
  display: flex;
  flex-direction: row;
  gap: 300px;
  /* justify-content: space-between; */
  align-items: stretch;
  /* width: 100%; */
  /* max-width: 1140px; */
  margin: 20px 75px 35px 75px;
}
.small-cargo-des {
  /* flex: 1 1 0; */
  /* background: #f7f8fa;
  border-radius: 22px;
  box-shadow: 0 2px 14px 0 rgba(90,160,255,0.05); */
  font-size: 1.3rem;
  color: #26244c;
  line-height: 2.1;
  padding: 10px 30px;
  /* min-width: 290px;
  display: flex; */
  max-width: 900px;
  align-items: center;
  justify-content: center;
  text-align: left;
  font-weight: 400;
}
.counsel-promo-phrase {
  flex: 1 1 0;
  /* background: #f8fafd;
  border-radius: 26px;
  box-shadow: 0 2px 16px rgba(52,139,238,0.09); */
  /* padding: 20px 30px 20px 30px; */
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 350px;
  max-width: 500px;
  position: relative;
  overflow: hidden;
}
.Kdl-text-strong {
  font-family: Cambria, 'Times New Roman', serif;
  font-style: italic;
  color: #883fd6;
  font-weight: 700;
  letter-spacing: 0.07em;
  font-size: 1.3em;
  margin-right: 4px;
}

.counsel-emph {
  font-style: italic;
  color: #3533ee;
  font-weight: bold;
  font-size: 1.3rem;
  margin-left: 3px;
}

.counsel-promo-backgr-img {
  /* 배경 데코용 이미지가 있으면 활용 */
  position: absolute;
  /* right: 24px; bottom: 12px; */
  width: 330px; height: 330px;
  z-index: 1;
  /* opacity: 0.10; */
  background: url('/resources/images/main/counsel/trickle_ri.svg') no-repeat right bottom;
  background-size: contain;
  background-position: center center;
  pointer-events: none;
}

.counsel-promo-content {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.counsel-promo-desc {
  display: block;
  margin: 0 auto 30px auto;
  text-align: center;
  font-size: 1.3rem;
  color: #222;
}
.counsel-promo-title {
  color: #232241;
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}
.counsel-promo-text {
  font-size: 1.14rem;
  color: #0799F4;
  line-height: 2.0;
  margin-bottom: 30px;
}
.counsel-promo-tel {
  font-size: 1.25rem;
  font-weight: bold;
  color: #7f2edb;
  margin-bottom: 25px;
}
.counsel-tel-label {
  font-family: Cambria, serif;
  font-style: italic;
  margin-right: 4px;
}
.counsel-tel-number {
  color: #7f2edb;
  font-weight: bold;
  font-size: 1.6rem;
  letter-spacing: 0.03em;
}
.counsel-point {
  color: #0799F4;
  font-weight: bold;
  font-size: 1.3rem;
  text-align: center;
  /* background: #ecf3fd; */
  border-radius: 9px;
  padding: 15px 20px;
  margin-top: 10px;
}

.smallCargo-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 2열 카드형 */
  gap: 40px 30px; /* 행, 열 간격 */
  padding: 50px 75px 50px 75px;
}
.smallCargo-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
  padding: 0;
  transition: box-shadow 0.2s;
}


.smallCargo-card:hover {
  box-shadow: 0 6px 22px 0 rgba(60,60,90,0.09);
}


.smallCargo-card-imgbox {
  width: 300px;
  height: 190px;
  flex-shrink: 0;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  margin-right: 15px;
  transition: width 0.2s, height 0.2s;
  border: 1px solid #c99af6; /* 밝은 연보라색 추천 */
}
.smallCargo-card-imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 핵심 */
  border-radius: 13px;
  display: block;
}
.smallCargo-card-descbox {
  flex: 1 1 0;
  min-width: 0;
  /* background: #e7d5f8; */
  background: #d7eef9;
  border: 1px solid #c99af6;
  border-radius: 15px;
  padding: 10px 10px 10px 15px;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  min-height: 120px;
}

.smallCargo-card-name {
  font-size: 1.14rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #3d2363;
  display: flex;
  align-items: center;
  gap: 10px;
}

.smallCargo-card-desc {
  /* list-style: disc inside; 대신 none으로 변경 */
  list-style: none;
  margin: 0;
  padding-left: 15px; /* 왼쪽 여백을 15px로 유지 */
}

.smallCargo-card-desc li {
  font-size: 1.1rem;
  font-weight: 300;
  color: #332c37;
  margin-bottom: 5px;

  /* Flexbox를 사용하여 점과 텍스트의 정렬을 제어 */
  display: flex;
  align-items: flex-start; /* 텍스트가 여러 줄일 때 위쪽에 정렬 */
  gap: 7px; /* 점과 텍스트 사이의 간격 */
}

/* ::marker 대신 ::before를 사용하여 커스텀 점 생성 */
.smallCargo-card-desc li::before {
  content: "•"; /* 원형 점(disc) 대신 불릿 문자(•) 사용 */
  font-size: 1.11em;
  color: #332c37;
  /* flex-shrink: 0; 을 사용하여 점의 크기가 줄어들지 않도록 함 */
  flex-shrink: 0;
}

/* 버튼 중앙정렬 */
.smallCargo-btns {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-top: 26px;
  margin-bottom: 50px;
}
.btn.btn-large.btn_w110 {
  margin: 0;
}

/* 반응형 */
@media (max-width: 800px) {
  .counsel-promo-phrase {
    max-width: 95vw;
    padding: 26px 8vw 20px 8vw;
    font-size: 0.96rem;
  }
  .counsel-promo-backgr-img {
    width: 80px;
    height: 80px;
    right: 0; bottom: 0;
  }
}
@media (max-width: 500px) {
  .counsel-promo-phrase {
    padding: 14px 3vw 12px 3vw;
    font-size: 0.93rem;
  }
}

.linked_cago_proce {
  max-width: 1640px;
  margin: 0 auto;
  background: #fff;
  padding-bottom: 10px;
}
.linked_cago_proce-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;  
  align-items: flex-start;
  gap: 60px;                      /* 항목 간격 */
  /* padding: 48px 0;
  margin: 0 auto; */
   margin: 0 80px 40px 80px;
  padding: 45px 45px 45px 45px;
  /* width: 100%;
  max-width: 1600px; */

  /* 그라데이션 배경 적용 */
  background: linear-gradient(90deg, #b6cdfa 0%, #4472C4 100%);
  border-radius: 28px;
  box-shadow: 0 2px 12px 0 rgba(100,120,210,0.10);
  
}

.linked_cago_proce-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  max-width: 170px;
}

.linked_cago_proce-imgwrap {
  width: 148px;
  height: 148px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 12px 0 rgba(120,170,250,0.12);
  overflow: hidden;
}
.linked_cago_proce-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.linked_cago_proce-title {
  margin-top: 6px;
  font-size: 1.15rem;
  color: #222;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 반응형 */
@media (max-width: 1000px) {
  .linked_cago_proce-list {
    gap: 28px;
    padding: 30px 0;
  }
  .linked_cago_proce-imgwrap {
    width: 90px;
    height: 90px;
  }
  .linked_cago_proce-title {
    font-size: 0.99rem;
  }
}
@media (max-width: 600px) {
  .linked_cago_proce-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 18px 0;
  }
}
