// src/views/MyPagePanel/MyPageSub/TermsOfService/OptionalTermsInfo.module.less

.termsInfo {
  // width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  // padding: 20px;
  box-sizing: border-box;
  min-height: 360px;
}

// 텍스트 모드
.textMode {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.textDescription {
  color: #1A1A1A;
  font-size: 18px;
  font-family: 'LG Smart UI', sans-serif;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  word-wrap: break-word;
  margin: 0;
}

// 이미지 모드
.imageMode {
  // width: 100%;
  // height: 100%;
  max-width: 595px;
  max-height: 398px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.imageTitle {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.imageTitleText {
  color: #C70850;
  font-size: 20px;
  font-family: 'LG Smart UI', sans-serif;
  font-weight: 700;
  text-align: center;
  word-wrap: break-word;
}

.imageContainer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.benefitImage {
  height: 95%;
  width: 30%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

// .benefitImage:hover {
//   transform: scale(1.08);
//   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
// }

.imageCount1 .benefitImage {
  height: 95%;
  width: 100%;
}
.imageCount2 .benefitImage,
.imageCount3 .benefitImage {
  height: 95%;
  width: 30%;
}

// 반응형 디자인
@media (max-width: 1200px) {
  .termsInfo {
    padding: 15px;
  }
  
  .textDescription {
    font-size: 16px;
  }
  
  .imageTitleText {
    font-size: 18px;
  }
  
  .benefitImage,
  .imageCount1 .benefitImage,
  .imageCount2 .benefitImage,
  .imageCount3 .benefitImage {
    width: 30%;
    height: 95%;
  }
}

