/* The owner's own styles, beside the 00е template's era-2000s.css: the clip grid of the portfolio. */

.valeria-clips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.valeria-clips figure {
  margin: 0;
  padding: 3px;
  border: 3px outset var(--y2k-silver);
  background: var(--y2k-silver);
}

.valeria-clips video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

.valeria-clips figcaption {
  padding: 4px 0 2px;
  background: #000;
  color: var(--y2k-yellow);
  font: bold 11px/1.2 var(--y2k-body);
  text-align: center;
}

@media (max-width: 760px) {
  .valeria-clips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
