<?php /* NOTE: GENERATED BY GULP !!! */ ?><?php
$b = "flo-block-featured-links"; // To be used inside HTML

// Start: Class name automation
  $b__for_css = ".".$b; // To be used inside CSS
  $b__uniq = $b."--".mt_rand(1, 999); // To be used inside HTML
  $b__uniq_for_css = ".".$b__uniq; // To be used inside CSS
// End: Class name automation

$elements_color = flo_data($data, "elements_color");
$background_color = flo_data($data, "background_color");
$title = flo_data($data, "title");
$title_font = flo_data($data, "title_font");
$number_of_columns = flo_data($data, "number_of_columns");
$links_list = flo_data($data, "links");
$links_title_font = flo_data($data, "links_title_font");

?>

<?php echo $__env->make('core.style', [
  "breakpoint__general" => "

    ".
    flo_render_typography_styles(
    $b__uniq_for_css." ".$b__for_css."__title",
    $title_font
    )
    ."

    ".
    flo_render_typography_styles(
    $b__uniq_for_css." ".$b__for_css."__featured-link",
    $links_title_font
    )
    ."

    ".$b__uniq_for_css." {
      color: ".$elements_color.";
      background-color: ".$background_color.";
    }

  "
], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->startSection('block_content'); ?>
  <div class="<?php echo $b; ?> <?php echo $b__uniq; ?>">
    <?php if($title): ?>
      <div class="<?php echo $b; ?>__title-wrap">
        <h2 class="<?php echo $b; ?>__title"><?php echo $title; ?></h2>
      </div>
    <?php endif; ?>
    <?php if($links_list): ?>
      <div class="<?php echo $b; ?>__featured-links-wrap">
        <?php foreach($links_list as $link_number => $link): ?>
          <?php
            $single_link = flo_data($link, "link");
          ?>
          <?php if( !empty($single_link) ): ?>
            <a class="<?php echo $b; ?>__featured-link" href="<?php echo $single_link['url']; ?>" target="<?php echo $single_link['target']; ?>" style="
            --number-of-columns:<?php echo $number_of_columns; ?>;"><?php echo $single_link['title']; ?></a>
          <?php endif; ?>
        <?php endforeach; ?>
      </div>
    <?php endif; ?>
  </div>
<?php $__env->stopSection(true); ?>

<?php echo $__env->make('layout.block', [
  "block_classes" => "", // Will be added to main block div. e.g. flo-block--full-width
  // "data_onready" => "block_name" // Specify a function (see _blank.js on how to define) that will be executed on document ready.
], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>