<div class="cp-card cp-card-job">
    <div class="d-flex justify-content-between gap-2 mb-2">
        <h3 class="mb-0">{{ $job->title }}</h3>
        @if ($job->is_featured)
            <span class="cp-badge cp-badge-accent">{{ __('recruitment.career_portal.featured_badge') }}</span>
        @endif
    </div>
    <div class="cp-meta">
        @if ($job->department)
            <span><i class="fe fe-briefcase me-1"></i>{{ $job->department->name }}</span>
        @endif
        @if ($job->position)
            <span><i class="fe fe-user me-1"></i>{{ $job->position->title }}</span>
        @endif
        <span><i class="fe fe-users me-1"></i>{{ __('recruitment.vacancies.fields.openings') }}: {{ $job->openings }}</span>
    </div>
    <a class="cp-link" href="{{ route('careers.jobs.show', ['tenant' => $tenant->slug, 'vacancy' => $job->slug]) }}">
        {{ __('recruitment.career_portal.actions.view_job') }} →
    </a>
</div>
