<?php if ('layout_three' == $settings['layout_type']) : ?>
    <div class="service-details__single">
        <div class="faq-page__accordion ostech-accrodion" data-grp-name="ostech-accrodion">
            <?php foreach ($settings['layout_three_faq_lists'] as $item) : ?>
                <div class="accrodion <?php echo esc_attr(('yes' == $item['active_status'] ? 'active' : '')); ?>">
                    <div class="accrodion-title">
                        <<?php echo esc_attr($item['question_title_tag_layout_three']); ?> class="accrodion-title__text"><?php echo wp_kses($item['question'], 'ostech_allowed_tags'); ?>
                            <span class="accrodion-title__icon"></span>
                        </<?php echo esc_attr($item['question_title_tag_layout_three']); ?>>
                    </div><!-- /.accordian-title -->
                    <div class="accrodion-content">
                        <div class="inner">
                            <p class="inner__text"><?php echo wp_kses($item['answer'], 'ostech_allowed_tags'); ?></p>
                        </div><!-- /.accordian-content -->
                    </div>
                </div><!-- /.accordian-item -->
            <?php endforeach; ?>
        </div>
    </div><!-- / -->
<?php endif; ?>