<% visible, hidden =
split_content_for_mobile_view(section.number_of_faqs_before_fold || 3, section.faqs) %>
<% visible.each_with_index do |faq, index| %>
<%= render partial: 'components/faq_row', locals: { faq: faq } %>
<% end %>
<% hidden.each_with_index do |faq, index| %>
<%= render partial: 'components/faq_row', locals: { faq: faq } %>
<% end %>
<% unless section.number_of_faqs_before_fold.nil? %>
<% if section.faqs && section.faqs.count > section.number_of_faqs_before_fold %>
<% end %>
<% end %>