.ubnt-cg-video-hero{
  position:relative;
  width:100%;
  background:#0a1628;
}
.ubnt-cg-video-hero-media{
  position:relative;
  width:100%;
  min-height:clamp(360px,52vw,620px);
  max-height:min(82vh,720px);
  overflow:hidden;
}
.ubnt-cg-video-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .5s ease;
  pointer-events:none;
}
.ubnt-cg-video-slide.is-active{
  opacity:1;
  pointer-events:auto;
  z-index:1;
}
.ubnt-cg-video-player{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
  background:#0a1628;
}
.ubnt-cg-video-poster{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
  background:#0a1628;
}
.ubnt-cg-video-hero-shade{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(8,15,28,.82) 0%, rgba(8,15,28,.42) 42%, rgba(8,15,28,.28) 58%, rgba(8,15,28,.88) 100%),
    linear-gradient(90deg, rgba(5,89,201,.12), transparent 45%, transparent 55%, rgba(5,89,201,.08));
}
.ubnt-cg-video-hero-copy{
  position:absolute;
  inset:0;
  z-index:4;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding-top:clamp(1.35rem,3.5vw,2.35rem);
  padding-bottom:clamp(7rem,18vw,10rem);
  pointer-events:none;
}
.ubnt-cg-video-hero-copy-panel{
  display:inline-block;
  width:fit-content;
  max-width:min(820px,100%);
  padding:clamp(1rem,2.2vw,1.35rem) clamp(1.1rem,2.4vw,1.5rem);
  border-radius:16px;
  background:rgba(8,15,28,.68);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 16px 40px rgba(0,0,0,.28);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  pointer-events:auto;
}
.ubnt-cg-video-hero-copy a{
  pointer-events:auto;
}
.ubnt-cg-video-hero-title{
  margin:.35rem 0 .55rem;
  max-width:none;
  font-size:clamp(2rem,4.8vw,3.15rem);
  line-height:1.08;
  letter-spacing:-.02em;
  font-weight:800;
  color:#fff;
  text-shadow:0 2px 24px rgba(0,0,0,.35);
}
.ubnt-cg-video-hero-lead{
  max-width:none;
  margin:0;
  font-size:clamp(.9375rem,1.6vw,1.05rem);
  line-height:1.65;
  color:rgba(255,255,255,.9);
  text-shadow:0 1px 16px rgba(0,0,0,.45);
}
.ubnt-cg-video-hero-foot{
  position:absolute;
  inset:auto 0 0;
  z-index:5;
  padding:0 0 clamp(.85rem,2vw,1.15rem);
  pointer-events:none;
}
.ubnt-cg-video-hero-foot-inner{
  pointer-events:auto;
}
.ubnt-cg-video-tabs{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:.55rem;
}
.ubnt-cg-video-tab{
  display:flex;
  align-items:flex-start;
  gap:.55rem;
  width:100%;
  padding:.72rem .85rem;
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  background:rgba(8,15,28,.55);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  color:#e2e8f0;
  text-align:left;
  cursor:pointer;
  transition:border-color .2s, background .2s, box-shadow .2s;
}
.ubnt-cg-video-tab:hover{
  border-color:rgba(255,255,255,.28);
  background:rgba(8,15,28,.72);
}
.ubnt-cg-video-tab.is-active{
  border-color:color-mix(in srgb, var(--primary) 70%, #fff);
  background:color-mix(in srgb, var(--primary) 22%, rgba(8,15,28,.72));
  box-shadow:0 8px 24px rgba(5,89,201,.22);
}
.ubnt-cg-video-tab-index{
  flex:0 0 auto;
  font-size:.6875rem;
  font-weight:700;
  letter-spacing:.05em;
  color:#93c5fd;
  padding-top:.12rem;
}
.ubnt-cg-video-tab-label{
  font-size:.75rem;
  line-height:1.4;
  font-weight:600;
}
.ubnt-cg-video-caption{
  margin:.65rem 0 0;
  text-align:center;
  font-size:.8125rem;
  font-weight:600;
  color:rgba(255,255,255,.82);
  text-shadow:0 1px 8px rgba(0,0,0,.4);
}
@media (max-width:960px){
  .ubnt-cg-video-tabs{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .ubnt-cg-video-hero-media{min-height:clamp(340px,68vw,520px)}
  .ubnt-cg-video-hero-lead{max-width:100%}
}
@media (max-width:560px){
  .ubnt-cg-video-tabs{grid-template-columns:1fr}
  .ubnt-cg-video-tab-label{font-size:.78rem}
  .ubnt-cg-video-hero-copy{padding-bottom:clamp(9rem,34vw,12rem)}
}
