.single-tk_project .project-body .wp-block-video{height:auto!important;min-height:0!important;aspect-ratio:auto!important;align-self:start}
.single-tk_project .project-body video{display:block;width:100%;max-width:100%;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain}
.single-tk_project .project-image-open{display:block;padding:0;border:0;background:transparent;color:inherit;max-width:100%;cursor:zoom-in}
.single-tk_project .wp-block-gallery .project-image-open{width:100%}
.single-tk_project .project-image-open:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
.tk-image-dialog{padding:0;border:0;background:transparent;overflow:visible;max-width:calc(100vw - 100px);max-height:90vh;max-height:90dvh;margin:auto;color:#fff}
.tk-image-dialog::backdrop{background:rgba(28,27,24,.55);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.tk-image-dialog img{display:block;width:auto;height:auto;max-width:calc(100vw - 100px);max-height:90vh;max-height:90dvh;object-fit:contain;border-radius:4px}
.tk-image-close{position:absolute;left:calc(100% + 4px);top:0;width:44px;height:44px;padding:0;border:0;background:transparent;color:#fff;font:32px/1 sans-serif;cursor:pointer}
.tk-image-close:focus-visible{outline:2px solid #fff;outline-offset:0;border-radius:4px}
.tk-image-dialog[open]{animation:tk-image-in .2s ease-out}
@keyframes tk-image-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:600px){.tk-image-dialog,.tk-image-dialog img{max-width:calc(100vw - 64px);max-height:85vh;max-height:85dvh}.tk-image-close{left:100%;width:30px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.tk-image-dialog[open]{animation:none}}
