/* Scoped video library; typography and text colours follow the active theme. */
.bpyv-library { margin-block: 1.5rem 2.5rem; }
.bpyv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.bpyv-card { min-width: 0; margin: 0; border: 1px solid rgba(127,127,127,.32); border-radius: 12px; overflow: hidden; background: rgba(127,127,127,.045); transition: box-shadow .18s ease, transform .18s ease; }
.bpyv-card:hover, .bpyv-card:focus-within { box-shadow: 0 8px 24px rgba(0,0,0,.13); transform: translateY(-2px); }
.bpyv-library .bpyv-card a.bpyv-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.bpyv-card-link:focus-visible { outline: 3px solid currentColor; outline-offset: -3px; }
.bpyv-thumbnail { position: relative; aspect-ratio: 16 / 9; background: #262626; overflow: hidden; }
.bpyv-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.bpyv-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 52px; height: 38px; border-radius: 9px; background: rgba(0,0,0,.78); color: #fff; }
.bpyv-card:hover .bpyv-play, .bpyv-card:focus-within .bpyv-play { background: #c00; }
.bpyv-card-body { display: flex; flex: 1; flex-direction: column; gap: .6rem; padding: 1rem; }
.bpyv-date { font-size: .8rem; opacity: .8; }
.bpyv-card .bpyv-card-title { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.35; margin: 0; overflow-wrap: anywhere; color: inherit; }
.bpyv-card .bpyv-excerpt { margin: 0; font-size: .92rem; line-height: 1.55; overflow-wrap: anywhere; }
.bpyv-watch { display: block; margin-top: auto; padding-top: .6rem; font-size: .9rem; font-weight: 600; }
.bpyv-pagination { margin-block: 2rem; }
.bpyv-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.bpyv-pagination li { margin: 0; }
.bpyv-pagination .page-numbers:not(ul) { display: inline-block; min-width: 2.6rem; padding: .55rem .8rem; text-align: center; border: 1px solid rgba(127,127,127,.35); border-radius: 6px; }
.bpyv-pagination .current { font-weight: 700; background: rgba(127,127,127,.18); }
.bpyv-single { margin-block: 1rem 2rem; }
.bpyv-player { aspect-ratio: 16 / 9; width: 100%; background: #111; border-radius: 10px; overflow: hidden; }
.bpyv-player iframe { display: block; width: 100%; height: 100%; border: 0; margin: 0; max-width: none; }
.bpyv-fallback img { display: block; width: 100%; height: auto; border-radius: 10px; }
.bpyv-single-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; font-size: .9rem; margin-block: .85rem 1.5rem; }
.bpyv-description { overflow-wrap: anywhere; }
.bpyv-back { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(127,127,127,.32); }
@media (max-width: 900px) { .bpyv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bpyv-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }
@media (prefers-reduced-motion: reduce) { .bpyv-card { transition: none; } .bpyv-card:hover, .bpyv-card:focus-within { transform: none; } }
