
.rg-webapp-preview .rg-webapp-course :is(.lab-demo,.rg-webapp-final) {
  position:relative;
  --mascot-width:clamp(112px,17vw,188px);
  --mascot-height:var(--mascot-width);
  padding-inline-end:calc(var(--mascot-width) + 2rem);
  min-block-size:calc(var(--mascot-height) + 1.5rem);
}
.rg-webapp-preview .rg-webapp-course .rg-webapp-final {
  --mascot-width:clamp(76px,11vw,124px);
  --mascot-height:calc(var(--mascot-width) * 1.6);
}
.rg-webapp-preview :is(.lab-demo,.rg-webapp-final)::after {
  content:"";
  position:absolute;
  inset-inline-end:.65rem;
  inset-block-end:.65rem;
  inline-size:var(--mascot-width);
  block-size:var(--mascot-height);
  pointer-events:none;
  background:center bottom / contain no-repeat var(--mascot-image);
}
.rg-webapp-preview .lab-demo {--mascot-image:url("rai-booking.webp")}
.rg-webapp-preview .rg-webapp-final {--mascot-image:url("rose-consult.webp")}
@media (max-width:540px) {
  .rg-webapp-preview .rg-webapp-course :is(.lab-demo,.rg-webapp-final) {
    padding-inline-end:calc(var(--mascot-width) + .75rem);
  }
  .rg-webapp-preview .rg-webapp-course .lab-demo {--mascot-width:clamp(76px,26vw,112px)}
  .rg-webapp-preview :is(.lab-demo,.rg-webapp-final)::after {inset-inline-end:.35rem}
}
