<?php
  $faq = mb_get_block_field("faq_component");
?>
<section <?= inoby_block_attrs($attributes, ["class" => "component-faq"]) ?>>
  <div class="container">
    <div class="row row-head">
      <div class="col-12">
        <div class="faq-wrap">
          <?php foreach($faq as $item){ ?>
          <div class="faq-item">
            <div class="faq-question">
              <strong><?= $item['question'] ?></strong>
            </div>
            <div class="faq-answer">
              <?= $item['answer'] ?>
            </div>
          </div>
          <?php } ?>
        </div>
      </div>
    </div>
  </div>
</section>