/* ════════════════════════════════════════
   Reviews — nl_review CPT
   archive-nl_review.php · single-nl_review.php
   ════════════════════════════════════════ */

/* ─── ARCHIVE HERO ─── */
.reviews-archive-hero.page-hero {
  padding: 120px 40px 64px;
  margin-top: var(--header-h);
  background: var(--black);
  color: var(--white);
}

/* ─── REVIEWS GRID ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ─── REVIEW CARD ─── */
.review-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-light);
  background: var(--white);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Card media */
.review-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}

.review-card__img,
.review-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.review-card:hover .review-card__img,
.review-card:hover .review-card__video {
  transform: scale(1.04);
}

.review-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card body */
.review-card__body {
  padding: 22px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ─── STARS (shared) ─── */
.review-card__stars,
.review-single__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.star {
  font-size: 15px;
  line-height: 1;
}

.star--full  { color: var(--gold); }
.star--half  { color: var(--gold); font-size: 14px; }
.star--empty { color: #ddd; }

.review-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--black);
}

.review-card__title a {
  color: inherit;
  transition: color var(--transition);
}

.review-card__title a:hover {
  color: var(--gold);
}

.review-card__tagline {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.55;
  font-weight: 300;
}

.review-card__reviewer {
  font-size: 12px;
  color: var(--gray);
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ─── PLATFORM BADGES (shared) ─── */
.review-platform {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 600;
  line-height: 1.6;
}

.review-platform--shopee  { background: #fff0ec; color: #ee4d2d; }
.review-platform--lazada  { background: #ededff; color: #0f136d; }
.review-platform--tiktok  { background: #111; color: #fe2c55; }
.review-platform--line    { background: #edfff4; color: #06c755; }
.review-platform--website { background: var(--cream); color: var(--black); }
.review-platform--other   { background: var(--gray-light); color: var(--gray); }

/* ─── PAGINATION ─── */
.reviews-pagination {
  margin-top: 52px;
}

.reviews-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.reviews-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gray-light);
  font-size: 13px;
  font-family: var(--font-body);
  transition: all var(--transition);
  color: var(--black);
}

.reviews-pagination a.page-numbers:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.reviews-pagination .current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 600;
}

/* ─── SINGLE REVIEW HERO SLIDER ─── */
.review-single__hero--slider {
  position: relative;
  cursor: default;
}

.rs-slide {
  display: none;
}

.rs-slide.active {
  display: block;
}

/* Nav arrows */
.rs-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 16px;
}

.rs-btn {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  border-radius: 2px;
  flex-shrink: 0;
}

.rs-btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* Single-hero dots */
.rs-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.rs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s, border-radius 0.25s;
}

.rs-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

/* ─── SINGLE REVIEW ─── */
.review-single {
  padding-top: var(--header-h);
}

/* Hero media */
.review-single__hero {
  width: 100%;
  max-height: 65vh;
  overflow: hidden;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-single__img,
.review-single__video {
  width: 100%;
  max-height: 65vh;
  object-fit: cover;
  display: block;
}

/* Wrapper */
.review-single__wrap {
  padding-top: 56px;
  padding-bottom: 80px;
  max-width: 860px;
}

/* Meta header */
.review-single__meta {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-light);
}

/* Stars */
.review-single__stars {
  gap: 3px;
  margin-bottom: 14px;
}

.review-single__stars .star { font-size: 22px; }

.review-single__rating-num {
  font-size: 13px;
  color: var(--gray);
  margin-left: 6px;
  font-family: var(--font-body);
}

/* Title */
.review-single__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 10px;
}

/* Tagline */
.review-single__tagline {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Reviewer */
.review-single__reviewer {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ─── EDITOR CONTENT STYLES ─── */
.review-single__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  max-width: 720px;
  margin-bottom: 48px;
}

.review-single__body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin: 36px 0 12px;
  line-height: 1.3;
}

.review-single__body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  margin: 28px 0 10px;
}

.review-single__body p {
  margin-bottom: 18px;
}

.review-single__body img,
.review-single__body video,
.review-single__body iframe {
  max-width: 100%;
  border-radius: 2px;
  margin: 20px 0;
  display: block;
}

.review-single__body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.review-single__body ul,
.review-single__body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.review-single__body li {
  margin-bottom: 6px;
}

.review-single__body blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--cream);
  font-style: italic;
  color: #555;
  font-size: 16px;
}

.review-single__body figure {
  margin: 20px 0;
}

.review-single__body figcaption {
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  margin-top: 8px;
}

/* Back button */
.review-single__back {
  margin-top: 8px;
}

/* ─── COVER SLIDER ─── */
.rc-covers {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--cream);
  /* aspect-ratio inherited from .review-card__media (4/3) */
}

/* Each slide sits stacked; only .active is visible */
.rc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.rc-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.rc-slide__inner {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rc-slide__inner .review-card__img,
.rc-slide__inner .review-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.rc-slide.active .rc-slide__inner:hover .review-card__img,
.rc-slide.active .rc-slide__inner:hover .review-card__video {
  transform: scale(1.04);
}

/* Dot indicators */
.rc-dots {
  position: absolute;
  bottom: 9px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}

.rc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s, border-radius 0.25s;
}

.rc-dot.active {
  background: var(--gold);
  width: 18px;
  border-radius: 3px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .reviews-archive-hero.page-hero {
    padding: 100px 20px 48px;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .review-card__body {
    padding: 16px 14px;
  }

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

  .review-single__wrap {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .review-single__body {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
