{# @var child_page \AppBundle\Entity\Page #}
<div class="col-md-4 col-sm-4">
    <div class="travel-wrapper get-box-link">
        <div class="item text-left">
            <div class="item-img">
                <div class="lb">
                    {% if child_page.boxStar is not empty %}
                        <div class="cstar_left">{{ child_page.boxStar|raw }}</div>
                    {% endif %}
                    {% if child_page.travelProgram is not empty and child_page.travelProgram.lowestPrice > 0 %}
                        <div class="cprice">ab {{ child_page.travelProgram.lowestPrice|number_format }} € p.P.</div>
                    {% endif %}
                    {% if child_page.boxDiscount is not empty %}
                        <div class="cdiscount">{{ child_page.boxDiscount|raw }}</div>
                    {% endif %}
                </div>

                {% include 'default/components/pageBoxImage.html.twig' with {page: child_page} %}

            </div>
            <div class="box_mid">
                <div class="hl5">{{ child_page.title }}</div>
                <p>{{ child_page.boxBody ?? child_page.description }}</p>
            </div>
            <a class="item-button is-box-link dobble_line" href="{{ child_page.urlPath }}" title="{{ child_page.title }}">
                <span>{{ child_page.title }}</span>
            </a>
        </div>
    </div>
</div>
