/* ---------- Videos page ---------- */

/* Page Head: eyebrow ("WATCH") + big title, stacked. Distinct from the
   shared .section-head* pair (components.css) because the eyebrow here is
   olive (#5C6444), not terracotta, and the title runs larger (44px) than
   .section-head__heading (32px) — this is the page's own h1, not a
   section-within-page label. */
.page-videos__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px; /* no matching space token (sm=8, md=16) */
  padding: var(--space-2xl) 0 32px; /* 32px: no matching token */
}

.page-videos__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--color-olive);
  text-transform: uppercase;
}

.page-videos__title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-primary);
}

/* English / Tamil sections */
.page-videos__section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px; /* no matching space token (lg=24) */
  width: 100%;
  padding: var(--space-md) 0;
}

.page-videos__section:last-of-type {
  padding-bottom: var(--space-2xl);
}

.page-videos__section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-terracotta);
}

.page-videos__section-label.lang-ta {
  /* font-family swapped to Noto Sans Tamil by the shared .lang-ta rule */
  letter-spacing: 0.5px;
}

/* Video grid: 4 columns desktop -> 3 tablet -> 2 mobile.
   .video-card__thumb (components.css) already fixes the 300:533 aspect
   ratio, so it holds at every column count. */
.page-videos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  width: 100%;
}

@media (max-width: 900px) {
  .page-videos__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .page-videos__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .page-videos__title {
    font-size: 32px;
  }

  .page-videos__head {
    padding-top: var(--space-xl);
  }
}
