/* Videoportal */
.vp-page { --vp-accent: var(--cyan, #0ea5e9); }
.vp-intro { margin: 0 0 1rem; }
.vp-search { display: flex; gap: 8px; margin: 0 0 1rem; max-width: 460px; }
.vp-search input[type=search] { flex: 1; min-width: 0; padding: 8px 10px; }
.vp-cats, .vp-pages { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2rem; }
.vp-cats a, .vp-pages a {
    padding: 5px 12px; border-radius: 999px; text-decoration: none; font-size: .92rem;
    border: 1px solid rgba(128,128,128,.45); color: inherit;
}
.vp-cats a:hover, .vp-pages a:hover { border-color: var(--vp-accent); }
.vp-cats a.is-active, .vp-pages a.is-active { background: var(--vp-accent); border-color: var(--vp-accent); color: #fff; }
.vp-pages { margin-top: 1.4rem; }

.vp-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vp-cols-1 { grid-template-columns: minmax(0, 1fr); }
.vp-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vp-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vp-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .vp-cols-3, .vp-cols-4, .vp-cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .vp-grid { grid-template-columns: minmax(0, 1fr); } }

.vp-card { background: rgba(128,128,128,.12); border: 1px solid rgba(128,128,128,.28); border-radius: 8px; overflow: hidden; }
.vp-card.is-featured { border-color: var(--vp-accent); }
.vp-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #111 linear-gradient(135deg, #1e293b, #0f172a); overflow: hidden; }
.vp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.vp-card:hover .vp-thumb img { transform: scale(1.04); }
.vp-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 18px; padding-left: 3px; box-sizing: border-box;
}
.vp-badge { position: absolute; left: 8px; top: 8px; background: var(--vp-accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.vp-info { padding: 10px 12px 12px; }
.vp-title { margin: 0 0 4px; font-size: 1rem; line-height: 1.3; }
.vp-title a { color: inherit; text-decoration: none; }
.vp-title a:hover { text-decoration: underline; }
.vp-meta { margin: 0; font-size: .85rem; opacity: .75; }
.vp-more { margin: .6rem 0 0; font-size: .9rem; }
.vp-h2 { margin: 2rem 0 .8rem; }
.vp-back { margin: 0 0 .4rem; font-size: .92rem; }
.vp-descr { margin: 1rem 0 0; line-height: 1.55; }

/* Player */
.vp-embed, .vp-file { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; margin: 0 0 .8rem; }
.vp-embed iframe, .vp-file video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vp-embed-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.vp-embed-btn {
    position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
    width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--vp-accent, #0ea5e9); color: #fff; font-size: 30px; padding-left: 6px; box-sizing: border-box;
    box-shadow: 0 4px 18px rgba(0,0,0,.5);
}
.vp-embed-btn:hover { filter: brightness(1.1); }
.vp-embed-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.vp-embed-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 14px; color: #fff; font-size: .8rem; line-height: 1.3; text-align: center; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0)); }

/* Seitenleisten-Box */
.vp-box-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vp-box-list a { display: flex; gap: 8px; align-items: center; text-decoration: none; color: inherit; }
.vp-box-thumb { position: relative; flex: 0 0 84px; aspect-ratio: 16 / 9; background: #111 linear-gradient(135deg, #1e293b, #0f172a); border-radius: 4px; overflow: hidden; }
.vp-box-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-box-thumb .vp-play { width: 24px; height: 24px; font-size: 10px; padding-left: 2px; }
.vp-box-title { font-size: .9rem; line-height: 1.25; }
.vp-box-list a:hover .vp-box-title { text-decoration: underline; }
