/* ============================================================
   videos.css — SUKWEBCRAFT Videos page
   Requires articles.css (for :root, reset, wrap, fonts, footer, cookie, sticky)
   ============================================================ */

/* ── VIDEOS SECTION ── */
.videos-section { padding: 36px 0 72px; }
.videos-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.videos-header .label {
  font-family: "Bai Jamjuree", sans-serif; font-size: 13px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.vid-count { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--muted); }

/* ── FILTER TABS ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  padding: 7px 18px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--line);
  color: var(--muted); font-size: 13px; font-family: inherit;
  cursor: pointer; transition: all .2s;
}
.filter-btn:hover { border-color: var(--red); color: var(--ink); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ── VIDEO GRID ── */
.vid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.vid-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.vid-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── THUMBNAIL FACADE ── */
.vid-thumb {
  position: relative; aspect-ratio: 16 / 9;
  overflow: hidden; cursor: pointer; background: var(--cream);
}
.vid-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s;
}
.vid-card:hover .vid-thumb img { transform: scale(1.03); }
.vid-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3); transition: background .2s;
}
.vid-card:hover .vid-play { background: rgba(0,0,0,.5); }
.vid-play svg { width: 52px; height: 52px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.vid-views {
  position: absolute; bottom: 8px; right: 10px;
  background: rgba(0,0,0,.65); font-size: 11px; color: #fff;
  padding: 2px 7px; border-radius: 4px;
}

/* ── CARD INFO ── */
.vid-info { padding: 16px 18px; }
.vid-cat {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: var(--red); letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 8px;
}
.vid-title { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; color: var(--ink); }
.vid-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── EMPTY STATE ── */
.vid-empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.vid-empty .icon { font-size: 40px; margin-bottom: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .vid-grid { grid-template-columns: 1fr; }
  .videos-section { padding: 24px 0 48px; }
}
