/* =================================================================== */
/* JOBS MODULE STYLES                                                */
/* AUTHOR: TAIA (FOR MATE)                                           */
/* =================================================================== */

/* =================================================================== */
/* JOBS MODULE STYLES                                      */
/* =================================================================== */

.job-card {
    transition: var(--transition-medium);
    border-left: 4px solid transparent;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
}

.job-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading-color);
}

.job-card .btn {
    min-width: 150px;
}

/* ფილტრების ბლოკის სტილი */
.job-filters {
    border: 1px solid var(--border-color);
}

/* გვერდის სათაურის სექციისთვის */
.page-title-section {
    background-size: cover;
    background-position: center;
    padding: 120px 0 60px 0;
    color: #fff;
    text-align: center;
    position: relative;
}

.page-title-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.page-title-section .container {
    position: relative;
    z-index: 2;
}

.page-title-section h1 {
    color: #fff;
}


.page-title-section {
    background-size: cover;
    background-position: center;
    padding: 120px 0 60px 0;
    color: #fff;
    text-align: center;
    position: relative;
}

.page-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-title-section .container {
    position: relative;
    z-index: 2;
}

.page-title-section h1 {
    color: #fff;
    font-weight: 700;
}

/* --- ფილტრების ბლოკი --- */
.job-filters {
    border: 1px solid var(--border-color);
}

/* --- ვაკანსიის დეტალური ბარათი --- */
.job-card-detailed {
    transition: var(--transition-medium);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.job-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.job-card-detailed .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading-color);
}

/* --- ვაკანსიის დეტალების ბადე --- */
.job-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

/* --- ვაკანსიის მოკლე აღწერა --- */
.job-description-short {
    font-size: 0.95rem;
    color: var(--subtle-text-color);
    margin-top: 1rem;
    line-height: 1.6;
}


/* --- ფილტრების Sidebar --- */
.filter-sidebar {
    background-color: var(--light-bg-color);
    padding: 25px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.filter-widget {
    margin-bottom: 2rem;
}

.filter-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li a {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.filter-list li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.filter-list li a.active {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.filter-list li a .job-count {
    color: var(--subtle-text-color);
}

.filter-list li a.active .job-count {
    color: rgba(255, 255, 255, 0.8);
}