/* Moved from app/views/videos/index.html.erb in B2, scoped to .ctx-poster. Rebuilt in its own phase. */
.ctx-poster .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
  }
.ctx-poster .video-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
  }
.ctx-poster .video-card:hover {
    
    border-color: var(--line);
    box-shadow: none;
  }
.ctx-poster .video-card__thumb {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: var(--surface-1);
  }
.ctx-poster .video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
  }
.ctx-poster .video-card:hover .video-card__thumb img {  }
.ctx-poster .video-card__body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.ctx-poster .video-card__title {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.1px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
.ctx-poster .video-card__meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: var(--muted);
  }
.ctx-poster .video-card__channel {
    font-weight: 700;
    color: var(--ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
.ctx-poster .video-card__date { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.ctx-poster .watch-links {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
  }
.ctx-poster .watch-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--hairline-strong);
    border-radius: 14px;
    padding: 18px 20px;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  }
.ctx-poster .watch-link:hover {
    border-color: var(--line);
    background: var(--surface-2);
    
  }
.ctx-poster .watch-link__kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 4px;
  }
.ctx-poster .watch-link__title {
    font-family: var(--font);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.2px;
  }
.ctx-poster .watch-link svg {
    width: 16px;
    height: 16px;
    color: var(--faint);
    flex-shrink: 0;
  }
@media (max-width: 640px) {
.ctx-poster .video-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
.ctx-poster .video-card,
.ctx-poster .video-card__thumb img,
.ctx-poster .watch-link { transition: none; }
}
