.rg-school-services #services .section-head,
.rg-school-services #projects .section-head,
.rg-school-services #consult .actions {
  position: relative;
  padding-inline-end: calc(var(--mascot-size) + 12px);
  min-block-size: var(--mascot-size);
}

.rg-school-services #services .section-head {
  --mascot-image: url("raise.webp");
  --mascot-size: clamp(76px, 11vw, 132px);
}

.rg-school-services #projects .section-head {
  --mascot-image: url("rai-surveillance-car.webp");
  --mascot-size: clamp(72px, 10vw, 120px);
}

.rg-school-services #consult .actions {
  --mascot-image: url("rose.webp");
  --mascot-size: clamp(72px, 10vw, 116px);
  justify-content: flex-start;
  align-items: center;
}

.rg-school-services #services .section-head::after,
.rg-school-services #projects .section-head::after,
.rg-school-services #consult .actions::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: 50%;
  transform: translateY(-50%);
  inline-size: var(--mascot-size);
  block-size: var(--mascot-size);
  background: var(--mascot-image) center / contain no-repeat;
  pointer-events: none;
}
