<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* parts/home-hero.twig */
class __TwigTemplate_fd53fed867e290331ada067256d8a2c8 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        echo "<section class=\"c-hero\">
    <div class=\"c-hero__body\">
        <div class=\"c-hero__heading\">
            ";
        // line 4
        $context["heading"] = twig_get_attribute($this->env, $this->source, ($context["fn"] ?? null), "get_attached_file", [twig_get_attribute($this->env, $this->source, ($context["heading"] ?? null), "id", [], "any", false, false, false, 4)], "method", false, false, false, 4);
        // line 5
        echo "            ";
        echo twig_get_attribute($this->env, $this->source, ($context["fn"] ?? null), "file_get_contents", [($context["heading"] ?? null)], "method", false, false, false, 5);
        echo "
        </div>
        <h1 class=\"c-hero__body-about u-body-lg u-m-0\">";
        // line 7
        echo ($context["intro"] ?? null);
        echo "</h1>
        <p class=\"u-m-0\"><a href=\"";
        // line 8
        echo twig_get_attribute($this->env, $this->source, ($context["cta"] ?? null), "url", [], "any", false, false, false, 8);
        echo "\" class=\"c-btn\" title=\"";
        echo twig_get_attribute($this->env, $this->source, ($context["cta"] ?? null), "title", [], "any", false, false, false, 8);
        echo "\">";
        echo twig_get_attribute($this->env, $this->source, ($context["cta"] ?? null), "title", [], "any", false, false, false, 8);
        echo "</a></p>
    </div>
    <div class=\"c-hero__img\">
        <div>
            ";
        // line 12
        echo twig_get_attribute($this->env, $this->source, ($context["fn"] ?? null), "wp_get_attachment_image", [($context["image"] ?? null), "full", false, ["class" => "c-hero__img-desktop"]], "method", false, false, false, 12);
        echo "
            ";
        // line 13
        echo twig_get_attribute($this->env, $this->source, ($context["fn"] ?? null), "wp_get_attachment_image", [($context["image_mobile"] ?? null), "full", false, ["class" => "c-hero__img-hh"]], "method", false, false, false, 13);
        echo "
        </div>
    </div>
</section>";
    }

    public function getTemplateName()
    {
        return "parts/home-hero.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  69 => 13,  65 => 12,  54 => 8,  50 => 7,  44 => 5,  42 => 4,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("<section class=\"c-hero\">
    <div class=\"c-hero__body\">
        <div class=\"c-hero__heading\">
            {% set heading = fn.get_attached_file(heading.id) %}
            {{ fn.file_get_contents(heading)|raw }}
        </div>
        <h1 class=\"c-hero__body-about u-body-lg u-m-0\">{{ intro|raw }}</h1>
        <p class=\"u-m-0\"><a href=\"{{ cta.url|raw }}\" class=\"c-btn\" title=\"{{ cta.title|raw }}\">{{ cta.title|raw }}</a></p>
    </div>
    <div class=\"c-hero__img\">
        <div>
            {{ fn.wp_get_attachment_image(image, 'full', false, {'class': 'c-hero__img-desktop'}) | raw }}
            {{ fn.wp_get_attachment_image(image_mobile, 'full', false, {'class': 'c-hero__img-hh'}) | raw }}
        </div>
    </div>
</section>", "parts/home-hero.twig", "/var/www/htdocs/content/themes/speck/views/parts/home-hero.twig");
    }
}
