/* /videos (2026-11-23): novi Shorts i dugi videi, plejer preko strane (client/videos). Skromno: samo link u podnožju. */
.article .videos-page { max-width: none; }
.article:has(.videos-page) { max-width: 1080px; }
.vid-section h3 { font: 700 22px/1.2 var(--serif); color: var(--cream); }
.vid-section .sub { color: var(--cream-3); }
.vid-card svg, .vid-overlay svg { fill: none; }
.vid-play svg { fill: currentColor; }
.videos-sub { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--cream-2); font-weight: 600; text-decoration: none; }
.videos-sub:hover { color: var(--brass); }
.videos-sub svg { width: 18px; height: 18px; }
.vid-section { margin-top: 1.75rem; }
.vid-section h3 { margin: 0 0 4px; font-size: 1.35rem; }
.vid-section > p { margin: 0 0 1rem; }
.vid-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.vid-grid-long { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.vid-grid-short { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; }
@media (max-width: 560px) { .vid-grid-short { grid-template-columns: 1fr 1fr; } }
.vid-card { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; }
.vid-card:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 16px; }
.vid-thumb { position: relative; display: block; overflow: hidden; border-radius: 16px; background: rgba(0,0,0,.3); border: 1px solid var(--brass-dim); }
.vid-long .vid-thumb { aspect-ratio: 16 / 9; }
.vid-short .vid-thumb { aspect-ratio: 9 / 16; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.vid-card:hover .vid-thumb img { transform: scale(1.04); }
.vid-play { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, #fff 92%, transparent); color: var(--brass); left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.vid-short .vid-play { width: 34px; height: 34px; left: auto; top: 10px; right: 10px; transform: none; background: rgba(0,0,0,.45); color: #fff; }
.vid-play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.vid-short .vid-play svg { width: 15px; height: 15px; margin-left: 2px; }
.vid-time { position: absolute; right: 8px; bottom: 8px; padding: 1px 7px; border-radius: 6px; background: rgba(0,0,0,.75); color: #fff; font-size: .85rem; font-weight: 600; }
.vid-over { position: absolute; inset: auto 0 0 0; padding: 48px 10px 10px; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.45) 60%, transparent); color: #fff; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.vid-over > span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vid-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-weight: 700; font-size: 1.1rem; line-height: 1.3; color: var(--cream); }
.vid-card:hover .vid-title { color: var(--brass); }
html.vid-lock { overflow: hidden; }
.vid-overlay { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; padding: 16px; background: rgba(8,10,14,.95); }
@media (min-width: 640px) { .vid-overlay { align-items: center; } }
.vid-panel { width: 100%; margin: auto 0; }
.vid-panel.is-long { max-width: 1024px; }
.vid-panel.is-short { max-width: min(26rem, calc((100dvh - 14rem) * 9 / 16)); }
@media (min-width: 640px) { .vid-panel.is-short { max-width: min(33rem, calc((100dvh - 15rem) * 9 / 16 + 7rem)); } }
.vid-top { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.vid-nav { all: unset; box-sizing: border-box; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.vid-nav:hover { background: rgba(255,255,255,.22); }
.vid-nav:disabled { opacity: .3; cursor: default; }
.vid-nav svg { width: 22px; height: 22px; }
.vid-stage { display: flex; align-items: center; gap: 12px; }
.vid-frame { position: relative; width: 100%; overflow: hidden; border-radius: 16px; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.is-long .vid-frame { aspect-ratio: 16 / 9; }
.is-short .vid-frame { aspect-ratio: 9 / 16; }
.vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-info { margin-top: 12px; color: #fff; }
@media (min-width: 640px) { .is-short .vid-info { padding: 0 56px; } }
.vid-info h2 { margin: 0; color: #fff; font-size: 1.15rem; line-height: 1.3; }
.vid-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.vid-actions .btn svg { width: 18px; height: 18px; }
.vid-phone-nav { display: none; gap: 8px; }
.vid-yt { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: rgba(255,255,255,.75); text-decoration: none; font-size: .95rem; }
.vid-yt:hover { color: #fff; }
.vid-yt svg { width: 15px; height: 15px; }
@media (max-width: 639px) { .vid-side { display: none; } .vid-phone-nav { display: inline-flex; } }

.article .vid-grid { padding: 0; margin: 0; }
.article .vid-grid li { margin: 0; }
.vid-actions .btn { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.vid-actions .btn:hover { background: var(--brass-hi); }
