<?php $_shouldextend[1]=1; ?>

<?php $this->startSection('content'); ?>
 <div class="back-link">
 <a href="<?php echo \htmlentities(resUrl()??'', ENT_QUOTES, 'UTF-8', false); ?>">
 <?php echo \htmlentities(__('site.back_home')??'', ENT_QUOTES, 'UTF-8', false); ?>

 </a>
 </div>

 <div class="faq-page">
 <h1>
 <?php echo \htmlentities($res->pagetitle??'', ENT_QUOTES, 'UTF-8', false); ?>

 </h1>
 
 <div class="flex">
 <div class="main-item">
 <?php echo $res->content; ?>

 </div>

 <div class="list">
 <?php $__currentLoopData = $res->accordion; $this->addLoop($__currentLoopData);$this->getFirstLoop();
 foreach($__currentLoopData as $item): $loop = $this->incrementLoopIndices();  ?>
 <div class="item">
 <div class="name">
 <?php echo \htmlentities($item['title']??'', ENT_QUOTES, 'UTF-8', false); ?>

 </div>
 
 <div class="text">
 <?php echo $item['content']; ?>

 </div>
 </div>
 <?php endforeach; $this->popLoop(); $loop = $this->getFirstLoop(); ?>
 </div>
 </div>
 </div>
<?php $this->stopSection(); ?>

<?php if (isset($_shouldextend[1])) { echo $this->runChild('layouts.main'); } ?>