hergin
4
I got it to work from this page: A fancy frame with wavy borders
A group with no background (color is set in the CSS below):

I didn’t check the details too much but your group should be 300px to work. I am sure playing with numbers would help a bit.
And here is the editor: Tests for Forum 14 | Bubble Editor
With this HTML:
<style>
#wavy {
--s: 50px; /* control the size of the wave */
--w: 250px; /* preferred image width */
--c:#CD8C52;
width: round(var(--w),2*var(--s));
aspect-ratio: 1;
object-fit: cover;
padding: var(--s);
border-radius: calc(1.5*var(--s));
--R:calc(var(--s)/sqrt(2)) at;
--g:radial-gradient(var(--R) 50%,var(--c) calc(100% - 1px),#0000)
0 0/calc(2*var(--s)) calc(2*var(--s));
--_c:#0000 100%,var(--c) calc(100% + 1px);
--_b:calc(2*var(--s)) calc(51% - var(--s)/2) repeat-x;
background: var(--g),
radial-gradient(var(--R) 50% calc(100% + var(--s)/2),var(--_c))
var(--s) calc(100% - var(--s)/2)/var(--_b),
radial-gradient(var(--R) 50% calc( var(--s)/-2),var(--_c))
var(--s) calc( var(--s)/2)/var(--_b);
--_m:var(--s)/calc(51% - var(--s)/2) calc(2*var(--s)) repeat-y;
mask: var(--g),
radial-gradient(var(--R) calc(100% + var(--s)/2) 50%,var(--_c))
calc(100% - var(--s)/2) var(--_m),
radial-gradient(var(--R) calc( var(--s)/-2) 50%,var(--_c))
calc( var(--s)/2) var(--_m);
}
</style>