/* 
 * Custom CSS for Jobs & Opportunities Pages
 * Human Rights Are Universal Arts Festival
 */

/* ----- Common Styles ----- */
.jobs-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #202060;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.jobs-page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 5px;
    background-color: #FFD900;
}

.jobs-section {
    margin-bottom: 4rem;
    width: 100%;
    overflow: hidden;
}

.jobs-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #202060;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 15px;
    border-left: 5px solid #FFD900;
}

.jobs-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
}

.jobs-highlight {
    color: #E73B5E;
    font-weight: 600;
}

/* ----- Job Filters ----- */
.job-filters {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-label {
    font-weight: 600;
    color: #202060;
    margin-bottom: 0.5rem;
}

.job-filter-btn {
    background-color: #E73B5E;
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.job-filter-btn:hover {
    background-color: #d12d4f;
}

.job-filter-reset {
    color: #666;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0.5rem;
}

.job-filter-reset:hover {
    color: #202060;
}

/* ----- Job Card ----- */
.job-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #FFD900;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.job-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #202060;
    margin-bottom: 0.5rem;
}

.job-card-company {
    font-size: 1rem;
    color: #666;
}

.job-card-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.job-badge-fulltime {
    background-color: #e6f7e9;
    color: #28a745;
}

.job-badge-parttime {
    background-color: #e1f0ff;
    color: #0d6efd;
}

.job-badge-contract {
    background-color: #fff8e1;
    color: #ffc107;
}

.job-badge-internship {
    background-color: #e8eaf6;
    color: #3f51b5;
}

.job-badge-volunteer {
    background-color: #ffebee;
    color: #dc3545;
}

.job-badge-call {
    background-color: #efebe9;
    color: #795548;
}

.job-card-location {
    display: flex;
    align-items: center;
    color: #666;
    margin-bottom: 0.5rem;
}

.job-card-location i {
    margin-right: 0.5rem;
    color: #E73B5E;
}

.job-card-dates {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.job-card-deadline {
    display: flex;
    align-items: center;
}

.job-card-deadline i {
    margin-right: 0.5rem;
    color: #E73B5E;
}

.job-deadline-urgent {
    color: #dc3545;
    font-weight: 600;
}

.job-card-posted {
    display: flex;
    align-items: center;
}

.job-card-posted i {
    margin-right: 0.5rem;
    color: #666;
}

.job-card-description {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.job-card-link {
    display: inline-block;
    margin-top: 1rem;
    color: #E73B5E;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.job-card-link:hover {
    color: #202060;
}

.job-card-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.job-card-link:hover i {
    transform: translateX(5px);
}

/* ----- Job Detail Page ----- */
.job-detail-header {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.job-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #202060;
    margin-bottom: 1rem;
}

.job-detail-company {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.job-detail-company-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    background-color: #fff;
    padding: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.job-detail-company-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
}

.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.job-detail-meta-item {
    display: flex;
    align-items: center;
    color: #666;
}

.job-detail-meta-item i {
    margin-right: 0.5rem;
    color: #E73B5E;
}

.job-detail-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.job-detail-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #202060;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 15px;
    border-left: 5px solid #FFD900;
}

.job-detail-content {
    color: #444;
    line-height: 1.7;
}

.job-detail-content h1, 
.job-detail-content h2, 
.job-detail-content h3, 
.job-detail-content h4, 
.job-detail-content h5, 
.job-detail-content h6 {
    color: #202060;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.job-detail-content ul, 
.job-detail-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.job-detail-content li {
    margin-bottom: 0.5rem;
}

.job-detail-content a {
    color: #E73B5E;
    text-decoration: none;
}

.job-detail-content a:hover {
    text-decoration: underline;
}

.job-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.job-detail-content blockquote {
    border-left: 4px solid #FFD900;
    padding-left: 1rem;
    margin-left: 0;
    color: #666;
    font-style: italic;
}

.job-detail-cta {
    background-color: #E73B5E;
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.job-detail-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.job-detail-cta-text {
    margin-bottom: 1.5rem;
}

.job-detail-apply-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #fff;
    color: #E73B5E;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.job-detail-apply-btn:hover {
    background-color: #202060;
    color: #fff;
    transform: translateY(-3px);
}

.job-related-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #202060;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.job-related-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #FFD900;
}

/* ----- Responsive Styles ----- */
@media (max-width: 991px) {
    .job-detail-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .job-card-header {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .jobs-page-title {
        font-size: 2rem;
    }
    
    .job-detail-title {
        font-size: 1.8rem;
    }
    
    .job-detail-section, 
    .job-detail-header {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .job-card-dates {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-detail-company {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-detail-company-logo {
        margin-bottom: 1rem;
    }
} 