/* "See current opportunities": thin vertical stripes (v10 #final split model) restyled for the film, and the study sequences.
   Approved palette only: #1D002B #3E0066 #918CFF #D7D8FF #66D9BA #CCF2F0 #FAF065 #F7F7F6. Light washes, aubergine text. */
dialog.panel.opps{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;border-radius:0;background:var(--sky);box-shadow:none;color:var(--deep);overflow:hidden}
.panel.opps::backdrop{background:var(--sky)}

/* header floats over the stripes on a soft off-white to clear wash */
.opps .oh{position:absolute;z-index:3;inset:0 0 auto 0;display:flex;align-items:center;gap:20px;padding:16px var(--in) 36px;pointer-events:none;
  background:linear-gradient(180deg,#F7F7F6f2 0%,#F7F7F6c7 45%,#F7F7F600 100%)}
.opps .oh .home{display:block;line-height:0;margin-right:auto;pointer-events:auto}
.opps .oh img{height:var(--logo-h,50px);width:auto;display:block}
.opps .oh h2{margin:0;font-size:16px;font-weight:700;letter-spacing:.01em;color:var(--dark)}
.opps .oh .x{pointer-events:auto;background:var(--off)}
.opps .oh .x:hover{background:var(--dark);color:var(--off)}

/* the split: full-height stripes side by side, hairline dividers, no gaps */
.opps .split{position:absolute;inset:0;display:flex;background:var(--sky)}
.opps .col{--base:1;--p:0;position:relative;flex:calc(var(--base) + var(--p) * 2.4) 1 0;min-width:0;overflow:hidden;color:var(--deep);text-decoration:none;
  border-left:1px solid #F7F7F6d9;transition:flex-grow .7s cubic-bezier(.22,.7,.2,1);-webkit-tap-highlight-color:transparent}
.opps .col:first-child{border-left:0}
.opps .col.join{--base:1.4}
.opps .split.engaged .col:not(.on){--base:.8}
.opps .split.engaged .col.join:not(.on){--base:1.05}
.opps .col.on{--base:2.5}
.opps .col.join.on{--base:2.7}
.opps .col:focus{outline:none}
.opps .col:focus-visible{outline:2px solid var(--dark);outline-offset:-6px}

/* the moving picture: stills crossfade, the whole picture drifts slowly */
.opps .pics{position:absolute;inset:-2%;animation:drift 26s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -4.3s)}
@keyframes drift{from{transform:scale(1.04) translate3d(-1.4%,.6%,0)}to{transform:scale(1.1) translate3d(1.4%,-.8%,0)}}
.opps .pic{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 2.2s ease-in-out,transform 1.2s cubic-bezier(.22,.7,.2,1);transform:scale(calc(1 + var(--p) * .08))}
.opps .pic.a{opacity:1}
.opps .col:hover .pic,.opps .col.on .pic{transform:scale(calc(1.03 + var(--p) * .08))}
/* light aqua wash over the imagery, as in the film; lighter on the stripe in focus */
.opps .aq{position:absolute;inset:0;background:var(--sky);mix-blend-mode:screen;opacity:.42;transition:opacity .7s}
.opps .col.join .aq{opacity:.18}
.opps .col.on .aq{opacity:.16}
.opps .col.join.on .aq{opacity:.08}
/* off-white to clear wash at the bottom, under the titles */
.opps .wash{position:absolute;left:0;right:0;bottom:0;height:46%;background:linear-gradient(0deg,#F7F7F6 0%,#F7F7F6f0 24%,#CCF2F0b0 54%,#CCF2F000 100%);transition:height .7s cubic-bezier(.22,.7,.2,1)}
.opps .col.on .wash,.opps .col.join .wash{height:54%}

/* titles */
.opps .tx{position:absolute;z-index:1;left:clamp(16px,1.6vw,28px);right:clamp(14px,1.3vw,24px);bottom:clamp(30px,6vh,64px);display:block}
.opps .tag{display:inline-block;font-style:normal;font-size:13px;font-weight:700;letter-spacing:.02em;line-height:1;margin-bottom:14px;padding:6px 11px;border-radius:999px;background:var(--aqua);color:var(--deep)}
.opps .pv{display:block;font-size:clamp(22px,2vw,34px);font-weight:700;line-height:1.08;letter-spacing:-.005em;margin-bottom:16px;text-wrap:balance;max-width:14ch;
  opacity:0;max-height:0;transform:translateY(12px);transition:opacity .5s .15s,transform .6s .15s cubic-bezier(.22,.7,.2,1),max-height .6s}
.opps .pv .hl{white-space:normal}
.opps .col.on .pv,.opps .split:not(.engaged) .col.join .pv{opacity:1;max-height:7em;transform:none}
.opps .tx b{display:block;font-size:clamp(18px,1.4vw,24px);font-weight:700;line-height:1.12;text-wrap:balance}
.opps .col.join .tx b{font-size:clamp(20px,1.6vw,27px)}
.opps .sub{display:block;margin-top:6px;font-size:15px;line-height:1.35;font-weight:500;color:var(--dark);max-width:30ch;text-wrap:pretty}
.opps .sp{display:none}
/* progress of a scroll into a stripe */
.opps .prog{position:absolute;z-index:1;left:0;right:0;bottom:0;height:3px;background:var(--dark);transform:scaleX(0);transform-origin:0 50%;transition:transform .25s}

/* entering: the stripe takes the whole stage */
.opps .split.opening .col{transition:flex-grow .6s cubic-bezier(.65,0,.35,1)}
.opps .split.opening .col:not(.open){flex-grow:0}
.opps .split.opening .col .tx{opacity:0;transition:opacity .25s}

/* sequence */
.opps .seq{position:absolute;inset:0;display:none;background:var(--deep);color:var(--off);z-index:4}
.opps.playing .seq{display:block;animation:seqIn .45s ease-out both}
@keyframes seqIn{from{opacity:0}to{opacity:1}}
.opps.playing .oh{visibility:hidden}
.opps.playing .split{visibility:hidden;transition:visibility 0s .5s}   /* the entered stripe stays under the sequence while it fades in */
.opps .seq canvas{position:absolute;inset:0;width:100%;height:100%}
.opps .sb{position:absolute;inset:0 0 auto 0;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px var(--in);z-index:2}
.opps .sb button{font:600 15px/1 Barlow,Helvetica,Arial,sans-serif;color:var(--dark);background:var(--off);border:1.5px solid var(--dark);border-radius:999px;padding:9px 16px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.opps .sb .bk::before{content:"";width:7px;height:7px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.opps .card{position:absolute;left:var(--in);bottom:9vh;width:min(520px,calc(100vw - 2 * var(--in)));background:var(--off);color:var(--deep);border-radius:18px;padding:24px 26px 20px;z-index:2;box-shadow:0 18px 50px #1D002B40;
  opacity:0;transform:translateY(12px);transition:opacity .5s,transform .5s}
.opps .card.r{left:auto;right:var(--in)}
.opps .card.in{opacity:1;transform:none}
.opps .card .st{margin-bottom:12px;display:inline-block;font-size:13px;font-weight:600;line-height:1.25;padding:5px 10px;border-radius:12px;background:var(--lilac);color:var(--deep)}
.opps .card .st.live{background:var(--aqua)}
.opps .card .facts{margin:12px 0 0;font-size:14px;line-height:1.35}
.opps .card .facts dt{font-weight:600;margin-bottom:4px}
.opps .card .facts dd{margin:0 0 2px}
.opps .card h2{margin:0 0 10px;font-size:clamp(26px,2.6vw,40px);line-height:1.08;font-weight:700;text-wrap:balance}
.opps .card p{margin:0 0 10px;font-size:17px;line-height:1.45}
.opps .cf{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.opps .cn{font-size:14px;font-weight:600;opacity:.75}
.opps .nx{font:600 16px/1 Barlow,Helvetica,Arial,sans-serif;background:var(--dark);color:var(--off);border:0;border-radius:999px;padding:12px 20px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.opps .nx:focus-visible,.opps .sb button:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}

@media (max-width:1300px){
  .opps .sub{font-size:14px}
  .opps .tag{font-size:12px;margin-bottom:10px}
}
/* phones and narrow windows: the same thin stripes; titles stand as spines until a stripe is tapped open */
@media (max-width:700px){
  .opps .oh{padding:10px var(--in) 30px;gap:10px}
  .opps .oh h2{display:none}
  .opps .col.on{--base:8}
  .opps .col.join.on{--base:8}
  .opps .split.engaged .col:not(.on),.opps .split.engaged .col.join:not(.on){--base:1}
  .opps .col.join{--base:1.3}
  .opps .wash{height:50%}
  .opps .col.on .wash{height:60%}
  .opps .col.join .wash{height:50%}
  .opps .col.join.on .wash{height:60%}
  .opps .sp{display:block;position:absolute;z-index:1;left:50%;bottom:18px;writing-mode:vertical-rl;transform:translateX(-50%) rotate(180deg);
    font-size:15px;font-weight:700;line-height:1;white-space:nowrap;color:var(--deep);transition:opacity .3s}
  .opps .col.on .sp{opacity:0}
  .opps .tx{left:16px;right:auto;width:calc(min(100vw, 470px) * .6 - 34px);bottom:calc(22px + env(safe-area-inset-bottom));opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .35s,transform .45s}
  .opps .col.on .tx{opacity:1;transform:none;transition-delay:.25s}
  .opps .col .pv,.opps .col.join .pv{opacity:1;max-height:6em;transform:none;font-size:23px;margin-bottom:12px}
  .opps .tx b,.opps .col.join .tx b{font-size:20px}
  .opps .sub{font-size:14px}
  .opps .sb{padding:12px var(--in)}
  .opps .sb button{font-size:14px;padding:8px 12px}
  .opps .card,.opps .card.r{left:var(--in);right:var(--in);width:auto;bottom:calc(16px + env(safe-area-inset-bottom));padding:18px 18px 14px}
  .opps .card h2{font-size:25px}
  .opps .card p{font-size:16px}
}
@media (prefers-reduced-motion:reduce){
  .opps .pics{animation:none}
  .opps .col,.opps .pic,.opps .aq,.opps .wash,.opps .pv,.opps .tx,.opps .sp,.opps .prog,.opps .card,.opps .split.opening .col{transition:none}
  .opps.playing .seq{animation:none}
  .opps .pic{transform:none}.opps .col:hover .pic,.opps .col.on .pic{transform:none}
}
.opps .nw{white-space:nowrap}
/* Longer languages (t_1722e630): long single-word stripe titles (Herzerkrankungen, Hartaandoeningen) hyphenate in the page language instead of being clipped by the narrow stripe; break anywhere only as a last resort. English is not affected. */
html:not([lang=en]) .opps .tx b{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
/* Polish, Spanish, Portuguese (t_dd83f3cc): hyphenate only long words, so short ones (Stożek, zakażenie, Participant) move whole to the next line instead of splitting as Sto-żek. nl/de/fr keep the rule above unchanged. */
html:is([lang=pl],[lang=es],[lang|=pt]) .opps .tx b{hyphenate-limit-chars:12 4 4}

.opps .card h2 .hl{white-space:normal;-webkit-box-decoration-break:clone;box-decoration-break:clone}
/* a study's own registration: the panel opens over the study's last screen (reg.js openRegistration, over); the closing
   card moves to the left so both stay readable, and steps aside where the two would overlap */
.opps.reg-on .card,.opps.reg-on .card.r{left:var(--in);right:auto}
.opps.reg-on .sb{visibility:hidden}
.opps.reg-on.reg-hide .card{opacity:0!important}
