<?php 
    class Edumodo_Customizer_Typography_Page{
        private $panel_key;
        private $priority;
        private $text_domain = 'edumodo';
        public function __construct($panel_key, $priority){
            $this->panel_key = $panel_key;
            $this->priority = $priority;
            $this->typo_page_kirki_config();
        }
        public function typo_page_kirki_config(){
            
            #	start of blog region 
                Kirki::add_section( 'tutorque_typo_page', array(
                    'title'          => esc_html__( 'Page', $this->text_domain ),
                    'panel'          => $this->panel_key,
                    'priority'       => $this->priority,
                ) );
                    Kirki::add_field( 'page_header_title', [
                        'type'        => 'typography',
                        'settings'    => 'page_header_title',
                        'label'       => esc_html__( 'Page Header', 'tutorque' ),
                        'section'     => 'tutorque_typo_page',
                        'priority'    => 10,
                        'transport'   => 'auto',
                        'default'     => [
                            'font-family'    => 'Poppins',
                            'color'			 => '#fff',
                            'text-transform' => 'none',
                            'font-size'		 => '56px',
                            'line-height'	 => '1.1',
                            'letter-spacing' => '0',
                            'variant'        => 'regular',
                        ],
                        'output'      => [
                            [
                                'element' => '.page-details h2.page-title',
                            ],
                        ],
                    ] );
                    Kirki::add_field( 'page_header_breadcrumb', [
                        'type'        => 'typography',
                        'settings'    => 'page_header_breadcrumb',
                        'label'       => esc_html__( 'Breadcrumb', 'tutorque' ),
                        'section'     => 'tutorque_typo_page',
                        'priority'    => 10,
                        'transport'   => 'auto',
                        'default'     => [
                            'font-family'    => 'Poppins',
                            'color'			 => '#fff',
                            'text-transform' => 'none',
                            'font-size'		 => '24px',
                            'line-height'	 => '1.1',
                            'letter-spacing' => '0',
                            'variant'        => 'regular',
                        ],
                        'output'      => [
                            [
                                'element' => '.page-details div.breadcrumbs, .page-details div.breadcrumbs a ',
                            ],
                        ],
                    ] );
            #	end of blog region 


        }
    }
?>