

<?php $__env->startSection('meta_title', ($company->name ?? 'Company').' Careers'); ?>
<?php $__env->startSection('content'); ?>
<section class="section-space">
    <div class="container">
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(session('success')): ?>
            <div class="alert alert-success"><?php echo e(session('success')); ?></div>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

        <div class="mb-4">
            <h1 class="h3 fw-bold"><?php echo e($company->name); ?> — Careers</h1>
            <p class="text-muted">Open positions. Apply directly — no login required.</p>
        </div>

        <div class="row g-4">
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__empty_1 = true; $__currentLoopData = $jobs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $job): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                <div class="col-md-6 col-lg-4">
                    <div class="card card-soft h-100 border-0 shadow-sm">
                        <div class="card-body d-flex flex-column">
                            <h2 class="h5 fw-semibold"><?php echo e($job->title); ?></h2>
                            <p class="text-muted small mb-2"><?php echo e($job->department?->name ?? 'General'); ?></p>
                            <p class="small mb-1"><i class="bi bi-geo-alt"></i> <?php echo e($job->location ?: 'Flexible'); ?></p>
                            <p class="small mb-3"><i class="bi bi-clock"></i> <?php echo e(ucfirst($job->employment_type)); ?> · <?php echo e($job->openings); ?> opening(s)</p>
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($job->description): ?>
                                <p class="small text-muted flex-grow-1"><?php echo e(\Illuminate\Support\Str::limit(strip_tags($job->description), 120)); ?></p>
                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                            <a href="<?php echo e(route('careers.show', [$companyKey, $job])); ?>" class="btn btn-kiyo mt-3">Apply now</a>
                        </div>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                <div class="col-12">
                    <div class="alert alert-light border">No open positions at the moment.</div>
                </div>
            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>
    </div>
</section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('website.layouts.main', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/kiyohr/v2_version/resources/views/careers/index.blade.php ENDPATH**/ ?>