/* TEG patient-education video module — sized/placed like the PBHS module it replaces */
.teg-video-module{max-width:300px;margin:0 0 20px 25px;text-align:center}
.teg-video-module.alignleft{margin:0 25px 20px 0}
.teg-video-module .ht-title{margin-top:0}
.teg-video-module .teg-video-launch{position:relative;display:block;border-radius:6px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.teg-video-module .teg-video-launch img{display:block;width:100%;height:auto}
.teg-video-module .teg-video-launch:after{content:"";position:absolute;left:50%;top:50%;width:62px;height:62px;margin:-31px 0 0 -31px;border-radius:50%;background:rgba(0,0,0,.55) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M8 5v14l11-7z'/></svg>") center/34px no-repeat;transition:transform .2s}
.teg-video-module .teg-video-launch:hover:after{transform:scale(1.08)}
.teg-video-module .teg-video-caption{font-size:13px;margin-top:6px;opacity:.85}
@media (max-width:767px){.teg-video-module{float:none!important;max-width:100%;margin:0 0 20px}}
.teg-video-modal{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.82);display:none;align-items:center;justify-content:center;padding:20px}
.teg-video-modal.open{display:flex}
.teg-video-modal .teg-video-box{position:relative;width:min(1100px,100%)}
.teg-video-modal video{width:100%;max-height:85vh;background:#000;border-radius:6px}
.teg-video-modal .teg-video-close{position:absolute;top:-38px;right:0;background:none;border:0;color:#fff;font-size:32px;line-height:1;cursor:pointer}
.teg-video-modal .teg-video-modal-title{color:#fff;margin:0 0 8px;font-size:18px}
.teg-inline-video{width:100%;max-width:560px;aspect-ratio:16/9;background:#000;display:block;margin:0 0 15px}
.teg-ai-note{font-size:12px;opacity:.75;margin-top:4px}
