<?php
/**
 * @var $post_job_faq
 */

if ( $post_job_faq ) { ?>

	<div class="ui fluid simple styled accordion faq-item">

		<?php foreach ( $post_job_faq as $key => $faq ) { ?>

			<div class="faq-item-single">

				<div class="title">

					<?php echo $faq['question']; ?>

					<i class="plus icon"></i>

				</div>

				<div class="content"><p><?php echo $faq['answer']; ?></p></div>

			</div>

		<?php } ?>

	</div>

<?php } else echo '<style>.job-faq-row-wrapper{display:none;}</style>'; // for page builder