/* Public brand introduction only; no course-player selectors. */
.qhz-brand-video-home {
  margin-top: 8px;
}

.qhz-brand-video-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  max-width: 100%;
  padding: 6px 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #293a78;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.qhz-brand-video-link > span:last-child {
  min-width: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.qhz-brand-video-link .qhz-brand-video-play {
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  padding-left: 1px;
  border-radius: 50%;
  background: #293a78;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.qhz-brand-video-link:hover > span:last-child {
  text-decoration-thickness: 2px;
}

.qhz-brand-video-link:focus-visible,.qhz-brand-video-cover:focus-visible,.qhz-brand-video-dialog button:focus-visible{outline:3px solid #7fa7ef;outline-offset:4px}
.qhz-brand-video-section{padding:8px 0 32px}
.qhz-brand-video-cover{position:relative;display:block;width:100%;max-width:960px;aspect-ratio:16/9;margin:0 auto;overflow:hidden;padding:0;border:1px solid #d4deee;border-radius:16px;background:#143b78;box-shadow:0 16px 40px #143b7812;color:#fff;text-align:left;cursor:pointer}
.qhz-brand-video-cover>img{display:block;width:100%;height:100%;object-fit:cover}
.qhz-brand-video-cover-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:28px;background:linear-gradient(transparent 50%,rgba(4,20,46,.76))}
.qhz-brand-video-cover .qhz-brand-video-play{position:absolute;top:50%;left:50%;display:grid;place-items:center;width:70px;height:70px;padding-left:4px;border:2px solid #ffffffb3;border-radius:50%;background:var(--red,#d31320);box-shadow:0 8px 24px #0003;transform:translate(-50%,-50%);font-size:25px}
.qhz-brand-video-caption{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-width:0;overflow:hidden;font-size:clamp(17px,2.2vw,25px);line-height:1.4;font-weight:700;overflow-wrap:anywhere}
.qhz-brand-video-watch{flex-shrink:0;font-size:13px;font-weight:600}
.qhz-brand-video-dialog{position:fixed;inset:0;width:min(960px,calc(100vw - 24px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;overflow:auto;border:1px solid #d4deee;border-radius:14px;background:#fff;color:var(--navy,#143b78);box-shadow:0 28px 100px #0006;z-index:2147483000}
.qhz-brand-video-dialog:not([open]){display:none}
.qhz-brand-video-dialog::backdrop{background:rgba(4,15,34,.78)}
.qhz-brand-video-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid #e4eaf3}
.qhz-brand-video-dialog h2{margin:0;font-size:18px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.qhz-brand-video-close{flex:0 0 40px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #d4deee;border-radius:8px;background:#fff;color:#143b78;font-size:25px;line-height:1;cursor:pointer}
.qhz-brand-video-stage{position:relative;width:100%;aspect-ratio:16/9;max-height:calc(100vh - 160px);max-height:calc(100dvh - 160px);background:#081a36;overflow:hidden}
.qhz-brand-video-stage>video,.qhz-brand-video-stage>.video-js{display:block;width:100%!important;height:100%!important;max-width:none;object-fit:contain}
.qhz-brand-video-stage .vjs-fullscreen{max-height:none!important}
.qhz-brand-video-status{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:12px 16px;color:#52647e;font-size:13px;line-height:1.6}
.qhz-brand-video-status p{margin:0}
.qhz-brand-video-retry{flex-shrink:0;min-height:36px;padding:6px 14px;border:1px solid #cbd9f0;border-radius:7px;background:#fff;color:#0346d9;font-weight:600;cursor:pointer}
.qhz-brand-video-dialog [hidden]{display:none!important}
.qhz-brand-video-stage video,.qhz-brand-video-stage .vjs-tech{object-fit:contain!important;object-position:center}
.qhz-brand-video-stage .vjs-poster{background-size:contain}
.qhz-brand-video-close{min-width:44px;min-height:44px;flex-basis:44px}
@media(max-width:600px){.qhz-brand-video-section{padding:0 0 24px}.qhz-brand-video-cover{border-radius:10px}.qhz-brand-video-cover-overlay{padding:14px;gap:10px}.qhz-brand-video-cover .qhz-brand-video-play{top:42%;width:50px;height:50px;font-size:19px}.qhz-brand-video-watch{font-size:13px}.qhz-brand-video-dialog h2{font-size:16px}.qhz-brand-video-dialog>header{padding:9px 12px}.qhz-brand-video-close{width:44px;height:44px;flex-basis:44px}.qhz-brand-video-status{padding:10px 12px;align-items:flex-start;flex-wrap:wrap}.qhz-brand-video-retry{min-height:44px}}
