.review-page-header {
  padding: 40px 0 0;
}

.review-banner-block {
  padding: 80px 20px;
  text-align: center;
  /* background-image: url('../img/main_visual.png'); */
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.review-banner-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0052D4, #4364F7, #6FB1FC);
  opacity: 0.6;
  z-index: 1;
}

.review-banner-block h1,
.review-banner-block p {
  position: relative;
  z-index: 2;
}

.review-page-title {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.review-page-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 60px 0;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-card .hLine {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.review-card .reviewName {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.review-card .reviewRating {
  display: flex;
  gap: 4px;
}

.review-card .reviewRating img {
  width: 16px;
  height: 16px;
}

.review-card .reviewCont {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.review-card .reviewPrice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
}

.review-card .priceTxt {
  font-size: 13px;
  color: #94a3b8;
}

.review-card .priceNum {
  font-size: 16px;
  font-weight: 700;
  color: #2563eb;
}

.review-card .quotesBox {
  position: absolute;
  top: 24px;
  right: 24px;
  opacity: 0.1;
  width: 32px;
}

.review-card .quotesBox img {
  width: 100%;
}

.review-detail-wrapper {
  padding: 80px 20px;
  background-color: #f8fafc;
  min-height: calc(100vh - 200px);
}

.review-detail-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.review-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(135deg, #0052D4, #4364F7, #6FB1FC);
}

.rd-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
}

.rd-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rd-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #4364F7;
}

.rd-name {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
}

.rd-date {
  font-size: 14px;
  color: #94a3b8;
}

.rd-rating {
  display: flex;
  gap: 6px;
}

.rd-rating img {
  width: 20px;
  height: 20px;
}

.rd-content {
  font-size: 18px;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.rd-quote-icon {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  opacity: 0.03;
  z-index: 1;
}

.rd-footer {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rd-footer-label {
  font-size: 15px;
  color: #64748b;
  font-weight: 500;
}

.rd-footer-value {
  font-size: 24px;
  font-weight: 800;
  color: #2563eb;
}

.rd-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 12px 24px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 99px;
  color: #475569;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.rd-back-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Responsive (Mobile/Tablet) */
@media (max-width: 768px) {
  .review-page-header {
    padding: 50px 20px 30px;
  }

  .review-page-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .review-page-desc {
    font-size: 14px;
    word-break: keep-all;
  }

  .review-grid {
    padding: 40px 16px;
    grid-template-columns: 1fr;
    /* Ensure single column on smaller phones */
    gap: 20px;
  }

  .review-card {
    padding: 24px;
  }

  .review-card .reviewName {
    font-size: 16px;
  }

  .review-card .reviewCont {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .review-card .priceTxt {
    font-size: 12px;
  }

  .review-card .priceNum {
    font-size: 15px;
  }

  .review-card .quotesBox {
    top: 20px;
    right: 20px;
    width: 28px;
  }

  /* Detail Page Responsive */
  .review-detail-card {
    padding: 30px 20px;
  }

  .rd-header {
    flex-direction: column;
    gap: 16px;
  }

  .rd-name {
    font-size: 18px;
  }

  .rd-content {
    font-size: 16px;
  }

  .rd-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .rd-footer-value {
    font-size: 20px;
  }
}