Section wrapper per v7 design anatomy: section.bg-* > .container > components.
Appearance tab values (frame class, space before/after) land on the section element.
{data.sflg_background}{f:if(condition: '{data.frame_class} != \'default\' && {data.frame_class} != \'none\'', then: ' frame-{data.frame_class}')}{f:if(condition: data.space_before_class, then: ' frame-space-before-{data.space_before_class}')}{f:if(condition: data.space_after_class, then: ' frame-space-after-{data.space_after_class}')}