/* «أعمالنا» — single, archive and the «أعمال من الميدان» cards. Loaded only on those pages. Colours come from the theme variables. */
.zw-player{position:relative;aspect-ratio:16/9;border-radius:var(--r);overflow:hidden;background:#000;box-shadow:var(--shadow,0 6px 24px rgba(0,0,0,.12))}
.zw-player video,.zw-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.zw-yt{position:absolute;inset:0;background:var(--poster) center/cover no-repeat,#0c2630;display:grid;place-items:center}
.zw-yt__play{width:68px;height:68px;border-radius:50%;border:0;background:var(--accent,#f29a1e);color:#111;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.35)}
.zw-yt__play:hover{transform:scale(1.06)}
.zw-clips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.zw-clip{display:inline-flex;align-items:center;gap:8px;border:2px solid var(--line);background:var(--surface);color:var(--ink);font:700 .92rem var(--font);padding:8px 14px;border-radius:999px;cursor:pointer;min-height:44px}
.zw-clip small{color:var(--muted);font-weight:600}
.zw-clip:hover,.zw-clip.is-on{background:var(--primary);color:#fff;border-color:var(--primary)}
.zw-clip:hover small,.zw-clip.is-on small{color:#fff}
.zw-tools{list-style:none;display:grid;gap:10px;padding:0;margin:0}
.zw-tools li{display:flex;flex-direction:column;gap:2px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:12px 16px}
.zw-tools span{color:var(--muted)}
.zw-svc{grid-template-columns:minmax(0,420px);justify-content:center}
.zw-card .scard__media{position:relative}
.zw-badge{position:absolute;inset-block-start:10px;inset-inline-start:10px;display:inline-flex;align-items:center;gap:5px;background:rgba(12,38,48,.86);color:#fff;font:700 .78rem var(--font);padding:4px 10px;border-radius:999px}
@media (min-width:700px){.zw-clips{gap:10px}}
.zw-badge.zw-badge--place{inset-block-start:auto;inset-inline-start:auto;bottom:10px;right:10px}
/* only at the bottom: zad.css sets bottom, this file sets top: with both the badge stretched over the whole image */
/* visit gallery («قبل ← أثناء ← بعد»): clips big enough to watch, each with its caption (4.0.77) */
.zw-visit-gal{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;align-items:start}
.zw-visit-gal img{aspect-ratio:4/3;border-radius:var(--r)}
.zw-gal-vid{margin:0;display:flex;flex-direction:column;gap:8px}
.zw-gal-vid video{display:block;width:100%;height:auto;max-height:78vh;object-fit:contain;background:#000;border-radius:var(--r)}
.zw-gal-vid--wide{grid-column:1/-1}
/* a landscape clip takes the whole row: at a third of it, it is too small to watch */
.zw-gal-vid figcaption{font-size:.92rem;font-weight:700;color:var(--muted);text-align:center;line-height:1.5}
