/* Video dei lavori: riproduzione nella pagina, senza avvio automatico. */
.work-video-section{margin:32px 0}.work-video-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.work-video-gallery>figure:only-child{grid-column:1/-1}.work-video-gallery figure{margin:0;min-width:0}.work-video-gallery video{display:block;width:100%;max-height:520px;aspect-ratio:16/9;object-fit:contain;background:#191717;border-radius:10px}.work-video-gallery figcaption{margin-top:10px;overflow-wrap:anywhere;color:#655f5b}@media(max-width:700px){.work-video-gallery{grid-template-columns:1fr;gap:20px}.work-video-gallery video{max-height:65vh}}

/* DUDA-VIDEO-20261118-BEGIN */
/* DUDA VIDEO V2: preserve the original frame and give portrait films room. */
.work-video-section .work-video-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
.work-video-section .work-video-gallery>figure{min-width:0;margin:0;padding:18px;border:1px solid #e5dcda;border-radius:14px;background:#fff}
.work-video-section .work-video-gallery>figure:only-child{grid-column:1/-1;max-width:920px;width:100%;justify-self:center}
.work-video-section .work-video-gallery video,.video-editor video{display:block;width:auto;height:auto;max-width:100%;max-height:min(76vh,700px);aspect-ratio:auto;object-fit:contain;margin:0 auto;border-radius:10px;background:#191717}
.video-editor video{max-height:min(64vh,480px)}
.duda-video-frame{position:relative;display:grid;place-items:center;min-width:0;min-height:160px}
.duda-video-frame[data-format="portrait"]{max-width:440px;margin:0 auto}
.duda-video-cover{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:10px;background:transparent;cursor:pointer;overflow:hidden}
.duda-video-cover[hidden]{display:none}
.duda-video-cover img{position:absolute;inset:0;width:100%;height:100%;margin:0;object-fit:contain}
.duda-video-cover span{position:relative;display:grid;place-items:center;width:74px;height:74px;padding-left:5px;border:2px solid #fff;border-radius:50%;background:#89131a;color:#fff;font:32px/1 Arial;box-shadow:0 3px 18px #0007}
.duda-video-cover span:before{content:'';display:block;width:0;height:0;border-top:13px solid transparent;border-bottom:13px solid transparent;border-left:20px solid #fff}
.duda-video-cover:hover span{background:#a7202a}
.duda-video-cover:focus-visible{outline:3px solid #bc7881;outline-offset:4px}
.duda-video-cover:disabled{cursor:wait}
.work-video-section .work-video-gallery figcaption{margin-top:16px;line-height:1.6;color:#514a47;overflow-wrap:anywhere}
.duda-video-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 16px;margin:14px 0 0;font:500 15px/1.4 system-ui,-apple-system,Segoe UI,sans-serif;color:#4a403c}
.duda-video-tools label{display:flex;align-items:center;gap:8px;margin:0;font:inherit}
.duda-video-tools select{display:inline-block;width:auto;min-width:100px;min-height:42px;margin:0;padding:8px 10px;border:1px solid #c9bfba;border-radius:6px;background:#fff;color:#382e2a;font:inherit}
.duda-video-tools button{min-height:42px;padding:9px 14px;border:1px solid #89131a;border-radius:6px;background:#fff;color:#89131a;font:600 14px/1.4 system-ui,-apple-system,Segoe UI,sans-serif;cursor:pointer}
.duda-video-tools select:focus-visible,.duda-video-tools button:focus-visible{outline:3px solid #bc7881;outline-offset:3px}
.duda-video-status{margin:10px 0 0;min-height:0;text-align:center;font:15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;color:#625650}
.duda-video-status:empty{display:none}
@media(max-width:760px){.work-video-section .work-video-gallery{grid-template-columns:1fr;gap:24px}.work-video-section .work-video-gallery>figure{padding:12px}.work-video-section .work-video-gallery video{max-height:min(78vh,700px)}.duda-video-tools{font-size:14px;gap:10px}.duda-video-frame[data-format="portrait"]{max-width:100%}}
/* DUDA-VIDEO-20261118-END */
