/* shorts.css – vertical short video cards */

/* The short card itself */
.video-card.short-card {
  max-width: 300px;                /* narrower for vertical */
  margin: 0 auto;                  /* center in grid */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  background: #fff;
}

/* Make thumbnail vertical (9:16 ratio) */
.video-card.short-card .video-thumb {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* Enlarge the play button */
.video-card.short-card .btn-secondary {
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
}

/* Add a full‑screen “Shorts player” button */
.video-card.short-card .video-actions::after {
  content: "⛶ Watch Fullscreen";
  display: inline-block;
  margin-left: auto;
  font-size: 0.75rem;
  background: #FF0000; /* YouTube red */
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.video-card.short-card .video-actions::after:hover {
  background: #cc0000;
}

/* Adjust for mobile */
@media (max-width: 600px) {
  .video-grid:has(.short-card) {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  .video-card.short-card {
    max-width: 100%;
  }
}