<?php
    $bodyClass = 'sectors-detail';
    $layout_path = 'frontend.layouts.content-sidebar';
    if($sector->layout_type == 'blocks') {
        $bodyClass .= ' sectors-detail--blocks';
        $layout_path = 'frontend.layouts.main';

        if($sector->header_overlap) {
            $bodyClass .= ' header-over';
        }
    }
?>



<?php if($sector->layout_type == 'blocks'): ?>

    <?php $__env->startSection('content'); ?>
        <div class="sectors-detail__content">
            <?php echo $__env->make('frontend.templates.components.blocks_section', ['blocks' => $sector->blocks], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
    <?php $__env->stopSection(); ?>

<?php else: ?>

    <?php $__env->startSection('content-toolbar'); ?>
        <?php echo $__env->make('frontend.templates.components.share_buttons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php $__env->stopSection(); ?>

    <?php $__env->startSection('content-top'); ?>
        <div class="rich-content">
            <h1><?php echo e($sector->tagline); ?></h1>
        </div>
    <?php $__env->stopSection(); ?>

    <?php $__env->startSection('content-left'); ?>
        <?php if($sector->summary): ?>
            <div class="rich-content rich-content__objective">
                <div class="heading3"><?php echo strip_tags($sector->summary, '<b><sup><strong><sub><i><span><u>'); ?></div>
            </div>
        <?php endif; ?>
        <?php if($sector->content): ?>
            <div class="rich-content">
                <?php echo $sector->content; ?>

            </div>
        <?php endif; ?>
    <?php $__env->stopSection(); ?>

    <?php $__env->startSection('content-footer'); ?>
        <?php if($sector->relatedSolutions->count()): ?>
            <?php echo $__env->make(
                'frontend.templates.components.generic_related_slider',
                [
                    'title' => $sector->title . ' ' . trans('frontend.solutions_and_products'),
                    'items' => $sector->relatedSolutions,
                    'itemImageField' => 'overviewImage',
                    'itemImageSize' => '400x400'
                ]
            , \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php endif; ?>
        <?php echo $__env->make('frontend.templates.components.simple_related_items', array('title' => trans('frontend.related_case_studies')), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php $__env->stopSection(); ?>
<?php endif; ?>

<?php echo $__env->make($layout_path, [
    'body_class' => $bodyClass,
    'objectEmbeds' => $sector->codeEmbeds
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html-staging/resources/views/frontend/templates/page/sectors_detail.blade.php ENDPATH**/ ?>