.cp-video {
    --cp-height:700px; --cp-mobile-height:440px; --cp-overlay:.5; --cp-accent:#5d0066; --cp-interval:9s;
    position:relative; width:100%; color:#fff; background:#24192a; isolation:isolate;
    --cp-font:"Open Sans",Arial,sans-serif; --cp-title-size:55px; --cp-body-size:29px;
    font-family:var(--cp-font); overflow:hidden;
}
.cp-video *, .cp-video *:before, .cp-video *:after { box-sizing:border-box; }
.cp-video__panels { position:relative; }
.cp-video__panel { position:relative; min-height:var(--cp-height); overflow:hidden; background:#24192a; }
.cp-video__panel[hidden] { display:none!important; }
.cp-video__poster, .cp-video__film, .cp-video__shade { position:absolute; inset:0; width:100%; height:100%; }
.cp-video__poster, .cp-video__film { display:block; object-fit:cover; object-position:center; }
.cp-video__film { opacity:0; transition:opacity .25s ease; }
.cp-video__panel.has-playing-video .cp-video__film { opacity:1; }
.cp-video__shade { background:rgba(0,0,0,var(--cp-overlay)); pointer-events:none; }
.cp-video__content { position:relative; z-index:1; max-width:1240px; margin:auto; padding:115px 100px 150px; }
.cp-video .cp-video__title {
    color:#fff; font-family:inherit; font-size:clamp(30px,4.45vw,var(--cp-title-size)); font-weight:700;
    line-height:1.25; letter-spacing:normal; margin:0 0 32px; max-width:1000px; text-shadow:0 1px 2px #0005;
}
.cp-video .cp-video__body { color:#fff; font-family:inherit; font-size:clamp(18px,2.34vw,var(--cp-body-size)); font-weight:400; line-height:1.28; margin:0 0 55px; max-width:440px; }
.cp-video a.cp-video__cta {
    display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:12px 35px;
    border:2px solid transparent; border-radius:30px; background:var(--cp-accent); color:#fff;
    text-decoration:none; font:700 17px/1.3 var(--cp-font); letter-spacing:1px; transition:background .18s,color .18s;
}
.cp-video a.cp-video__cta:hover { background:#fff; color:#111; }
.cp-video__navigation { display:none; }
.cp-video.is-enhanced .cp-video__navigation { position:absolute; z-index:2; bottom:22px; left:0; right:0; max-width:1240px; margin:auto; padding:0 30px; display:flex; align-items:flex-end; gap:20px; }
.cp-video__tabs { display:flex; flex:1; gap:22px; min-width:0; }
.cp-video .cp-video__tab {
    position:relative; flex:1 1 0; min-width:0; min-height:64px; border:0; border-top:3px solid #ffffff66;
    border-radius:0; margin:0; padding:12px 0 8px; background:transparent; color:#fff; text-align:left; cursor:pointer;
    font:600 15px/1.4 var(--cp-font);
}
.cp-video .cp-video__tab[aria-selected=true] { border-top-color:#fff; }
.cp-video__progress { position:absolute; top:-3px; left:0; height:3px; width:0; background:#fff; }
.cp-video.is-rotating .cp-video__tab[aria-selected=true] { border-top-color:#ffffff66; }
.cp-video.is-rotating .cp-video__tab[aria-selected=true] .cp-video__progress { animation:cp-video-progress var(--cp-interval) linear forwards; }
.cp-video .cp-video__motion {
    position:absolute; z-index:3; right:14px; bottom:14px; display:grid; place-items:center;
    width:44px; height:44px; min-width:44px; padding:0; margin:0; border:1px solid #ffffff80;
    border-radius:50%; background:#0005; color:#fff; cursor:pointer;
}
.cp-video .cp-video__motion[hidden] { display:none!important; }
.cp-video__motion-icon { display:block; width:14px; height:16px; border-left:5px solid currentColor; border-right:5px solid currentColor; }
.cp-video__motion[data-motion=play] .cp-video__motion-icon { width:0; height:0; margin-left:3px; border:8px solid transparent; border-right:0; border-left:12px solid currentColor; }
.cp-video .cp-video__motion:hover { background:#000b; }
.cp-video :is(button,a,[role=tabpanel]):focus-visible { outline:3px solid #fff; outline-offset:4px; box-shadow:0 0 0 6px #191919; }
@keyframes cp-video-progress { from { width:0; } to { width:100%; } }
@media(max-width:1023px) {
    .cp-video__panel { min-height:min(var(--cp-height),680px); }
    .cp-video__content { padding:85px 8% 170px; }
    .cp-video .cp-video__body { margin-bottom:35px; }
    .cp-video.is-enhanced .cp-video__navigation { padding:0 8%; flex-wrap:wrap; gap:6px; }
    .cp-video__tabs { flex-basis:100%; gap:18px; }
}
/* Reserve only the corner hit area on narrower screens; all four tabs remain equal. */
@media(min-width:601px) and (max-width:1300px) { .cp-video.is-enhanced .cp-video__navigation { padding-right:76px; } }
@media(max-width:600px) {
    .cp-video__panel { min-height:var(--cp-mobile-height); }
    .cp-video__content { padding:44px 24px 45px; text-align:center; }
    .cp-video .cp-video__title { font-size:30px; line-height:1.2; margin-bottom:22px; }
    .cp-video .cp-video__body { font-size:18px; line-height:1.4; max-width:420px; margin:0 auto 26px; }
    .cp-video a.cp-video__cta { font-size:14px; letter-spacing:0; padding:10px 22px; }
    .cp-video.is-enhanced .cp-video__navigation { position:relative; bottom:auto; padding:16px 20px 20px; background:#201826; gap:10px; }
    .cp-video__tabs { display:grid; grid-template-columns:1fr 1fr; gap:10px 16px; }
    .cp-video .cp-video__tab { font-size:13px; min-height:56px; padding-top:9px; }
}
@media(prefers-reduced-motion:reduce) { .cp-video *, .cp-video *:before, .cp-video *:after { animation:none!important; transition:none!important; } }
