'py-12', 'normal' => 'py-20', 'spacious' => 'py-32' ]; $spacing = slbuild_get_field( 'spacing', 'attr' ) ?: 'normal'; $style = slbuild_get_field( 'style', 'attr' ) ?: 'numbered'; $layout = slbuild_get_field( 'layout', 'attr' ) ?: 'horizontal'; $connector = (bool) slbuild_get_field( 'connector', 'attr' ); $cs = slbuild_get_color_scheme( slbuild_get_field( 'color_scheme', 'attr' ) ?: 'white' ); $pad = $spacing_map[ $spacing ] ?? 'py-20'; $blocks = slbuild_get_blocks(); $eyebrow = slbuild_get_field( 'eyebrow' ); $headline = slbuild_get_field( 'headline' ); $subtext = slbuild_get_field( 'subtext' ); $tag = slbuild_meta( 'heading_level' ) ?: 'h2'; $is_horizontal = ( 'horizontal' === $layout ); $grid_cls = $is_horizontal ? 'grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-' . count( $blocks ) . ' gap-8 relative' : 'flex flex-col gap-8 max-w-2xl mx-auto'; // Clamp column count for safety $col_count = count( $blocks ); if ( $col_count > 6 ) { $col_count = 6; } $grid_cls = $is_horizontal ? 'grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-' . $col_count . ' gap-8' : 'flex flex-col gap-8 max-w-2xl mx-auto'; ?>

< class="text-3xl md:text-4xl font-semibold tracking-tight mb-4">>

set_current_block( $block ); $emoji = slbuild_get_block_field( 'emoji' ); $title = slbuild_get_block_field( 'title' ); $desc = slbuild_get_block_field( 'description' ); $step_num = $i + 1; $is_last = ( $step_num === $total ); $i++; ?>

clear_current_block(); ?>