.rg-robotics-events #gallery .section-head,
.rg-robotics-events #consult .actions {
    position: relative;
    padding-inline-end: calc(var(--mascot-width) + 12px);
    min-block-size: var(--mascot-height);
}

.rg-robotics-events #gallery .section-head {
    --mascot-width: clamp(78px, 13vw, 142px);
    --mascot-height: calc(var(--mascot-width) * 1.22);
    --mascot-art: url("rai-gallery-surveillance.png");
    max-inline-size: 880px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rg-robotics-events #consult .actions {
    --mascot-width: clamp(61px, 9vw, 92px);
    --mascot-height: calc(var(--mascot-width) * 1.55);
    --mascot-art: url("rose-consult.png");
    align-content: center;
    margin-top: 8px;
}

.rg-robotics-events #gallery .section-head::after,
.rg-robotics-events #consult .actions::after {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    inset-block-end: 0;
    inline-size: var(--mascot-width);
    block-size: var(--mascot-height);
    background: var(--mascot-art) center bottom / contain no-repeat;
    pointer-events: none;
}
