/* ========================================
   multidev.css - 10. 다양한 학습 환경 지원
   ======================================== */

.multidev {
  width: 100%;
  background: #eaecee;
  display: flex;
  justify-content: center;
  padding: 100px 16px;
  text-align: center;
}

.multidev__inner {
  width: 100%;
  max-width: 1200px;
}

/* 타이틀 */
.multidev__title {
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 54px;
  color: #000;
  letter-spacing: -5px;
  margin-bottom: 0;
}

.multidev__subtitle {
  font-family: var(--font-pretendard);
  font-size: 24px;
  color: #000;
  margin: 15px 0 50px;
}

/* 카드 컨테이너 */
.multidev__cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* 카드 공통 */
.multidev__card {
  background: #fcfbfa;
  box-sizing: border-box;
  padding-top: 40px;
  width: 32.5%;
  text-align: center;
}

.multidev__card-title {
  font-family: var(--font-pretendard);
  font-size: 34px;
  font-weight: 400;
  color: #000;
  letter-spacing: -4px;
}

.multidev__card-title b {
  font-weight: 700;
}

.multidev__card-desc {
  color: #f55641;
  font-family: var(--font-pretendard);
  font-size: 16px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 0 20px;
}

/* 아이콘 영역 */
.multidev__card-icon {
  width: 100%;
  height: 238px;
  background: #fff no-repeat center / contain;
}

.multidev__card--01 .multidev__card-icon {
  background-image: url("../assets/icon_multi1.png");
}

.multidev__card--02 .multidev__card-icon {
  background-image: url("../assets/icon_multi2.png");
}

.multidev__card--03 .multidev__card-icon {
  background-image: url("../assets/icon_multi3.png");
}

/* 하단 유의사항 */
.multidev__notes {
  list-style: none;
  margin: 30px auto 0;
  border: 1px solid #cdcccc;
  box-sizing: border-box;
  padding: 20px 50px;
  text-align: left;
}

.multidev__notes li {
  font-family: var(--font-pretendard);
  font-size: 16px;
  color: #000;
  line-height: 1.8;
  position: relative;
  padding-left: 16px;
}

.multidev__notes li::before {
  content: "–";
  position: absolute;
  left: 0;
  font-weight: 700;
}

.multidev__notes-highlight {
  color: #ec412b;
}

/* 페이지네이션 */
.multidev__pagination {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.multidev__pagination .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c4c4c4;
  cursor: pointer;
  transition: background 0.3s;
}

.multidev__pagination .dot.is-active {
  background: #4a90d9;
}

/* --- 모바일 (~767px) --- */
@media (max-width: 767px) {
  .multidev {
    padding: 50px 0;
  }

  .multidev__inner {
    max-width: 100%;
  }

  .multidev__title {
    font-size: 9vw;
    letter-spacing: -0.5vw;
  }

  .multidev__subtitle {
    font-size: 4.5vw;
    margin: 3vw 0 8vw;
  }

  /* 캐러셀 뷰포트 */
  .multidev__carousel {
    overflow: hidden;
    width: 100%;
  }

  /* 캐러셀 트랙 (슬라이드) */
  .multidev__cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: flex-start;
    width: max-content;
    transition: transform 0.3s ease;
  }

  /* 캐러셀 슬라이드 */
  .multidev__card {
    flex: 0 0 80vw;
    width: 80vw;
    padding-top: 8vw;
    margin: 0 2.5vw;
  }

  .multidev__card-title {
    font-size: 7vw;
    letter-spacing: -0.5vw;
  }

  .multidev__card-desc {
    font-size: 3.8vw;
    min-height: 35vw;
    padding: 0 4vw;
  }

  .multidev__card-icon {
    height: 45vw;
  }

  /* 페이지네이션 dots */
  .multidev__pagination {
    display: flex;
    gap: 2vw;
    margin-top: 5vw;
  }

  .multidev__pagination .dot {
    width: 2.5vw;
    height: 2.5vw;
  }

  .multidev__notes {
    border: none;
    padding: 0 5%;
    width: 100%;
    margin-top: 5vw;
  }

  .multidev__notes li {
    font-size: 3.8vw;
    line-height: 1.6;
  }
}
