/* HelloWork Jobs Feed - Styles mis à jour */

.hellowork-jobs-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hellowork-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.hellowork-job-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.hellowork-job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #f1a839;
}

.job-header {
    margin-bottom: 1rem;
}

.job-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem; /* Augmenté de 1.25rem à 1.5rem */
    font-weight: 600;
    line-height: 1.4;
}

.job-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}

.job-title a:hover {
    color: #f1a839;
}

.job-company {
    margin: 0;
    color: #6b7280;
    font-size: 1.05rem; /* Augmenté de 0.95rem à 1.05rem */
    font-weight: 500;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #6b7280;
    font-size: 0.95rem; /* Augmenté de 0.875rem à 0.95rem */
}

.job-meta svg {
    color: #9ca3af;
    flex-shrink: 0;
}

.job-description {
    color: #4b5563;
    font-size: 1.05rem; /* Augmenté de 0.95rem à 1.05rem */
    line-height: 1.7; /* Augmenté de 1.6 à 1.7 pour plus d'aération */
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.job-apply-btn {
    background: #f1a839; /* Votre couleur personnalisée */
    color: #ffffff;
    padding: 0.75rem 1.5rem; /* Augmenté de 0.625rem 1.25rem */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600; /* Augmenté de 500 à 600 */
    font-size: 1rem; /* Augmenté de 0.9rem à 1rem */
    transition: all 0.2s;
    display: inline-block;
}

.job-apply-btn:hover {
    background: #111646; /* Version plus foncée pour le hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(241, 168, 57, 0.4);
}

.job-date {
    color: #9ca3af;
    font-size: 0.85rem; /* Augmenté de 0.8rem à 0.85rem */
}

.hellowork-jobs-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hellowork-jobs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .job-title {
        font-size: 1.35rem; /* Légèrement réduit sur mobile */
    }
    
    .job-description {
        font-size: 1rem;
    }
    
    .job-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .job-apply-btn {
        width: 100%;
        text-align: center;
    }
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hellowork-job-card {
    animation: fadeInUp 0.5s ease-out;
}

.hellowork-job-card:nth-child(1) { animation-delay: 0.05s; }
.hellowork-job-card:nth-child(2) { animation-delay: 0.1s; }
.hellowork-job-card:nth-child(3) { animation-delay: 0.15s; }
.hellowork-job-card:nth-child(4) { animation-delay: 0.2s; }
.hellowork-job-card:nth-child(5) { animation-delay: 0.25s; }
