'py-12', 'normal' => 'py-20', 'spacious' => 'py-32' ]; $columns_map = [ '2' => 'grid-cols-1 sm:grid-cols-2', '3' => 'grid-cols-1 sm:grid-cols-3', '4' => 'grid-cols-2 md:grid-cols-4' ]; $spacing = slbuild_get_field( 'spacing', 'attr' ) ?: 'normal'; $style = slbuild_get_field( 'style', 'attr' ) ?: 'plain'; $columns = slbuild_get_field( 'columns', 'attr' ) ?: '4'; $align = slbuild_get_field( 'align', 'attr' ) ?: 'center'; $dividers = (bool) slbuild_get_field( 'dividers', 'attr' ); $cs = slbuild_get_color_scheme( slbuild_get_field( 'color_scheme', 'attr' ) ?: 'light' ); $pad = $spacing_map[ $spacing ] ?? 'py-20'; $col_cls = $columns_map[ $columns ] ?? 'grid-cols-2 md:grid-cols-4'; $blocks = slbuild_get_blocks(); $eyebrow = slbuild_get_field( 'eyebrow' ); $headline = slbuild_get_field( 'headline' ); $tag = slbuild_meta( 'heading_level' ) ?: 'h2'; $text_align = ( 'left' === $align ) ? 'text-left' : 'text-center'; $divider_cls = ( $dividers && 'plain' === $style ) ? 'divide-x ' . $cs['border'] : ''; ?>

< class="text-3xl font-semibold tracking-tight ">>
set_current_block( $block ); $number = slbuild_get_block_field( 'number' ); $label = slbuild_get_block_field( 'label' ); $desc = slbuild_get_block_field( 'description' ); if ( 'card' === $style ) { $wrap_cls = esc_attr( $cs['card'] ) . ' rounded-2xl p-8'; } else { $wrap_cls = 'px-4'; } $number_cls = ( 'accent' === $style ) ? 'text-4xl md:text-5xl font-bold tracking-tight ' . esc_attr( $cs['eyebrow'] ) : 'text-4xl md:text-5xl font-bold tracking-tight ' . esc_attr( $cs['text'] ); ?>

clear_current_block(); ?>