/* Horyaal Hub welcome video; uses the site's Eduvalt blue palette. */
.hh-wv-trigger,
.hh-wv-trigger * { box-sizing: border-box; }
.hh-wv-trigger {
  position: fixed;
  z-index: 99998;
  top: 52%;
  right: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  color: #fff;
  background: #164ea2;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(8,42,94,.25);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.hh-wv-trigger:hover,
.hh-wv-trigger:focus-visible {
  background: #082A5E;
  box-shadow: 0 10px 28px rgba(8,42,94,.36);
}
.hh-wv-trigger:hover { transform: translateY(-50%) scale(1.05); }
.hh-wv-trigger:focus-visible,
.hh-wv-close:focus-visible { outline: 3px solid #c59a2b; outline-offset: 4px; }
.hh-wv-trigger svg { width: 25px; height: 25px; margin-left: 3px; }
.hh-wv-mobile-label { display: none; }
.hh-wv-trigger::after {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  width: max-content;
  max-width: min(260px, calc(100vw - 110px));
  padding: 10px 13px;
  color: #fff;
  background: #082A5E;
  border-radius: 7px;
  box-shadow: 0 5px 18px rgba(8,42,94,.22);
  content: attr(data-tooltip);
  font: 500 14px/1.35 Hind, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translate(5px, -50%);
  transition: opacity .16s ease, transform .16s ease;
  visibility: hidden;
}
.hh-wv-trigger:hover::after,
.hh-wv-trigger:focus-visible::after { opacity: 1; transform: translate(0, -50%); visibility: visible; }

.hh-wv-dialog {
  width: min(760px, calc(100vw - 32px));
  max-width: 760px;
  max-height: calc(100dvh - 32px);
  padding: 0;
  color: #082A5E;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(4,20,46,.34);
  overflow: auto;
}
.hh-wv-dialog::backdrop { background: rgba(5,20,42,.72); backdrop-filter: blur(3px); }
.hh-wv-card { position: relative; padding: 30px; }
.hh-wv-close {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 9px;
  place-items: center;
  color: #082A5E;
  background: #f1f5fa;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.hh-wv-close:hover { background: #e1eaf6; }
.hh-wv-close svg { width: 20px; height: 20px; }
.hh-wv-copy { padding: 0 44px 20px 0; }
.hh-wv-eyebrow { margin: 0 0 7px; color: #164ea2; font: 600 12px/1.4 Hind, sans-serif; letter-spacing: .12em; }
.hh-wv-copy h2 { margin: 0 0 7px; color: #082A5E; font: 600 clamp(21px, 3.2vw, 28px)/1.25 Hind, sans-serif; }
.hh-wv-copy p:last-child { margin: 0; color: #39557e; font: 400 15px/1.55 Hind, sans-serif; }
.hh-wv-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #09182b; border-radius: 10px; }
.hh-wv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 600px) {
  .hh-wv-trigger { top: auto; right: 14px; bottom: 112px; width: auto; height: 48px; padding: 0 14px 0 12px; gap: 6px; border-radius: 26px; transform: none; }
  .hh-wv-trigger:hover { transform: scale(1.03); }
  .hh-wv-trigger svg { width: 20px; height: 20px; margin-left: 0; }
  .hh-wv-mobile-label { display: inline; font: 600 13px/1 Hind, sans-serif; }
  .hh-wv-trigger::after { display: none; }
  .hh-wv-card { padding: 24px 16px 16px; }
  .hh-wv-close { top: 10px; right: 10px; width: 36px; height: 36px; }
  .hh-wv-copy { padding: 0 34px 16px 0; }
  .hh-wv-copy p:last-child { font-size: 14px; }
  .hh-wv-dialog { width: calc(100vw - 24px); border-radius: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .hh-wv-trigger, .hh-wv-trigger::after { transition: none; }
}
