<?php

register_block_pattern_category(
    'advanced-accordion-block-category',
    ['label' => __('Advance Accordion Block', 'advanced-accordion-block')]
);


register_block_pattern(
    'advanced-accordion-block/pattern-minimal-border',
    [
        'title'       => __('Minimal Border Style', 'advanced-accordion-block'),
        'description' => __('A description of Pattern Four.', 'advanced-accordion-block'),
        'content'     => '<!-- wp:aab/group-accordion {"anchorLinksShow":false,"QaStyle":false,"uniqueId":"fd7bbf55_0","activeAccordionBorder":{"color":"#f1f8f6","width":"1px"},"faqSchema":false,"border":{"color":"#036f4b","style":"solid","width":"1px"},"paddings":{"top":"25px","left":"45px","right":"45px","bottom":"25px"},"margins":{"top":"0px","bottom":"22px"},"borderRadius":8,"headingColor":"#00483d","headerBg":"","iconColor":"#00483d","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","customCSS":".wp-block-aab-accordion-item.aagb__accordion_active .aagb__accordion_head{\npadding-bottom:10px;\n}\n.aagb__accordion_body{\n  padding-top:0px !important;\n}","headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"style":"none","width":"0px"}},"activeBackground":"#f1f8f6","defaultStyles":{"activeAccordionBorder":{"width":"1px","color":"#ebebeb","style":"solid"},"border":{"width":"1px","color":"#e3dfdf38","style":"solid"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"color":"#e3dfdf38","style":"solid","width":"1px"}},"paddings":{"top":"","right":"","left":"","bottom":""},"margins":{"top":"0px","right":"","left":"","bottom":"15px"},"borderRadius":null,"subheadingColor":null,"headingTag":"h5","headingColor":null,"headerBg":"#e3dfdf38","showHeadingIcon":false,"showIcon":true,"iconColor":null,"iconBackground":null,"bodyBg":null,"anchorLinkShow":false,"QaStyle":false,"aIconText":"A","qIconText":"Q","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"iconBorder":{"width":"0px","style":"solid","color":"transparent"},"iconBorderRadius":"","iconFontSize":23},"metadata":{"categories":["advanced-accordion-block-category"],"patternName":"advanced-accordion-block/pattern-minimal-border","name":"Minimal Border Style"}} -->
<div class="custom-css-block"><style>.aagb_accordion_fd7bbf55_0 { .wp-block-aab-accordion-item.aagb__accordion_active .aagb__accordion_head{
padding-bottom:10px;
}
.aagb__accordion_body{
  padding-top:0px !important;
} }</style></div><style>
        .aagb_accordion_fd7bbf55_0 .aagb__accordion_active .aagb__accordion_body {
            
        }
        .aagb_accordion_fd7bbf55_0 .aagb__accordion_container.wp-block-aab-accordion-item .aagb__accordion_head {
          
          padding: 25px 45px 25px 45px;
          border-top: none; border-right: none; border-bottom: none; border-left: none;
          
        }
        .aagb_accordion_fd7bbf55_0 .aagb__accordion_container.wp-block-aab-accordion-item .aagb__accordion_body {
          
          
          padding: 25px 45px 25px 45px;
          border-top: 0px none undefined; border-right: none; border-bottom: none; border-left: none;
          
        }
        
        .aagb_accordion_fd7bbf55_0 .wp-block-aab-accordion-item .aagb__accordion_subheading {
          margin: 5px 0 0 0;
          
        }
        .aagb_accordion_fd7bbf55_0 .wp-block-aab-accordion-item .aagb__accordion_icon {
          color: #00483d;
          
        }
        .aagb_accordion_fd7bbf55_0 .wp-block-aab-accordion-item .aagb__icon {
          font-size: 23px;
        }
        .aagb_accordion_fd7bbf55_0 .aagb__accordion_title {
          margin: 0;
          color: #00483d;
        }
        .aagb_accordion_fd7bbf55_0 .aagb__accordion_container {
          border: 1px solid #036f4b;
          margin-top: 0px;
          margin-bottom: 22px;
          border-radius: 8px;
        }
          .aagb_accordion_fd7bbf55_0 .aagb__accordion_number{
            
        }
        .aagb_accordion_fd7bbf55_0 .wp-block-aab-accordion-item .aagb__accordion_subheading{
           false
        }

        .aagb_accordion_fd7bbf55_0 .aab-step-progress{
          background-color: #dfd2d2;
        }
            
        .aagb_accordion_fd7bbf55_0 .aab-step-progress-bar {
          background-color: #1570ec;
        }

        .aagb_accordion_fd7bbf55_0 .aagb__accordion_number{
          
        }
        .aagb_accordion_fd7bbf55_0 .aab-progress-bar-container{
          background-color: #f0f0f0;
        }
        .aagb_accordion_fd7bbf55_0 .aab-progress-bar {
            background-color: #0866ff;
        }
        
       .aagb__group_accordion_container.has_img {
            
            flex-direction: row;
        }
         .aagb_accordion_fd7bbf55_0.wp-block-aab-group-accordion.aab-next-previous-enabled{
          padding-left: 50px !important;
            
            
            
        }
        .aagb_accordion_fd7bbf55_0 .aagb-accordion-next-previous{
          left: 0; top: 50%; transform: translateY(-50%); position: absolute;
            
            
            
        }
        .aagb_accordion_fd7bbf55_0 .aagb-accordion-previous-icon,.aagb_accordion_fd7bbf55_0 .aagb-accordion-next-icon {
          background-color: #010101;
          svg{
            fill: #ffffff;
          }
        }
         
        .aagb__group_accordion_container.has_img{
          
          
          .aab-next-previous-enabled{
            
            
          }

        }
      
          .aagb_accordion_fd7bbf55_0 .aagb__accordion_container {
            transition-duration: 0ms !important;
            outline: 2px solid #00000000;
          }
          .aagb_accordion_fd7bbf55_0 .aagb__accordion_container:focus-visible {
            outline: 2px solid #C2DBFE;
          }
        </style><div class="wp-block-aab-group-accordion searchable aagb_accordion_fd7bbf55_0 click false" id="group-accordion-fd7bbf55_0"><!-- wp:aab/accordion-item {"progressBarBgColor":"#f0f0f0","border":{"color":"#036f4b","style":"solid","width":"1px"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"style":"none","width":"0px"}},"paddings":{"top":"25px","left":"45px","right":"45px","bottom":"25px"},"margins":{"top":"0px","bottom":"22px"},"borderRadius":8,"heading":"What is Krushi?","headingColor":"#00483d","headerBg":"","iconClass":"arrow-down-alt2","iconColor":"#00483d","anchorLinkShow":false,"readMoreText":"Read More","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"step":false,"stepText":"Continue","checkList":false,"button_show":false,"defaultStyles":{"activeAccordionBorder":{"width":"1px","color":"#ebebeb","style":"solid"},"border":{"width":"1px","color":"#e3dfdf38","style":"solid"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"color":"#e3dfdf38","style":"solid","width":"1px"}},"paddings":{"top":"","right":"","left":"","bottom":""},"margins":{"top":"0px","right":"","left":"","bottom":"15px"},"borderRadius":null,"subheadingColor":null,"headingTag":"h5","headingColor":null,"headerBg":"#e3dfdf38","showHeadingIcon":false,"showIcon":true,"iconColor":null,"iconBackground":null,"bodyBg":null,"anchorLinkShow":false,"QaStyle":false,"aIconText":"A","qIconText":"Q","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"iconBorder":{"width":"0px","style":"solid","color":"transparent"},"iconBorderRadius":"","iconFontSize":23}} -->
<div class="wp-block-aab-accordion-item aagb__accordion_container panel" data-autoplay="false" data-duration="3000" data-progress-bar-direction="horizontal" data-feature-image-url="" data-auto-numbering="false" data-progress-bar-on="false" tabindex="0"><div class="aagb__accordion_head aab_right_icon  " data-active="false"><div class="aagb__accordion_heading aab_right_icon aagb_right_link"><div class="head_content_wrapper"><div class="title_wrapper"><h5 class="aagb__accordion_title">What is Krushi?</h5></div></div></div><div class="aagb__accordion_icon"><div class="aagb__icon_dashicons_box"><span class="aagb__icon dashicons dashicons-arrow-down-alt2"></span></div></div></div><div class="aagb__accordion_body   " role="region"><div class="aagb__accordion_component "><!-- wp:paragraph -->
<p>Krushi is a Public Charitable Trust designed to carry out farming on an extensive scale using Natural &amp; Sustainable methods.</p>
<!-- /wp:paragraph --></div></div></div>
<!-- /wp:aab/accordion-item -->

<!-- wp:aab/accordion-item {"progressBarBgColor":"#f0f0f0","border":{"color":"#036f4b","style":"solid","width":"1px"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"style":"none","width":"0px"}},"paddings":{"top":"25px","left":"45px","right":"45px","bottom":"25px"},"margins":{"top":"0px","bottom":"22px"},"borderRadius":8,"heading":"How does it work?","headingColor":"#00483d","headerBg":"","iconClass":"arrow-down-alt2","iconColor":"#00483d","anchorLinkShow":false,"readMoreText":"Read More","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"step":false,"stepText":"Continue","checkList":false,"button_show":false,"defaultStyles":{"activeAccordionBorder":{"width":"1px","color":"#ebebeb","style":"solid"},"border":{"width":"1px","color":"#e3dfdf38","style":"solid"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"color":"#e3dfdf38","style":"solid","width":"1px"}},"paddings":{"top":"","right":"","left":"","bottom":""},"margins":{"top":"0px","right":"","left":"","bottom":"15px"},"borderRadius":null,"subheadingColor":null,"headingTag":"h5","headingColor":null,"headerBg":"#e3dfdf38","showHeadingIcon":false,"showIcon":true,"iconColor":null,"iconBackground":null,"bodyBg":null,"anchorLinkShow":false,"QaStyle":false,"aIconText":"A","qIconText":"Q","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"iconBorder":{"width":"0px","style":"solid","color":"transparent"},"iconBorderRadius":"","iconFontSize":23}} -->
<div class="wp-block-aab-accordion-item aagb__accordion_container panel" data-autoplay="false" data-duration="3000" data-progress-bar-direction="horizontal" data-feature-image-url="" data-auto-numbering="false" data-progress-bar-on="false" tabindex="0"><div class="aagb__accordion_head aab_right_icon  " data-active="false"><div class="aagb__accordion_heading aab_right_icon aagb_right_link"><div class="head_content_wrapper"><div class="title_wrapper"><h5 class="aagb__accordion_title">How does it work?</h5></div></div></div><div class="aagb__accordion_icon"><div class="aagb__icon_dashicons_box"><span class="aagb__icon dashicons dashicons-arrow-down-alt2"></span></div></div></div><div class="aagb__accordion_body   " role="region"><div class="aagb__accordion_component "><!-- wp:paragraph -->
<p>Krushi operates by combining traditional farming practices with modern sustainable technologies. This includes eco-friendly techniques like organic farming, crop rotation, and efficient water management</p>
<!-- /wp:paragraph --></div></div></div>
<!-- /wp:aab/accordion-item -->

<!-- wp:aab/accordion-item {"progressBarBgColor":"#f0f0f0","border":{"color":"#036f4b","style":"solid","width":"1px"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"style":"none","width":"0px"}},"paddings":{"top":"25px","left":"45px","right":"45px","bottom":"25px"},"margins":{"top":"0px","bottom":"22px"},"borderRadius":8,"heading":"What are the major challenges of current agriculture?","headingColor":"#00483d","headerBg":"","iconClass":"arrow-down-alt2","iconColor":"#00483d","anchorLinkShow":false,"readMoreText":"Read More","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"step":false,"stepText":"Continue","checkList":false,"button_show":false,"defaultStyles":{"activeAccordionBorder":{"width":"1px","color":"#ebebeb","style":"solid"},"border":{"width":"1px","color":"#e3dfdf38","style":"solid"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"color":"#e3dfdf38","style":"solid","width":"1px"}},"paddings":{"top":"","right":"","left":"","bottom":""},"margins":{"top":"0px","right":"","left":"","bottom":"15px"},"borderRadius":null,"subheadingColor":null,"headingTag":"h5","headingColor":null,"headerBg":"#e3dfdf38","showHeadingIcon":false,"showIcon":true,"iconColor":null,"iconBackground":null,"bodyBg":null,"anchorLinkShow":false,"QaStyle":false,"aIconText":"A","qIconText":"Q","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"iconBorder":{"width":"0px","style":"solid","color":"transparent"},"iconBorderRadius":"","iconFontSize":23}} -->
<div class="wp-block-aab-accordion-item aagb__accordion_container panel" data-autoplay="false" data-duration="3000" data-progress-bar-direction="horizontal" data-feature-image-url="" data-auto-numbering="false" data-progress-bar-on="false" tabindex="0"><div class="aagb__accordion_head aab_right_icon  " data-active="false"><div class="aagb__accordion_heading aab_right_icon aagb_right_link"><div class="head_content_wrapper"><div class="title_wrapper"><h5 class="aagb__accordion_title">What are the major challenges of current agriculture?</h5></div></div></div><div class="aagb__accordion_icon"><div class="aagb__icon_dashicons_box"><span class="aagb__icon dashicons dashicons-arrow-down-alt2"></span></div></div></div><div class="aagb__accordion_body   " role="region"><div class="aagb__accordion_component "><!-- wp:paragraph -->
<p>Current agriculture faces challenges like soil degradation, water scarcity, climate change, and overuse of chemical fertilizers and pesticides. These issues threaten long-term productivity and sustainability.</p>
<!-- /wp:paragraph --></div></div></div>
<!-- /wp:aab/accordion-item -->

<!-- wp:aab/accordion-item {"progressBarBgColor":"#f0f0f0","border":{"color":"#036f4b","style":"solid","width":"1px"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"style":"none","width":"0px"}},"paddings":{"top":"25px","left":"45px","right":"45px","bottom":"25px"},"margins":{"top":"0px","bottom":"22px"},"borderRadius":8,"heading":"How does Krushi address the above challenges?","headingColor":"#00483d","headerBg":"","iconClass":"arrow-down-alt2","iconColor":"#00483d","anchorLinkShow":false,"readMoreText":"Read More","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"step":false,"stepText":"Continue","checkList":false,"button_show":false,"defaultStyles":{"activeAccordionBorder":{"width":"1px","color":"#ebebeb","style":"solid"},"border":{"width":"1px","color":"#e3dfdf38","style":"solid"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"color":"#e3dfdf38","style":"solid","width":"1px"}},"paddings":{"top":"","right":"","left":"","bottom":""},"margins":{"top":"0px","right":"","left":"","bottom":"15px"},"borderRadius":null,"subheadingColor":null,"headingTag":"h5","headingColor":null,"headerBg":"#e3dfdf38","showHeadingIcon":false,"showIcon":true,"iconColor":null,"iconBackground":null,"bodyBg":null,"anchorLinkShow":false,"QaStyle":false,"aIconText":"A","qIconText":"Q","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"iconBorder":{"width":"0px","style":"solid","color":"transparent"},"iconBorderRadius":"","iconFontSize":23}} -->
<div class="wp-block-aab-accordion-item aagb__accordion_container panel" data-autoplay="false" data-duration="3000" data-progress-bar-direction="horizontal" data-feature-image-url="" data-auto-numbering="false" data-progress-bar-on="false" tabindex="0"><div class="aagb__accordion_head aab_right_icon  " data-active="false"><div class="aagb__accordion_heading aab_right_icon aagb_right_link"><div class="head_content_wrapper"><div class="title_wrapper"><h5 class="aagb__accordion_title">How does Krushi address the above challenges?</h5></div></div></div><div class="aagb__accordion_icon"><div class="aagb__icon_dashicons_box"><span class="aagb__icon dashicons dashicons-arrow-down-alt2"></span></div></div></div><div class="aagb__accordion_body   " role="region"><div class="aagb__accordion_component "><!-- wp:paragraph -->
<p>Krushi addresses these challenges by promoting sustainable farming techniques, conserving resources, and supporting farmers with training, tools, and eco-friendly practices to ensure long-term agricultural health.</p>
<!-- /wp:paragraph --></div></div></div>
<!-- /wp:aab/accordion-item --></div>
<!-- /wp:aab/group-accordion -->',
        'categories'  => ['advanced-accordion-block-category'],
    ]
);
