<?xml version="1.0"?>
<!--
/**
* Copyright 2016 aheadWorks. All rights reserved.
* See LICENSE.txt for license details.
*/
-->

<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceContainer name="content">
            <container name="cs_faq_wrapper" htmlTag="div" htmlClass="cs-faq-index">
                <container name="cs_faq_header" htmlTag="div" htmlClass="cs-faq-index__header">
                </container>
                <container name="cs_faq_title_wrapper" htmlTag="div" htmlClass="cs-faq-index__text-wrapper" after="cs_faq_header">
                </container>
            </container>
        </referenceContainer>
        <block class="Aheadworks\Faq\Block\Category\CategoryList" name="aw_faq.name" template="Aheadworks_Faq::main-title.phtml"/>

        <move element="aw_faq.name" destination="cs_faq_header" before="-"/>
        <move element="aw_faq.search" destination="cs_faq_header" after="aw_faq.name"/>
        <move element="aw_faq.article_title" destination="cs_faq_title_wrapper" before="-"/>
        <move element="aw_faq.article" destination="cs_faq_wrapper" after="cs_faq_title_wrapper"/>
        <move element="aw_faq.voting" destination="cs_faq_wrapper" after="aw_faq.article"/>
    </body>
</page>
