/* ================================
   후기 섹션 배경 (연보라→연파랑 그라데)
================================ */
.review-section{
  width:100%;
  padding:20px 0 20px;
  background:linear-gradient(180deg,#a0b6ff 0%, #7b97ff 100%);
}

.review-container{
  max-width:900px; /* PC 폭 적당히 제한 */
  margin:0 auto;
  padding:0 14px;
}

/* 제목 */
.review-title{
  text-align:center;
  font-size:24px;
  font-weight:900;
  color:#111;   /* ← 가장 자연스럽고 가독성 최고 */
  margin-bottom:20px;
}


/* 카드 레이아웃 */
.review-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* 카드 */
.review-card{
  background:#fff;
  border:1px solid #d9ddee;
  border-radius:12px;
  overflow:hidden;
  transition:.2s;
}
.review-card:hover{
  transform:translateY(-4px);
}

/* 이미지 */
.r-thumb{
  width:100%;
  aspect-ratio:5/3;
  background:#f0f2f8;
}
.r-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* 내용 */
.r-body{
  padding:14px;
}

.r-stars{
  font-size:14px;
  color:#ffb400;
  margin-bottom:6px;
}

.r-title{
  font-size:15px;
  font-weight:800;
  margin:0 0 6px;
  line-height:1.35;
  height:40px;
  overflow:hidden;
}

.r-text{
  font-size:13px;
  color:#555;
  line-height:1.45;
  height:38px;
  margin:0 0 12px;
  overflow:hidden;
}

.r-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12px;
  color:#666;
}

.r-badge{
  background:#eef3ff;
  border:1px solid #dfe4ff;
  padding:4px 8px;
  border-radius:14px;
  font-size:11px;
  color:#3750ff;
}

.review-heading{
  position:relative;
  text-align:center;
  margin-bottom:28px;
  padding-top:42px; /* 별 위치 확보 */
}

.review-title{
  font-size:26px;
  font-weight:900;
  color:#111;
  margin:0;
}

/* 아치 영역 */
.star-arc{
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  justify-content:center;
  gap:10px; /* 별 사이 간격 */
  pointer-events:none;
}

/* 별 스타일 */
.star-arc span{
  font-size:18px; /* 예쁜 크기 */
  color:#FFD700;  /* gold */
  display:inline-block;
}


/* =============================
   모바일 스와이프
============================= */
@media(max-width:768px){

  .review-grid{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:16px;
    padding:0 4px;
  }

  .review-card{
    min-width:100%;
    scroll-snap-align:center;
  }

  .review-dots{
    text-align:center;
    margin-top:14px;
  }

  .review-dots .dot{
    width:8px;
    height:8px;
    background:#ccc;
    border-radius:50%;
    display:inline-block;
    margin:0 4px;
    transition:.25s;
  }

  .review-dots .dot.active{
    background:#6b3bff;
    width:12px;
  }
}
