/* /movies/css/movies.css — Video grid, cards, sub-nav filters */

/* ── Push content below fixed header + sub-nav (no header image on this page) ── */
#content {
  padding-top: 100px;
}

/* ── Sub-nav inline filters (selects + search) ── */
.movies-filter-select,
.movies-filter-search {
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.04em;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 3px;
  padding: 4px 8px;
  color: #333;
  background: rgba(255,255,255,0.7);
  outline: none;
  cursor: pointer;
}
.movies-filter-search {
  width: 140px;
  cursor: text;
}
.movies-filter-select:focus,
.movies-filter-search:focus {
  border-color: #999;
}

/* ── Video count (below sub-nav) ── */
.movies-toolbar {
  padding: 8px 0;
}
.movies-filter-count {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 12px;
  color: #aaa;
}

/* ── Video grid ── */
.movies-grid {
  display: grid;
  gap: 24px 20px;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px 0 40px;
}

/* ── Video card (flat) ── */
.video-card {
  overflow: hidden;
  cursor: pointer;
}
.video-card.hidden {
  display: none;
}
.video-card:hover .vc-thumb img {
  transform: scale(1.03);
}
.vc-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
}
.vc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.vc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}
.vc-badge i { font-size: 9px; }
.vc-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  background: rgba(0,0,0,0.15);
  pointer-events: none;
}
.video-card:hover .vc-play {
  opacity: 1;
}
.vc-play-circle {
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vc-play-circle i {
  color: #fff;
  font-size: 18px;
  margin-left: 3px;
}
.vc-info {
  padding: 10px 2px;
}
.vc-title {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 3px;
  color: #2a2a2a;
}
.vc-artist {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 13px;
  color: #888;
}
.vc-desc {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vc-exhibition {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 11px;
  color: #E41E33;
  margin-top: 5px;
}
.vc-exhibition a {
  color: #E41E33;
  text-decoration: none;
}
.vc-exhibition a:hover {
  text-decoration: underline;
}

/* ── Empty state ── */
.movies-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
  font-size: 15px;
  font-family: 'Barlow Semi Condensed', sans-serif;
}

/* ── Mobile filter drawer ── */
.movies-mob-drawer {
  display: none;
  position: fixed;
  top: 80px; /* below meanmenu + mobile subnav title */
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.movies-mob-drawer.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.movies-mob-input,
.movies-mob-select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 8px;
  color: #333;
  background: #fff;
  outline: none;
  -webkit-appearance: none;
}
.movies-mob-input:focus,
.movies-mob-select:focus {
  border-color: #999;
}
.movies-mob-clear {
  display: block;
  width: 100%;
  padding: 8px;
  border: none;
  background: none;
  color: #e41e33;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .movies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .movies-filter-search {
    width: 120px;
  }
}
@media (max-width: 560px) {
  .movies-grid {
    grid-template-columns: 1fr;
  }
}
