/**
 * assets/css/testimonials-video-page.css
 * หน้า Testimonials Video — 2 คอลัมน์ + pagination
 * ใช้ design tokens จาก main.css
 * reuse .page-hero--testi จาก testimonials-text-page.css
 */

/* ════════════════════════════════════════
   SECTION WRAPPER
════════════════════════════════════════ */
.testi-vdo-page {
  background: var(--color-surface-muted);
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.testi-vdo-page__inner {
  max-width: 120rem;
}

/* ════════════════════════════════════════
   2-COLUMN GRID
════════════════════════════════════════ */
.testi-vdo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  margin-bottom: 4.8rem;
}

@media (max-width: 768px) {
  .testi-vdo-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════
   VIDEO CARD
════════════════════════════════════════ */
.testi-vdo-card {
  background: var(--color-surface-base);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px var(--color-shadow-sm);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.testi-vdo-card:hover {
  box-shadow: 0 8px 32px var(--color-shadow-md);
  transform: translateY(-4px);
}

/* ── Video embed ── */
.testi-vdo-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.testi-vdo-card__media iframe,
.testi-vdo-card__media embed,
.testi-vdo-card__media object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Card body ── */
.testi-vdo-card__body {
  padding: 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.testi-vdo-card__book {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.testi-vdo-card__author {
  font-size: var(--font-size-sm);
  color: var(--color-text-subtle);
  margin: 0;
}

.testi-vdo-card__author span {
  color: var(--color-text-muted);
}

/* ════════════════════════════════════════
   PAGINATION
════════════════════════════════════════ */
.testi-vdo-page__pagination {
  margin-top: 2.4rem;
}

/* ════════════════════════════════════════
   EMPTY STATE
════════════════════════════════════════ */
.testi-vdo-page__empty {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-md);
  padding: 6rem 0;
}
