/* Job Portfolio - Estilos */

.job-portfolio-wrapper {
    width: 100%;
    max-width: 100%;
}

/* Layout Grid */
.job-container.job-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Layout Lista */
.job-container.job-layout-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.job-container.job-layout-list .job-card {
    display: flex;
    align-items: center;
}

.job-container.job-layout-list .job-image {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    flex-shrink: 0;
}

.job-container.job-layout-list .job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* Tarjeta de Oferta */
.job-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.job-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Imagen */
.job-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contenido */
.job-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Tipo de Trabajo - Badge */
.job-type-wrapper {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-type-badge {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Título */
.job-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    line-height: 1.3;
}

.job-card:hover .job-title {
    color: #3498db;
}

/* Excerpt */
.job-excerpt {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Información del Empleo */
.job-info {
    margin-bottom: 15px;
    padding: 12px;
    background-color: #f8f9fa;
    border-left: 3px solid #3498db;
    border-radius: 4px;
}

.job-info strong {
    color: #333333;
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

.job-info p {
    color: #555555;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Horarios */
.job-schedule {
    margin-bottom: 15px;
    padding: 12px;
    background-color: #f0f8ff;
    border-left: 3px solid #27ae60;
    border-radius: 4px;
}

.job-schedule strong {
    color: #333333;
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

.job-schedule p {
    color: #555555;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Link */
.job-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
    transition: all 0.3s ease;
}

.job-link:hover {
    color: #2980b9;
    padding-right: 5px;
}

/* Sin Ofertas */
.no-jobs {
    text-align: center;
    color: #666666;
    padding: 40px 20px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .job-container.job-layout-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .job-container.job-layout-list .job-card {
        flex-direction: column;
    }

    .job-container.job-layout-list .job-image {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .job-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .job-container.job-layout-grid {
        grid-template-columns: 1fr;
    }

    .job-content {
        padding: 15px;
    }

    .job-title {
        font-size: 16px;
    }

    .job-type-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
}
