/**
 * 홈 상단 — 실제 수강 후기 무한 마퀴
 */

.review-marquee-band {
  padding: 28px 0 32px;
  background: linear-gradient(180deg, #0d1a2a 0%, #123a5c 55%, #0f2740 100%) !important;
  color: #fff !important;
  overflow: hidden;
}

.review-marquee-band .section-head {
  margin-bottom: 18px;
}
.review-marquee-band .section-head .eyebrow,
.review-marquee-band .eyebrow {
  color: #f0d78c !important;
}
.review-marquee-band .section-head h2,
.review-marquee-band h2 {
  color: #ffffff !important;
}
.review-marquee-band .section-head .muted,
.review-marquee-band .section-head p,
.review-marquee-band .muted {
  color: rgba(255, 255, 255, 0.92) !important;
}

.review-marquee {
  position: relative;
  margin-top: 4px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.review-marquee__track {
  display: flex;
  width: max-content;
  align-items: stretch;
  gap: 14px;
  padding: 4px 0 8px;
  animation: review-marquee-x 48s linear infinite;
  will-change: transform;
}

.review-marquee:hover .review-marquee__track,
.review-marquee:focus-within .review-marquee__track {
  animation-play-state: paused;
}

.review-marquee__group {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.review-card {
  flex: 0 0 auto;
  width: min(300px, 78vw);
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 16px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 201, 106, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.review-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.review-card__chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: rgba(8, 18, 34, 0.45);
  color: #f5e6b0;
  border: 1px solid rgba(232, 201, 106, 0.4);
  word-break: keep-all;
}

.review-card__stars {
  margin: 0;
  color: #f0c14b;
  letter-spacing: 2px;
  font-size: 0.95rem;
  line-height: 1;
}

.review-card__quote {
  margin: 0;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.review-card__who {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.review-marquee-band .section-more {
  margin-top: 18px;
  text-align: center;
}

@keyframes review-marquee-x {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (min-width: 720px) {
  .review-marquee-band {
    padding: 36px 0 40px;
  }
  .review-card {
    width: 320px;
    padding: 20px 18px 18px;
  }
  .review-card__quote {
    font-size: 1.05rem;
  }
  .review-marquee__track {
    gap: 16px;
    animation-duration: 56s;
  }
  .review-marquee__group {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-marquee__track {
    animation: none;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .review-marquee__group[aria-hidden='true'] {
    display: none;
  }
  .review-marquee__group {
    flex-wrap: wrap;
    justify-content: center;
  }
  .review-card {
    width: min(100%, 340px);
  }
  .review-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* legacy carousel (다른 페이지에 남을 경우) */
.case-slider {
  display: none;
}
