@if (session('success'))
{{ session('success') }}
@endif
@php
$chapters = collect([
__('Role overview') => $job->description,
__('Key responsibilities') => $job->responsibilities,
__('Requirements') => $job->requirements,
])->filter(fn ($body) => filled($body));
@endphp
@foreach ($chapters as $heading => $body)
{{ $heading }}
{!! $body !!}
@endforeach
@if ($job->attachment)
{{ __('Download the full vacancy notice') }}
@endif
@if ($job->isOpen())
@else
{{ __('Browse other opportunities on the careers page.') }}
@endif