.page-header {
  background: #fff;
  padding: 40px 0;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
}

.review-intro-section {
  display: flex;
  flex-direction: column;
}

.review-intro-section-title {
  font-size: var(--font-3xl);

  color: var(--color-primary-yellow);
}

.review-intro-section-subtitle {
  font-size: var(--font-2xl);
  font-weight: 700;
}

.review-intro-section-text {
  font-size: 18px;
  font-weight: 400;
  color: #6b7280;
  margin-top: 20px;
  margin-bottom: 16px;
  line-height: 2;
}

.review-intro-section-divider {
  width: 100%;
  height: 1px;
  background-color: #e5e7eb;
  margin-top: 24px;
  margin-bottom: 24px;
}

.review-list-section {
  padding: 80px 0 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.review-card {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  text-decoration: none;
  color: #f1f5f9;
  background: #0f172a;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.review-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 35%,
    rgba(15, 23, 42, 0.75) 75%,
    rgba(15, 23, 42, 0.95) 100%
  );
  opacity: 1;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
}

.review-card:hover::after {
  opacity: 0.85;
}

.review-card__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.review-card:hover .review-card__image {
  transform: scale(1.06);
}

.review-card__image--placeholder {
  background-image: linear-gradient(
      135deg,
      rgba(79, 70, 229, 0.65),
      rgba(15, 118, 110, 0.65)
    ),
    linear-gradient(135deg, #111827, #0f172a);
}

.review-card__content {
  display: flex;
  flex-direction: column;
  height: 100%;

  justify-content: space-between;
  position: relative;
  z-index: 1;
  padding: 20px;
}

.review-card__badges {
  width: 100%;

  position: relative;
  right: -20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.review-card__badge {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  backdrop-filter: blur(6px);
}

.review-card__badge--type {
  background: rgba(37, 99, 235, 0.9);
}

.review-card__badge--pre-course {
  background: rgb(9, 141, 97);
}

.review-card__badge--reg-course {
  background: rgba(16, 185, 129);
}

.review-card__badge--tag {
  background: rgba(250, 204, 21, 0.85);
  color: #1e293b;
}

.review-card__title {
  font-size: var(--font-base);
  font-weight: 700;

  color: #f8fafc;
}

.review-card__date {
  font-size: 14px;
  color: rgba(241, 245, 249, 0.85);
}

.review-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-empty {
  font-size: 16px;
  text-align: center;
  color: #6b7280;
  padding: 40px 0;
}

@media (max-width: 1024px) {
  .review-list {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 30px;
  }

  .review-list {
    grid-template-columns: 1fr;
  }

  .review-card__content {
    padding: 24px;
  }

  .review-card__title {
    font-size: 20px;
  }
}
