/* =========================================================
   모바일 전용 스타일 (991px 이하에서만 노출되는 요소)
   원본 사이트의 .mobile_section 들을 그대로 옮긴 것
   ========================================================= */

/* ---------- 히어로 (원본 533px) ---------- */
.m-hero {
  position: relative;
  min-height: 533px;
  overflow: hidden;
  color: #fff;
}
.m-hero-bg {
  position: absolute; inset: 0;
  background: no-repeat center / cover;
}
.m-hero-in { position: relative; padding: 193px 20px 0; }
.m-hero-sub { font-size: 20px; line-height: 24px; }
.m-hero-tit {
  margin: 0;
  word-break: break-all;
  padding-top: 6px;
  font-size: 36px;
  font-weight: 700;
  line-height: 43px;
}
.m-hero-tit em { font-style: normal; color: #ffe6bd; }
.m-hero-desc {
  padding-top: 20px;
  padding-bottom: 60px;
  font-size: 13px;
  line-height: 18.5px;
}

/* ---------- 상담신청 바로가기 띠 (원본 63px) ---------- */
.m-cta {
  display: block;
  height: 63px;
  background: var(--blue);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 63px;
  text-align: center;
}

/* ---------- 퀵 아이콘 (2 · 3 · 3) ---------- */
.m-icons { background: #f9f9f9; padding: 30px 15px; }
.m-icon-row { display: flex; justify-content: center; gap: 16px; }
.m-icon-row + .m-icon-row { margin-top: 28px; }
.m-icon-row a { display: block; }
.m-icon-row img { display: block; width: 100%; height: auto; }
.m-icon-row.r2 a { width: 97px; }
.m-icon-row.r3 a { width: 97px; }

/* ---------- 다파TV ---------- */
.m-tv { padding: 35px 15px 30px; text-align: center; }
.m-tv-tit {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}
.m-tv-tit img { width: 59px; height: 42px; vertical-align: -8px; margin-right: 4px; }
.m-tv-desc { padding-top: 20px; font-size: 16px; line-height: 32px; }
.m-tv-grid { display: flex; gap: 8px; padding-top: 25px; }
.m-tv-item { position: relative; width: 50%; }
.m-tv-item .g-img {
  height: 144px;
  background: no-repeat center / cover;
  border: 1px solid #eee;
  cursor: pointer;
}
.m-tv-btn { padding-top: 34px; }

/* ---------- MAJOR INFORMATION 배너 (원본 355px) ---------- */
.m-banner {
  position: relative;
  min-height: 355px;
  overflow: hidden;
  color: #fff;
}
.m-banner-bg {
  position: absolute; inset: 0;
  background: no-repeat center / cover;
}
.m-banner-in { position: relative; padding: 64px 20px 0; }
.m-banner-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.m-banner-tit {
  margin: 0;
  padding-top: 13px;
  font-size: 22px;
  font-weight: 700;
  line-height: 32px;
}
.m-banner-tit em { font-style: normal; color: #ffe6bd; }
.m-banner-desc {
  padding-top: 29px;
  padding-bottom: 60px;
  font-size: 13px;
  line-height: 18.5px;
}

/* ---------- 전화 연결 배너 ---------- */
.m-call { padding: 60px 0 31px; }
.m-call img { display: block; width: 100%; height: auto; }

/* =========================================================
   공용 섹션의 모바일 재배치
   ========================================================= */
@media (max-width: 991px) {
  /* 수강생 후기 — 2단, 2건 */
  .review { padding: 43px 0 40px; }
  .rv-label .fs18 { font-size: 15px; line-height: 1.3; }
  .rv-title { font-size: 20px; line-height: 1.3; margin: 10px 0 30px; }
  .rv-title span { font-size: 20px; line-height: 1.3; }
  .rv-list { flex-wrap: wrap; margin: 0 -7px; }
  .rv-item { width: 50%; padding: 7px; }
  .rv-item:nth-child(n + 3) { display: none; }
  .card-img { height: 134px; }
  .card-body { min-height: 0; padding: 16px; }
  .card-body .title { font-size: 14px; line-height: 1.35; }
  .card-summary { padding: 0 16px 16px; }
}

/* 아이콘·배너 이미지 영역 미리 확보 */
.m-icon-row img { aspect-ratio: 97 / 123; }
.m-call img { aspect-ratio: 390 / 238; }

@media (max-width: 991px) {
  .ft-bottom { padding: 30px 15px; }
  .ft-bottom .inside { padding: 15px 0 0; }
}
