{% extends 'applicant/partials/candidate_facing_base.html' %} {% load static i18n %} {# Use a dynamic title for better SEO and user context #} {% block title %}{% trans "Career Opportunities" %} | KAAUH - {{ block.super }}{% endblock %} {% block content %}
{# ------------------------------------------------ #} {# 🌟 HERO SECTION (High Visual Impact) #} {# ------------------------------------------------ #}
{# Overlay for readability, assuming custom CSS defines .hero-overlay #}
{# Use a large, commanding font size #}

{% trans "Your Career in Health & Academia Starts Here." %}

{% trans "Join KAAUH, a national leader in patient care, research, and education. We are building the future of healthcare." %}

{# Primary Action to scroll to listings/filters #} {% trans "Find Your Path" %} {# Secondary Action #} {% trans "About US" %}
{# ------------------------------------------------ #} {# 💻 JOB LISTING SECTION #} {# ------------------------------------------------ #}
{# 📌 LEFT COLUMN: FILTERS (Smaller on larger screens) #}
{# Mobile Filter Toggle (Used aria-controls for better accessibility) #}
{# Sticky top ensures filters remain visible while scrolling results #}

{% trans "Refine Your Search" %}

{# NOTE: Replace select with Django form fields for real functionality #} {% trans "Clear Filters" %}
{# 📜 RIGHT COLUMN: JOB LISTINGS (Wider on larger screens) #}
{# Sticky Filter Bar (Summary of results and active filters) #}
{# Dynamic Count #}

{{ total_open_roles|default:"0" }} {% trans "Open Roles" %}

{# Active Filter Chips (Use a dedicated class for styling) #}
{# --- Active Employment Type Filter Chip --- #} {% if selected_job_type %} {% trans "Type" %}: {# Map the key back to its human-readable translation #} {% if selected_job_type == 'Full-time' %}{% trans "Full-time" %} {% elif selected_job_type == 'Part-time' %}{% trans "Part-time" %} {% elif selected_job_type == 'Contract' %}{% trans "Contract" %} {% elif selected_job_type == 'Internship' %}{% trans "Internship" %} {% elif selected_job_type == 'Faculty' %}{% trans "Faculty" %} {% elif selected_job_type == 'Temporary' %}{% trans "Temporary" %} {% endif %} {# Link to clear this specific filter: use current URL but remove `employment_type` parameter #} {% endif %} {# --- Active Workplace Type Filter Chip --- #} {% if selected_workplace_type %} {% trans "Workplace" %}: {# Map the key back to its human-readable translation #} {% if selected_workplace_type == 'On-site' %}{% trans "On-site" %} {% elif selected_workplace_type == 'Remote' %}{% trans "Remote" %} {% elif selected_workplace_type == 'Hybrid' %}{% trans "Hybrid" %} {% endif %} {# Link to clear this specific filter: use current URL but remove `workplace_type` parameter #} {% endif %} {# --- Active Department Filter Chip --- #} {% if selected_department %} {% trans "Department" %}: {{ selected_department }} {# Link to clear this specific filter: use current URL but remove `department` parameter #} {% endif %}
{# Job Cards Grid #}
{% include "includes/paginator.html" %}
{% endblock content %}